Index: chrome/test/data/webui/inspect_ui_test.js |
diff --git a/chrome/test/data/webui/inspect_ui_test.js b/chrome/test/data/webui/inspect_ui_test.js |
index 0b7d92748f01374feb9d3fd012c66bcb84616fc4..deaa57a0b1235a9ade6c7d2c82bfbc2aba1cf588 100644 |
--- a/chrome/test/data/webui/inspect_ui_test.js |
+++ b/chrome/test/data/webui/inspect_ui_test.js |
@@ -66,6 +66,15 @@ function testAdbTargetsListed() { |
chromePages, 'http://www.chromium.org/', '.url'); |
expectNotEquals(undefined, chromiumPage); |
+ var pageById = {}; |
+ Array.prototype.forEach.call(devices, function (device) { |
+ var pages = device.querySelectorAll('.row'); |
+ Array.prototype.forEach.call(pages, function (page) { |
+ expectEquals(undefined, pageById[page.targetId]); |
+ pageById[page.targetId] = page; |
+ }); |
+ }); |
+ |
var webView = findByContentSubstring( |
browsers, 'WebView in com.sample.feed (4.0)', '.browser-name'); |
expectNotEquals(undefined, webView); |