Bug 276467 - sandbox javascript:false iframe does not display
Summary: sandbox javascript:false iframe does not display
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2024-07-10 19:44 PDT by Jeff Johnson
Modified: 2024-08-06 00:50 PDT (History)
7 users (show)

See Also:


Attachments
Sample HTML demonstrating the bug (623 bytes, text/html)
2024-07-10 19:44 PDT, Jeff Johnson
no flags Details
Screenshot showing the bug (136.16 KB, image/png)
2024-07-10 19:44 PDT, Jeff Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Johnson 2024-07-10 19:44:13 PDT
Created attachment 471866 [details]
Sample HTML demonstrating the bug

I've tested with Safari 17.5 (19618.2.12.11.6)

A sandboxed iframe with src javascript:false does not display in Safari. It does display in Chrome and Firefox.

<iframe width="300" height="100" sandbox title="javascript:false" src="javascript:false"></iframe>

This bug does not occur if the iframe is not sandboxed.
Comment 1 Jeff Johnson 2024-07-10 19:44:36 PDT
Created attachment 471867 [details]
Screenshot showing the bug
Comment 2 Alexey Proskuryakov 2024-07-11 14:28:43 PDT
Thank you for the report. Could you please clarify what the impact is? Are any webpages or apps broken, or is it just something that you ran into in an experiment?
Comment 3 Jeff Johnson 2024-07-11 14:33:16 PDT
(In reply to Alexey Proskuryakov from comment #2)
> Thank you for the report. Could you please clarify what the impact is? Are
> any webpages or apps broken, or is it just something that you ran into in an
> experiment?

It's something that I ran into in an experiment.
Comment 4 Radar WebKit Bug Importer 2024-07-17 19:45:15 PDT
<rdar://problem/131973497>