haikuwebkit/LayoutTests/fast/dom/Window/getComputedStyle-missing-pa...

12 lines
448 B
Plaintext

Test that the first parameter to Window.getComputedStyle() is mandatory and not nullable.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.getComputedStyle() threw exception TypeError: Not enough arguments.
PASS window.getComputedStyle(null) threw exception TypeError: Argument 1 ('element') to Window.getComputedStyle must be an instance of Element.
PASS successfullyParsed is true
TEST COMPLETE