JavaScript Alerts should show proper security origin

RESOLVED FIXED

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: st3fan, Unassigned)

Tracking

unspecified
Other
iOS

Firefox Tracking Flags

(fxios2.0+)

Details

(Whiteboard: [dupeme])

(Reporter)

Description

3 years ago
In iOS 9, the WKFrameInfo has a new member called securityOrigin. This will contain the actual page that is responsible for the content or javascript execution.

This security origin should be used as the title for all JS alerts that we show when handling WKWebView delegate methods.

Also, we currently crash on alerts shown from javascript: frames or windows. Because WKFrameInfo.request.URL is nil and we force unwrap it. This change can also fix that.
Status: NEW → ASSIGNED
Whiteboard: [dupeme]
Assignee: sarentz → nobody
Status: ASSIGNED → NEW
tracking-fxios: 1.3+ → 2.0+
This seems to already be taken care of right? Mark as resolved?
(Reporter)

Updated

3 years ago
Flags: needinfo?(sarentz)
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Reporter)

Updated

3 years ago
Flags: needinfo?(sarentz)
You need to log in before you can comment on or make changes to this bug.