Title: [97246] trunk/Source/WebKit/chromium
- Revision
- 97246
- Author
- [email protected]
- Date
- 2011-10-12 02:13:23 -0700 (Wed, 12 Oct 2011)
Log Message
[Chromium] Web Inspector: add test for pause in shared worker initialization
https://bugs.webkit.org/show_bug.cgi?id=69915
Add WebKit part of interactive ui test for pause in worker initialization.
Reviewed by Pavel Feldman.
* src/js/Tests.js:
(.TestSuite.prototype.testPauseInSharedWorkerInitialization):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (97245 => 97246)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-10-12 09:07:40 UTC (rev 97245)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-10-12 09:13:23 UTC (rev 97246)
@@ -1,5 +1,17 @@
2011-10-12 Yury Semikhatsky <[email protected]>
+ [Chromium] Web Inspector: add test for pause in shared worker initialization
+ https://bugs.webkit.org/show_bug.cgi?id=69915
+
+ Add WebKit part of interactive ui test for pause in worker initialization.
+
+ Reviewed by Pavel Feldman.
+
+ * src/js/Tests.js:
+ (.TestSuite.prototype.testPauseInSharedWorkerInitialization):
+
+2011-10-12 Yury Semikhatsky <[email protected]>
+
[Chromium] Web Inspector: repair interactive tests for debugger pause
https://bugs.webkit.org/show_bug.cgi?id=69912
Modified: trunk/Source/WebKit/chromium/src/js/Tests.js (97245 => 97246)
--- trunk/Source/WebKit/chromium/src/js/Tests.js 2011-10-12 09:07:40 UTC (rev 97245)
+++ trunk/Source/WebKit/chromium/src/js/Tests.js 2011-10-12 09:13:23 UTC (rev 97246)
@@ -581,6 +581,21 @@
};
+TestSuite.prototype.testPauseInSharedWorkerInitialization = function()
+{
+ if (WebInspector.debuggerModel.debuggerPausedDetails)
+ return;
+ this._waitForScriptPause(
+ {
+ functionsOnStack: [""],
+ lineNumber: 1,
+ lineText: "debugger;"
+ },
+ this.releaseControl.bind(this));
+ this.takeControl();
+};
+
+
/**
* Serializes options collection to string.
* @param {HTMLOptionsCollection} options
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes