mozilla / doh-rollout

DEPRECATED - Add on for initial DoH rollout
Mozilla Public License 2.0
7 stars 4 forks source link

The DoH doorhanger is not displayed again after reopening the tab on which it was previously triggered #180

Closed SoftVision-CarmenFat closed 4 years ago

SoftVision-CarmenFat commented 4 years ago

[Affected Platforms]:

[Affected Versions]:

[Prerequisites]:

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Close the tab where the DoH doorhanger is displayed.
  3. Reopen the previosuly closed tab and observe the behavior.

[Expected result]:

[Actual result]:

[Notes]:

doorhanger

maxxcrawford commented 4 years ago

Once the doorhanger is removed from the current context (Tab close is an example of this), it won't show again until network change or browser restart.

This is expected behavior, I believe.

@nhi-nguyen Thoughts?

SoftVision-CarmenFat commented 4 years ago

Actually, on browser restart, the doorhanger is displayed again. This only happens when reopening the tab.

mythmon commented 4 years ago

Since the tab isn't (logically) associated with that particular tab, it seems that it shouldn't be affected by that tab closing. I realize that in the code the doorhanger is related to a particular tab, but that isn't something that is consistent with the message we are trying to send, since the message is about the browser, not a tab.

nhi-nguyen commented 4 years ago

Agree that the doorhanger isn't associated with a particular tab, and its behaviour should reflect that. However, this is the way it is currently implemented, and the reported behaviour is consistent with how it currently works.

This is an issue, but not a blocking one for this release. It will be done for https://github.com/mozilla/doh-rollout/issues/158, which will be in v1.3.

maxxcrawford commented 4 years ago

Bug filed: https://bugzilla.mozilla.org/show_bug.cgi?id=1605009