Commit Graph

120 Commits

Author SHA1 Message Date
Boris Zbarsky
7fa3838d4d Bug 1452185 part 2. Remove nsIDOMXULElement use in JS. r=qdot
MozReview-Commit-ID: 2JIybnXaudR
2018-04-09 16:30:32 -04:00
Kris Maglione
985347f2e4 Bug 1446686: Part 3 - Fix discovery pane and drag-and-drop tests which rely on legacy extensions. r=aswan
This removes some discovery pane tests which are obsolete. The discovery pane
page that it tests uses InstallTrigger, rather than mozAddonManager as we use
in production, and fails when used with WebExtensions.

The other tests have been updated to use WebExtensions, and some relevant
PopupNotifications bugs have been fixed so that they actually pass.

MozReview-Commit-ID: 1g0n73vhncp
2018-03-17 17:42:51 -07:00
Prathiksha
872d37cca3 Bug 1435160 - Format notification popup description message in a helper function. r=johannh
MozReview-Commit-ID: Bwy2WrbXjUf
2018-02-28 02:01:55 +05:30
Mark Banner
0f7796144a Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop
MozReview-Commit-ID: 7Okqmw5dBcL
2018-02-23 19:25:59 +00:00
Brian Grinstead
938da9ee8f Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9
2018-02-27 10:04:14 -08:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Prathiksha
1667cf617f Bug 1431242 - Use popupnotification's built-in bolding for webextension prompts. r=aswan,johannh
MozReview-Commit-ID: 52AtWUlJj4p
2018-01-19 23:34:25 +05:30
Boris Zbarsky
4fd6e65c55 Bug 1436508 part 10. Remove use of nsIDOMKeyEvent in JS. r=masayuki
MozReview-Commit-ID: GGciORX62Yh
2018-02-09 11:17:09 -05:00
Mark Banner
4fd95a27c9 Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian
MozReview-Commit-ID: 9SmoR9RlvZE
2018-02-07 09:24:15 +00:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Mark Striemer
8c275ebafd Bug 1431320 - Add support for label back to popupnotification r=johannh
Bug 1369482 originally replaced label with startlabel,hostname,endlabel. This
updates it to replace label with label,hostname,endlabel which should be
backwards compatible.

MozReview-Commit-ID: 3Aj66eaT5ER
2018-01-17 16:05:15 -06:00
Prathiksha
36b3466343 Bug 1369482 - Make hostnames in permission prompts much more prominent. r=johannh
MozReview-Commit-ID: 89m2QVzj8DG
2017-12-14 21:00:28 +05:30
Mark Banner
62d89b0f75 Bug 1417940 - Change various instances of manually calling getService to use Services.jsm in toolkit/. r=mossop
MozReview-Commit-ID: 8eEhjFZc4mT
2017-11-09 16:36:57 +00:00
Andreea Pavel
4d905c03dd Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE
Backed out changeset 2c2f807e23b5 (bug 1417940)
2017-11-17 18:08:45 +02:00
Mark Banner
0841e15072 Bug 1417940 - Change various instances of manually calling getService to use Services.jsm in toolkit/. r=mossop
MozReview-Commit-ID: 8eEhjFZc4mT
2017-11-09 16:36:57 +00:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Jonathan Kingston
125e5b8347 Bug 1272304 - Add disabled state to screen sharing permission r=florian
MozReview-Commit-ID: LsZmQD5fWzW
2017-08-12 18:54:24 +01:00
Johann Hofmann
51b67c3c9c Bug 1399478 - Fix buttonhighlight for doorhangers without a mainaction. r=steveck
We allow doorhangers to optionally disable the blue button
highlight for their main actions, but didn't account for the
fact that we display a default "OK" button when no mainAction
was provided.

MozReview-Commit-ID: 6ndWju3ytyq
2017-09-16 15:30:50 +02:00
steveck-chung
47e9c01581 Bug 1377006 - Part 1: Add disable highlight option in main action button. r=johannh
MozReview-Commit-ID: 5WgQzdxmsNp
2017-07-27 16:34:52 +08:00
Masatoshi Kimura
c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Johann Hofmann
5e3fbc1f63 Bug 1385194 - Make PopupNotifications handle windows without a location bar or a tab bar. r=Paolo
This also fixes a bug where notifications would not be displayed
correctly when PopupNotifications.jsm was initialized while the
window is in DOM fullscreen.

MozReview-Commit-ID: D5SCqd9efGk
2017-07-29 13:28:54 +02:00
Felipe Gomes
e6caeac525 Bug 1379175 - Add a blue badge to the plugin icon in the URL bar when there are plugins to be activated. r=Felipe
MozReview-Commit-ID: 5tlQhEF5D62
2017-07-14 18:34:42 -03:00
Florian Quèze
f97b0ef21c Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Mark Striemer
3e713a9229 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5
2017-02-28 15:26:12 -06:00
Johann Hofmann
144962f035 Bug 1353980 - Don't try to hide popup notifications in fullscreen mode. r=Paolo
MozReview-Commit-ID: 5VWHooAIMRT
2017-04-07 12:13:15 +02:00
Johann Hofmann
5e3b406d1e Bug 1334496 - Part 1 - Add an autofocus option to PopupNotifications.show. r=Paolo
MozReview-Commit-ID: DrJOjUWJJOD
2017-02-17 14:56:23 +01:00
Florian Quèze
3dc82424b4 Bug 1343571 - When clicking an action button of a PopupNotification in an inactive window, focus the window instead of performing the action, r=past. 2017-03-16 19:14:22 +01:00
Sebastian Hengst
4938641b8f Backed out changeset 5a7fca706daa (bug 1329942) for failing browser-chrome browser_bug553455.js. r=backout 2017-03-08 19:57:15 +01:00
Mark Striemer
fd96104492 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5
2017-02-28 15:26:12 -06:00
Florian Quèze
8a9eb87de8 Bug 1335985 - reset timeShown on window activation so that persistent notifications get the security delay again, r=past. 2017-02-20 23:29:36 +01:00
Johann Hofmann
5dc888a3ae Bug 1340112 - Move focus into popupnotification panels when selected via keyboard. r=florian
MozReview-Commit-ID: 3DSugKa3cQ3
2017-02-16 15:39:07 +01:00
Florian Quèze
d976b822af Bug 1336066 - avoid reshowing a persistent notification that has not been dismissed when clicking the anchor icon, r=johannh. 2017-02-13 13:01:34 +01:00
Paolo Amadini
2954049574 Bug 1328304 - Hide notifications when the address bar has focus and the URL is being edited. r=johannh
MozReview-Commit-ID: 5GhCsA9Gi3f
2017-02-10 13:16:02 +00:00
Florian Quèze
c8cf49999e Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Nihanth Subramanya
a9bc7aaf33 Bug 1323420 - Fix curly brace positioning for eslint. r=past 2017-01-24 00:59:27 +05:30
Nihanth Subramanya
356329a03a Bug 1323420 - Add a pref to control the close button on web permission prompts. r=past
MozReview-Commit-ID: JHEY478q3C
2017-01-16 18:08:07 +05:30
Phil Ringnalda
b56e87c012 Merge m-c to m-i 2017-01-20 19:16:11 -08:00
Johann Hofmann
2cc1fb6337 Bug 1328740 - Focus popup notification panels on anchor icon keypress. r=florian
MozReview-Commit-ID: 1s0RzGJGVCX
2017-01-18 23:12:35 +01:00
Florian Quèze
2a31a0c477 Bug 1325223 - Focusing the window shouldn't trigger the showing/shown events again on persistent notifications that were never dismissed, r=past. 2017-01-20 23:37:48 +01:00
Johann Hofmann
7719440e02 Bug 1331918 - Make addon install failure messages non-persistent. r=past
MozReview-Commit-ID: BO00gCCzT7f
2017-01-19 10:15:05 +01:00
Johann Hofmann
860fbc1689 Bug 1330609 - Hide the correct persistent popup notification on close. r=past
MozReview-Commit-ID: 23e8uKsz4tm
2017-01-17 16:23:41 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00