Closed
Bug 298377
Opened 19 years ago
Closed 11 years ago
Fastback breaks dojo.io.bind's back-button interception when subframe caching enabled
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
RESOLVED
WORKSFORME
mozilla1.8beta4
People
(Reporter: shaver, Unassigned)
References
()
Details
(Whiteboard: [no l10n impact] [ETA ?])
With 1.0.4, the back-button interception in the test case that comes with the dojo.io.bind package works, but with DP1.1a1 it does not. Just untar the package linked from this bug's URL (currently http://dojotoolkit.org/dojo_browserio_20050505.tar.gz) and notice that you don't get the "we intercepted the back button" alert on DP1.1a1.
Comment 1•19 years ago
|
||
byner/sicking, we should see if we can get this working quickly for next alpha or beta
Assignee: nobody → bryner
Flags: blocking1.8b3+
Comment 2•19 years ago
|
||
Why do we want to support back-button interception? And please can we get a minimal self-contained testcase?
Flags: blocking1.8b3+ → blocking1.8b3-
Reporter | ||
Comment 3•19 years ago
|
||
We want to support back-button interception for the same reason that we want to support onbeforeunload -- it lets app authors prevent inadvertent data loss caused by user navigation. That's also why the pushState/onBackButton stuff is in the WA1 draft from WHATWG. _And_ we supported it in 1.0.4, _and_ it's something you can do in pretty much EOMB.
Flags: blocking1.8b3- → blocking1.8b3?
Whiteboard: needs test case
Updated•19 years ago
|
Whiteboard: needs test case → [cb] still needs test case. no progress for 1.8b3?
Comment 5•19 years ago
|
||
bryner thinks this is unrelated to fastback. shaver/bclary, can you reduce the rest case or suggest some one to do it.
Updated•19 years ago
|
Flags: blocking1.8b3+ → blocking1.8b4+
Comment 6•19 years ago
|
||
(In reply to comment #5) looking into it now.
Comment 7•19 years ago
|
||
I've been looking but haven't figured it out yet. If someone else can do it before I can that would be great. I'll start again fresh after a break.
Comment 8•19 years ago
|
||
This worked in build 2004-12-08-07 but failed in build 2004-12-09-07.
Comment 9•19 years ago
|
||
The basic issue is that when you click back in recent builds, the page automatically reloads which starts the process from the beginning. I don't know why.
Comment 10•19 years ago
|
||
This works in a cvs build on winxp with the patch from bug 277224.
Updated•19 years ago
|
Whiteboard: [cb] still needs test case. no progress for 1.8b3? → [cb][no l10n impact] still needs test case. no progress for 1.8b3?
Updated•19 years ago
|
Blocks: blazinglyfastback
Target Milestone: --- → mozilla1.8beta4
Updated•19 years ago
|
Whiteboard: [cb][no l10n impact] still needs test case. no progress for 1.8b3? → [no l10n impact] [ETA ?]
Comment 11•19 years ago
|
||
This should no longer be blocking, based on the pref change in bug 304860.
Flags: blocking1.8b4+ → blocking1.8b4?
Comment 13•19 years ago
|
||
I'm confused from reading comments 10 and 11. Does this bug still occur (when browser.sessionhistory.cache_subframes is true)?
Summary: DP 1.1a1 breaks dojo.io.bind's back-button interception → Fastback breaks dojo.io.bind's back-button interception
Comment 14•19 years ago
|
||
> Does this bug still occur (when browser.sessionhistory.cache_subframes is
> true)?
Yes, but its false by default.
Comment 15•18 years ago
|
||
Resummarizing, and taking this off my list since I'm not currently planning to do the work required to support bfcache for subframe navigation.
Assignee: bryner → nobody
Summary: Fastback breaks dojo.io.bind's back-button interception → Fastback breaks dojo.io.bind's back-button interception when subframe caching enabled
Comment 16•16 years ago
|
||
This WFM now (at least the test page at the URL does), even when browser.sessionhistory.cache_subframes is true. I don't know whether a change in Dojo or Gecko fixed this.
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
Comment 17•11 years ago
|
||
I think I can close this as WFM per comment 16, especially given that nothing has happened here since '08
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•