Bug 238148 - Disable the <model> element in Captive Portal mode
Summary: Disable the <model> element in Captive Portal mode
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-21 11:29 PDT by Brent Fulgham
Modified: 2022-03-21 14:25 PDT (History)
3 users (show)

See Also:


Attachments
Patch (8.62 KB, patch)
2022-03-21 12:02 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch for landing (8.62 KB, patch)
2022-03-21 13:05 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2022-03-21 11:29:18 PDT
When displaying content in a captive portal, we should make sure the experimental <model> element is unavailable.
Comment 1 Brent Fulgham 2022-03-21 11:29:31 PDT
<rdar://90562002>
Comment 2 Brent Fulgham 2022-03-21 12:02:11 PDT
Created attachment 455260 [details]
Patch
Comment 3 Chris Dumez 2022-03-21 12:48:43 PDT
Comment on attachment 455260 [details]
Patch

r=me
Comment 4 Chris Dumez 2022-03-21 12:49:11 PDT
Comment on attachment 455260 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=455260&action=review

> Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:7825
> +    EXPECT_EQ(runJSCheck("!!window.HTMLModelElement"_s), shouldBeEnabled == ShouldBeEnabled::Yes); // Push API.

The comment is wrong.
Comment 5 Brent Fulgham 2022-03-21 13:04:23 PDT
Comment on attachment 455260 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=455260&action=review

>> Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:7825
>> +    EXPECT_EQ(runJSCheck("!!window.HTMLModelElement"_s), shouldBeEnabled == ShouldBeEnabled::Yes); // Push API.
> 
> The comment is wrong.

Ugh! Thank you for catching that.
Comment 6 Brent Fulgham 2022-03-21 13:05:20 PDT
Created attachment 455267 [details]
Patch for landing
Comment 7 EWS 2022-03-21 14:25:08 PDT
Committed r291579 (248679@main): <https://commits.webkit.org/248679@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 455267 [details].