Title: [137972] branches/chromium/1312/LayoutTests/fast/dom
Revision
137972
Author
[email protected]
Date
2012-12-17 19:44:00 -0800 (Mon, 17 Dec 2012)

Log Message

Merge 137736
BUG=165864
Review URL: https://codereview.chromium.org/11612012

Modified Paths

Diff

Modified: branches/chromium/1312/LayoutTests/fast/dom/insertedIntoDocument-no-crash-expected.txt (137971 => 137972)


--- branches/chromium/1312/LayoutTests/fast/dom/insertedIntoDocument-no-crash-expected.txt	2012-12-18 03:41:28 UTC (rev 137971)
+++ branches/chromium/1312/LayoutTests/fast/dom/insertedIntoDocument-no-crash-expected.txt	2012-12-18 03:44:00 UTC (rev 137972)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 14: Uncaught Error: NotFoundError: DOM Exception 8
 This test must not crash.
 
 foo

Modified: branches/chromium/1312/LayoutTests/fast/dom/insertedIntoDocument-no-crash.html (137971 => 137972)


--- branches/chromium/1312/LayoutTests/fast/dom/insertedIntoDocument-no-crash.html	2012-12-18 03:41:28 UTC (rev 137971)
+++ branches/chromium/1312/LayoutTests/fast/dom/insertedIntoDocument-no-crash.html	2012-12-18 03:44:00 UTC (rev 137972)
@@ -10,8 +10,12 @@
 }
 
 function f2() {
-    document.getElementsByTagName("kbd")[0].innerHTML = 'foo';
-    document.getElementsByTagName("kbd")[0].insertBefore(document.createElement('foo'),document.createElement('foo'));
+    try {
+        document.getElementsByTagName("kbd")[0].innerHTML = 'foo';
+        document.getElementsByTagName("kbd")[0].insertBefore(document.createElement('foo'),document.createElement('foo'));
+    } catch (e) {
+        // We are not interested in exceptions.
+    }
 }
 </script>
 <s>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to