Closed Bug 1513935 Opened 5 years ago Closed 3 years ago

PARENT_IS_LOADING_OR_RUNNING_TIMEOUT missing

Categories

(SeaMonkey :: General, defect)

defect
Not set
normal

Tracking

(seamonkey2.53+ fixed, seamonkey2.57esr? affected)

RESOLVED FIXED
seamonkey 2.84
Tracking Status
seamonkey2.53 + fixed
seamonkey2.57esr ? affected

People

(Reporter: farre, Assigned: frg)

References

(Blocks 1 open bug)

Details

(Whiteboard: SM2.53.7)

Attachments

(1 file, 1 obsolete file)

There's no PARENT_IS_LOADING_OR_RUNNING_TIMEOUT[1] in nsIWindowCreator2[2] as far as I can tell

[1] https://searchfox.org/comm-central/search?q=PARENT_IS_LOADING_OR_RUNNING_TIMEOUT&path=
[2] https://searchfox.org/comm-central/source/mozilla/toolkit/components/windowcreator/nsIWindowCreator2.idl

I discovered this while looking at merging the types nsIWindowCreator2 and nsIWindowCreator (by removing nsIWindowCreator essentially).
This was removed in Bug 1321270 which we never backported.
Version: unspecified → SeaMonkey 2.50 Branch

To test the functionality: Set dom.disable_open_during_load to false and load a site opening a popup during load. The popup window will have a popup menu allowing you the reject popups from this site in 2.49.x. The option was removed in Gecko 53 so the current 2.53.x version will never show the menu items reject or allow popups.

Assignee: nobody → frgrahl
Status: NEW → ASSIGNED
Version: SeaMonkey 2.50 Branch → Trunk

My proposal is to kill the code and not trying to make it work somehow:

  • Not working for all 2.53 releases and no one complained / missed it.
  • Non default setting and not really recommended to always allow popups.
  • With Tools->Popup Manager we have a replacement. Just needs to be enabled not depending on the dom load config setting. The permissions work either way.

[Approval Request Comment]
Regression caused by (bug #): 1321270
User impact if declined: no one noticed so far that this is broken.
Testing completed (on m-c, etc.): 2.53.7
Risk to taking this patch (and alternatives if risky): just dumbing down code.
String changes made by this patch: Some removals.

Attachment #9198872 - Flags: review?(iann_bugzilla)
Attachment #9198872 - Flags: approval-comm-release?
Attachment #9198872 - Flags: approval-comm-esr60?

Previous one wasn' t the latest version.

Attachment #9198872 - Attachment is obsolete: true
Attachment #9198872 - Flags: review?(iann_bugzilla)
Attachment #9198872 - Flags: approval-comm-release?
Attachment #9198872 - Flags: approval-comm-esr60?
Attachment #9198873 - Flags: review?(iann_bugzilla)
Attachment #9198873 - Flags: approval-comm-release?
Attachment #9198873 - Flags: approval-comm-esr60?
Comment on attachment 9198873 [details] [diff] [review]
1513935-nsIWindowCreator2-2537.patch

>+++ b/suite/browser/navigator.js
>+function CheckForVisibility(aEvent, aNode) {
>   CheckPermissionsMenu("popup", aNode);
> }
Rather than keep this function, just change the caller in navigatorOverlay.xul to use CheckPermissionsMenu instead.

r/a=me with that addressed.
Attachment #9198873 - Flags: review?(iann_bugzilla)
Attachment #9198873 - Flags: review+
Attachment #9198873 - Flags: approval-comm-release?
Attachment #9198873 - Flags: approval-comm-release+
Attachment #9198873 - Flags: approval-comm-esr60?
Attachment #9198873 - Flags: approval-comm-esr60+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/126319db450b
Remove usage of PARENT_IS_LOADING_OR_RUNNING_TIMEOUT contextFlag. r=ianN

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Whiteboard: SM2.53.7
Target Milestone: --- → Future
Target Milestone: Future → seamonkey 2.84

https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/6415f7124c58dec8afa38db6627f5e4b57ee317e
Remove usage of PARENT_IS_LOADING_OR_RUNNING_TIMEOUT contextFlag. r=ianN a=IanN
Target 2.53.7

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: