Open Bug 1339912 Opened 8 years ago Updated 3 years ago

Unable to set location property of object returned by window.open

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect

Tracking

()

UNCONFIRMED
Tracking Status
fxios + ---
fxios-v7.0 --- affected

People

(Reporter: dahjelle.mozilla.org, Unassigned)

Details

(Whiteboard: [webkit][MobileCore])

Attachments

(1 file)

Attached file window.open.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8 Steps to reproduce: 1. Go to https://output.jsbin.com/naweva. (Or run attached HTML file.) 2. Click the "Click!" button. 3. Observe the opened tab/window. Actual results: https://www.google.com/#q=failure opened instead. Expected results: I expected https://www.google.com/#q=success to open in the new tab.
An additional comment: the expected behavior happens in all desktop browsers I've tried, Chrome for Android, Safari for iOS, but not in Brave, Chrome, or Firefox for iOS.
Tested on latest Nightly 17e876cda. On desktop when clicking on the "Click!" button the following URL will always be displayed: https://www.google.com/#q=success. On Nightly when clicking on the "Click!" button the following URL will always be displayed: https://www.google.com/#q=failure. On Chrome/Safari for iOS on some occasions (the first attempt or second) clicking on the button will return https://www.google.com/#q=success and in most of the cases will return https://www.google.com/#q=failure. I suspect that this might be webkit issue.
If it's helpful, here's the Chrome bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=692710
Whiteboard: [webkit][MobileCore]

Thank you for sharing this piece of information, this is very useful https://www.dqfansurvey.org/

(In reply to Saunder584s from comment #4)

Thank you for sharing this piece of information, this is very useful https://www.dqfanfeedback.xyz/dqfansurvey/

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: