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

Side by Side Diff: chrome/test/data/extensions/api_test/popup/popup_from_infobar/in-popup.html

Issue 6334101: Removal of chrome.experimental.popup set of APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4
5 function getFromParent() {
6 var target = document.getElementById('target');
7 if (!target) {
8 chrome.test.fail('no target');
9 }
10 target.innerText = chrome.experimental.popup.getParentWindow().magic;
11 }
12
13 function init() {
14 chrome.extension.getBackgroundPage().popupCallback(window, getFromParent);
15 }
16
17 </script>
18 </head>
19 <body onload="init()">
20 <span id='target'></span>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698