Open Bug 1462266 Opened 6 years ago Updated 2 years ago

"Your New Tab has changed" message re-appears after calling `browser.runtime.reload()`

Categories

(WebExtensions :: Frontend, defect, P3)

58 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: juraj.masiar, Unassigned)

Details

(Whiteboard: [webext-2020])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180514150347

Steps to reproduce:

See the attachment video or:
1) install add-on overriding New Tab page
2) open New Tab page
3) click "Keep Changes"
4) open console and execute `browser.runtime.reload()`
5) open New tab


Actual results:

The message "Your New Tab has changed" is shown again, every time the code is executed.


Expected results:

The message should be shown only once.

Note that this behavior seems to be affecting only normally installed add-ons and temporary installed add-ons through about:debugging page are not affected...
browser.runtime.reload() is implemented as disable followed by enable.  And currently when an extension is disabled we reset the stored state about the notification so it is shown again when the extension is re-enabled.
Mark, any thoughts?
Flags: needinfo?(mstriemer)
That's what I was thinking it was doing and that is unfortunate in this case. I'll leave my NI? and look into this some more.
Priority: -- → P2
Product: Toolkit → WebExtensions
Flags: needinfo?(mstriemer)
Whiteboard: P2020

Hey Shane, would you mind to double-check if we should had this as a dependency of the new-tab meta issue and if the priority of this should still be P2?

Flags: needinfo?(mixedpuppy)
Whiteboard: P2020 → [webext-2020]

I'm not sure what the new-tab meta issue is. The new-tab selection in about:preferences would be unrelated to this. In any case, I think this is a low priority.

Flags: needinfo?(mixedpuppy)
Priority: P2 → P3

Hey, I'd like to bump this. This occurs when restarting the browser, too, and since I use an extension (tridactyl) to avoid using a mouse, this breaks my workflow, and sometimes I need to use the addons manager to re-enable the extension and restart the browser again.

The same(In reply to davidrsmorris from comment #5)

Hey, I'd like to bump this. This occurs when restarting the browser, too, and since I use an extension (tridactyl) to avoid using a mouse, this breaks my workflow, and sometimes I need to use the addons manager to re-enable the extension and restart the browser again.

Same here, it is quite infuriating.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: