Closed Bug 1521705 Opened 6 years ago Closed 6 years ago

Intermittent GECKO(30196) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextCodebasePrincipal] at construct@chrom

Categories

(Toolkit :: UI Widgets, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: cbrindusan [at] mozilla.com

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

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

[task 2019-01-22T05:38:02.772Z] 05:38:02 INFO - TEST-START | toolkit/mozapps/extensions/test/browser/browser_bug562797.js
[task 2019-01-22T05:38:02.932Z] 05:38:02 INFO - GECKO(30196) | 1548135482923 addons.manager DEBUG Starting provider: <unnamed-provider>
[task 2019-01-22T05:38:02.934Z] 05:38:02 INFO - GECKO(30196) | 1548135482924 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
[task 2019-01-22T05:38:02.936Z] 05:38:02 INFO - GECKO(30196) | 1548135482926 addons.manager DEBUG Provider finished startup: <unnamed-provider>
[task 2019-01-22T05:38:03.735Z] 05:38:03 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:03.794Z] 05:38:03 INFO - GECKO(30196) | Waiting for browser load
[task 2019-01-22T05:38:03.835Z] 05:38:03 INFO - GECKO(30196) | Saw state f0001 and status 0
[task 2019-01-22T05:38:03.975Z] 05:38:03 INFO - GECKO(30196) | Saw state c0010 and status 0
[task 2019-01-22T05:38:03.976Z] 05:38:03 INFO - GECKO(30196) | Browser loaded http://example.com/
[task 2019-01-22T05:38:06.015Z] 05:38:06 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:06.649Z] 05:38:06 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:07.479Z] 05:38:07 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:08.943Z] 05:38:08 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:09.738Z] 05:38:09 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:10.428Z] 05:38:10 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:10.933Z] 05:38:10 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:11.374Z] 05:38:11 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:11.797Z] 05:38:11 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:12.361Z] 05:38:12 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:13.176Z] 05:38:13 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:13.935Z] 05:38:13 INFO - GECKO(30196) | Manager window unload handler
[task 2019-01-22T05:38:13.985Z] 05:38:13 INFO - GECKO(30196) | MEMORY STAT | vsize 8340MB | residentFast 702MB | heapAllocated 6430MB
[task 2019-01-22T05:38:13.989Z] 05:38:13 INFO - TEST-OK | toolkit/mozapps/extensions/test/browser/browser_bug562797.js | took 11215ms
[task 2019-01-22T05:38:14.006Z] 05:38:14 INFO - GECKO(30196) | [Parent 30196, Gecko_IOThread] WARNING: Failed to launch tab subprocess: file /builds/worker/workspace/build/src/ipc/glue/GeckoChildProcessHost.cpp, line 481
[task 2019-01-22T05:38:14.006Z] 05:38:14 INFO - GECKO(30196) | [Parent 30196, Gecko_IOThread] WARNING: pipe error (225): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
[task 2019-01-22T05:38:14.023Z] 05:38:14 INFO - GECKO(30196) | [Parent 30196, Gecko_IOThread] WARNING: Failed to launch tab subprocess: file /builds/worker/workspace/build/src/ipc/glue/GeckoChildProcessHost.cpp, line 481
[task 2019-01-22T05:38:14.024Z] 05:38:14 INFO - GECKO(30196) | [Parent 30196, Gecko_IOThread] WARNING: pipe error (228): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
[task 2019-01-22T05:38:14.033Z] 05:38:14 INFO - GECKO(30196) | [Parent 30196, Gecko_IOThread] WARNING: Failed to launch tab subprocess: file /builds/worker/workspace/build/src/ipc/glue/GeckoChildProcessHost.cpp, line 481
[task 2019-01-22T05:38:14.033Z] 05:38:14 INFO - GECKO(30196) | [Parent 30196, Gecko_IOThread] WARNING: pipe error (230): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
[task 2019-01-22T05:38:14.036Z] 05:38:14 ERROR - GECKO(30196) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextCodebasePrincipal] at construct@chrome://global/content/elements/browser-custom-element.js:1038:32

This looks like there is no frameloader on the browser element: https://searchfox.org/mozilla-central/rev/39265dd58298c40bed029617ad408bf806cce761/toolkit/content/widgets/browser-custom-element.js#363

This returns null and gets passed as a loadContext to getLoadContextCodebasePrincipal: https://searchfox.org/mozilla-central/rev/39265dd58298c40bed029617ad408bf806cce761/toolkit/content/widgets/browser-custom-element.js#1038 which in turn checks the argument and returns NS_ERROR_UNEXPECTED.

I couldn't find how frameloader gets inited it looks like it's through XULFrameElement implementing MozFrameLoaderOwner.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.