Open Bug 1318114 Opened 8 years ago Updated 2 years ago

Nicer alert message

Categories

(WebExtensions :: Frontend, defect, P5)

defect

Tracking

(firefox53 affected)

Tracking Status
firefox53 --- affected

People

(Reporter: andy+bugzilla, Unassigned)

Details

(Whiteboard: triaged)

Attachments

(1 file)

If you throw an alert you can get a message that reads:

The page moz-extension://..... says:

It would be awesome if we could get that to say something like:

The extension [Totally Awesome Add-on] says:

Attached is an example from tabs-tabs-tabs when you zoom to full:

https://github.com/mdn/webextensions-examples/tree/master/tabs-tabs-tabs
Priority: -- → P5
Whiteboard: triaged
Simply the "name" from the add-on manifest.json would be a big improvement over moz-extensions://meaningless-data.

I was hoping bug 1333376 would improve this, but the titlePreface is actually put after that moz-extensions thing, so the user can't even see it.
Product: Toolkit → WebExtensions

Is this still relevant? alert() and similar stuff don’t include the header “The page at moz-extension://[…] says” on my Firefox. Or is it an macOS specific issue?

Flags: needinfo?(mixedpuppy)

Try the example from comment 0 and see if it still reproduces, it probably does.

Flags: needinfo?(mixedpuppy)
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: