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); |
} |
}); |
} |