Closed
Bug 766757
Opened 14 years ago
Closed 14 years ago
Can't use both REPLACE_HISTORY and BYPASS_CACHE flags when calling nsIWebNavigation::loadURI()
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: bnicholson, Assigned: bnicholson)
References
Details
Attachments
(2 files)
|
7.14 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
|
852 bytes,
patch
|
Details | Diff | Splinter Review |
<bz> but in any case, the upshot is that there is no valid docshell loadtype that has both flags
<bz> and docshell uses integer loadtypes instead of flag bits
<bz> so it's all kinda broken
<bz> any time you want to do a new flag combination, you have to explicitly allow it...
<bz> And in particular, nsDocShell::DoChannelLoad does a switch, not a bit check
| Assignee | ||
Comment 1•14 years ago
|
||
This patch works for me, but I had to guess on a few things:
- whether this should be prefixed with LOAD_NORMAL or just LOAD
- what nsIDOMPerformanceNavigation type this should be considered as
This change is for the "Request Desktop Site" feature on mobile (bug 766406). If changing from a mobile->desktop version of a page, we want to make sure we aren't showing the cached mobile page, and we also don't want the same URL to be in the history twice.
Assignee: nobody → bnicholson
Attachment #635127 -
Flags: review?(bzbarsky)
Comment 2•14 years ago
|
||
Comment on attachment 635127 [details] [diff] [review]
Add LOAD_REPLACE_BYPASS_CACHE load type
r=me
Attachment #635127 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
| Assignee | ||
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/48e15675e290
https://hg.mozilla.org/mozilla-central/rev/93f5a6a9474a
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in
before you can comment on or make changes to this bug.
Description
•