Perma battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html | Feature-Policy allow="battery" disallows cross-origin relocation. - frame.allow is undefined when Gecko 71 merges to Beta on 2019-10-14
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox-esr68 | --- | unaffected |
| firefox67 | --- | unaffected |
| firefox68 | --- | unaffected |
| firefox69 | --- | unaffected |
| firefox70 | --- | unaffected |
| firefox71 | + | verified |
People
(Reporter: rmaries, Assigned: daoshengmu)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
[Tracking Requested - why for this release]:
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=269586390&repo=try&lineNumber=2024
[task 2019-10-03T10:37:04.582Z] 10:37:04 INFO - TEST-START | /battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html
[task 2019-10-03T10:37:05.436Z] 10:37:05 INFO -
[task 2019-10-03T10:37:05.436Z] 10:37:05 INFO - TEST-FAIL | /battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html | Feature-Policy allow="battery" allows same-origin relocation. - frame.allow is undefined
[task 2019-10-03T10:37:05.436Z] 10:37:05 INFO - test_feature_availability@https://web-platform.test:8443/feature-policy/resources/featurepolicy.js:36:5
[task 2019-10-03T10:37:05.437Z] 10:37:05 INFO - @https://web-platform.test:8443/battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html:17:28
[task 2019-10-03T10:37:05.437Z] 10:37:05 INFO - Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1908:25
[task 2019-10-03T10:37:05.437Z] 10:37:05 INFO - async_test@https://web-platform.test:8443/resources/testharness.js:576:22
[task 2019-10-03T10:37:05.437Z] 10:37:05 INFO - @https://web-platform.test:8443/battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html:16:11
[task 2019-10-03T10:37:05.437Z] 10:37:05 INFO - TEST-UNEXPECTED-FAIL | /battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html | Feature-Policy allow="battery" disallows cross-origin relocation. - frame.allow is undefined
[task 2019-10-03T10:37:05.437Z] 10:37:05 INFO - test_feature_availability@https://web-platform.test:8443/feature-policy/resources/featurepolicy.js:36:5
[task 2019-10-03T10:37:05.437Z] 10:37:05 INFO - @https://web-platform.test:8443/battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html:23:28
[task 2019-10-03T10:37:05.438Z] 10:37:05 INFO - Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1908:25
[task 2019-10-03T10:37:05.438Z] 10:37:05 INFO - async_test@https://web-platform.test:8443/resources/testharness.js:576:22
[task 2019-10-03T10:37:05.438Z] 10:37:05 INFO - @https://web-platform.test:8443/battery-status/battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html:22:11
James, this seems to be related to bug 1488308. Could you take a look?
Comment 1•6 years ago
|
||
This seems to be different on beta and nightly; it either needs to be annotated with if release_or_beta or it needs a pref set or similar so the beta behaviour matches nightly. ni Neha for a decision on the best aproach for this case.
Comment 2•6 years ago
|
||
Passing the ni to Daosheng to make the call.
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
I will take a look at this next week. Let me keep this ni until I figure it out.
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 5•6 years ago
•
|
||
I think I found the root cause. It is because HTMLIFrameElement.allow is only available when "dom.security.featurePolicy.enabled" is on. [1] "dom.security.featurePolicy.enabled" is only true at Nightly now. [2][3]
[1] https://searchfox.org/mozilla-central/rev/5cb522c7baba24e55874809e0e206b001494c1e9/dom/webidl/HTMLIFrameElement.webidl#80
[2] https://searchfox.org/mozilla-central/rev/5cb522c7baba24e55874809e0e206b001494c1e9/dom/security/featurepolicy/FeaturePolicy.h#24
[3] https://searchfox.org/mozilla-central/rev/5cb522c7baba24e55874809e0e206b001494c1e9/modules/libpref/init/StaticPrefList.yaml#2088
| Assignee | ||
Comment 6•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 7•6 years ago
|
||
Try looks good in Nightly, https://treeherder.mozilla.org/#/jobs?repo=try&revision=af0419d0076a22949bcf91260cc8a4bbfeab93a7
| Assignee | ||
Comment 8•6 years ago
|
||
Please help verify if it is resolved in Beta. I can't verify it because it happens 'mach build -v' did not run successfully in treeherder to me.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 9•6 years ago
|
||
(In reply to Daosheng Mu[:daoshengmu] from comment #8)
Please help verify if it is resolved in Beta. I can't verify it because it happens
'mach build -v' did not run successfullyin treeherder to me.
Verified in recent beta simulations: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&revision=fbc64a86d5ef083dd2e88d999f119e1f9d07f0b0&searchStr=wpt13&selectedJob=270255824 the patch works, please add a reviewer so this can land on integration.
| Assignee | ||
Comment 10•6 years ago
|
||
(In reply to Andreea Pavel [:apavel] from comment #9)
(In reply to Daosheng Mu[:daoshengmu] from comment #8)
Please help verify if it is resolved in Beta. I can't verify it because it happens
'mach build -v' did not run successfullyin treeherder to me.Verified in recent beta simulations: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&revision=fbc64a86d5ef083dd2e88d999f119e1f9d07f0b0&searchStr=wpt13&selectedJob=270255824 the patch works, please add a reviewer so this can land on integration.
thanks :)
Updated•6 years ago
|
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
| bugherder | ||
Comment 13•6 years ago
|
||
No longer occurs in recent beta simulations: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=bb2fcf3fbaadf65542cbd01b7cbb82a93f1a6bba&searchStr=wpt
Updated•6 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Description
•