Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt

Issue 752713002: Make getComputedStyle throw for incorrect first parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address issues Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 PASS getComputedStyle(null) threw exception TypeError: Failed to execute 'getCom putedStyle' on 'Window': parameter 1 is not of type 'Element'..
2 PASS getComputedStyle(undefined) threw exception TypeError: Failed to execute 'g etComputedStyle' on 'Window': parameter 1 is not of type 'Element'..
3 PASS getComputedStyle(document.createTextNode("foo")) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'E lement'..
4 PASS successfullyParsed is true
5
6 TEST COMPLETE
7
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698