1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
// META: resource=support/test-partitioned-access-in-different-origin-iframes.https.sub.html
// META: resource=support/test-partitioned-access-in-same-origin-iframes.https.sub.html
// META: resource=support/test-partitioned-iframes-in-different-origin-windows.https.sub.html
// META: resource=support/test-partitioned-iframes-in-same-origin-windows.https.sub.html
// META: resource=support/test-partitioned-parent-reader-and-different-origin-window-writer-iframe.https.sub.html
// META: resource=support/test-partitioned-parent-writer-and-different-origin-window-reader-iframe.https.sub.html
// META: resource=support/test-read-and-notify-worker.https.html
// META: resource=support/test-read-and-notify-wrapper.https.sub.html
// META: resource=support/test-read-and-notify.https.html
// META: resource=support/test-read-and-notify.js
// META: resource=support/test-write-and-notify-worker.https.html
// META: resource=support/test-write-and-notify-wrapper.https.sub.html
// META: resource=support/test-write-and-notify.https.html
// META: resource=support/test-write-and-notify.js
// META: script=/resources/testharness.js
// META: script=/resources/testharnessreport.js
// META: script=support/testHelpers.js
/**
* BucketFS
*/
// [ write: A, read: A ]
promise_test(
expectNamesForTestWindow(
["SameOriginIFramesWithFS", "WorkerSameOriginIFramesWithFS"],
"support/test-partitioned-access-in-same-origin-iframes.https.sub.html?api=FS"
),
"iframes of origin A in a window of origin B can access the same data with BucketFS"
);
// [ write: A, read: B ]
promise_test(
expectNamesForTestWindow(
["DifferentOriginIFramesWithFS", "WorkerDifferentOriginIFramesWithFS"],
"support/test-partitioned-access-in-different-origin-iframes.https.sub.html?api=FS"
),
"iframes of origin A and B are isolated with BucketFS"
);
// [ write: B[A], read: B[A] ]
promise_test(
expectNamesForTestWindow(
["SameOriginWindowsWithFS", "WorkerSameOriginWindowsWithFS"],
"support/test-partitioned-iframes-in-same-origin-windows.https.sub.html?api=FS"
),
"iframes of origin A in two child windows of origin B can access the same data with BucketFS"
);
// [ write: A[A], read: B[A] ]
promise_test(
expectNamesForTestWindow(
["DifferentOriginWindowsWithFS", "WorkerDifferentOriginWindowsWithFS"],
"support/test-partitioned-iframes-in-different-origin-windows.https.sub.html?api=FS"
),
"iframe of origin A in a child window of origin B cannot read data written by iframe of origin A in a child window of origin A with BucketFS"
);
// [ write: A, read: B[A] ]
promise_test(
expectNamesForTestWindow(
[
"ReadIFrameWriteDifferentOriginWindowWithFS",
"WorkerReadIFrameWriteDifferentOriginWindowWithFS",
],
"support/test-partitioned-parent-reader-and-different-origin-window-writer-iframe.https.sub.html?api=FS"
),
"iframe of origin A in a child window of origin B cannot cannot read data by written by iframe of origin A in the parent window with BucketFS"
);
// [ write: B[A], read: A ]
promise_test(
expectNamesForTestWindow(
[
"WriteIFrameReadDifferentOriginWindowWithFS",
"WorkerWriteIFrameReadDifferentOriginWindowWithFS",
],
"support/test-partitioned-parent-writer-and-different-origin-window-reader-iframe.https.sub.html?api=FS"
),
"iframe of origin A in the parent window cannot read data written by iframe of origin A in child a window of origin B with BucketFS"
);
|