⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 291427 in webkit


Ignore:
Timestamp:
Mar 17, 2022, 12:04:53 PM (5 years ago)
Author:
Ben Nham
Message:

Only show notification permission prompt on user gesture
​https://bugs.webkit.org/show_bug.cgi?id=237946

Unreviewed build fix for r291414.

  • TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r291414 r291427  
     12022-03-17  Ben Nham  <nham@apple.com>
     2
     3        Only show notification permission prompt on user gesture
     4        https://bugs.webkit.org/show_bug.cgi?id=237946
     5
     6        Unreviewed build fix for r291414.
     7
     8        * TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm:
     9
    1102022-03-17  Ben Nham  <nham@apple.com>
    211
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm

    r291414 r291427  
    743743}
    744744
     745static const char* mainBytes = R"WEBPUSHRESOURCE(
     746<script>
     747    Notification.requestPermission().then(() => { alert("done") })
     748</script>
     749)WEBPUSHRESOURCE";
     750
    745751TEST(WebPushD, InstallCoordinationBundles)
    746752{
Note: See TracChangeset for help on using the changeset viewer.