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

Side by Side Diff: LayoutTests/fast/dom/DOMException/prototype-object-expected.txt

Issue 1237623006: Post-Mutation Event checks must re-check document constraints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. Created 5 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 | Annotate | Revision Log
OLDNEW
1 This tests the prototype chain of DOMException objects. 1 This tests the prototype chain of DOMException objects.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS e.toString() is "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': The new child element contains the parent." 6 PASS e.toString() is "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': Nodes of type '#document' may not be inserted inside nodes of type '#doc ument'."
7 PASS Object.prototype.toString.call(e) is "[object DOMException]" 7 PASS Object.prototype.toString.call(e) is "[object DOMException]"
8 FAIL Object.prototype.toString.call(e.__proto__) should be [object DOMExceptionP rototype]. Was [object Object]. 8 FAIL Object.prototype.toString.call(e.__proto__) should be [object DOMExceptionP rototype]. Was [object Object].
9 PASS Object.prototype.toString.call(e.__proto__.__proto__) is "[object Error]" 9 PASS Object.prototype.toString.call(e.__proto__.__proto__) is "[object Error]"
10 PASS e.constructor.toString() is "function DOMException() { [native code] }" 10 PASS e.constructor.toString() is "function DOMException() { [native code] }"
11 PASS e instanceof DOMException is true 11 PASS e instanceof DOMException is true
12 PASS e instanceof Error is true 12 PASS e instanceof Error is true
13 PASS e.constructor is window.DOMException 13 PASS e.constructor is window.DOMException
14 PASS e.HIERARCHY_REQUEST_ERR is e.constructor.HIERARCHY_REQUEST_ERR 14 PASS e.HIERARCHY_REQUEST_ERR is e.constructor.HIERARCHY_REQUEST_ERR
15 PASS e.HIERARCHY_REQUEST_ERR is 3 15 PASS e.HIERARCHY_REQUEST_ERR is 3
16 PASS e.code is 3 16 PASS e.code is 3
17 PASS e.name is "HierarchyRequestError" 17 PASS e.name is "HierarchyRequestError"
18 PASS e.message is "Failed to execute 'appendChild' on 'Node': The new child elem ent contains the parent." 18 PASS e.message is "Failed to execute 'appendChild' on 'Node': Nodes of type '#do cument' may not be inserted inside nodes of type '#document'."
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/DOMException/prototype-object.html ('k') | LayoutTests/fast/dom/DOMException/stack-trace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698