Title: [137736] trunk/LayoutTests
Revision
137736
Author
[email protected]
Date
2012-12-14 02:56:24 -0800 (Fri, 14 Dec 2012)

Log Message

Remove an exception message from insertedIntoDocument-no-crash-expected.txt
https://bugs.webkit.org/show_bug.cgi?id=104982

Reviewed by Ryosuke Niwa.

To make the test result identical in all platforms, this patch
removes an exception message from insertedIntoDocument-no-crash-expected.txt.

* fast/dom/insertedIntoDocument-no-crash-expected.txt:
* fast/dom/insertedIntoDocument-no-crash.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (137735 => 137736)


--- trunk/LayoutTests/ChangeLog	2012-12-14 10:54:15 UTC (rev 137735)
+++ trunk/LayoutTests/ChangeLog	2012-12-14 10:56:24 UTC (rev 137736)
@@ -1,5 +1,18 @@
 2012-12-14  Kentaro Hara  <[email protected]>
 
+        Remove an exception message from insertedIntoDocument-no-crash-expected.txt
+        https://bugs.webkit.org/show_bug.cgi?id=104982
+
+        Reviewed by Ryosuke Niwa.
+
+        To make the test result identical in all platforms, this patch
+        removes an exception message from insertedIntoDocument-no-crash-expected.txt.
+
+        * fast/dom/insertedIntoDocument-no-crash-expected.txt:
+        * fast/dom/insertedIntoDocument-no-crash.html:
+
+2012-12-14  Kentaro Hara  <[email protected]>
+
         Unreviewed. Rebaselined images.
 
         * platform/chromium-mac-lion/platform/chromium/virtual/gpu/compositedscrolling/scrollbars/custom-scrollbar-with-incomplete-style-expected.png: Added.

Modified: trunk/LayoutTests/fast/dom/insertedIntoDocument-no-crash-expected.txt (137735 => 137736)


--- trunk/LayoutTests/fast/dom/insertedIntoDocument-no-crash-expected.txt	2012-12-14 10:54:15 UTC (rev 137735)
+++ trunk/LayoutTests/fast/dom/insertedIntoDocument-no-crash-expected.txt	2012-12-14 10:56:24 UTC (rev 137736)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 14: Uncaught Error: NotFoundError: DOM Exception 8
 This test must not crash.
 
 foo

Modified: trunk/LayoutTests/fast/dom/insertedIntoDocument-no-crash.html (137735 => 137736)


--- trunk/LayoutTests/fast/dom/insertedIntoDocument-no-crash.html	2012-12-14 10:54:15 UTC (rev 137735)
+++ trunk/LayoutTests/fast/dom/insertedIntoDocument-no-crash.html	2012-12-14 10:56:24 UTC (rev 137736)
@@ -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