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

Side by Side Diff: LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test that WebKitMutationObserver.observe throws exceptions appropriately 1 Test that WebKitMutationObserver.observe throws exceptions appropriately
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 observer.observe() threw exception TypeError: Not enough arguments. 6 PASS observer.observe() threw exception TypeError: Not enough arguments.
7 PASS observer.observe(null) threw exception TypeError: Not enough arguments. 7 PASS observer.observe(null) threw exception TypeError: Not enough arguments.
8 PASS observer.observe(undefined) threw exception TypeError: Not enough arguments . 8 PASS observer.observe(undefined) threw exception TypeError: Not enough arguments .
9 PASS observer.observe(document.body) threw exception TypeError: Not enough argum ents. 9 PASS observer.observe(document.body) threw exception TypeError: Not enough argum ents.
10 PASS observer.observe(document.body, null) threw exception Error: SyntaxError: D OM Exception 12. 10 PASS observer.observe(document.body, null) threw exception SyntaxError: An inval id or illegal string was specified..
11 PASS observer.observe(document.body, undefined) threw exception Error: SyntaxErr or: DOM Exception 12. 11 PASS observer.observe(document.body, undefined) threw exception SyntaxError: An invalid or illegal string was specified..
12 PASS observer.observe(null, {attributes: true}) threw exception Error: NotFoundE rror: DOM Exception 8. 12 PASS observer.observe(null, {attributes: true}) threw exception NotFoundError: A n attempt was made to reference a Node in a context where it does not exist..
13 PASS observer.observe(undefined, {attributes: true}) threw exception Error: NotF oundError: DOM Exception 8. 13 PASS observer.observe(undefined, {attributes: true}) threw exception NotFoundErr or: An attempt was made to reference a Node in a context where it does not exist ..
14 PASS observer.observe(document.body, {subtree: true}) threw exception Error: Syn taxError: DOM Exception 12. 14 PASS observer.observe(document.body, {subtree: true}) threw exception SyntaxErro r: An invalid or illegal string was specified..
15 PASS observer.observe(document.body, {childList: true, attributeOldValue: true}) threw exception Error: SyntaxError: DOM Exception 12. 15 PASS observer.observe(document.body, {childList: true, attributeOldValue: true}) threw exception SyntaxError: An invalid or illegal string was specified..
16 PASS observer.observe(document.body, {attributes: true, characterDataOldValue: t rue}) threw exception Error: SyntaxError: DOM Exception 12. 16 PASS observer.observe(document.body, {attributes: true, characterDataOldValue: t rue}) threw exception SyntaxError: An invalid or illegal string was specified..
17 PASS observer.observe(document.body, {characterData: true, attributeFilter: ["id "]}) threw exception Error: SyntaxError: DOM Exception 12. 17 PASS observer.observe(document.body, {characterData: true, attributeFilter: ["id "]}) threw exception SyntaxError: An invalid or illegal string was specified..
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698