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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
diff --git a/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt b/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
index f1683ad8b63dabed4b633b09527b95d5d12ca888..4ee14fb12c1d78d2689a55a85e384380e12ddc03 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
+++ b/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
@@ -7,14 +7,14 @@ PASS observer.observe() threw exception TypeError: Not enough arguments.
PASS observer.observe(null) threw exception TypeError: Not enough arguments.
PASS observer.observe(undefined) threw exception TypeError: Not enough arguments.
PASS observer.observe(document.body) threw exception TypeError: Not enough arguments.
-PASS observer.observe(document.body, null) threw exception Error: SyntaxError: DOM Exception 12.
-PASS observer.observe(document.body, undefined) threw exception Error: SyntaxError: DOM Exception 12.
-PASS observer.observe(null, {attributes: true}) threw exception Error: NotFoundError: DOM Exception 8.
-PASS observer.observe(undefined, {attributes: true}) threw exception Error: NotFoundError: DOM Exception 8.
-PASS observer.observe(document.body, {subtree: true}) threw exception Error: SyntaxError: DOM Exception 12.
-PASS observer.observe(document.body, {childList: true, attributeOldValue: true}) threw exception Error: SyntaxError: DOM Exception 12.
-PASS observer.observe(document.body, {attributes: true, characterDataOldValue: true}) threw exception Error: SyntaxError: DOM Exception 12.
-PASS observer.observe(document.body, {characterData: true, attributeFilter: ["id"]}) threw exception Error: SyntaxError: DOM Exception 12.
+PASS observer.observe(document.body, null) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS observer.observe(document.body, undefined) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS observer.observe(null, {attributes: true}) threw exception NotFoundError: An attempt was made to reference a Node in a context where it does not exist..
+PASS observer.observe(undefined, {attributes: true}) threw exception NotFoundError: An attempt was made to reference a Node in a context where it does not exist..
+PASS observer.observe(document.body, {subtree: true}) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS observer.observe(document.body, {childList: true, attributeOldValue: true}) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS observer.observe(document.body, {attributes: true, characterDataOldValue: true}) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS observer.observe(document.body, {characterData: true, attributeFilter: ["id"]}) threw exception SyntaxError: An invalid or illegal string was specified..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698