Perma relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html | Feature policy "document-domain" can be disabled in cross-origin iframes using "allow" attribute. - frame.allow is undefined Gecko 66 merges to Beta 2019-01-21

RESOLVED FIXED in Firefox 66

Status

()

defect
RESOLVED FIXED
5 months ago
3 months ago

People

(Reporter: apavel, Assigned: baku)

Tracking

Trunk
mozilla67
Points:
---

Firefox Tracking Flags

(thunderbird_esr60 unaffected, geckoview64 unaffected, geckoview65 unaffected, geckoview66 unaffected, firefox-esr60 unaffected, firefox64 unaffected, firefox65 unaffected, firefox66+ fixed, firefox67 fixed)

Details

Attachments

(1 attachment)

Reporter

Description

5 months ago

[Tracking Requested - why for this release]:

Central as beta simulation:

Treeherder link: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=9d34905450a5cbdceaf728b6359fe24e6df1c30a&selectedJob=223747624

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=223747624&repo=try&lineNumber=33414

[task 2019-01-24T13:52:02.460Z] 13:52:02 INFO - TEST-START | /html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html
[task 2019-01-24T13:52:02.482Z] 13:52:02 INFO - PID 9806 | ++DOCSHELL 0xde8b9400 == 12 [pid = 9806] [id = {a17cb3d4-afba-4969-9ef1-68d6a66f28e4}]
[task 2019-01-24T13:52:02.482Z] 13:52:02 INFO - PID 9806 | ++DOMWINDOW == 34 (0xdd66c8d0) [pid = 9806] [serial = 34] [outer = (nil)]
[task 2019-01-24T13:52:02.490Z] 13:52:02 INFO - PID 9806 | ++DOMWINDOW == 35 (0xdca32400) [pid = 9806] [serial = 35] [outer = 0xdd66c8d0]
[task 2019-01-24T13:52:02.559Z] 13:52:02 INFO - PID 9806 | ++DOMWINDOW == 36 (0xdca38800) [pid = 9806] [serial = 36] [outer = 0xdd66c8d0]
[task 2019-01-24T13:52:02.580Z] 13:52:02 INFO - PID 9806 | [9806, Main Thread] WARNING: NS_ENSURE_TRUE(domReturn) failed: file /builds/worker/workspace/build/src/dom/base/nsGlobalWindowOuter.cpp, line 7201
[task 2019-01-24T13:52:02.778Z] 13:52:02 INFO - PID 9806 | ++DOMWINDOW == 37 (0xdca3e000) [pid = 9806] [serial = 37] [outer = 0xdd66c8d0]
[task 2019-01-24T13:52:02.940Z] 13:52:02 INFO - PID 9806 | ++DOCSHELL 0xdca3a800 == 13 [pid = 9806] [id = {2420e24a-7fd8-4648-ab3f-54519b9a46c7}]
[task 2019-01-24T13:52:02.941Z] 13:52:02 INFO - PID 9806 | ++DOMWINDOW == 38 (0xdd66cc60) [pid = 9806] [serial = 38] [outer = (nil)]
[task 2019-01-24T13:52:02.950Z] 13:52:02 INFO - PID 9806 | ++DOCSHELL 0xdca3f400 == 14 [pid = 9806] [id = {5d19f05d-7aa3-424e-8b84-233079333f28}]
[task 2019-01-24T13:52:02.951Z] 13:52:02 INFO - PID 9806 | ++DOMWINDOW == 39 (0xdd66cd90) [pid = 9806] [serial = 39] [outer = (nil)]
[task 2019-01-24T13:52:03.007Z] 13:52:03 INFO - PID 9806 | ++DOMWINDOW == 40 (0xdec71800) [pid = 9806] [serial = 40] [outer = 0xdd66cc60]
[task 2019-01-24T13:52:03.011Z] 13:52:03 INFO - PID 9806 | ++DOMWINDOW == 41 (0xdca96400) [pid = 9806] [serial = 41] [outer = 0xdd66cd90]
[task 2019-01-24T13:52:03.188Z] 13:52:03 INFO - PID 9806 | [9806, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2019-01-24T13:52:03.189Z] 13:52:03 INFO - PID 9806 | [9806, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2019-01-24T13:52:03.209Z] 13:52:03 INFO - PID 9806 | [9806, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2019-01-24T13:52:03.210Z] 13:52:03 INFO - PID 9806 | [9806, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2019-01-24T13:52:03.302Z] 13:52:03 INFO - Closing window 34
[task 2019-01-24T13:52:03.427Z] 13:52:03 INFO -
[task 2019-01-24T13:52:03.428Z] 13:52:03 INFO - TEST-PASS | /html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html | Default "document-domain" feature policy [""] allows the top-level document.
[task 2019-01-24T13:52:03.428Z] 13:52:03 INFO - TEST-PASS | /html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html | Default "document-domain" feature policy ["
"] allows same-origin iframes.
[task 2019-01-24T13:52:03.429Z] 13:52:03 INFO - TEST-PASS | /html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html | Default "document-domain" feature policy ["*"] allows cross-origin iframes.
[task 2019-01-24T13:52:03.429Z] 13:52:03 INFO - TEST-UNEXPECTED-FAIL | /html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html | Feature policy "document-domain" can be disabled in cross-origin iframes using "allow" attribute. - frame.allow is undefined
[task 2019-01-24T13:52:03.429Z] 13:52:03 INFO - test_feature_availability@http://web-platform.test:8000/feature-policy/resources/featurepolicy.js:35:5
[task 2019-01-24T13:52:03.429Z] 13:52:03 INFO - test_feature_availability_with_post_message_result@http://web-platform.test:8000/feature-policy/resources/featurepolicy.js:78:3
[task 2019-01-24T13:52:03.430Z] 13:52:03 INFO - run_all_fp_tests_allow_all/<@http://web-platform.test:8000/feature-policy/resources/featurepolicy.js:247:9
[task 2019-01-24T13:52:03.430Z] 13:52:03 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1566:20
[task 2019-01-24T13:52:03.430Z] 13:52:03 INFO - async_test@http://web-platform.test:8000/resources/testharness.js:576:13
[task 2019-01-24T13:52:03.430Z] 13:52:03 INFO - run_all_fp_tests_allow_all@http://web-platform.test:8000/feature-policy/resources/featurepolicy.js:245:3
[task 2019-01-24T13:52:03.431Z] 13:52:03 INFO - @http://web-platform.test:8000/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html:7:3
[task 2019-01-24T13:52:03.431Z] 13:52:03 INFO - TEST-OK | /html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html | took 967ms

Andrea can you please take a look?

Flags: needinfo?(amarchesini)
Comment hidden (Intermittent Failures Robot)

This will start to permafail on beta today when the code from central gets merged. Can you find an owner, please?

Flags: needinfo?(htsai)
Assignee

Comment 4

5 months ago
Posted patch wpt_fix.patchSplinter Review

This file is needed to enable feature-policy in beta.

Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Attachment #9039525 - Flags: review?(afarre)
Attachment #9039525 - Flags: review?(afarre) → review+
Assignee

Updated

5 months ago
Flags: needinfo?(htsai)

Comment 5

5 months ago
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec5561bb2195
Enable Feature-Policy for relaxing-the-same-origin-restriction WPTs, r=farre

Comment 6

5 months ago
bugherder
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.