Closed Bug 1687390 Opened 3 years ago Closed 3 years ago

The windowName won't be set if calling window.open() with 'noopener' in Geckoview

Categories

(GeckoView :: General, defect)

Unspecified
Android
defect

Tracking

(firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: timhuang, Assigned: timhuang)

References

Details

Attachments

(3 files)

When calling window.open() to open a window, the windowName won't be set to the opened window when 'noopener' is used.

This is because the aName won't be used to set the name of the opened window in GeckoViewNavigation.openURIInFrame.

Blocks: 1685089
Status: NEW → ASSIGNED

This patch makes the aName in the GeckoViewNavigation.openURIInFrame() to
be set properly to the new opened window when calling window.open() with
'noopener'.

Depends on: 1687527
Pushed by tihuang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce40afdc8fd0
Part 1: Set the name of window when calling window.open() with 'noopener' in GeckoView. r=geckoview-reviewers,agi
https://hg.mozilla.org/integration/autoland/rev/fa38fe055115
Part 2: Enable WPT clear-window-name.https.html for android. r=smaug
https://hg.mozilla.org/integration/autoland/rev/eb7394bb7126
Part 3: Enable WPT test 'htmlanchorelement_noopener.html' for android. r=smaug
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: