Bug 246950 - Mac MiniBrowser should match Safari's behavior for anchor links to javascript URLs
Summary: Mac MiniBrowser should match Safari's behavior for anchor links to javascript...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryan Reno
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-24 09:12 PDT by Ryan Reno
Modified: 2022-10-24 09:52 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Reno 2022-10-24 09:12:08 PDT
Mac MiniBrowser attempts to download a javascript URL when navigating to a new top level browsing context. In other words, when attempting to open a popup to a Javascript URL (e.g. with a target=_blank anchor element) MiniBrowser tries to download the resulting javascript execution as a plain text file. Mac MiniBrowser should match Safari's behavior of cancelling the navigation.
Comment 1 Radar WebKit Bug Importer 2022-10-24 09:12:23 PDT
<rdar://problem/101502667>
Comment 2 Ryan Reno 2022-10-24 09:27:56 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5709
Comment 3 EWS 2022-10-24 09:52:43 PDT
Committed 255918@main (61e2b7c76840): <https://commits.webkit.org/255918@main>

Reviewed commits have been landed. Closing PR #5709 and removing active labels.