haikuwebkit/LayoutTests/fast/dom/assign-to-window-status-exp...

12 lines
710 B
Plaintext

UI DELEGATE STATUS CALLBACK: setStatusText:set window.status
UI DELEGATE STATUS CALLBACK: setStatusText:set status
UI DELEGATE STATUS CALLBACK: setStatusText:1
UI DELEGATE STATUS CALLBACK: setStatusText:2
UI DELEGATE STATUS CALLBACK: setStatusText:object.toString
This tests that we can assign strings to the status property.
PASS: window.status = 'set window.status'; window.status should be 'set window.status' and is.
PASS: status = 'set status' should be 'set status' and is.
PASS: window.status = 1; window.status should be '1' and is.
PASS: status = 2; status should be '2' and is.
PASS: window.status={toString:function(){ return 'object.toString'; }}; window.status should be 'object.toString' and is.