Commit Graph

76 Commits

Author SHA1 Message Date
Tooru Fujisawa
eda08a4a05 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Magnus Melin
93d4069ccb Bug 1646160 - make notificationbox labels Fluent capable. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D134375
2022-01-05 21:02:14 +00:00
Geoff Lankow
fdd9c76af7 Bug 1743058 - Set the default notification message telemetry scalar to null. r=NeilDeakin
If the .telemetry property is truthy, which it currently is by default, the message tries to add to telemetry scalars, even though the value makes no sense.

Differential Revision: https://phabricator.services.mozilla.com/D132207
2021-11-26 02:54:09 +00:00
Avinash
c23b3d9e79 Bug 1698349 - Changed the .small selectors to .small-button and since there were no uses of medium found that selector was removed . r=mhowell,mtigley,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D125341
2021-10-06 18:18:04 +00:00
Neil Deakin
ec5d2db23f Bug 1690390, add a flag to limit telemetry collection for notification bars to just selected changes as we only want to measure shown state for the subframe crash one, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D125735
2021-09-17 09:05:00 +00:00
Neil Deakin
359f6e34a6 Bug 1690390, add ability to perform telemetry when a notification bar is shown, a button is pressed, or is dismissed. Use this for the subframe crash notification bar which currently does this a different way, r=mstriemer,chutten
Differential Revision: https://phabricator.services.mozilla.com/D107756
2021-09-17 09:04:59 +00:00
Neil Deakin
6b3580b4b6 Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-17 09:04:59 +00:00
Narcis Beleuzu
c25133b5dc Backed out 3 changesets (bug 1690390) for mochitest failures on test_notificationbox.xhtml . CLOSED TREE
Backed out changeset e6404b7424cd (bug 1690390)
Backed out changeset a161177099af (bug 1690390)
Backed out changeset cc7e02d3d418 (bug 1690390)
2021-09-16 23:41:21 +03:00
Neil Deakin
6422c19333 Bug 1690390, add a flag to limit telemetry collection for notification bars to just selected changes as we only want to measure shown state for the subframe crash one, r=mstriemer
Depends on D107756

Differential Revision: https://phabricator.services.mozilla.com/D125735
2021-09-16 19:11:18 +00:00
Neil Deakin
ac8c74559d Bug 1690390, add ability to perform telemetry when a notification bar is shown, a button is pressed, or is dismissed. Use this for the subframe crash notification bar which currently does this a different way, r=mstriemer,chutten
Differential Revision: https://phabricator.services.mozilla.com/D107756
2021-09-16 19:11:17 +00:00
Neil Deakin
60bf60be5c Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-16 19:11:17 +00:00
Gijs Kruitbosch
fc906b8227 Bug 1711519 - remove non-proton notificationbox code and remove conditionals for proton, r=jaws
Depends on D116630

Differential Revision: https://phabricator.services.mozilla.com/D116631
2021-06-03 11:41:54 +00:00
Eitan Isaacson
d52a06eb2f Bug 1707185 - Make infobar messages labels for better Orca screen reader compatibility. r=mstriemer
To work with Orca there needs to be a nested LABEL or TEXT accessible. Changed the innermost span be a label instead. Not a great use of HTML, but it does the trick.

Differential Revision: https://phabricator.services.mozilla.com/D113863
2021-05-03 17:02:06 +00:00
Mark Striemer
9d2ae441b8 Bug 1692021 - Order infobars by appearance rather than priority r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112238
2021-04-17 01:08:37 +00:00
Csoregi Natalia
79b5d1198c Backed out changeset b80da7156f20 (bug 1692021) for failures on test_notificationbox.xhtml. CLOSED TREE 2021-04-15 23:36:29 +03:00
Mark Striemer
8f8f4e6bd8 Bug 1692021 - Order infobars by appearnce rather than priority r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112238
2021-04-15 19:20:53 +00:00
Mark Striemer
01058101b1 Bug 1702330 - Use local gProton in notificationbox.js r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D111309
2021-04-10 19:56:11 +00:00
Mark Striemer
0c53f87cfd Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-10 19:56:10 +00:00
Dorel Luca
275bea067f Backed out 9 changesets (bug 1702330) for Mochitest failures in toolkit/components/url-classifier/tests/mochitest/test_reporturl.html. CLOSED TREE
Backed out changeset f84605e6fc8b (bug 1702330)
Backed out changeset 79c63bf11b29 (bug 1702330)
Backed out changeset 5425a2312f6e (bug 1702330)
Backed out changeset d76516e0d07d (bug 1702330)
Backed out changeset 3b75ffae171a (bug 1702330)
Backed out changeset 4bb6ceb6adb3 (bug 1702330)
Backed out changeset 607be325b4e8 (bug 1702330)
Backed out changeset 4b345ea924cc (bug 1702330)
Backed out changeset c7f0de372b21 (bug 1702330)
2021-04-10 07:48:08 +03:00
Mark Striemer
cb010a1ec5 Bug 1702330 - Use local gProton in notificationbox.js r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D111309
2021-04-10 00:30:40 +00:00
Mark Striemer
ed003d55c9 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-10 00:30:39 +00:00
Neil Deakin
148b52e202 Bug 1702603, use command event for buttons in notificationbar, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D110875
2021-04-09 16:14:39 +00:00
James Teh
3a214451ec Bug 1703172: Set role="alert" on Proton info bars. r=Jamie
This allows screen readers to report info bars automatically when they appear.
It also allows the message text to be reported, which would normally be missed because it isn't focusable.

Differential Revision: https://phabricator.services.mozilla.com/D111035
2021-04-09 16:08:53 +00:00
Mark Striemer
06fbd5fbbe Bug 1703173 - Remove ftl adding support from notification-message r=jaws
It turns out the shadow document doesn't need its own FTL imports, the parent can
include them instead. This moves the requirement back onto the caller to ensure
that any FTL files it needs are already imported when creating a notification-message.

Depends on D111189

Differential Revision: https://phabricator.services.mozilla.com/D111190
2021-04-09 15:58:15 +00:00
Mark Striemer
b4182c01f7 Bug 1703173 - Add an aria-label for message-bar close button r=jaws,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D111189
2021-04-09 15:58:15 +00:00
Dorel Luca
b2afaf19c1 Backed out 8 changesets (bug 1702330)for Browser-chrome failures in est/popups/browser_popup_blocker.js. CLOSED TREE
Backed out changeset b81511f8e157 (bug 1702330)
Backed out changeset 15f60f1d3f14 (bug 1702330)
Backed out changeset 809af1f94b4b (bug 1702330)
Backed out changeset 63cec3eadb4f (bug 1702330)
Backed out changeset b9964fb4dd70 (bug 1702330)
Backed out changeset 1e5ccb47056e (bug 1702330)
Backed out changeset 65faaeeb2339 (bug 1702330)
Backed out changeset e72fb8b52609 (bug 1702330)
2021-04-09 20:21:35 +03:00
Mark Striemer
16e236c1b6 Bug 1702330 - Use local gProton in notificationbox.js r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D111309
2021-04-09 15:26:26 +00:00
Mark Striemer
36846ae8e6 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-09 15:26:24 +00:00
Alexandru Michis
4dfc6d4aff Backed out 5 changesets (bug 1702330) for causing failures in browser_aboutNewTab_defaultBrowserNotification.js
CLOSED TREE

Backed out changeset 365fd1bb6dde (bug 1702330)
Backed out changeset eba73c72be18 (bug 1702330)
Backed out changeset e1277c21543f (bug 1702330)
Backed out changeset 907e4fcda266 (bug 1702330)
Backed out changeset eb2a8569ed02 (bug 1702330)
2021-04-09 03:34:23 +03:00
Mark Striemer
6a5d582c80 Bug 1702330 - Use local gProton in notificationbox.js r=mconley
Depends on D111308

Differential Revision: https://phabricator.services.mozilla.com/D111309
2021-04-08 22:25:06 +00:00
Mark Striemer
1d3127392a Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-08 22:25:04 +00:00
smolnar
82e5283e16 Backed out changeset ae4aeeddd795 (bug 1702603) for causing browser-chrome failures in browser_Heartbeat. CLOSED TREE 2021-04-08 17:26:01 +03:00
Neil Deakin
a879299989 Bug 1702603, use command event for buttons in notificationbar, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D110875
2021-04-08 13:34:14 +00:00
Mark Striemer
e7a187ac59 Bug 1702201 - Fix Heartbeat infobar with proton enabled r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110632
2021-04-06 04:26:36 +00:00
Mark Striemer
26152c2e6b Bug 1702327 - Fix browser_storagePressure_notification.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110622
2021-04-06 04:26:32 +00:00
Mark Striemer
fbbb96ddb6 Bug 1702327 - Fix browser_datachoices_notification.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110620
2021-04-06 04:26:31 +00:00
Mark Striemer
e25cf56b5c Bug 1702327 - Fix browser_ProcessHangNotifications.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110617
2021-04-06 04:26:30 +00:00
Mark Striemer
d0a68cc3bd Bug 1702327 - Support translation with old notification r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110616
2021-04-06 04:26:29 +00:00
Mark Striemer
a517a96c36 Bug 1702327 - Fix browser_privatebrowsing_popupblocker.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110615
2021-04-06 04:26:29 +00:00
Mark Striemer
8d66c4dfd0 Bug 1702327 - Fix test_notificationbox.xhtml r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110614
2021-04-06 04:26:28 +00:00
Mark Striemer
4cb7946dc8 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-29 02:38:56 +00:00
Butkovits Atila
d44674b631 Backed out changeset 1890d2ac5a43 (bug 1690333) for causing failures on test_bug509732.xhtml. CLOSED TREE 2021-03-29 02:56:02 +03:00
Mark Striemer
ec8da555ef Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 19:04:34 +00:00
Butkovits Atila
918c913984 Backed out 2 changesets (bug 1690333, bug 1699250) for causing failures on test_bug509732.xhtml. CLOSED TREE
Backed out changeset dcba2814dbc4 (bug 1690333)
Backed out changeset ae3a0e6dde00 (bug 1699250)
2021-03-28 21:16:58 +03:00
Mark Striemer
f699cfce4c Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 17:02:21 +00:00
Cosmin Sabou
2027d03134 Backed out 2 changesets (bug 1690333, bug 1699250) for mochitest failures on test_notificationbox.xhtml.
Backed out changeset d6780d34ca05 (bug 1690333)
Backed out changeset 50cc5db86f1e (bug 1699250)
2021-03-27 23:58:04 +02:00
Mark Striemer
c831343532 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-27 21:02:51 +00:00
Erica Wright
6908262f8e Bug 1682676 - Position infobars inside of the chrome. r=mstriemer
Depends on D106012

Differential Revision: https://phabricator.services.mozilla.com/D104741
2021-03-10 19:22:56 +00:00
Neil Deakin
960f0d6ddc Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-26 13:43:10 +00:00
Cosmin Sabou
97da8c128d Backed out changeset 36b76c196497 (bug 1691499) for bc failures on browser_decoderDoctor.js. CLOSED TREE 2021-02-25 21:47:25 +02:00