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

Unified Diff: chrome/test/data/extensions/good/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html

Issue 126074: Change extension id format back to mp-decimal, and change the (Closed)
Patch Set: make all the tests work again Created 11 years, 6 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
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>

Powered by Google App Engine
This is Rietveld 408576698