Index: chrome/test/data/extensions/good/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html |
diff --git a/chrome/test/data/extensions/good/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html b/chrome/test/data/extensions/good/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d36de21e4159404458710453f0873390615f218a |
--- /dev/null |
+++ b/chrome/test/data/extensions/good/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html |
@@ -0,0 +1,41 @@ |
+<style> |
+body { |
+ overflow: hidden; |
+ margin: 0 0 0 0; |
+} |
+ |
+/* TODO: put the background style into body when |
+ https://bugs.webkit.org/show_bug.cgi?id=18445 is fixed. */ |
+.content { |
+ background: -webkit-gradient(linear, left top, left bottom, from(rgb(222, 234, 248)), to(rgb(237, 244, 252))); |
+ padding: 1; |
+ white-space: nowrap; |
+} |
+</style> |
+<body> |
+<div class="content"> |
+<script> |
+ // ExtensionViewTest depends on this alert, even though it doesn't work in |
+ // the real browser. |
+ alert('Sir, I exist'); |
+ console.log('Sir, I exist'); |
+ |
+ chromium.onconnect.addListener(function (port) { |
+ port.onmessage.addListener(doOnMessage); |
+ port.postMessage('extension onconnect: ' + port.tab.url); |
+ }); |
+ |
+ function doOnMessage(msg, port) { |
+ if (!port.didRespond) { |
+ port.postMessage('extension msg ack: ' + msg); |
+ port.didRespond = true; |
+ } |
+ } |
+</script> |
+<select> |
+<option>one</option> |
+<option>two</option> |
+<option>three</option> |
+</select> |
+</div> |
+</body> |