Closed Bug 1515817 Opened 8 months ago Closed 6 months ago

Intermittent toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 257] A promise chain failed to handle a rejection: can't access dead object - stack: invalidate@resource://gre/modules/ExtensionCommon.jsm

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

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

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])

Attachments

(2 files)

Filed by: cbrindusan [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=218229234&repo=mozilla-central

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

[task 2018-12-20T23:12:12.924Z] 23:12:12     INFO -  TEST-START | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js
[task 2018-12-20T23:13:37.013Z] 23:13:37  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | xpcshell return code: 0
[task 2018-12-20T23:13:37.014Z] 23:13:37     INFO -  TEST-INFO took 84089ms
[task 2018-12-20T23:13:37.015Z] 23:13:37     INFO -  >>>>>>>
[task 2018-12-20T23:13:37.015Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | xpcw: cd /sdcard/tests/xpc/toolkit/components/extensions/test/xpcshell
[task 2018-12-20T23:13:37.016Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | xpcw: xpcshell -r /sdcard/tests/xpc/c/httpd.manifest --greomni /data/local/xpcb/target.apk -m -s -e const _HEAD_JS_PATH = "/sdcard/tests/xpc/head.js"; -e const _MOZINFO_JS_PATH = "/sdcard/tests/xpc/p/mozinfo.json"; -e const _PREFS_FILE = "/sdcard/tests/xpc/user.js"; -e const _TESTING_MODULES_DIR = "/sdcard/tests/xpc/m"; -f /sdcard/tests/xpc/head.js -e const _HEAD_FILES = ["/sdcard/tests/xpc/toolkit/components/extensions/test/xpcshell/head.js", "/sdcard/tests/xpc/toolkit/components/extensions/test/xpcshell/head_telemetry.js"]; -e const _JSDEBUGGER_PORT = 0; -e const _TEST_FILE = ["test_ext_content_security_policy.js"]; -e const _TEST_NAME = "xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js"; -e _execute_test(); quit(0);
[task 2018-12-20T23:13:37.017Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Unnamed thread 47a0e080] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 189
[task 2018-12-20T23:13:37.018Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Unnamed thread 47a0e080] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 189
[task 2018-12-20T23:13:37.019Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Unnamed thread 47a0e080] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 189
[task 2018-12-20T23:13:37.019Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Unnamed thread 47a0e080] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 189
[task 2018-12-20T23:13:37.020Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: No Android crash handler set: file /builds/worker/workspace/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 1474
[task 2018-12-20T23:13:37.021Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/workspace/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 2539
[task 2018-12-20T23:13:37.022Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | JavaScript strict warning: resource://testing-common/AddonTestUtils.jsm, line 307: ReferenceError: reference to undefined property "testScope"
[task 2018-12-20T23:13:37.023Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | JavaScript strict warning: resource://testing-common/AddonTestUtils.jsm, line 313: ReferenceError: reference to undefined property "testScope"
[task 2018-12-20T23:13:37.024Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "testScope"" {file: "resource://testing-common/AddonTestUtils.jsm" line: 307}]"
[task 2018-12-20T23:13:37.025Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "testScope"" {file: "resource://testing-common/AddonTestUtils.jsm" line: 313}]"
[task 2018-12-20T23:13:37.025Z] 23:13:37     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2018-12-20T23:13:37.026Z] 23:13:37     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2018-12-20T23:13:37.027Z] 23:13:37     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2018-12-20T23:13:37.027Z] 23:13:37     INFO -  running event loop
[task 2018-12-20T23:13:37.028Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | Starting check_remote
[task 2018-12-20T23:13:37.029Z] 23:13:37     INFO -  (xpcshell/head.js) | test check_remote pending (2)
[task 2018-12-20T23:13:37.029Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - false == false
[task 2018-12-20T23:13:37.030Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | check_remote - [check_remote : 1] testing from extension process - true == true
[task 2018-12-20T23:13:37.030Z] 23:13:37     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2018-12-20T23:13:37.031Z] 23:13:37     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2018-12-20T23:13:37.031Z] 23:13:37     INFO -  (xpcshell/head.js) | test check_remote finished (2)
[task 2018-12-20T23:13:37.032Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | Starting testCSP
[task 2018-12-20T23:13:37.032Z] 23:13:37     INFO -  (xpcshell/head.js) | test testCSP pending (2)
[task 2018-12-20T23:13:37.033Z] 23:13:37     INFO -  "Extension attached"
[task 2018-12-20T23:13:37.034Z] 23:13:37     INFO -  "Testing CSP for policy: null"
[task 2018-12-20T23:13:37.035Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/workspace/build/src/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 318
[task 2018-12-20T23:13:37.035Z] 23:13:37     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2018-12-20T23:13:37.036Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004002: file /builds/worker/workspace/build/src/toolkit/components/resistfingerprinting/nsRFPService.cpp, line 667
[task 2018-12-20T23:13:37.036Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/worker/workspace/build/src/extensions/cookie/nsPermissionManager.cpp, line 2835
[task 2018-12-20T23:13:37.037Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: robust_buffer_access_behavior marked as unsupported: file /builds/worker/workspace/build/src/gfx/gl/GLContextFeatures.cpp, line 620
[task 2018-12-20T23:13:37.038Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: Vsync not supported. Falling back to software vsync: file /builds/worker/workspace/build/src/gfx/thebes/gfxAndroidPlatform.cpp, line 364
[task 2018-12-20T23:13:37.039Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | JavaScript strict warning: resource://gre/modules/Schemas.jsm, line 2321: ReferenceError: reference to undefined property "reference"
[task 2018-12-20T23:13:37.039Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "reference"" {file: "resource://gre/modules/Schemas.jsm" line: 2321}]"
[task 2018-12-20T23:13:37.040Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.041Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.041Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 121
[task 2018-12-20T23:13:37.042Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: GetLinkType is not supported without a bridge connection: file /builds/worker/workspace/build/src/netwerk/system/android/nsAndroidNetworkLinkService.cpp, line 47
[task 2018-12-20T23:13:37.043Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: cannot SetMetaDataElement: 'NS_SUCCEEDED(rv)', file /builds/worker/workspace/build/src/dom/html/nsHTMLDocument.cpp, line 706
[task 2018-12-20T23:13:37.044Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/dummy" line: 0}]"
[task 2018-12-20T23:13:37.044Z] 23:13:37     INFO -  "Base policy for background page"
[task 2018-12-20T23:13:37.045Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.046Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.046Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.047Z] 23:13:37     INFO -  "Add-on policy for background page"
[task 2018-12-20T23:13:37.048Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.048Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.049Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.049Z] 23:13:37     INFO -  "Base policy for tab page"
[task 2018-12-20T23:13:37.050Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.051Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.052Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.052Z] 23:13:37     INFO -  "Add-on policy for tab page"
[task 2018-12-20T23:13:37.053Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.053Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.054Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.054Z] 23:13:37     INFO -  "Base policy for content frame"
[task 2018-12-20T23:13:37.055Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.055Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.056Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.056Z] 23:13:37     INFO -  "Add-on policy for content frame"
[task 2018-12-20T23:13:37.057Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.058Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.059Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.060Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2018-12-20T23:13:37.060Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2018-12-20T23:13:37.060Z] 23:13:37     INFO -  "Extension attached"
[task 2018-12-20T23:13:37.061Z] 23:13:37     INFO -  "Testing CSP for policy: object-src 'self' https://*.example.com; script-src 'self' https://*.example.com 'unsafe-eval' 'sha256-NjZhMDQ1YjQ1MjEwMmM1OWQ4NDBlYzA5N2Q1OWQ5NDY3ZTEzYTNmMzRmNjQ5NGU1MzlmZmQzMmMxYmIzNWYxOCAgLQo='"
[task 2018-12-20T23:13:37.061Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/workspace/build/src/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 318
[task 2018-12-20T23:13:37.062Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.063Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.063Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.064Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 121
[task 2018-12-20T23:13:37.064Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: GetLinkType is not supported without a bridge connection: file /builds/worker/workspace/build/src/netwerk/system/android/nsAndroidNetworkLinkService.cpp, line 47
[task 2018-12-20T23:13:37.065Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: cannot SetMetaDataElement: 'NS_SUCCEEDED(rv)', file /builds/worker/workspace/build/src/dom/html/nsHTMLDocument.cpp, line 706
[task 2018-12-20T23:13:37.066Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/dummy" line: 0}]"
[task 2018-12-20T23:13:37.066Z] 23:13:37     INFO -  "Base policy for background page"
[task 2018-12-20T23:13:37.066Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.067Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.068Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.068Z] 23:13:37     INFO -  "Add-on policy for background page"
[task 2018-12-20T23:13:37.068Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.069Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"https://*.example.com\\"]" == "[\\"'self'\\",\\"https://*.example.com\\"]"
[task 2018-12-20T23:13:37.070Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'sha256-NjZhMDQ1YjQ1MjEwMmM1OWQ4NDBlYzA5N2Q1OWQ5NDY3ZTEzYTNmMzRmNjQ5NGU1MzlmZmQzMmMxYmIzNWYxOCAgLQo='\\",\\"'unsafe-eval'\\",\\"https://*.example.com\\"]" == "[\\"'self'\\",\\"'sha256-NjZhMDQ1YjQ1MjEwMmM1OWQ4NDBlYzA5N2Q1OWQ5NDY3ZTEzYTNmMzRmNjQ5NGU1MzlmZmQzMmMxYmIzNWYxOCAgLQo='\\",\\"'unsafe-eval'\\",\\"https://*.example.com\\"]"
[task 2018-12-20T23:13:37.070Z] 23:13:37     INFO -  "Base policy for tab page"
[task 2018-12-20T23:13:37.070Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.071Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.071Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.072Z] 23:13:37     INFO -  "Add-on policy for tab page"
[task 2018-12-20T23:13:37.072Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.073Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"https://*.example.com\\"]" == "[\\"'self'\\",\\"https://*.example.com\\"]"
[task 2018-12-20T23:13:37.073Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'sha256-NjZhMDQ1YjQ1MjEwMmM1OWQ4NDBlYzA5N2Q1OWQ5NDY3ZTEzYTNmMzRmNjQ5NGU1MzlmZmQzMmMxYmIzNWYxOCAgLQo='\\",\\"'unsafe-eval'\\",\\"https://*.example.com\\"]" == "[\\"'self'\\",\\"'sha256-NjZhMDQ1YjQ1MjEwMmM1OWQ4NDBlYzA5N2Q1OWQ5NDY3ZTEzYTNmMzRmNjQ5NGU1MzlmZmQzMmMxYmIzNWYxOCAgLQo='\\",\\"'unsafe-eval'\\",\\"https://*.example.com\\"]"
[task 2018-12-20T23:13:37.074Z] 23:13:37     INFO -  "Base policy for content frame"
[task 2018-12-20T23:13:37.074Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.075Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.075Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.076Z] 23:13:37     INFO -  "Add-on policy for content frame"
[task 2018-12-20T23:13:37.076Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.077Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"https://*.example.com\\"]" == "[\\"'self'\\",\\"https://*.example.com\\"]"
[task 2018-12-20T23:13:37.077Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'sha256-NjZhMDQ1YjQ1MjEwMmM1OWQ4NDBlYzA5N2Q1OWQ5NDY3ZTEzYTNmMzRmNjQ5NGU1MzlmZmQzMmMxYmIzNWYxOCAgLQo='\\",\\"'unsafe-eval'\\",\\"https://*.example.com\\"]" == "[\\"'self'\\",\\"'sha256-NjZhMDQ1YjQ1MjEwMmM1OWQ4NDBlYzA5N2Q1OWQ5NDY3ZTEzYTNmMzRmNjQ5NGU1MzlmZmQzMmMxYmIzNWYxOCAgLQo='\\",\\"'unsafe-eval'\\",\\"https://*.example.com\\"]"
[task 2018-12-20T23:13:37.078Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2018-12-20T23:13:37.078Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2018-12-20T23:13:37.079Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "can't access dead object" {file: "resource://gre/modules/ExtensionContent.jsm" line: 821}]
[task 2018-12-20T23:13:37.079Z] 23:13:37     INFO -  close@resource://gre/modules/ExtensionContent.jsm:821:9
[task 2018-12-20T23:13:37.080Z] 23:13:37     INFO -  shutdownExtension@resource://gre/modules/ExtensionContent.jsm:912:9
[task 2018-12-20T23:13:37.081Z] 23:13:37     INFO -  shutdownExtension@resource://gre/modules/ExtensionContent.jsm:960:5
[task 2018-12-20T23:13:37.082Z] 23:13:37     INFO -  shutdown@resource://gre/modules/ExtensionChild.jsm:747:5
[task 2018-12-20T23:13:37.083Z] 23:13:37     INFO -  receiveMessage@resource://gre/modules/ExtensionProcessScript.jsm:216:38
[task 2018-12-20T23:13:37.083Z] 23:13:37     INFO -  _do_main@/sdcard/tests/xpc/head.js:224:3
[task 2018-12-20T23:13:37.084Z] 23:13:37     INFO -  _execute_test@/sdcard/tests/xpc/head.js:528:5
[task 2018-12-20T23:13:37.084Z] 23:13:37     INFO -  @-e:1:1
[task 2018-12-20T23:13:37.084Z] 23:13:37     INFO -  "
[task 2018-12-20T23:13:37.085Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | JavaScript error: resource://gre/modules/ExtensionCommon.jsm, line 387: TypeError: can't access dead object
[task 2018-12-20T23:13:37.085Z] 23:13:37     INFO -  "Extension attached"
[task 2018-12-20T23:13:37.086Z] 23:13:37     INFO -  "Testing CSP for policy: object-src 'none'; script-src 'self'"
[task 2018-12-20T23:13:37.086Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/workspace/build/src/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 318
[task 2018-12-20T23:13:37.086Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "TypeError: can't access dead object" {file: "resource://gre/modules/ExtensionCommon.jsm" line: 387}]"
[task 2018-12-20T23:13:37.086Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.087Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.087Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
[task 2018-12-20T23:13:37.087Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 121
[task 2018-12-20T23:13:37.087Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: GetLinkType is not supported without a bridge connection: file /builds/worker/workspace/build/src/netwerk/system/android/nsAndroidNetworkLinkService.cpp, line 47
[task 2018-12-20T23:13:37.088Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: cannot SetMetaDataElement: 'NS_SUCCEEDED(rv)', file /builds/worker/workspace/build/src/dom/html/nsHTMLDocument.cpp, line 706
[task 2018-12-20T23:13:37.089Z] 23:13:37     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/dummy" line: 0}]"
[task 2018-12-20T23:13:37.089Z] 23:13:37     INFO -  "Base policy for background page"
[task 2018-12-20T23:13:37.090Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.090Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.091Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.092Z] 23:13:37     INFO -  "Add-on policy for background page"
[task 2018-12-20T23:13:37.093Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'none'\\"]" == "[\\"'none'\\"]"
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  "Base policy for tab page"
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  "Add-on policy for tab page"
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.096Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'none'\\"]" == "[\\"'none'\\"]"
[task 2018-12-20T23:13:37.097Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.097Z] 23:13:37     INFO -  "Base policy for content frame"
[task 2018-12-20T23:13:37.098Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 56] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.098Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.099Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]" == "[\\"'self'\\",\\"'unsafe-eval'\\",\\"'unsafe-inline'\\",\\"blob:\\",\\"filesystem:\\",\\"https://*\\",\\"moz-extension:\\"]"
[task 2018-12-20T23:13:37.100Z] 23:13:37     INFO -  "Add-on policy for content frame"
[task 2018-12-20T23:13:37.100Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 62] Policy is not report-only - false == false
[task 2018-12-20T23:13:37.101Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for object-src - "[\\"'none'\\"]" == "[\\"'none'\\"]"
[task 2018-12-20T23:13:37.103Z] 23:13:37     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 46] Expected value for script-src - "[\\"'self'\\"]" == "[\\"'self'\\"]"
[task 2018-12-20T23:13:37.104Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2018-12-20T23:13:37.104Z] 23:13:37     INFO -  xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | [6268, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/worker/workspace/build/src/docshell/shistory/nsSHistory.cpp, line 1198
[task 2018-12-20T23:13:37.104Z] 23:13:37     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2018-12-20T23:13:37.104Z] 23:13:37     INFO -  (xpcshell/head.js) | test testCSP finished (2)
[task 2018-12-20T23:13:37.105Z] 23:13:37     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (1)
[task 2018-12-20T23:13:37.105Z] 23:13:37     INFO -  exiting test
[task 2018-12-20T23:13:37.105Z] 23:13:37  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js | testCSP - [testCSP : 257] A promise chain failed to handle a rejection: can't access dead object - stack: invalidate@resource://gre/modules/ExtensionCommon.jsm:387:7

(In reply to Cosmin Sabou [:CosminS] from comment #13)

Created attachment 9044568 [details]
Bug 1515817 - Disable test_ext_content_security_policy.js on android 4.3 debug.

Hi Cosmin,
I've just added attachment 9044676 [details] to this issue, the patch contains a fix for the actual underlying issue, and the following push to try seems to confirm that the fix is effective on fixing this intermittent:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=5a63b6a1a973ac9cd40140e6f28b99a9a20c1ef7

Given that attachment 9044676 [details] is a pretty small patch, I think that it should be able to get reviewed and landed today.

Flags: needinfo?(csabou)
Assignee: nobody → lgreco
Status: NEW → ASSIGNED

Hi Luca, I totally agree. I always prefer for the problem to be tackled and fixed than disabled. Thanks for the patch. Lets hold off on disabling.

Flags: needinfo?(csabou)
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/6e630f7bd8b4
Check if contentWindow is a dead wrapper in the InnerWindowReference invalidate method. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]

I'm marking this as [stockwell fixed], because the test has not been disabled on the android platform (it is still disabled on windows debug, but that is tracked by Bug 1485567), the patch landed (linked in comment 18) is the fix for the underlying issue (attachment 9044676 [details]).

Whiteboard: [stockwell disabled] → [stockwell fixed]

From my understanding this issue is related to the addon tests. Is there any need of manual QA here? If not can you please mark it as "qe-verify- "

Flags: needinfo?(lgreco)
Flags: needinfo?(lgreco) → qe-verify-
You need to log in before you can comment on or make changes to this bug.