Closed Bug 1524106 Opened 5 years ago Closed 5 years ago

Intermittent browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | A promise chain failed to handle a rejection: can't access dead object - stack: translateFragment@resource://gre/modules/DOMLocalization.jsm:

Categories

(Core :: Internationalization, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox-esr60 --- unaffected
firefox65 --- unaffected
firefox66 --- unaffected
firefox67 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: zbraniecki)

References

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered][stockwell disable-recommended])

Attachments

(1 file, 1 obsolete file)

#[markdown(off)]
Filed by: dluca [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=225068059&repo=autoland

https://queue.taskcluster.net/v1/task/YNXbyCnqSOe2eVv3E86f9w/runs/0/artifacts/public/logs/live_backing.log

INFO - TEST-START | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js
22:19:03 INFO - GECKO(4316) | JavaScript error: resource://gre/modules/DOMLocalization.jsm, line 684: TypeError: can't access dead object
22:19:05 INFO - GECKO(4316) | JavaScript error: resource://gre/modules/DOMLocalization.jsm, line 684: TypeError: can't access dead object
22:19:05 INFO - TEST-INFO | started process screenshot
22:19:05 INFO - TEST-INFO | screenshot: exit 0
22:19:05 INFO - <snipped 127 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
22:19:05 INFO - Buffered messages logged at 22:19:04
22:19:05 INFO - Change the icon. Expect default properties excluding the icon.
22:19:05 INFO - Get details: tab={id: 248, url: about:blank}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Default Título ☺, Actual: Default Título ☺ -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html, Actual: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Create a new tab. No icon visible.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Await tab load. No icon visible.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?0}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Change properties. Expect new properties.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?0}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Title 2, Actual: Title 2 -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/2.html, Actual: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/2.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Change the hash. Expect same properties.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?0#ref}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Title 2, Actual: Title 2 -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/2.html, Actual: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/2.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Set empty string values. Expect empty strings but default icon.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?0#ref}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: , Actual: -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: , Actual: -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Clear the values. Expect default ones.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?0#ref}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Default Título ☺, Actual: Default Título ☺ -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html, Actual: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Navigate to a new page. Expect icon hidden.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?1}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Show the icon. Expect default properties again.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?1}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Default Título ☺, Actual: Default Título ☺ -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html, Actual: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Switch back to the first tab. Expect previously set properties.
22:19:05 INFO - Get details: tab={id: 248, url: about:blank}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Default Título ☺, Actual: Default Título ☺ -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html, Actual: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Hide the icon on tab 2. Switch back, expect hidden.
22:19:05 INFO - Get details: tab={id: 249, url: about:blank?1}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Switch back to tab 1. Expect previous results again.
22:19:05 INFO - Get details: tab={id: 248, url: about:blank}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Default Título ☺, Actual: Default Título ☺ -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html, Actual: moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/default.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Hide the icon. Expect hidden.
22:19:05 INFO - Get details: tab={id: 248, url: about:blank}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Console message: [JavaScript Error: "Security Error: Content at moz-extension://3dce550f-2df6-4fc8-bd3f-8dfb4f22846b/ may not load or link to about:addons."]
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | Promise rejected, expecting rejection to match /Access denied for URL about:addons/, got "Access denied for URL about:addons": unable to set popup to about:addons -
22:19:05 INFO - Get details: tab={id: 248, url: about:blank}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Buffered messages logged at 22:19:05
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | pageAction image removed from document -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | pageAction image removed from second document -
22:19:05 INFO - Console message: [JavaScript Error: "TypeError: can't access dead object" {file: "resource://gre/modules/DOMLocalization.jsm" line: 684}]
22:19:05 INFO - Buffered messages finished
22:19:05 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | A promise chain failed to handle a rejection: can't access dead object - stack: translateFragment@resource://gre/modules/DOMLocalization.jsm:684:5
22:19:05 INFO - translateRoots/<@resource://gre/modules/DOMLocalization.jsm:585:15
22:19:05 INFO - Async*translateRoots@resource://gre/modules/DOMLocalization.jsm:579:7
22:19:05 INFO - onChange@resource://gre/modules/DOMLocalization.jsm:436:5
22:19:05 INFO - observe@resource://gre/modules/Localization.jsm:369:9
22:19:05 INFO - runTests@chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/head_pageAction.js:156:39
22:19:05 INFO - async*testTabSwitchContext@chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js:9:9
22:19:05 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
22:19:05 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1097:16
22:19:05 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:9
22:19:05 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
22:19:05 INFO - Rejection date: Wed Jan 30 2019 22:19:03 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
22:19:05 INFO - Stack trace:
22:19:05 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
22:19:05 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
22:19:05 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
22:19:05 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
22:19:05 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
22:19:05 INFO - Not taking screenshot here: see the one that was previously logged
22:19:05 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | A promise chain failed to handle a rejection: can't access dead object - stack: translateFragment@resource://gre/modules/DOMLocalization.jsm:684:5
22:19:05 INFO - translateRoots/<@resource://gre/modules/DOMLocalization.jsm:585:15
22:19:05 INFO - Async*translateRoots@resource://gre/modules/DOMLocalization.jsm:579:7
22:19:05 INFO - onChange@resource://gre/modules/DOMLocalization.jsm:436:5
22:19:05 INFO - observe@resource://gre/modules/Localization.jsm:369:9
22:19:05 INFO - runTests@chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/head_pageAction.js:164:3
22:19:05 INFO - async*testTabSwitchContext@chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js:9:9
22:19:05 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
22:19:05 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1097:16
22:19:05 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:9
22:19:05 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
22:19:05 INFO - Rejection date: Wed Jan 30 2019 22:19:05 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
22:19:05 INFO - Stack trace:
22:19:05 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
22:19:05 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
22:19:05 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
22:19:05 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
22:19:05 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
22:19:05 INFO - Leaving test bound testTabSwitchContext
22:19:05 INFO - Entering test bound testMultipleWindows
22:19:05 INFO - Extension loaded
22:19:05 INFO - Console message: Warning: attempting to write 18091 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes.
22:19:05 INFO - GECKO(4316) | JavaScript error: resource://gre/modules/DOMLocalization.jsm, line 684: TypeError: can't access dead object
22:19:05 INFO - Console message: [JavaScript Error: "TypeError: can't access dead object" {file: "resource://gre/modules/DOMLocalization.jsm" line: 684}]
22:19:05 INFO - Create a new tab, expect hidden pageAction.
22:19:05 INFO - Get details: tab={id: 250, url: undefined}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Show the pageAction, expect default values.
22:19:05 INFO - Get details: tab={id: 250, url: undefined}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: Default Title, Actual: Default Title -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://de7c26aa-c7ef-48d1-b378-3efae2b979ac/default.html, Actual: moz-extension://de7c26aa-c7ef-48d1-b378-3efae2b979ac/default.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Set tab-specific values, expect them.
22:19:05 INFO - Get details: tab={id: 250, url: undefined}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: tab, Actual: tab -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://de7c26aa-c7ef-48d1-b378-3efae2b979ac/tab.html, Actual: moz-extension://de7c26aa-c7ef-48d1-b378-3efae2b979ac/tab.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Open a new window, expect hidden pageAction.
22:19:05 INFO - Get details: tab={id: 251, url: undefined}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: false, Actual: false -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image is disabled -
22:19:05 INFO - Move tab from old window to the new one, expect old values.
22:19:05 INFO - Console message: [JavaScript Error: "this._dispatcher is null" {file: "resource://gre/modules/ActorChild.jsm" line: 26}]
22:19:05 INFO - get content@resource://gre/modules/ActorChild.jsm:26:5
22:19:05 INFO - init@resource:///actors/LightweightThemeChild.jsm:46:5
22:19:05 INFO - init@resource://gre/modules/ActorManagerChild.jsm:200:11
22:19:05 INFO - handleEvent@resource://gre/modules/ActorManagerChild.jsm:236:9
22:19:05 INFO - EventListener.handleEvent*SingletonDispatcher@resource://gre/modules/ActorManagerChild.jsm:187:5
22:19:05 INFO - onNewDocument@resource://gre/modules/ActorManagerChild.jsm:294:5
22:19:05 INFO - MozDocumentCallback.onNewDocument*init@resource://gre/modules/ActorManagerChild.jsm:283:21
22:19:05 INFO - @resource://gre/modules/ActorManagerChild.jsm:324:1
22:19:05 INFO - @chrome://global/content/browser-content.js:12:27
22:19:05 INFO -
22:19:05 INFO - Get details: tab={id: 250, url: undefined}
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getTitle - Expected: tab, Actual: tab -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from getPopup - Expected: moz-extension://de7c26aa-c7ef-48d1-b378-3efae2b979ac/tab.html, Actual: moz-extension://de7c26aa-c7ef-48d1-b378-3efae2b979ac/tab.html -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | expected value from isShown - Expected: true, Actual: true -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image exists -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | icon URL is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image title is correct -
22:19:05 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_pageAction_context.js | image aria-label is correct -
22:19:05 INFO - Close the initial tab of the new window.

Zibi, bug 1523457 landed shortly before that. Please take a look at this failure.

Blocks: 1523457
Component: Untriaged → Internationalization
Keywords: regression
Product: WebExtensions → Core
Flags: needinfo?(gandalf)

taking

Assignee: nobody → gandalf
Status: NEW → ASSIGNED

Olli, this is the same bug as we discussed before. Seems like the fix we landed [0] does not prevent in some intermittent scenarios the document from firing RemoveLocalizationLink during document's shutdown.

I'm tempted to remove ability to remove links even manually until we figure this out. :(

Also, I'd like to figure out how to hook disconnectRoot into Document's lifetime to allow us to remove a root when the document is being unloaded.

[0] https://searchfox.org/mozilla-central/source/dom/html/HTMLLinkElement.cpp#169

Flags: needinfo?(gandalf) → needinfo?(bugs)

It completely doesn't help that the test is so huge that I'm hitting bug 1293548 every time I try to run it locally with '--verify".

Kris - do you remember enough about this test to advise how to run only the intermittent part of it?

Flags: needinfo?(kmaglione+bmo)

If this isn't reproduceable locally, please add some temporary checks to catch more information about the state.

But do I read the code right... we're dealing with several roots here https://searchfox.org/mozilla-central/rev/6e3cc153566f5f288ae768a2172385b8436d61dd/intl/l10n/DOMLocalization.jsm#577-590 and some of those might be deleted, but not all?

Does DOMLocalization remove MutationObserver early enough?

Flags: needinfo?(bugs) → needinfo?(gandalf)

But do I read the code right... we're dealing with several roots here https://searchfox.org/mozilla-central/rev/6e3cc153566f5f288ae768a2172385b8436d61dd/intl/l10n/DOMLocalization.jsm#577-590 and some of those might be deleted, but not all?

Yeah, actually, that's the only problem left. I thought we're still seeing the removeResourceIds, but the stack is:

translateFragment@resource://gre/modules/DOMLocalization.jsm:690:5
translateRoots/<@resource://gre/modules/DOMLocalization.jsm:586:17
Async*translateRoots@resource://gre/modules/DOMLocalization.jsm:579:7
onChange@resource://gre/modules/DOMLocalization.jsm:436:5
observe@resource://gre/modules/Localization.jsm:369:9
runTests@chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/head_pageAction.js:156

the head_pageAction is triggering locale change, and that causes all DOMLocalizations to retransalate. It seems that in case of this test, we're hitting a dead object that should be removed via disconnectRoot.

Where should I plug the mDocumentL10n::disconnectRoot in Document lifecycle to avoid hitting the dead object bug?

Flags: needinfo?(kmaglione+bmo)
Flags: needinfo?(gandalf)
Flags: needinfo?(bugs)
Priority: P5 → P1

This changeset is adding a new test to in devtools/client/aboutdebugging-new/test/browser. It is a test tagged with "webextensions", however it didn't run in the job that fails here, so I am not sure if it is related. 1 failure on 22 jobs seems a bit low to say for sure this was introduced by this changeset? Started retriggers on the previous cset.

(edit: confirmed, the intermittent is already happening on earlier csets: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=243ebbbec1cd3cab9953b9a2298ac8a9134f1b5b&selectedJob=225825477 )

Flags: needinfo?(jdescottes)

This is not a new regression, we don't need to look for the regressing patch. It is happening due to Fluent attempting to perform localization during garbage collection. This appears to have been happening as far back as the introduction of Fluent, but was not noticeable until now since we have started porting over more parts of the Firefox codebase to Fluent. Along with that, tests are now being ported over so the intermittent failures will become more prevalent until a fix is found.

Jared, failure rate is really high, 168 total failures in the last 7 days and it's in the "disable right away" query.

The majority of occurrences are on linux32 and linux64 debug and there are fewer failures on windows10-64-ccov debug and windows7-32 opt and pgo.

Should we disable it until there is another fix?

Flags: needinfo?(jaws)

This isn't going to be easy to disable because this type of failure will show up in many tests.

The patch I'm attaching is from a previous attempt at fixing this that we didn't land at the time because we thought that bug 1523457 would fix it.

Try push with patch:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ff87cafddfa1f6169addce7426ccf50fb7f64466

Try push without patch:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e6f85a8aa819fc3fed70fef085240a5b55b4132c

Flags: needinfo?(jaws)

Ok, the new patch seems to address the issue.

Most of the failures we see are from linux64 and linux32 debug: https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2019-01-30&endday=2019-02-06&tree=trunk&bug=1524106

I run my try with the patch against them and it looks clean: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8f063853bb197d886b0fbc4192c2a649c1eeccbd&selectedJob=226573525

Let's land this ASAP and consider backporting to 65.

Flags: needinfo?(bugs)
Attachment #9041556 - Attachment is obsolete: true
Pushed by zbraniecki@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2fac327be8ce
Disconnect l10n root when destroying the document. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: