Closed Bug 1661697 Opened 5 years ago Closed 5 years ago

Perma /document-policy/experimental-features/document-write.tentative.html | ReferenceError: ReportingObserver is not defined when Gecko 82 merges to Beta on 2020-09-21

Categories

(Core :: DOM: Security, defect, P2)

defect

Tracking

()

VERIFIED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- unaffected
firefox81 --- unaffected
firefox82 + verified

People

(Reporter: apavel, Assigned: aryx)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [domsecurity-active])

Attachments

(1 file)

Central as Beta simulation

Treeherder link: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=b2397d6ab01e9cdbac541728e44a219082d5d762&selectedTaskRun=fZEKB-QtR0OzIik8vOUBPA.0

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=314272237&repo=try&lineNumber=1791

[task 2020-08-28T11:18:09.715Z] 11:18:09 INFO - TEST-START | /document-policy/experimental-features/document-write.tentative.html
[task 2020-08-28T11:18:09.957Z] 11:18:09 INFO - PID 1862 | [2143, Unnamed thread 7ff2f745d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-08-28T11:18:09.957Z] 11:18:09 INFO - PID 1862 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp_Asqtl/runtests_leaks_1102.log
[task 2020-08-28T11:18:09.957Z] 11:18:09 INFO - PID 1862 | [2143, Unnamed thread 7ff2f745d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-08-28T11:18:09.957Z] 11:18:09 INFO - PID 1862 | [2143, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-08-28T11:18:10.065Z] 11:18:10 INFO - PID 1862 | [Child 2143, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp, line 626
[task 2020-08-28T11:18:10.493Z] 11:18:10 INFO - TEST-UNEXPECTED-ERROR | /document-policy/experimental-features/document-write.tentative.html | ReferenceError: ReportingObserver is not defined
[task 2020-08-28T11:18:10.494Z] 11:18:10 INFO - @http://web-platform.test:8000/document-policy/experimental-features/resources/common.js:66:3
[task 2020-08-28T11:18:10.494Z] 11:18:10 INFO - Tests.prototype.setup@http://web-platform.test:8000/resources/testharness.js:2668:17
[task 2020-08-28T11:18:10.494Z] 11:18:10 INFO - setup@http://web-platform.test:8000/resources/testharness.js:846:15
[task 2020-08-28T11:18:10.494Z] 11:18:10 INFO - @http://web-platform.test:8000/document-policy/experimental-features/resources/common.js:65:6
[task 2020-08-28T11:18:10.494Z] 11:18:10 INFO - TEST-INFO took 781ms
[task 2020-08-28T11:18:10.524Z] 11:18:10 INFO - PID 1862 | 1598613490516 Marionette INFO Stopped listening on port 54581
[task 2020-08-28T11:18:10.804Z] 11:18:10 INFO - PID 1862 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:18:10.822Z] 11:18:10 INFO - PID 1862 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:18:11.062Z] 11:18:11 INFO - PID 1862 | [Child 2025, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-08-28T11:18:11.086Z] 11:18:11 INFO - PID 1862 | [Child 2025, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4286
[task 2020-08-28T11:18:11.250Z] 11:18:11 INFO - PID 1862 | [Child 2045, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-08-28T11:18:11.271Z] 11:18:11 INFO - PID 1862 | [Child 2045, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4286
[task 2020-08-28T11:18:11.493Z] 11:18:11 INFO - PID 1862 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:18:11.549Z] 11:18:11 INFO - PID 1862 | [Child 2143, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-08-28T11:18:11.564Z] 11:18:11 INFO - PID 1862 | [Child 2143, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4286
[task 2020-08-28T11:18:11.727Z] 11:18:11 INFO - PID 1862 | [Child 2106, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-08-28T11:18:11.753Z] 11:18:11 INFO - PID 1862 | [Child 2106, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4286
[task 2020-08-28T11:18:11.832Z] 11:18:11 INFO - PID 1862 | [Parent 1862, Main Thread] WARNING: NS_ENSURE_TRUE(mDB) failed: file /builds/worker/checkouts/gecko/netwerk/cache/nsDiskCacheDeviceSQL.cpp, line 1276
[task 2020-08-28T11:18:12.980Z] 11:18:12 INFO - PID 1862 | [Parent 1862, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-08-28T11:18:12.981Z] 11:18:12 INFO - PID 1862 | [Parent 1862, Main Thread] ###!!! ASSERTION: Could not get nsICertStorage: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/xpcom/base/AppShutdown.cpp, line 167
[task 2020-08-28T11:18:13.028Z] 11:18:13 INFO - PID 1862 | [Parent 1862, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4286
[task 2020-08-28T11:18:13.064Z] 11:18:13 INFO - Browser exited with return code 0

Flags: needinfo?(james)
Summary: Perma Beta /document-policy/experimental-features/document-write.tentative.html | ReferenceError: ReportingObserver is not defined when Gecko 82 merges to Beta on 2020-09-21 → Perma /document-policy/experimental-features/document-write.tentative.html | ReferenceError: ReportingObserver is not defined when Gecko 82 merges to Beta on 2020-09-21

There is also this perma failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=314272874&repo=try&lineNumber=6827

[task 2020-08-28T11:46:11.799Z] 11:46:11 INFO - TEST-START | /document-policy/reporting/document-write-report-only-tentative.html
[task 2020-08-28T11:46:12.780Z] 11:46:12 INFO - PID 21630 | -----------------------------------------------------
[task 2020-08-28T11:46:12.780Z] 11:46:12 INFO - PID 21630 | Suppressions used:
[task 2020-08-28T11:46:12.780Z] 11:46:12 INFO - PID 21630 | count bytes template
[task 2020-08-28T11:46:12.780Z] 11:46:12 INFO - PID 21630 | 13 416 nsComponentManagerImpl
[task 2020-08-28T11:46:12.780Z] 11:46:12 INFO - PID 21630 | 633 18287 libfontconfig.so
[task 2020-08-28T11:46:12.780Z] 11:46:12 INFO - PID 21630 | -----------------------------------------------------
[task 2020-08-28T11:46:12.821Z] 11:46:12 INFO - PID 21630 | JavaScript error: https://web-platform.test:8443/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-channel-count.https.html, line 47: TypeError: context.suspend is not a function
[task 2020-08-28T11:46:12.976Z] 11:46:12 INFO -
[task 2020-08-28T11:46:12.976Z] 11:46:12 INFO - TEST-UNEXPECTED-FAIL | /document-policy/reporting/document-write-report-only-tentative.html | Document-write report only mode - promise_test: Unhandled rejection with value: object "ReferenceError: ReportingObserver is not defined"
[task 2020-08-28T11:46:12.976Z] 11:46:12 INFO - TEST-INFO | expected TIMEOUT
[task 2020-08-28T11:46:12.976Z] 11:46:12 INFO - TEST-UNEXPECTED-OK | /document-policy/reporting/document-write-report-only-tentative.html | expected TIMEOUT
[task 2020-08-28T11:46:12.977Z] 11:46:12 INFO - TEST-INFO expected TIMEOUT | took 1174ms
[task 2020-08-28T11:46:12.994Z] 11:46:12 INFO - PID 22779 | 1598615172990 Marionette INFO Stopped listening on port 44540
[task 2020-08-28T11:46:13.253Z] 11:46:13 INFO - PID 22779 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:46:13.253Z] 11:46:13 INFO - PID 22779 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:46:13.313Z] 11:46:13 INFO - PID 22779 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:46:13.315Z] 11:46:13 INFO - PID 22779 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:46:13.349Z] 11:46:13 INFO - PID 22779 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:46:13.369Z] 11:46:13 INFO - PID 22779 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-08-28T11:46:14.333Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:14.340Z] 11:46:14 INFO - PID 22779 | Suppressions used:
[task 2020-08-28T11:46:14.340Z] 11:46:14 INFO - PID 22779 | count bytes template
[task 2020-08-28T11:46:14.340Z] 11:46:14 INFO - PID 22779 | 13 416 nsComponentManagerImpl
[task 2020-08-28T11:46:14.340Z] 11:46:14 INFO - PID 22779 | 633 18287 libfontconfig.so
[task 2020-08-28T11:46:14.341Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | Suppressions used:
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | count bytes template
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | 13 416 nsComponentManagerImpl
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | 633 18287 libfontconfig.so
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | Suppressions used:
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | count bytes template
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | 13 416 nsComponentManagerImpl
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | 2 288 libfontconfig.so
[task 2020-08-28T11:46:14.592Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:14.594Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:14.596Z] 11:46:14 INFO - PID 22779 | Suppressions used:
[task 2020-08-28T11:46:14.597Z] 11:46:14 INFO - PID 22779 | count bytes template
[task 2020-08-28T11:46:14.597Z] 11:46:14 INFO - PID 22779 | 13 416 nsComponentManagerImpl
[task 2020-08-28T11:46:14.597Z] 11:46:14 INFO - PID 22779 | 633 18287 libfontconfig.so
[task 2020-08-28T11:46:14.597Z] 11:46:14 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:16.192Z] 11:46:16 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:16.192Z] 11:46:16 INFO - PID 22779 | Suppressions used:
[task 2020-08-28T11:46:16.192Z] 11:46:16 INFO - PID 22779 | count bytes template
[task 2020-08-28T11:46:16.192Z] 11:46:16 INFO - PID 22779 | 10 312 nsComponentManagerImpl
[task 2020-08-28T11:46:16.192Z] 11:46:16 INFO - PID 22779 | 633 18083 libfontconfig.so
[task 2020-08-28T11:46:16.193Z] 11:46:16 INFO - PID 22779 | 2 384 mozJSComponentLoader
[task 2020-08-28T11:46:16.193Z] 11:46:16 INFO - PID 22779 | -----------------------------------------------------
[task 2020-08-28T11:46:16.293Z] 11:46:16 INFO - Browser exited with return code 0
[...]
1:46:54 INFO - TEST-UNEXPECTED-NOTRUN | /document-policy/reporting/document-write-reporting-tentative.html | Document-write Report Format - expected FAIL
11:46:54 INFO - TEST-UNEXPECTED-ERROR | /document-policy/reporting/document-write-reporting-tentative.html | ReferenceError: ReportingObserver is not defined
11:47:07 INFO - TEST-UNEXPECTED-FAIL | /document-policy/reporting/lossy-images-max-bpp-reporting-onload-tentative.html | unoptimized-images Report Format - ReportingObserver is not defined
11:47:07 INFO - TEST-UNEXPECTED-OK | /document-policy/reporting/lossy-images-max-bpp-reporting-onload-tentative.html | expected TIMEOUT
11:47:20 INFO - TEST-UNEXPECTED-FAIL | /document-policy/reporting/lossy-images-max-bpp-reporting-tentative.html | unoptimized-images Report Format - ReportingObserver is not defined
11:47:20 INFO - TEST-UNEXPECTED-OK | /document-policy/reporting/lossy-images-max-bpp-reporting-tentative.html | expected TIMEOUT
11:47:33 INFO - TEST-UNEXPECTED-FAIL | /document-policy/reporting/oversized-images-reporting-tentative.html | oversized-images Report Format - ReportingObserver is not defined
7119 11:47:33 INFO - TEST-UNEXPECTED-OK | /document-policy/reporting/oversized-images-reporting-tentative.html | expected TIMEOUT
11:47:47 INFO - TEST-UNEXPECTED-FAIL | /document-policy/reporting/unsized-media-reporting-tentative.html | Unsized-media Report Format - ReportingObserver is not defined
11:47:47 INFO - TEST-UNEXPECTED-OK | /document-policy/reporting/unsized-media-reporting-tentative.html | expected TIMEOUT
11:47:52 ERROR - Return code: 1

Christoph, could you please have a look over this one? Should ReportingObserver be defined for release_or_beta? Or maybe updating the expectations for the tests would suffice.
Looks like a fallout of https://hg.mozilla.org/mozilla-central/rev/5176c6690b0da0ba059f3a209ab15203078598a9. Thank you.

Flags: needinfo?(ckerschb)

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

Christoph, could you please have a look over this one? Should ReportingObserver be defined for release_or_beta? Or maybe updating the expectations for the tests would suffice.
Looks like a fallout of https://hg.mozilla.org/mozilla-central/rev/5176c6690b0da0ba059f3a209ab15203078598a9. Thank you.

Baku, I suppose those tests need to be annotated as failing, right?

Flags: needinfo?(ckerschb) → needinfo?(amarchesini)
Assignee: nobody → aryx.bugmail
Status: NEW → ASSIGNED
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/d2d0da24ff5a adjust expectations on beta and release for document-policy tests which depend on ReportingObserver (only enabled in Nightly). r=ckerschb DONTBUILD
Severity: -- → S4
Priority: -- → P2
Whiteboard: [domsecurity-active]
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: