Closed
Bug 355808
Opened 18 years ago
Closed 18 years ago
Popup suppressed silently
Categories
(Camino Graveyard :: Annoyance Blocking, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.5
People
(Reporter: ben-moz, Assigned: stuart.morgan+bugzilla)
References
()
Details
(Keywords: fixed1.8.1.1)
Attachments
(1 file)
4.89 KB,
patch
|
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061006 Camino/1.0+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061006 Camino/1.0+
In this popup test, camino blocks the popup, but does not display notification of such
Reproducible: Always
Steps to Reproduce:
1. request http://www.popuptest.com/popuptest3.html
2. wait 5 seconds
Actual Results:
Nothing
Expected Results:
Notification of popup being blocked
This worked as expected in Firefox 1.5.0.7
Comment 1•18 years ago
|
||
For reference, that page launches timed popups every 5 seconds. I see this too. Is it possible that this is just bug 333284 in another guise?
I think this is different from bug 333284, since here we never see the notification at all.
This works on the 1.8.0 branch (and in Fx 2 as well).
Håkan, what all have we changed that would have affected this? It seems like fairly simple JS throwing the popup.
Comment 3•18 years ago
|
||
Does it work in Camino-1.8? Does it work in Firefox trunk? It might be a gecko change.
If someone wants to debug it, set a breakpoint in the method in the CHBrowser code, where we handle the nsIDOMPopupBlockedEvent, and see if it's even fired for this page... If it is, it's our bug, if it's not, it's not our bug. :)
Comment 4•18 years ago
|
||
- Works on today's Minefield
- Broken on Camino on both 1.8 branch and trunk
- Worked with the old popup blocker (ie on Camino 1.0.3)
- Yes, that method gets called
ie, it's definitely our bug.
This sounds like the bug I was just having. Happens at http://www.worthplaying.com/article.php?sid=37960&mode=thread&order=0
The javascript:popUp is being suppressed by Camino's pop-up blocker, but no notification is showing up. Only happens in Trunk for me. 1.8.0 and 1.8 don't block the popups at all, so I'm assuming changes in the trunk were made to include this type of popup.
Popup also blocked in Minefield, with a notification.
Comment 6•18 years ago
|
||
This is working on trunk (2006101622) for me now, as is davedit's testcase in comment 5.
cl
Assignee | ||
Comment 7•18 years ago
|
||
The issue here is that we always defer the blocker display until the pageload finishes, which doesn't work so well for popups that are triggered after the page finishes loading. We'll need to defer only while the page is loading, not after.
Taking.
Assignee: nobody → stuart.morgan
*** Bug 357642 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 9•18 years ago
|
||
Per our discussion, removes the delay entirely to prevent potential issues with very slow-loading pages. We'll keep our eyes peeled for issues that would make bringing back the delay for popups thrown during load necessary.
The bulk of this change is just moving code unmodified, so it's actually a very small change. As an added bonus, it stops leaking all the blocker notification views.
Attachment #243286 -
Flags: superreview?(mikepinkerton)
Comment 10•18 years ago
|
||
+ [mBlockedPopupView release]; // retain count of 1 from nib
why do we need this? are we leaking it? shouldn't it go away when the nib goes away?
Assignee | ||
Comment 11•18 years ago
|
||
(In reply to comment #10)
> + [mBlockedPopupView release]; // retain count of 1 from nib
>
> why do we need this? are we leaking it?
Per IRC discussion, yes.
Status: NEW → ASSIGNED
Comment 12•18 years ago
|
||
Comment on attachment 243286 [details] [diff] [review]
removes delayed display
sr=pink
Attachment #243286 -
Flags: superreview?(mikepinkerton) → superreview+
Assignee | ||
Comment 13•18 years ago
|
||
Checked in on trunk and MOZILLA_1_8_BRANCH
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: regression → fixed1.8.1.1
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•