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

Unified Diff: LayoutTests/fast/dom/importNode-null-expected.txt

Issue 360463005: Add [TypeChecking=Interface] on various methods in Document.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 6 months 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
« no previous file with comments | « LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/importNode-null-expected.txt
diff --git a/LayoutTests/fast/dom/importNode-null-expected.txt b/LayoutTests/fast/dom/importNode-null-expected.txt
index af3359a6886540fe961db8d3d381e53194a7e2e5..d4558e21b94923d9bbd9cd7d5a8665d38a1f2628 100644
--- a/LayoutTests/fast/dom/importNode-null-expected.txt
+++ b/LayoutTests/fast/dom/importNode-null-expected.txt
@@ -1,5 +1,4 @@
-CONSOLE WARNING: The behavior of importNode() with no boolean argument is about to change from doing a deep clone to doing a shallow clone. Make sure to pass an explicit boolean argument to keep your current behavior.
This page tests calling document.importNode(null). If it passes, you'll see a "PASS" message below.
-caught exception: NotSupportedError: Failed to execute 'importNode' on 'Document': The 1st argument provided is either null, or an invalid Node object.
+caught exception: TypeError: Failed to execute 'importNode' on 'Document': parameter 1 is not of type 'Node'.
PASS: importNode(null) didn't crash
« no previous file with comments | « LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698