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

Side by Side Diff: chrome/test/data/extensions/good/extension1/1/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 unified diff | Download patch
OLDNEW
(Empty)
1 <style>
2 body {
3 overflow: hidden;
4 margin: 0 0 0 0;
5 }
6
7 /* TODO: put the background style into body when
8 https://bugs.webkit.org/show_bug.cgi?id=18445 is fixed. */
9 .content {
10 background: -webkit-gradient(linear, left top, left bottom, from(rgb(222, 234, 248)), to(rgb(237, 244, 252)));
11 padding: 1;
12 white-space: nowrap;
13 }
14 </style>
15 <body>
16 <div class="content">
17 <script>
18 // ExtensionViewTest depends on this alert, even though it doesn't work in
19 // the real browser.
20 alert('Sir, I exist');
21 console.log('Sir, I exist');
22
23 chromium.onconnect.addListener(function (port) {
24 port.onmessage.addListener(doOnMessage);
25 port.postMessage('extension onconnect: ' + port.tab.url);
26 });
27
28 function doOnMessage(msg, port) {
29 if (!port.didRespond) {
30 port.postMessage('extension msg ack: ' + msg);
31 port.didRespond = true;
32 }
33 }
34 </script>
35 <select>
36 <option>one</option>
37 <option>two</option>
38 <option>three</option>
39 </select>
40 </div>
41 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698