Title: [99546] trunk/Source/WebKit/chromium
Revision
99546
Author
[email protected]
Date
2011-11-08 04:00:26 -0800 (Tue, 08 Nov 2011)

Log Message

[Chromium] Web Inspector: add sanity test for automatic reattach to a page which is reloaded after crash
https://bugs.webkit.org/show_bug.cgi?id=71786

Added a test function that checks if console evaluation works after crashed tab reloading.

Reviewed by Pavel Feldman.

* src/js/Tests.js:
(.TestSuite.prototype.testReattachAfterCrash):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (99545 => 99546)


--- trunk/Source/WebKit/chromium/ChangeLog	2011-11-08 11:58:16 UTC (rev 99545)
+++ trunk/Source/WebKit/chromium/ChangeLog	2011-11-08 12:00:26 UTC (rev 99546)
@@ -1,3 +1,15 @@
+2011-11-08  Yury Semikhatsky  <[email protected]>
+
+        [Chromium] Web Inspector: add sanity test for automatic reattach to a page which is reloaded after crash
+        https://bugs.webkit.org/show_bug.cgi?id=71786
+
+        Added a test function that checks if console evaluation works after crashed tab reloading.
+
+        Reviewed by Pavel Feldman.
+
+        * src/js/Tests.js:
+        (.TestSuite.prototype.testReattachAfterCrash):
+
 2011-11-07  Emil A Eklund  <[email protected]>
 
         Revert platform and scrolling to ints

Modified: trunk/Source/WebKit/chromium/src/js/Tests.js (99545 => 99546)


--- trunk/Source/WebKit/chromium/src/js/Tests.js	2011-11-08 11:58:16 UTC (rev 99545)
+++ trunk/Source/WebKit/chromium/src/js/Tests.js	2011-11-08 12:00:26 UTC (rev 99546)
@@ -531,6 +531,13 @@
 };
 
 
+TestSuite.prototype.testReattachAfterCrash = function()
+{
+    this.evaluateInConsole_("1+1;", this.releaseControl.bind(this));
+    this.takeControl();
+};
+
+
 TestSuite.prototype.testSharedWorker = function()
 {
     function didEvaluateInConsole(resultText) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to