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

Side by Side Diff: chrome/test/data/extensions/api_test/window_open/panel_browsing_instance/panel.js

Issue 2263863002: Remove implementation of Panels on OSes other than ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 4 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 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 chrome.test.log('executing panel.js ...');
6
7 // panel-subframe has to be navigated to another SiteInstance, so that in
8 // --isolate-extensions mode it gets kicked out to another renderer process and
9 // therefore has to go through the browser process when trying to find a frame
10 // via window.open that gets called from panel-subframe.js (this will go through
11 // BrowsingInstance checks in the browser process).
12 chrome.test.getConfig(function(config) {
13 var baseUri = 'http://foo.com:' + config.testServer.port +
14 '/extensions/api_test/window_open/panel_browsing_instance/';
15
16 chrome.test.log('navigating panel-subframe ...');
17 var subframe = document.getElementById('panel-subframe-id');
18 subframe.src = baseUri +
19 'panel-subframe.html?extensionId=' + chrome.runtime.id;
20 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698