Title: [91258] trunk/Source/WebKit/chromium
- Revision
- 91258
- Author
- [email protected]
- Date
- 2011-07-19 08:51:40 -0700 (Tue, 19 Jul 2011)
Log Message
[Chromium] Web Inspector: add sanity test for shared worker inspector
https://bugs.webkit.org/show_bug.cgi?id=64799
Reviewed by Pavel Feldman.
* src/js/Tests.js:
(.TestSuite.prototype.testSharedWorker):
(.TestSuite.prototype.evaluateInConsole_):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (91257 => 91258)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-07-19 15:46:11 UTC (rev 91257)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-07-19 15:51:40 UTC (rev 91258)
@@ -1,3 +1,14 @@
+2011-07-19 Yury Semikhatsky <[email protected]>
+
+ [Chromium] Web Inspector: add sanity test for shared worker inspector
+ https://bugs.webkit.org/show_bug.cgi?id=64799
+
+ Reviewed by Pavel Feldman.
+
+ * src/js/Tests.js:
+ (.TestSuite.prototype.testSharedWorker):
+ (.TestSuite.prototype.evaluateInConsole_):
+
2011-07-19 Vsevolod Vlasov <[email protected]>
Web Inspector: Rename agentIdentifierPrefix to processId, move out from page agent and make static.
Modified: trunk/Source/WebKit/chromium/src/js/Tests.js (91257 => 91258)
--- trunk/Source/WebKit/chromium/src/js/Tests.js 2011-07-19 15:46:11 UTC (rev 91257)
+++ trunk/Source/WebKit/chromium/src/js/Tests.js 2011-07-19 15:51:40 UTC (rev 91258)
@@ -536,6 +536,17 @@
};
+TestSuite.prototype.testSharedWorker = function()
+{
+ function didEvaluateInConsole(resultText) {
+ this.assertEquals("2011", resultText);
+ this.releaseControl();
+ }
+ this.evaluateInConsole_("globalVar", didEvaluateInConsole.bind(this));
+ this.takeControl();
+};
+
+
/**
* Serializes options collection to string.
* @param {HTMLOptionsCollection} options
@@ -614,7 +625,7 @@
{
WebInspector.showConsole();
WebInspector.console.prompt.text = code;
- WebInspector.console.promptElement.dispatchEvent( TestSuite.createKeyEvent("Enter"));
+ WebInspector.console.promptElement.dispatchEvent(TestSuite.createKeyEvent("Enter"));
this.addSniffer(WebInspector.ConsoleView.prototype, "addMessage",
function(commandResult) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes