Closed
Bug 913598
Opened 12 years ago
Closed 12 years ago
Electrolysis: Remove failing calls in remote-browser detructor
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 26
People
(Reporter: evilpies, Assigned: evilpies)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
876 bytes,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
Both of these just throw an error.
Attachment #800885 -
Flags: review?(felipc)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → evilpies
Status: NEW → ASSIGNED
Comment 1•12 years ago
|
||
Did you try the two scenarios in bug 895957 comment 24? i.e. does closing a window directly will also throw this error?
And I hadn't noticed webProgress._destroy failing. Is that with the refactor in bug 913280?
Depends on: 895957
Assignee | ||
Comment 2•12 years ago
|
||
Not really, I will test this. Yeah I missed _destroy in my refactoring.
Assignee | ||
Comment 3•12 years ago
|
||
So the error with the controller doesn't happen in the case where I close a whole window with remote tabs. And even in the case where I only close a tab, the controller isn't actually null or undefined, but there is still an error. Removing the call seems like the best solution.
Comment 4•12 years ago
|
||
Neil, what do you think? can we just remove the call?
Tom, btw if removing all the content you can also remove the destructor block declaration
Flags: needinfo?(neil)
Comment 5•12 years ago
|
||
Comment on attachment 800885 [details] [diff] [review]
remove-destructor
Markh says this is causing some test failures, so let's just do it and if we need to add the removeController back we'll do it.
Please remove the whole <destructor> declaration
Attachment #800885 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
As far as I can tell all of this stuff should get automatically cleaned up once the <browser> is removed from the DOM and dereferenced and so you should be OK not to manually remove it.
Flags: needinfo?(neil)
Comment 8•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
You need to log in
before you can comment on or make changes to this bug.
Description
•