Closed Bug 1632098 Opened 5 years ago Closed 5 years ago

Enable ParentProcessDocumentChannel

Categories

(Core :: Networking, defect, P2)

Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: jya, Assigned: jya)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(5 files)

In bug 1607984, the ParentProcessDocumentChannel code path was disabled due to issues on Android where the ParentProcessDocumentChannel wouldn't start.

So for now it's disabled.

This bug is about re-enabling it.

The file being in a reftest folder is by default ignored thanks to a blanket rule.

The startup script starts by searching a window by its type; how the window type parameter is only available once the window's document element has been created.
The main window has already been created however and it is in an in-between state which means that you can't find it by its type nor will domwindowcreated be fired.

So we listen to either initial-document-element-inserted which indicates when it's okay to search for the main window by type again and we are ready to start the reftest.

Depends on D72141

Priority: -- → P2
Whiteboard: [necko-triaged]
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ebba11d87e3 P1. prettify api.js file. r=kmag https://hg.mozilla.org/integration/autoland/rev/7672c70a3360 P2. Don't rely on onOpenWindow to determine when we can start. r=kmag
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43b914eee3e3 P3. Enable the ParentProcessDocumentChannel. r=mattwoodrow
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Regressions: 1630320
Regressions: 1630211
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla77 → ---
Flags: needinfo?(jyavenard)
Summary: Enable ParentProcessDocumentChannel on Android → Enable ParentProcessDocumentChannel
Depends on: 1633319
See Also: → 1633198
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9b71539e316f P3. Enable the ParentProcessDocumentChannel. r=mattwoodrow

Backed out changeset 9b71539e316f (bug 1632098) for formautofill mochitest failures

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=os%2Cx%2C10.14%2Cshippable%2Copt%2Cmochitests%2Ctest-macosx1014-64-shippable%2Fopt-mochitest&fromchange=fa0f7359881f88cb36f6f8826d0599d6525eaa15&tochange=b54df3b14d13beaa0c7c3341796c5602a5e28fb2&selectedTaskRun=BX-BEBSuREivL9nQ3GN1zw-0

Backout link: https://hg.mozilla.org/integration/autoland/rev/b54df3b14d13beaa0c7c3341796c5602a5e28fb2

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=300009938&repo=autoland&lineNumber=3950

[task 2020-04-29T16:01:16.199Z] 16:01:16     INFO - TEST-START | browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js
[task 2020-04-29T16:01:25.633Z] 16:01:25     INFO - TEST-INFO | started process screencapture
[task 2020-04-29T16:01:25.985Z] 16:01:25     INFO - TEST-INFO | screencapture: exit 0
[task 2020-04-29T16:01:25.985Z] 16:01:25     INFO - Buffered messages logged at 16:01:16
[task 2020-04-29T16:01:25.986Z] 16:01:25     INFO - Entering test bound setup
[task 2020-04-29T16:01:25.986Z] 16:01:25     INFO - Leaving test bound setup
[task 2020-04-29T16:01:25.986Z] 16:01:25     INFO - Entering test bound setup_storage
[task 2020-04-29T16:01:25.987Z] 16:01:25     INFO - expecting address saved
[task 2020-04-29T16:01:25.987Z] 16:01:25     INFO - expecting address saved
[task 2020-04-29T16:01:25.987Z] 16:01:25     INFO - expecting address saved
[task 2020-04-29T16:01:25.987Z] 16:01:25     INFO - expecting address saved
[task 2020-04-29T16:01:25.987Z] 16:01:25     INFO - Leaving test bound setup_storage
[task 2020-04-29T16:01:25.988Z] 16:01:25     INFO - Entering test bound test_press_enter_on_footer
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]"  nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"  location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: L10nRegistry.loadSync :: line 658"  data: no]"]
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - L10nRegistry.loadSync@resource://gre/modules/L10nRegistry.jsm:658:19
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - fetchFile@resource://gre/modules/L10nRegistry.jsm:573:31
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - generateResourceSetSync/<@resource://gre/modules/L10nRegistry.jsm:478:19
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - generateResourceSetSync@resource://gre/modules/L10nRegistry.jsm:473:22
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - generateResourceSetsForLocaleSync@resource://gre/modules/L10nRegistry.jsm:415:44
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - generateBundlesSync@resource://gre/modules/L10nRegistry.jsm:177:7
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - touchNext@resource://gre/modules/Localization.jsm:167:37
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - onChange@resource://gre/modules/Localization.jsm:510:20
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - init@resource://gre/modules/Localization.jsm:237:10
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - getRegionDisplayNames@resource://gre/modules/mozIntl.jsm:732:19
[task 2020-04-29T16:01:25.995Z] 16:01:25     INFO - _normalizeCountry@resource://formautofill/FormAutofillStorage.jsm:1625:43
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - _normalizeFields@resource://formautofill/FormAutofillStorage.jsm:1567:10
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - _normalizeRecord@resource://formautofill/FormAutofillStorage.jsm:1321:10
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - add@resource://formautofill/FormAutofillStorage.jsm:388:12
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - receiveMessage@resource://formautofill/FormAutofillParent.jsm:339:48
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - emulateMessageToBrowser@chrome://mochitests/content/browser/browser/extensions/formautofill/test/browser/head.js:334:16
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - saveAddress@chrome://mochitests/content/browser/browser/extensions/formautofill/test/browser/head.js:353:9
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - setup_storage@chrome://mochitests/content/browser/browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js:7:9
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1039:34
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1074:11
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:904:14
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-04-29T16:01:25.996Z] 16:01:25     INFO - 
[task 2020-04-29T16:01:25.997Z] 16:01:25     INFO - expecting the target input being focused and identified
[task 2020-04-29T16:01:26.000Z] 16:01:26     INFO - !previouslyFocused
[task 2020-04-29T16:01:26.000Z] 16:01:26     INFO - FieldsIdentified
[task 2020-04-29T16:01:26.000Z] 16:01:26     INFO - Buffered messages logged at 16:01:17
[task 2020-04-29T16:01:26.000Z] 16:01:26     INFO - openPopupOn: before VK_DOWN
[task 2020-04-29T16:01:26.001Z] 16:01:26     INFO - expectPopupOpen
[task 2020-04-29T16:01:26.001Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.001Z] 16:01:26     INFO - Buffered messages logged at 16:01:18
[task 2020-04-29T16:01:26.001Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.004Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.005Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.005Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.005Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.005Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.006Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.006Z] 16:01:26     INFO - Buffered messages logged at 16:01:19
[task 2020-04-29T16:01:26.006Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.007Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.007Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.010Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.010Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.010Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.010Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - Buffered messages logged at 16:01:20
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.012Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.013Z] 16:01:26     INFO - Buffered messages logged at 16:01:21
[task 2020-04-29T16:01:26.013Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.013Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.013Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.013Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.014Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.014Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.014Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.014Z] 16:01:26     INFO - Buffered messages logged at 16:01:22
[task 2020-04-29T16:01:26.014Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.016Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.016Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.016Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.017Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.017Z] 16:01:26     INFO - Buffered messages logged at 16:01:23
[task 2020-04-29T16:01:26.020Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.020Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.020Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.020Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.020Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.021Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.021Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.021Z] 16:01:26     INFO - Buffered messages logged at 16:01:24
[task 2020-04-29T16:01:26.021Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.021Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.021Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.022Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.022Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.022Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.022Z] 16:01:26     INFO - Buffered messages logged at 16:01:25
[task 2020-04-29T16:01:26.022Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.023Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.023Z] 16:01:26     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:26.024Z] 16:01:26     INFO - Buffered messages finished
[task 2020-04-29T16:01:26.025Z] 16:01:26     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js | Uncaught exception - The popup should be a form autofill one - timed out after 50 tries.
[task 2020-04-29T16:01:26.025Z] 16:01:26     INFO - Leaving test bound test_press_enter_on_footer
[task 2020-04-29T16:01:26.027Z] 16:01:26     INFO - Entering test bound test_click_on_footer
[task 2020-04-29T16:01:26.253Z] 16:01:26     INFO - expecting the target input being focused and identified
[task 2020-04-29T16:01:26.281Z] 16:01:26     INFO - !previouslyFocused
[task 2020-04-29T16:01:26.281Z] 16:01:26     INFO - FieldsIdentified
[task 2020-04-29T16:01:26.914Z] 16:01:26     INFO - openPopupOn: before VK_DOWN
[task 2020-04-29T16:01:26.920Z] 16:01:26     INFO - expectPopupOpen
[task 2020-04-29T16:01:27.080Z] 16:01:27     INFO - GECKO(2183) | JavaScript error: chrome://global/content/elements/autocomplete-popup.js, line 486: TypeError: item._adjustAcItem is not a function
[task 2020-04-29T16:01:27.080Z] 16:01:27     INFO - Console message: [JavaScript Error: "TypeError: item._adjustAcItem is not a function" {file: "chrome://global/content/elements/autocomplete-popup.js" line: 486}]
[task 2020-04-29T16:01:27.397Z] 16:01:27     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:27.606Z] 16:01:27     INFO - getDisplayedPopupItems
[task 2020-04-29T16:01:27.711Z] 16:01:27     INFO - getDisplayedPopupItems
...
...
...
Flags: needinfo?(jyavenard)
See Also: → 1591126
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e3072749357 P3. Enable the ParentProcessDocumentChannel. r=mattwoodrow https://hg.mozilla.org/integration/autoland/rev/e190fb6ea8c2 P4. Disable test on macos. r=Gijs
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cef377c2b041 P5. Disabling more tests on macos. r=Gijs
Pushed by rmaries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/104801824522 Disabled browser_autocomplete_marked_detached_tab.js on macos. r=jya CLOSED TREE
Flags: needinfo?(jyavenard)
Regressions: 1638652
Regressions: 1640918
Regressions: 1641255
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: