Closed
Bug 1237606
Opened 9 years ago
Closed 9 years ago
The reload addon use new toolbox files only once
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(firefox46 fixed)
RESOLVED
FIXED
Firefox 46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
jryans
:
review+
|
Details | Diff | Splinter Review |
When using the reload addon, only the first modification made to toolbox.js (and most likely other UI files) are not considered. Either firefox file or the first modification are considered.
It is most likely an issue with gDevTools keeping reference to old loader/instances.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
This patch looks like a big workaround to not rewrite gDevTools right away.
But I suspect it will take some time to actually rewrite it.
This solves this bug as well as bug 1237208.
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8705193 [details] [diff] [review]
patch v1
Review of attachment 8705193 [details] [diff] [review]:
-----------------------------------------------------------------
I started looking into splitting gDevTools and moving code to loader modules,
but that won't be easy and will certainly take time.
Do you think that's reasonable to add such trick in the meantime?
Attachment #8705193 -
Flags: feedback?(jryans)
Comment on attachment 8705193 [details] [diff] [review]
patch v1
Review of attachment 8705193 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, I think this is fine for now. It's pretty self-contained.
::: devtools/client/framework/gDevTools.jsm
@@ +11,5 @@
> Cu.import("resource://gre/modules/XPCOMUtils.jsm");
> Cu.import("resource://gre/modules/Services.jsm");
> +
> +let require, loader, promise, DefaultTools, DefaultThemes;
> +let loadDependencies = () => {
Add a comment here that this is not wonderful and we plan to do better by breaking up the module, etc.
Attachment #8705193 -
Flags: feedback?(jryans) → feedback+
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
With a comment.
Assignee | ||
Updated•9 years ago
|
Attachment #8705193 -
Attachment is obsolete: true
Assignee | ||
Comment 7•9 years ago
|
||
Note that I'm about to submit patches to bug 1188405.
So I won't let this thing live for long!
Attachment #8706877 -
Flags: review?(jryans)
Assignee | ||
Updated•9 years ago
|
Attachment #8706606 -
Attachment is obsolete: true
Attachment #8706877 -
Flags: review?(jryans) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → poirot.alex
Assignee | ||
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/b3e626983fe5cd35a8546086f519d683e0f3ddd9
Bug 1237606 - Ensure reloading gDevTools dependencies from the reload addon. r=jryans
Comment 9•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Comment 11•9 years ago
|
||
[bugday-20160323]
Status: RESOLVED,FIXED -> UNVERIFIED
Comments:
STR: Not clear.
Developer specific testing
Component:
Name Firefox
Version 46.0b9
Build ID 20160322075646
Update Channel beta
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
OS Windows 7 SP1 x86_64
Expected Results:
Developer specific testing
Actual Results:
As expected
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•