Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Changes since last review for fx peer review #121

Closed
wants to merge 32 commits into from
Closed

Conversation

johannhof
Copy link
Contributor

This should be fairly straightforward...

ericawright and others added 30 commits September 7, 2018 16:50
Add missing browser.safebrowsing.provider.mozilla.lists pref
All users will see the "Content Blocking" onboarding
Add icon to addon for about:addons.
This introduces a new attribute on the tabInfo called
"payloadWaitingForSurvey", which keeps a payload that is currently held
back from sending because the user still needs to respond to the reload
survey.

During testing I have also found that the onBeforeUnload event tends to
be unreliable in certain cases (mostly when closing tabs), so this patch
further makes onUnload record data as well.. It was necessary to send some
of it along anyway, because the Browser:Reload event seems to arrive after
onbeforeunload and so we need to send it in onunload. Sorry for the
mess.
Make the reload survey apply to the document that was actually reloaded.
From my testing, getting the document from the event target of the
unload event is more reliable than accessing the document getter on the
docShell. I'm not sure why the docShell loses this property earlier, but
it makes sense to use the event target since this is a web API and
should have more stability guarantees than our internal docShell.
Disable the FastBlock limit explicitly in all branches.
Get the document from the unload event instead of the docShell
remove testing flag, increment version number
Allow survey to be shown on the same tab again after navigation
Copy link

@nhnt11 nhnt11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks sane

@cknowles-admin cknowles-admin added the ARCHIVED - http://mzl.la/ghe-archive CLOSED at time of archiving label Jul 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED - http://mzl.la/ghe-archive CLOSED at time of archiving
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants