Title: [124785] trunk/Tools
Revision
124785
Author
[email protected]
Date
2012-08-06 11:15:15 -0700 (Mon, 06 Aug 2012)

Log Message

[Chromium] Re-expose layoutTestController as various fuzzers depend on it
https://bugs.webkit.org/show_bug.cgi?id=93282

Reviewed by Ryosuke Niwa.

Unfortunately, various fuzzers used in the Chromium project still depends on
window.layoutTestController. Re-expose the object while they're making the transition.

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::bindJSObjectsToWindow):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (124784 => 124785)


--- trunk/Tools/ChangeLog	2012-08-06 17:59:04 UTC (rev 124784)
+++ trunk/Tools/ChangeLog	2012-08-06 18:15:15 UTC (rev 124785)
@@ -1,3 +1,16 @@
+2012-08-06  Abhishek Arya  <[email protected]>
+
+        [Chromium] Re-expose layoutTestController as various fuzzers depend on it
+        https://bugs.webkit.org/show_bug.cgi?id=93282
+
+        Reviewed by Ryosuke Niwa.
+
+        Unfortunately, various fuzzers used in the Chromium project still depends on
+        window.layoutTestController. Re-expose the object while they're making the transition.
+
+        * DumpRenderTree/chromium/TestShell.cpp:
+        (TestShell::bindJSObjectsToWindow):
+
 2012-08-06  Balazs Kelemen  <[email protected]>
 
         WTR should be able to load external resources

Modified: trunk/Tools/DumpRenderTree/chromium/TestShell.cpp (124784 => 124785)


--- trunk/Tools/DumpRenderTree/chromium/TestShell.cpp	2012-08-06 17:59:04 UTC (rev 124784)
+++ trunk/Tools/DumpRenderTree/chromium/TestShell.cpp	2012-08-06 18:15:15 UTC (rev 124785)
@@ -726,6 +726,7 @@
 {
     WebTestingSupport::injectInternalsObject(frame);
     m_testInterfaces->bindTo(frame);
+    m_layoutTestController->bindToJavascript(frame, WebString::fromUTF8("layoutTestController"));
     m_layoutTestController->bindToJavascript(frame, WebString::fromUTF8("testRunner"));
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to