mirror of
https://github.com/mozilla-firefox/firefox
synced 2026-08-12 20:45:22 +00:00
Automatic update from web-platform-tests WebKit export: Set a first-party cookie before setting cross-site cookies in sandboxed-iframe-allow-storage-access.html (#54470) https://bugs.webkit.org/show_bug.cgi?id=297525 -- wpt-commits: 99b630e7fdb97086ab8d95f336206d3e9ccd3c63 wpt-pr: 54470
13 lines
452 B
JavaScript
13 lines
452 B
JavaScript
// META: script=helpers.js
|
|
// META: script=/resources/testdriver.js
|
|
// META: script=/resources/testdriver-vendor.js
|
|
'use strict';
|
|
|
|
const frameSourceUrl =
|
|
'https://{{hosts[alt][www]}}:{{ports[https][0]}}/storage-access-api/resources/sandboxed-iframe-allow-storage-access.html';
|
|
|
|
const sandboxAttribute =
|
|
'allow-scripts allow-same-origin allow-storage-access-by-user-activation allow-popups';
|
|
|
|
RunTestsInIFrame(frameSourceUrl, sandboxAttribute);
|