chrome.extension.getViews() does not return a view embedded within <extensionview> |
|||||
Issue descriptionVersion: M53 Beta - 53.0.2785.80 OS: OSX, likely others. What steps will reproduce the problem? (1) Open chrome://cast page. Notice the <extensionview> element with an embedded "chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_setup/index.html#devices" page. (2) Inspect the extension page: be sure to got through chrome://inspect/#pages. Select the chrome-extension:// page listed under the chrome://cast/#devices page. (3) In the JS console of the extension page, run the following code: chrome.extension.getViews().map(view => view.window.location.href) What is the expected output? ["chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_setup/index.html#devices", "chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/_generated_background_page.html"] What do you see instead? ["chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/_generated_background_page.html"] Some notes: (1) This works correctly when "chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_setup/index.html#devices" is opened in its own tab, instead of the inside the extensionview. (2) The page inside the <extensionview> is not completely cut off from the rest of the extension: chrome.runtime.sendMessage works for communicating with the event page.
,
Sep 14 2016
To be clear, this never worked, right? Assigning to James who works on guestview related stuff these days. I'm speculating that we might need to include extensionview frame in ExtensionFrameHelper::GetExtensionFrames() somehow.
,
Sep 15 2016
Paul, this seems like it could be related to https://bugs.chromium.org/p/chromium/issues/detail?id=634168 Is this another manifestation of the same bug?
,
Sep 15 2016
No, I believe that is unrelated.
,
Oct 17 2017
,
Oct 20 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ellyjo...@chromium.org
, Sep 14 2016Status: Assigned (was: Untriaged)