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

Side by Side 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, 5 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 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 a n explicit boolean argument to keep your current behavior.
2 This page tests calling document.importNode(null). If it passes, you'll see a "P ASS" message below. 1 This page tests calling document.importNode(null). If it passes, you'll see a "P ASS" message below.
3 2
4 caught exception: NotSupportedError: Failed to execute 'importNode' on 'Document ': The 1st argument provided is either null, or an invalid Node object. 3 caught exception: TypeError: Failed to execute 'importNode' on 'Document': param eter 1 is not of type 'Node'.
5 PASS: importNode(null) didn't crash 4 PASS: importNode(null) didn't crash
OLDNEW
« 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