Closed Bug 1227669 Opened 9 years ago Closed 9 years ago

JavaScript Alerts should show proper security origin

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 2.0+ ---

People

(Reporter: st3fan, Unassigned)

References

Details

(Whiteboard: [dupeme])

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
This seems to already be taken care of right? Mark as resolved?
Flags: needinfo?(sarentz)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Flags: needinfo?(sarentz)
You need to log in before you can comment on or make changes to this bug.