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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view_src_attribute/main.js

Issue 11368071: browser-plugin: Remove event handling code, and use CustomEvents in webkit instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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
Index: chrome/test/data/extensions/platform_apps/web_view_src_attribute/main.js
diff --git a/chrome/test/data/extensions/platform_apps/web_view_src_attribute/main.js b/chrome/test/data/extensions/platform_apps/web_view_src_attribute/main.js
index 66984297e13e819fc756c792de5f9bb84e428299..df47079f49b49278d7c3127a61ddf67fd8c99dcf 100644
--- a/chrome/test/data/extensions/platform_apps/web_view_src_attribute/main.js
+++ b/chrome/test/data/extensions/platform_apps/web_view_src_attribute/main.js
@@ -10,7 +10,7 @@ var checkSrc = function(element, expectedValue) {
onload = function() {
chrome.test.runTests([
- function webview() {
+ function webView() {
var expectedSrcOne = 'data:text/html,<body>One</body>';
var expectedSrcTwo = 'data:text/html,<body>Two</body>';
var expectedSrcThree = 'data:text/html,<body>Three</body>';
@@ -59,7 +59,6 @@ onload = function() {
}, 0);
};
-
// Wait for navigation to complete before checking src attribute.
webview.addEventListener('loadcommit', function(e) {
switch (step) {
@@ -74,7 +73,8 @@ onload = function() {
break;
default:
// Unchecked.
- chrome.test.fail('Unexpected step: ' + step);
+ chrome.test.fail('Unexpected step: ' + step + ' with url: ' +
+ e.url);
}
});
}

Powered by Google App Engine
This is Rietveld 408576698