Closed Bug 1583697 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19281 - Ensure documents with no TopFrameOrigin correctly handle hasStorageAccess calls.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 19281 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19281
Details from upstream follow.

Brandon Maslen <brandm@microsoft.com> wrote:

Ensure documents with no TopFrameOrigin correctly handle hasStorageAccess calls.

In some scenarios a document's TopFrameOrigin may be empty. This change ensures
that this case is handled correctly during hasStorageAccess() calls.

Bug: 1005778
Change-Id: Ic00cf3fcca143e83e277ca43835480c8d31536ed
Reviewed-on: https://chromium-review.googlesource.com/1814726
WPT-Export-Revision: b2812e0cecdd9616441dd21f7641467f9cc26e61

Ran 1 tests and 3 subtests
PASS   : 2[linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt,windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt,windows7-32-debug,windows7-32-opt]
FAIL   : 1[linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt,windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt,windows7-32-debug,windows7-32-opt], 3[android-em-7.0-x86_64-debug-geckoview,android-em-7.0-x86_64-opt-geckoview]
TIMEOUT: 1

New tests that have failures or other problems:
/storage-access-api/hasStorageAccess.sub.window.html
    [top-level-context] document.hasStorageAccess() should work on a document object.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fa06a97efe8d
[wpt PR 19281] - Ensure documents with no TopFrameOrigin correctly handle hasStorageAccess calls., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/f2acd228b3e7
[wpt PR 19281] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.