Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: webkit/glue/devtools/js/tests.js

Issue 174395: DevTools: Enable devtools sanity tests on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/devtools/resource_test_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/tests.js
===================================================================
--- webkit/glue/devtools/js/tests.js (revision 24220)
+++ webkit/glue/devtools/js/tests.js (working copy)
@@ -340,7 +340,6 @@
*/
TestSuite.prototype.testShowScriptsTab = function() {
var parsedDebuggerTestPageHtml = false;
- var parsedDebuggerTestJs = false;
// Intercept parsedScriptSource calls to check that all expected scripts are
// added to the debugger.
@@ -352,11 +351,6 @@
test.fail('Unexpected parse event: ' + sourceURL);
}
parsedDebuggerTestPageHtml = true;
- } else if (sourceURL.search(/debugger_test.js$/) != -1) {
- if (parsedDebuggerTestJs) {
- test.fail('Unexpected parse event: ' + sourceURL);
- }
- parsedDebuggerTestJs = true;
} else {
test.fail('Unexpected script URL: ' + sourceURL);
}
@@ -365,7 +359,7 @@
test.fail('No visible script view: ' + sourceURL);
}
- if (parsedDebuggerTestJs && parsedDebuggerTestPageHtml) {
+ if (parsedDebuggerTestPageHtml) {
test.releaseControl();
}
}, true /* sticky */);
« no previous file with comments | « chrome/test/data/devtools/resource_test_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698