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

Unified Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt

Issue 765123002: Sync the getComputedStyle() IDL with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: simplify 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt
diff --git a/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt
similarity index 53%
copy from LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt
copy to LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt
index 8e418825f4df7824c392af77613bcbac5a38e4dd..2e55d8ee16f2dfeedaf85bc740413ad76c938a92 100644
--- a/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter-expected.txt
+++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt
@@ -1,6 +1,7 @@
+PASS getComputedStyle() threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': 1 argument required, but only 0 present..
+PASS getComputedStyle(document) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'..
PASS getComputedStyle(null) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'..
PASS getComputedStyle(undefined) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'..
-PASS getComputedStyle(document.createTextNode("foo")) threw exception TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html ('k') | Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698