Closed Bug 1964063 Opened 1 year ago Closed 1 year ago

Content process crash when resetting geolocation override if override was not set before

Categories

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

defect
Points:
2

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox138 --- unaffected
firefox139 --- fixed
firefox140 --- fixed

People

(Reporter: Sasha, Assigned: Sasha)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [webdriver:m16], [wptsync upstream])

Attachments

(3 external files)

While investigating a Playwright test failure, I've noticed that calling browsingContext.setGeolocationServiceOverride without arguments (to reset the override) without override being set causes a crash.

Assignee: nobody → aborovova
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1962205

Whiteboard: [webdriver:m16]
Points: --- → 2
Priority: -- → P2
Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1510d7495909 Try to reset a geolocation override only if it was set before. r=saschanaz https://hg.mozilla.org/integration/autoland/rev/e5708b16fccf [wdspec] Add test for "emulation.setGeolocationOverride" to reset the override without it being set. r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/52348 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m16] → [webdriver:m16], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Attachment #9485699 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: Geolocation override will cause a content process crash when resetting geolocation override if override was not set before
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: None
  • Risk associated with taking this patch: Low
  • Explanation of risk level: It only affects test automation scenarios
  • String changes made/needed: None
  • Is Android affected?: yes
Upstream PR merged by moz-wptsync-bot
Flags: in-testsuite+
Attachment #9485699 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: