Closed
Bug 1300238
Opened 8 years ago
Closed 8 years ago
Is there anyway to see when an unsafe/forbidden CPOW is used by an add-on
Categories
(Firefox :: Extension Compatibility, defect, P1)
Firefox
Extension Compatibility
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox51 | --- | affected |
People
(Reporter: shell, Assigned: shell)
References
Details
(Whiteboard: CPOW)
Is there an error, anything in telemetry, or any probe that could be added when an unsafe/forbidden CPOW is used? how is it exposed? what is the result?
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 1•8 years ago
|
||
i don't know enough about the browser console to make an intelligent connection to if this is accessible - but apparently you can see the following type error in the browser console:
unsafe CPOW usage forbidden
continueSave() contentAreaUtils.js:464
internalSave/<() contentAreaUtils.js:444
Handler.prototype.process() Promise-backend.js:937
this.PromiseWalker.walkerLoop() Promise-backend.js:816
bound () self-hosted
bound bound () self-hosted
contentAreaUtils.js:464 is the 4th line here:
let isPrivate = aIsContentWindowPrivate;
if (isPrivate === undefined) {
isPrivate = aInitiatingDocument instanceof Components.interfaces.nsIDOMDocument
? PrivateBrowsingUtils.isContentWindowPrivate(aInitiatingDocument.defaultView)
: aInitiatingDocument.isPrivate;
}
Assignee | ||
Comment 2•8 years ago
|
||
Reason - if we can do something - running Beta we could see add-ons where shims are still going to break in production and make sure we do not enable e10s for them or we make them stop running. either way - we could greatly preserve the user experience.
just running through options: https://docs.google.com/document/d/1WP__6Uo-jQwF6cnz0YtqslG9_z1Tf43ADYKELmGiaDI/edit
Priority: -- → P1
Comment 3•8 years ago
|
||
There is the keyed histogram ADDON_FORBIDDEN_CPOW_USAGE which "counts the number of times a given add-on used CPOWs when it was marked as e10s compatible" (https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/Histograms.json#46). It was added as a part of Bug 1214824.
Assignee | ||
Comment 4•8 years ago
|
||
this was worked through
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•