Closed
Bug 1225519
Opened 10 years ago
Closed 7 years ago
Permission in Page info should say "Send notifications" instead of "Receive notifications"
Categories
(Firefox :: Page Info Window, defect, P3)
Firefox
Page Info Window
Tracking
()
RESOLVED
FIXED
Firefox 64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: flod, Assigned: manishkk, Mentored)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file, 1 obsolete file)
|
1.37 KB,
patch
|
lina
:
review+
|
Details | Diff | Splinter Review |
https://hg.mozilla.org/mozilla-central/file/f8b569906e4c/browser/locales/en-US/chrome/browser/sitePermissions.properties#l11
permission.desktop-notification2.label = Receive Notifications
Should be "Send Notifications"
| Comment hidden (off-topic) |
| Reporter | ||
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Updated•8 years ago
|
Mentor: jhofmann
Status: REOPENED → NEW
status-firefox45:
affected → ---
Keywords: good-first-bug
Priority: -- → P3
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → 1991manish.kumar
| Reporter | ||
Comment 3•8 years ago
|
||
Needinfo is to ask for information. In this case, you're attaching a patch, so you can set the review flag to Johann.
Having said that: you're changing an existing string, which means you need to use a new ID in the .properties file, and update the code to reference it (potentially look for tests too).
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings
Flags: needinfo?(jhofmann)
| Assignee | ||
Comment 4•8 years ago
|
||
How can I test this code?
'./mach mochitest'
Flags: needinfo?(jhofmann)
Comment 5•8 years ago
|
||
(In reply to Manish Kumar [:manishkk] from comment #4)
> How can I test this code?
>
> './mach mochitest'
Since you're only updating copy I'm not sure you really need to test it. If you'd like to test a bit of UI that is affected by this locally, you can run
./mach mochitest browser/base/content/test/permissions
or
./mach mochitest browser/base/content/test/pageinfo
You can also do a try run (https://wiki.mozilla.org/ReleaseEngineering/TryServer). Do you have try access? If not, I'm happy to vouch for you.
I'd personally recommend just going to https://permission.site/, accepting the notification prompt and checking the updated label in the identity popup.
Flags: needinfo?(jhofmann)
| Assignee | ||
Comment 6•8 years ago
|
||
Thanks, you already vouch for me.
| Reporter | ||
Comment 7•7 years ago
|
||
@manish
Were you able to make any progress with this bug?
Flags: needinfo?(1991manish.kumar)
| Assignee | ||
Comment 8•7 years ago
|
||
:johannh
After the changes:
This fails this test:
./mach mochitest browser/base/content/test/permissions
https://pastebin.mozilla.org/9092694
Flags: needinfo?(1991manish.kumar) → needinfo?(francesco.lodolo)
Comment 9•7 years ago
|
||
Hi Manish! Did you update https://searchfox.org/mozilla-central/rev/c3fef66a5b211ea8038c1c132706d02db408093a/browser/modules/SitePermissions.jsm#757 with the new string ID, too?
Flags: needinfo?(francesco.lodolo) → needinfo?(1991manish.kumar)
| Assignee | ||
Comment 10•7 years ago
|
||
Yes! I updated string ID also.
Please check patch!
Attachment #8986942 -
Attachment is obsolete: true
Flags: needinfo?(1991manish.kumar)
Attachment #9006098 -
Flags: review?(lina)
Comment 11•7 years ago
|
||
Comment on attachment 9006098 [details] [diff] [review]
Patch_Bug1225519
LGTM, but I've triggered a Try run just in case. :-) Thanks, Manish! https://treeherder.mozilla.org/#/jobs?repo=try&revision=e32357def06b6ddb7f45d46006a06a503c69f020
Attachment #9006098 -
Flags: review?(lina) → review+
Updated•7 years ago
|
Keywords: checkin-needed
Comment 12•7 years ago
|
||
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/10da2f00e15d
Permission in Page info should say Send notifications instead of Receive notifications r=lina
Keywords: checkin-needed
Comment 13•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago → 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment 14•7 years ago
|
||
I have reproduced this bug with Nightly 45.0a1 (2015-11-18) on Windows 10, 64 Bit!
This bug's fix is verified with latest Nightly!
Build ID - 20180910220142
User Agent - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64
QA Whiteboard: [bugday-20180905]
You need to log in
before you can comment on or make changes to this bug.
Description
•