Closed
Bug 1571063
Opened 5 years ago
Closed 5 years ago
Simplify BrowsingContext field sync logic
Categories
(Core :: DOM: Navigation, enhancement, P2)
Core
DOM: Navigation
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
Details
Attachments
(1 file)
The current logic is a bit complex, sometimes asserts in awkward places, and can be tricky to use. This bug is tracking some simplification, and streamlining work which should also help deal with the assertion issues.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/14e11bbc0dd3 Simplify BrowsingContext field sync logic, r=farre
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Comment 4•5 years ago
|
||
Backed out changeset 14e11bbc0dd3 (Bug 1571063) for geckoview-web-platform-tests failures at /html/cross-origin/anonymous.tentative.html
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=260649387&repo=autoland&lineNumber=3360
[task 2019-08-08T20:06:51.477Z] 20:06:51 INFO - TEST-START | /html/cross-origin/anonymous.tentative.html
[task 2019-08-08T20:06:51.491Z] 20:06:51 INFO - Setting pref browser.tabs.remote.useCrossOriginPolicy (true)
[task 2019-08-08T20:06:57.762Z] 20:06:57 INFO -
[task 2019-08-08T20:06:57.762Z] 20:06:57 INFO - TEST-UNEXPECTED-FAIL | /html/cross-origin/anonymous.tentative.html | Top-level with anonymous policy: navigating a frame to a null policy should fail. - assert_equals: expected null but got Document node with 1 child
[task 2019-08-08T20:06:57.762Z] 20:06:57 INFO - @http://web-platform.test:8000/html/cross-origin/anonymous.tentative.html:13:18
[task 2019-08-08T20:06:57.762Z] 20:06:57 INFO - Test.prototype.step_timeout/<@http://web-platform.test:8000/resources/testharness.js:1669:22
[task 2019-08-08T20:06:57.762Z] 20:06:57 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1611:25
[task 2019-08-08T20:06:57.762Z] 20:06:57 INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:1635:35
[task 2019-08-08T20:06:57.763Z] 20:06:57 INFO -
[task 2019-08-08T20:06:57.763Z] 20:06:57 INFO - TEST-UNEXPECTED-FAIL | /html/cross-origin/anonymous.tentative.html | Top-level with anonymous policy: navigating a frame from an anonymous policy to a null policy should fail. - assert_equals: Navigation to null policy should fail expected null but got Document node with 1 child
[task 2019-08-08T20:06:57.763Z] 20:06:57 INFO - bc.onmessage</<@http://web-platform.test:8000/html/cross-origin/anonymous.tentative.html:31:20
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - Test.prototype.step_timeout/<@http://web-platform.test:8000/resources/testharness.js:1669:22
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1611:25
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:1635:35
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO -
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - TEST-UNEXPECTED-FAIL | /html/cross-origin/anonymous.tentative.html | Top-level with anonymous policy: navigating a frame from a use-credentials policy to a null policy should fail. - assert_equals: Navigation to null policy should fail expected null but got Document node with 1 child
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - bc.onmessage</<@http://web-platform.test:8000/html/cross-origin/anonymous.tentative.html:52:20
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - Test.prototype.step_timeout/<@http://web-platform.test:8000/resources/testharness.js:1669:22
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1611:25
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:1635:35
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO -
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - TEST-PASS | /html/cross-origin/anonymous.tentative.html | Top-level with anonymous policy: creating a noopener popup with null policy should work.
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - TEST-PASS | /html/cross-origin/anonymous.tentative.html | Top-level with anonymous policy: creating a popup with null policy should fail.
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - TEST-PASS | /html/cross-origin/anonymous.tentative.html | Top-level noopener with anonymous policy: navigating to a different policy should work
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - TEST-UNEXPECTED-FAIL | /html/cross-origin/anonymous.tentative.html | Fetch policy: anonymous policy no-cors fetches should be changed to cors - assert_equals: type should have been changed to cors expected "cors" but got "opaque"
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - @http://web-platform.test:8000/html/cross-origin/anonymous.tentative.html:127:18
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - @http://web-platform.test:8000/html/cross-origin/anonymous.tentative.html:151:20
[task 2019-08-08T20:06:57.764Z] 20:06:57 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1611:25
[task 2019-08-08T20:06:57.765Z] 20:06:57 INFO - async_test@http://web-platform.test:8000/resources/testharness.js:576:22
[task 2019-08-08T20:06:57.765Z] 20:06:57 INFO - @http://web-platform.test:8000/html/cross-origin/anonymous.tentative.html:132:11
Flags: needinfo?(nika)
Updated•5 years ago
|
status-firefox70:
fixed → ---
Target Milestone: mozilla70 → ---
Updated•5 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by dvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3194b8199d82 Removing comment lines, part of 8017e6d5cbb6. Relanded with the correct bug number on a CLOSED TREE DONTBUILD
Comment 6•5 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Comment 7•5 years ago
|
||
Merge of backout to central: https://hg.mozilla.org/mozilla-central/rev/8017e6d5cbb6
Status: RESOLVED → REOPENED
status-firefox70:
fixed → ---
Resolution: FIXED → ---
Target Milestone: mozilla70 → ---
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/777ff87ba07a Simplify BrowsingContext field sync logic, r=farre
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(nika)
Comment 9•5 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•