Closed
Bug 278357
Opened 20 years ago
Closed 17 years ago
[FIX]Add flag to nsIWebNavigation::LoadURI for the popup behaviour
Categories
(Core Graveyard :: Embedding: APIs, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha8
People
(Reporter: crispin, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
2.65 KB,
patch
|
Biesinger
:
review+
jst
:
superreview+
benjamin
:
approval1.9+
|
Details | Diff | Splinter Review |
Spun off from bug 276482 comment 6 > So... What really ought to happen, in my opinion, is that nsIWebNavigation > should have a way of specifying to loadURI what the popup behavior should be. > Then the popup state should be munged inside nsIWebNavigation. > It's really silly to expect all embeddors to deal with this by hand like this, > especially given the use of nsPIDOMWindow... When this is done, use of nsAutoPopupStatePusher in the gtkmozembed widget can be removed. Also, should this bug block bug 99625 (Freeze nsiWebNavigation)?
Comment 1•20 years ago
|
||
nsIWebNavigation is effectively frozen, sorry. We can't afford to break binary compatibility with it at this point. We haven't marked it frozen because we are still in the process of revising the comments on it. If you need a new method, then we need a new interface (nsIWebNavigation2 or something like that).
Assignee | ||
Comment 2•20 years ago
|
||
Darin, I was thinking this would just be a load flag... nsIWebNavigation as it stands is an incredibly poor interface (witness the fact that we can't even use it for our own link click handling!). So freezing it as-is is rather sad. :(
Comment 3•20 years ago
|
||
I agree that it is sad to freeze the interface as is. We should create a good nsIWebNavigation2 and freeze that too. I'm fine adding a load flag to nsIWebNavigation... but, the summary of this bug says "method" ;-)
Reporter | ||
Comment 5•20 years ago
|
||
Hmm, sorry about the summary, hopefully this is more accurate
Summary: Add method to nsIWebNavigation to enable popups → Add flag to nsIWebNavigation::LoadURI for the popup behaviour
Comment 7•20 years ago
|
||
Can someone please spec out this new flag? It's not clear to me what it should be called and how it should be implemented, but I'm willing to do the work to expose it if someone describes it precisely. Thanks!
Assignee | ||
Comment 8•20 years ago
|
||
The flag should be something like "LOAD_FLAG_ALLOW_POPUPS" and the impl should be to place the code from bug 276482 at the top of LoadURI, I think.
Assignee | ||
Comment 9•19 years ago
|
||
Ergh.... this completely slipped off the radar. Crispin, Darin, Benjamin, is this something we want for 1.8? I'm rather thinking yes....
Reporter | ||
Comment 10•19 years ago
|
||
It would be nice to have in 1.8, although sadly I have zero time to cook up a patch :-(
Assignee | ||
Updated•18 years ago
|
Flags: blocking1.9?
Comment 11•17 years ago
|
||
Not going to block on this, but we'd take a patch that wasn't too risky.
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
Assignee | ||
Comment 12•17 years ago
|
||
We really dropped the ball on the branch part of this. :(
Assignee: adamlock → bzbarsky
Status: NEW → ASSIGNED
Attachment #279132 -
Flags: superreview?(jst)
Attachment #279132 -
Flags: review?(cbiesinger)
Assignee | ||
Updated•17 years ago
|
Priority: -- → P2
Summary: Add flag to nsIWebNavigation::LoadURI for the popup behaviour → [FIX]Add flag to nsIWebNavigation::LoadURI for the popup behaviour
Target Milestone: --- → mozilla1.9 M8
Updated•17 years ago
|
Attachment #279132 -
Flags: review?(cbiesinger) → review+
Updated•17 years ago
|
Attachment #279132 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Comment 13•17 years ago
|
||
Comment on attachment 279132 [details] [diff] [review] Like so, say Requesting 1.9 approval. Patch is pretty safe and makes embeddors lives happier.
Attachment #279132 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #279132 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 14•17 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•