hard code live remote setting server location #127
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #122.
https://firefox-source-docs.mozilla.org/python/marionette_driver.html
I did two things:
https://firefox.settings.services.mozilla.com/v1"
.to explain
With enough investigation we can stumble upon this page which says:
If you open the browser developer tools in a normal nightly browser, and look at that exact portion of the indexedDB, you will notice that this is where all our anti-tracking lists are stored.
To motivate things more, this file is empty with in broken controlled browser.
If we look elsewhere on the same page, we learn this:
If you look at the console of the normal nightly, you'll see that it's very clean:
But our controlled nightly instance has errors, conveniently for us in the RemoteSettingsClient:
The error is especially useful to clue us in on what has happened. The local database is empty, so the client attempts to fetch settings from a sever, but fails since "data:,#remote-settings-dummy/v1" is not a real server. So, when we explicitly assign "services.settings.server" as "https://firefox.settings.services.mozilla.com/v1" in our preferences, we ensure that the local database gets synced with a real target.
With the change, our console looks nice again:
Moreover, the local database is flush, which is what we really care about:
Analysis file:
analysisfile.txt
screenshot of browser: