Closed Bug 1062171 Opened 10 years ago Closed 10 years ago

Cannot get mozSettings vaule on b2g desktop-client intermittently.

Categories

(Firefox OS Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1061510

People

(Reporter: evanxd, Assigned: qdot)

References

Details

      No description provided.
Cannot get mozSettings vaule intermittently in the b2g desktop-client.

STR:
0. Before do the below things, make sure you installed node and npm.
1. Clone this branch: https://github.com/evanxd/gaia/tree/bug-1062171
2. Run a JSMarionette test with `make test-integration-test TEST_FILES=apps/calendar/test/marionette/day_view_test.js VERBOSE=1`

Expected:
navigator.mozHour12 could "always" get the default value as `true` from the `locale.hour12` mozSettings. And we could see "do request"[1], "onsuccess"[2], or "onerror"[3] message in the terminal.

Actual:
navigator.mozHour12 could not get the default value as `true` from the `locale.hour12` mozSettings "intermittently". Then we only see "do request" but no "onsuccess", or "onerror" message in the terminal.

[1] https://github.com/evanxd/gaia/blob/bug-1062171/shared/js/date_time_helper.js#L33
[2] https://github.com/evanxd/gaia/blob/bug-1062171/shared/js/date_time_helper.js#L36
[3] https://github.com/evanxd/gaia/blob/bug-1062171/shared/js/date_time_helper.js#L40
Summary: Cannot get mozSettings vaule intermittently → Cannot get mozSettings vaule intermittently on b2g desktop-client
Hi Kyle,

Could you help this?

Thanks.
Flags: needinfo?(kyle)
Summary: Cannot get mozSettings vaule intermittently on b2g desktop-client → Cannot get mozSettings vaule on b2g desktop-client intermittently.
Blocks: 1061135
Assignee: nobody → kyle
Flags: needinfo?(kyle)
Ran integration test, setting READONLY error from bug 1061510 on failing tests. So, I'm assuming this is a dupe of that. However, at least now we have a decent repro! :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.