Closed
Bug 1130901
Opened 10 years ago
Closed 10 years ago
Method patching can cause permission denied errors from call-watcher
Categories
(DevTools Graveyard :: Web Audio Editor, defect)
Tracking
(firefox38 fixed)
RESOLVED
FIXED
Firefox 38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: jsantell, Assigned: jsantell)
References
Details
Attachments
(2 files)
95.94 KB,
image/png
|
Details | |
8.79 KB,
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
Found using WAE with: http://webaudiotool.com/app/?patch=1C170F35-3D45-0777-0EFF-8F3DFE42A3F1
since we proxy patch AudioContext methods, calling them via `call` or `apply` in content produces a permission denied error, like on this line:
module.setAudioNode(this.audioContext[jsMethodName].call(this.audioContext, data.args));
This is due to the call-watcher actor, and will appear in the shader and canvas editor as well.
Assignee | ||
Comment 1•10 years ago
|
||
To clarify, this permission denied error breaks the entire functionality of the site with the tools open. Very very bad.
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
With the WAE tools open, and console, type in `(ctx = new AudioContext()).createOscillator.apply(ctx)` to see this.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•10 years ago
|
||
Tests pass for canvas and shader editor too. If there are any scenarios you think that are untested for these, let me know and I'll scope it out.
Attachment #8563125 -
Flags: review?(vporof)
Updated•10 years ago
|
Attachment #8563125 -
Flags: review?(vporof) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•