Closed Bug 388280 Opened 16 years ago Closed 16 years ago

"Show (blocked popup-URL)" does not work.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: bugmozz, Assigned: enndeakin)

References

Details

(Keywords: regression)

Attachments

(1 file)

Seems like nsDOMEvent::GetEventPopupControlState returns openAbused from within a popupshowing event now, instead of openControlled. As popupshowing is now fired asynchronously, this is likely because the popupshowing event isn't happening during user input any more. Thus, the new blocked popup isn't opening.

Not sure of the best way to fix this, but is there some reason why a chrome caller  doesn't override the popup blocking check?
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Attachment #273235 - Flags: superreview?(bzbarsky)
Attachment #273235 - Flags: review?(jst)
Comment on attachment 273235 [details] [diff] [review]
use a flag to indiciate if in user input mode

Seems reasonable.  I assume this gives somehow better behavior than just pushing whatever the popup blocking state in ExecuteMenu() was?
Attachment #273235 - Flags: superreview?(bzbarsky) → superreview+
That is, pushing that and not changing nsDOMEvent at all.
(In reply to comment #4)
> That is, pushing that and not changing nsDOMEvent at all.
> 

Not sure what you mean. The user input state from ExecuteMenu is being pushed. Or do you mean there is a way to push the popup blocking state directly?
Attachment #273235 - Flags: review?(jst) → review+
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007072323 Minefield/3.0a7pre ID:2007072323

seems to be fixed.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Probably already there, but just to confirm...
Flags: in-litmus?
Say hello to: http://litmus.mozilla.org/show_test.cgi?id=4007.
Flags: in-litmus? → in-litmus+
Marking this as VERIFIED per comment 6.
Status: RESOLVED → VERIFIED
Blocks: 387264
You need to log in before you can comment on or make changes to this bug.