Closed
Bug 1006912
Opened 10 years ago
Closed 10 years ago
Web Audio Editor needs to be destroyed and recreated after used
Categories
(DevTools Graveyard :: Web Audio Editor, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 32
People
(Reporter: jsantell, Assigned: jsantell)
References
Details
Attachments
(1 file, 2 obsolete files)
15.91 KB,
patch
|
jsantell
:
review+
|
Details | Diff | Splinter Review |
From the ContentObserver refactoring I think, the 'start-context' event doesn't get emitted from the web audio actor when refreshing. Currently, the first node created fires the start-context event, as well as a node for the AudioDestination. Since we can't hook into constructors with ContentObserver/CallWatcher, this was done instead of listening for the actual AudioContext creation. The front and back end needs to be rewritten to handle persisting across reloads.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jsantell
Assignee | ||
Comment 1•10 years ago
|
||
This is actually a show stopper.
Assignee | ||
Updated•10 years ago
|
Blocks: webaudioeditorv1
Assignee | ||
Comment 2•10 years ago
|
||
Bug 1008497 may solve this issue as we'll have real events for AudioContext creation
Depends on: 1008497
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 3•10 years ago
|
||
Depends on 1013544 due to test changes, and I don't want to deal with merging patch magic right now
Assignee | ||
Comment 4•10 years ago
|
||
Was holding off on r?ing this as it'll need rebased as it also moves the `clickGraphNode` fn in tests to `head.js`, which is also done in bug 1013544, but I'll deal with rebasing later, just want to land this ASAP, as this is the bug that makes you close/open toolbox again upon refreshing the page
Attachment #8429428 -
Flags: review?(vporof)
Assignee | ||
Comment 5•10 years ago
|
||
Now that the other patches landed, rebased against that.
Attachment #8429428 -
Attachment is obsolete: true
Attachment #8429428 -
Flags: review?(vporof)
Attachment #8429786 -
Flags: review?(vporof)
Comment 6•10 years ago
|
||
Comment on attachment 8429786 [details] [diff] [review] 1006912-wae-must-persist.patch Review of attachment 8429786 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/webaudioeditor/webaudioeditor-controller.js @@ +214,5 @@ > /** > * Called for each location change in the debugged tab. > */ > _onTabNavigated: function(event) { > + let controller = this; You could turn _onTabNavigated into a Task to avoid so much indentation. Then you don't even need to cache |this| anymore. _onTabNavigated: Task.spawn(function*(event) { }),
Attachment #8429786 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Ah, yes, switched that over to a `Task.async`, and this horrible bug is fixed!
Attachment #8429786 -
Attachment is obsolete: true
Attachment #8430215 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Do you have a link to a recent Try run by chance? :)
Keywords: checkin-needed
Assignee | ||
Comment 9•10 years ago
|
||
Hm, thought I did but couldn't find it, reran it with success: https://tbpl.mozilla.org/?tree=Try&rev=2b69ade18951 A crash in the webgl editor, possibly related to bug 937088 or bug 1009319, but this patch wouldn't affect that tool in anyway. Rerunning 10.6 opt build for sanity checking though: https://tbpl.mozilla.org/?tree=Try&rev=9e818f9abad4
Keywords: checkin-needed
Comment 10•10 years ago
|
||
You know you can just retrigger jobs on the existing push, right? :) See https://wiki.mozilla.org/Sheriffing/How:To:Recommended_Try_Practices
Assignee | ||
Comment 12•10 years ago
|
||
Ah, that would've helped too -- thanks!
https://hg.mozilla.org/mozilla-central/rev/27c882b46de9
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•