Closed
Bug 1149350
Opened 10 years ago
Closed 10 years ago
Force reload for apps
Categories
(DevTools Graveyard :: WebIDE, defect)
DevTools Graveyard
WebIDE
Tracking
(firefox40 fixed)
RESOLVED
FIXED
Firefox 40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: jryans, Assigned: jryans)
References
Details
Attachments
(1 file)
1.08 KB,
patch
|
ochameau
:
review+
myk
:
feedback+
|
Details | Diff | Splinter Review |
Myk mentioned on IRC that an app he works on occasionally runs with stale / cached scripts after installing a new version.
While we don't yet have a clear STR, in discussion we noticed that we could be pass "force: true" when reloading to bypass the cache.
Assignee | ||
Updated•10 years ago
|
Summary: Force reload for apps? → Force reload for apps
Assignee | ||
Comment 1•10 years ago
|
||
Here is a sample change that does a "force reload" every time.
myk, bdahl, can you try it and let me know if this helps?
Attachment #8585802 -
Flags: feedback?(myk)
Attachment #8585802 -
Flags: feedback?(bdahl)
Comment 2•10 years ago
|
||
I'm building with it now and will start using it afterward. I'll use it for a few days before reporting back, since the problem is intermittent, so it's hard to be sure.
Comment 3•10 years ago
|
||
Comment on attachment 8585802 [details] [diff] [review]
0001-Bug-1149350-Force-reload-for-apps.patch
Ok, I've been using my custom build with this patch for a few days, and I haven't had the problem again, nor have I noticed any regressions. So this patch seems to address the problem, and at the very least it doesn't seem iatrogenic. I think we should take it!
Attachment #8585802 -
Flags: feedback?(myk) → feedback+
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8585802 [details] [diff] [review]
0001-Bug-1149350-Force-reload-for-apps.patch
Review of attachment 8585802 [details] [diff] [review]:
-----------------------------------------------------------------
Alex, should we just |force| reload like this in all cases, or make WebIDE on do so sometimes?
Attachment #8585802 -
Flags: feedback?(bdahl) → review?(poirot.alex)
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] from comment #4)
> Alex, should we just |force| reload like this in all cases, or make WebIDE
> on do so sometimes?
..."only do so sometimes?"
Comment 6•10 years ago
|
||
Comment on attachment 8585802 [details] [diff] [review]
0001-Bug-1149350-Force-reload-for-apps.patch
Review of attachment 8585802 [details] [diff] [review]:
-----------------------------------------------------------------
Hum it looks like the current production code usages of reload always use force=true.
(I mean the usages other than WebIDE ones, that are broken, per this bug)
So I think it is valuable to make it by default.
Only tests are calling reload without any argument, and I can easily imagine them failing because of that!
Attachment #8585802 -
Flags: review?(poirot.alex) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 9•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 40
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
•