Closed Bug 1458827 Opened Last year Closed Last year

Add debugging tips to developer documentation

Categories

(Firefox :: Remote Settings Client, enhancement)

57 Branch
enhancement
Not set

Tracking

()

RESOLVED FIXED
Firefox 61
Tracking Status
firefox61 --- fixed

People

(Reporter: leplatrem, Assigned: leplatrem)

Details

Attachments

(1 file)

Debugging tips like:

- How to trigger a sync manually
- How to inspect local databases

:mythmon  pointed out that Bug 1445160 has landed, making databases made from JSMs accessible to the storage inspector in the Browser Toolbox.

To get there, go to Tools > Developer > Browser Toolbox (or ctrl+shift+alt+i). In the storage inspector,  DB is listed under "Indexed DB > chrome > "
Also, Gijs pointed out that the `.get({ filters: { enabled: true } })` was not a good example.

`.get({ filters: { property: "value" } })` would be better.
Assignee: nobody → mathieu
Status: NEW → ASSIGNED
Comment on attachment 8972943 [details]
Bug 1458827 - Add more information about RemoteSettings for developers

https://reviewboard.mozilla.org/r/241492/#review247328

Looks great! Highly polished, very mature.
Attachment #8972943 - Flags: review?(eglassercamp) → review+
Comment on attachment 8972943 [details]
Bug 1458827 - Add more information about RemoteSettings for developers

https://reviewboard.mozilla.org/r/241492/#review247524

Thanks!

::: services/common/docs/RemoteSettings.rst:201
(Diff revision 1)
> +
> +.. code-block:: js
> +
> +    const BlocklistClients = ChromeUtils.import("resource://services-common/blocklist-clients.js", {});
> +
> +    BlocklistClients.initialize();

Is this sync or async?
Attachment #8972943 - Flags: review?(gijskruitbosch+bugs) → review+
Keywords: checkin-needed
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a9c753c1bb5d
Add more information about RemoteSettings for developers r=Gijs,glasserc
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a9c753c1bb5d
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
You need to log in before you can comment on or make changes to this bug.