Closed Bug 1605236 Opened 4 years ago Closed 4 years ago

Perma Linux browser/base/content/test/popupNotifications/browser_displayURI.js | Uncaught exception [...] browser_displayURI.js:105 - TypeError: content.navigator.getVRDisplays is not a function when Gecko 73 merges to beta on 2020-01-06

Categories

(Core :: WebVR, defect, P1)

73 Branch
Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
mozilla73
Tracking Status
firefox-esr68 --- unaffected
firefox71 --- unaffected
firefox72 --- unaffected
firefox73 + verified

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=281921916&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kld79NOBSKybKId4N8zMnw/runs/0/artifacts/public/logs/live_backing.log


central-as-beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=281921916&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Crunning%2Cpending%2Crunnable&revision=d23b19ffbfc7c4a4d4cfcb86485ac7ac4313756a&searchStr=browser-chrome

TEST-UNEXPECTED-FAIL | browser/base/content/test/popupNotifications/browser_displayURI.js | Uncaught exception - at chrome://mochitests/content/browser/browser/base/content/test/popupNotifications/browser_displayURI.js:105 - TypeError: content.navigator.getVRDisplays is not a function

Fails because webvr is disabled for Linux on release and beta: https://searchfox.org/mozilla-central/rev/b243debf6235b050b42fd2eb615fdc729636ca6b/modules/libpref/init/StaticPrefList.yaml#2428

Has Regression Range: --- → yes
Keywords: regression
Assignee: nobody → kgilbert
Flags: needinfo?(kgilbert)
Priority: -- → P1
Hardware: Unspecified → Desktop
Version: unspecified → 73 Branch

I'll take this. It will be fixed by bypassing the test_displayURI_xr portion of the test when dom.vr.enabled is not true.

This occurs due to dom.vr.enabled being true for Linux in Nightly but false for Linux in Beta and Release.

Kip, your patch works: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=283111820&repo=try&lineNumber=2937
Can you please ask for a review and have it landed? Thank you.

Flags: needinfo?(kgilbert)

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

Kip, your patch works: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=283111820&repo=try&lineNumber=2937
Can you please ask for a review and have it landed? Thank you.

I found one additional part of the test that needs to be skipped when dom.vr.enabled is preffed off. This would only be causing failures in a beta simulation.

I'll have an updated patch shortly and will assign for review ASAP.

Flags: needinfo?(kgilbert)

The updated patch worked locally when disabling dom.vr.enabled, and should prevent the failures in beta.

Pushed by kgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e90a1ce39bd7
Prevent browser_displayURI.js test from testing the VR device access prompt when VR is disabled r=mccr8
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: