servo/tests/wpt/web-platform-tests/storage-access-api/sandboxAttribute.window.js

7 lines
331 B
JavaScript

'use strict';
test(() => {
let iframe = document.createElement('iframe');
assert_true(iframe.sandbox.supports('allow-storage-access-by-user-activation'), '`allow-storage-access-by-user-activation`' +
'sandbox attribute should be supported');
}, "`allow-storage-access-by-user-activation` sandbox attribute is supported");