Closed Bug 1277668 Opened 8 years ago Closed 8 years ago

NewTabSearchProvider observing unknown topic showing up on console when adding search engines and in test

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 50
Tracking Status
firefox49 --- affected
firefox50 --- fixed

People

(Reporter: mkaply, Assigned: ursula)

References

Details

Attachments

(1 file)

If you have the new tab page up and add a search engine on another tab (for instance from developer.mozilla.org), you get this warning on the console:

NewTabSearchProvider observing unknown topic

You also get it a lot running the search tests, which can leads you to think something is wrong.

Either the new tab should not show this error, or it should ignore the topics in question:

engine-added
engine-loaded
engine-changed
engine-removed
Blocks: 1210410
Ursula, is this something you are going to fix? It's causing noise in search tests and thus making them harder to debug.
Flags: needinfo?(ursulasarracini)
Sure I can grab this
Flags: needinfo?(ursulasarracini)
Assignee: nobody → ursulasarracini
Comment on attachment 8766342 [details]
Bug 1277668 - NewTabSearchProvider observing unknown topic showing up on console when adding search engines and in test

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/61286/diff/1-2/
Attachment #8766342 - Flags: review?(oyiptong)
Comment on attachment 8766342 [details]
Bug 1277668 - NewTabSearchProvider observing unknown topic showing up on console when adding search engines and in test

https://reviewboard.mozilla.org/r/61286/#review58414

::: browser/components/newtab/NewTabSearchProvider.jsm:27
(Diff revision 2)
>  
>  function SearchProvider() {
>    EventEmitter.decorate(this);
>  }
>  
>  SearchProvider.prototype = {

this is an r+ pending a successful try-server build.

I suggest `try: -b do -p win32,linux64,macosx64 -u xpcshell,mochitests -t none`
Attachment #8766342 - Flags: review?(oyiptong) → review+
Pushed by olivier@olivieryiptong.com:
https://hg.mozilla.org/integration/autoland/rev/5fa8d3ba44f9
NewTabSearchProvider observing unknown topic showing up on console when adding search engines and in test r=oyiptong
https://hg.mozilla.org/mozilla-central/rev/5fa8d3ba44f9
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: