Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Doesn't work on chrome:// WebUI #10

Open
mgiuffrida opened this issue Sep 11, 2015 · 2 comments
Open

Doesn't work on chrome:// WebUI #10

mgiuffrida opened this issue Sep 11, 2015 · 2 comments

Comments

@mgiuffrida
Copy link

On chrome://settings and other WebUI which use Polymer elements, the Polymer tab only displays a "Custom Element Profile" card with a "REFRESH" button; clicking the Refresh button does nothing.

From the extension:

polymer-panel connected Port {sender: Object}
background.js:23 from polymer-panel Object {messageType: "tab-id", tabId: 23} Port {sender: Object}
background.js:25 polymer-page tab-id 23
background.js:23 from polymer-panel Object {messageType: "get-element-stats", tabId: 23} Port {sender: Object}
extensions::uncaught_exception_handler:8 Error in event handler for (unknown): TypeError: Cannot read property 'postMessage' of undefined
    at chrome-extension://mmpfaamodhhlbadloaibpocmcomledcg/src/background.js:37:13handler @ extensions::uncaught_exception_handler:8exports.handle @ extensions::uncaught_exception_handler:100EventImpl.dispatch_ @ extensions::event_bindings:376EventImpl.dispatch @ extensions::event_bindings:393target.(anonymous function) @ extensions::SafeBuiltins:19publicClass.(anonymous function) @ extensions::utils:94dispatchOnMessage @ extensions::messaging:310
background.js:44 element-zones.onConnect Port {sender: Object} 25
@ebidel
Copy link

ebidel commented Sep 11, 2015

IIRC, extension don't run on chrome:// urls for security reasons.

@paulirish
Copy link
Contributor

perhaps with --disable-web-security it would?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants