Closed Bug 136985 Opened 22 years ago Closed 22 years ago

Expose support for detecting unrequested popups.

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hyatt, Assigned: hyatt)

Details

Attachments

(1 file)

I'm implementing a feature in Chimera to pose a popup blocker dialog.  This 
involves needing access to the same logic used in nsGlobalWindow.cpp, namely !
mIsDocumentLoading || mRunningTimeout.

This need not be exposed in anything more than a private API.
Need r/sr for trunk only.  This isn't going on the branch.
Status: NEW → ASSIGNED
Ignore the extra braces.  I already removed those.
Comment on attachment 78793 [details] [diff] [review]
Expose logic on nsPIDOMWindow

sr=blake provided jst is ok with it
Attachment #78793 - Flags: superreview+
Comment on attachment 78793 [details] [diff] [review]
Expose logic on nsPIDOMWindow

r=jst
Attachment #78793 - Flags: review+
We added a pref to disable window.open |n| milliseconds after a mouse click too.
 Do you need that as well, or can you figure that out yourself?
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment on attachment 78793 [details] [diff] [review]
Expose logic on nsPIDOMWindow

approval for branch as requested by ccarlen.  CHange mozilla1.0.1+ to
fixed1.0.1 when checked in.
Attachment #78793 - Flags: approval+
Checked into branch.
QA Contact: lchiang → ian
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: