Closed Bug 1663501 Opened 4 years ago Closed 4 years ago

Use geolocation monitor in region.jsm

Categories

(Firefox :: Search, enhancement, P1)

enhancement
Points:
3

Tracking

()

RESOLVED FIXED
85 Branch
Iteration:
83.2 - Oct 5 - Oct 18
Tracking Status
firefox85 --- fixed

People

(Reporter: daleharvey, Assigned: daleharvey)

References

Details

Attachments

(1 file)

In https://bugzilla.mozilla.org/show_bug.cgi?id=1653602 we added a geolocation monitor so we can access the system geolocation, we need to update Region.jsm to be able to use it

Iteration: --- → 83.1 - Sept 21 - Oct 4
Points: --- → 3
Priority: -- → P1
Iteration: 83.1 - Sept 21 - Oct 4 → 83.2 - Oct 5 - Oct 18
Pushed by dharvey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b66d6544ad5a Use geolocation monitor for region updates r=Standard8

Backed out changeset b66d6544ad5a (bug 1663501) for payment-reporting.https.html failures.

Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&fromchange=f36f3ed54672f2244b770d07bf1fd1fe55286762&searchStr=android%2C7.0%2Cx86-64%2Copt%2Cweb%2Cplatform%2Ctests%2Ctest-android-em-7.0-x86_64%2Fopt-geckoview-web-platform-tests-e10s%2Cwpt5&selectedTaskRun=f6uoaGTER-i7nZ7WwyMJYg.0&tochange=9dbe57dc0d1b83ae109f84adae65b2bc8b402a5d

Backout link: https://hg.mozilla.org/integration/autoland/rev/9dbe57dc0d1b83ae109f84adae65b2bc8b402a5d

Failure log: https://treeherder.mozilla.org/logviewer?job_id=321624606&repo=autoland&lineNumber=1647

[task 2020-11-12T22:44:34.340Z] 22:44:34     INFO - TEST-START | /feature-policy/reporting/payment-reporting.https.html
[task 2020-11-12T22:44:34.347Z] 22:44:34     INFO - Closing window 21
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - 
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - TEST-PASS | /feature-policy/reporting/camera-reporting.https.html | Camera Report Format 
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - TEST-PASS | /feature-policy/reporting/encrypted-media-reporting.https.html | Encrypted Media report format 
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - TEST-PASS | /feature-policy/reporting/fullscreen-reporting.html | Fullscreen Report Format 
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - TEST-PASS | /feature-policy/reporting/geolocation-reporting.https.html | Geolocation Report Format 
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - TEST-PASS | /feature-policy/reporting/microphone-reporting.https.html | Microphone Report Format 
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - TEST-PASS | /feature-policy/reporting/midi-reporting.https.html | MIDI Report Format 
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - TEST-UNEXPECTED-FAIL | /feature-policy/reporting/payment-reporting.https.html | PaymentRequest Report Format - assert_throws_dom: PaymentRequest API should not be allowed in this document. function "() => new PaymentRequest(
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO -     [{ supportedMethods: 'basic-card' }],
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO -     { total: { label: 'Total', amount: { currency: 'USD', value: 0 }}},
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO -     {}).show()" threw object "ReferenceError: PaymentRequest is not defined" that is not a DOMException SecurityError: property "code" is equal to undefined, expected 18
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - @https://web-platform.test:8443/feature-policy/reporting/payment-reporting.https.html:28:20
[task 2020-11-12T22:44:34.711Z] 22:44:34     INFO - Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:2044:25
[task 2020-11-12T22:44:34.712Z] 22:44:34     INFO - Test.prototype.step_func/<@https://web-platform.test:8443/resources/testharness.js:2069:35
[task 2020-11-12T22:44:34.712Z] 22:44:34     INFO - @https://web-platform.test:8443/feature-policy/reporting/payment-reporting.https.html:34:3
[task 2020-11-12T22:44:34.861Z] 22:44:34     INFO - TEST-OK | /feature-policy/reporting/payment-reporting.https.html | took 519ms
Flags: needinfo?(dharvey)

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:daleharvey, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(dharvey)

Hey, sorry I have been debugging this and trying to figure out the test failures, been tricky as I cant reproduce on a local build but can see them intermitently on try, should get to it today

Flags: needinfo?(dharvey)
Attachment #9177511 - Attachment description: Bug 1663501 - Use geolocation monitor for region updates → Bug 1663501 - Use geolocation monitor for region updates r=Standard8
Pushed by dharvey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4e53260a7118 Use geolocation monitor for region updates r=Standard8
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: