Kirk Steuber
9fc80b4692
Bug 1601708 - Return focus to the previously active element when a subdialog closes r=Gijs,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D56976
2019-12-17 18:19:34 +00:00
Razvan Maries
40861fa0fd
Backed out changeset d2b9b4e977a7 (bug 1601708) for Lint failure on subdialogs.js. CLOSED TREE
2019-12-17 19:35:54 +02:00
Kirk Steuber
3b0ef60415
Bug 1601708 - Return focus to the previously active element when a subdialog closes r=Gijs,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D56976
2019-12-17 10:50:28 +00:00
Kirk Steuber
cf5e6ba0f4
Bug 1603512 - Set the doScroll class on the correct dialog element r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D56988
2019-12-12 20:18:43 +00:00
Kirk Steuber
fae45264bb
Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
...
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.
Differential Revision: https://phabricator.services.mozilla.com/D52411
2019-12-10 18:25:59 +00:00
Brian Grinstead
fd01b59eef
Bug 1597210 - For preference subdialog sizing, read scrollHeight from the body if it exists instead of the documentElement r=Gijs
...
We were already doing this for scrollWidth, but after we started setting height: 100% on
root nodes in Bug 1588142, the scrollHeight computation was too small for <html> elements.
Differential Revision: https://phabricator.services.mozilla.com/D53690
2019-11-18 20:44:33 +00:00
Kris Maglione
e6c15b1843
Bug 1553804: Part 5 - Fix callers which create chrome windows with content openers. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D45656
2019-09-20 04:43:55 +00:00
monikamaheshwari
edb30ffaec
Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Victor Porof
8eb72fd3fc
Bug 1561435 - Format browser/components/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Bogdan Tara
f690bd6bc1
Backed out changeset 584e6d9246ac (bug 1557252) for browser/components/preferences/in-content/tests* failures CLOSED TREE
2019-06-06 20:15:59 +03:00
Alexander Surkov
3d964554c9
Bug 1557252 - add missing style for in-content dialogs, r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D33976
2019-06-06 15:56:34 +00:00
Jared Wein
257c4b59a1
Bug 1549146 - Resize the subdialog after showing/hiding the Custom DoH textbox to make sure scrollbars appear if necessary. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D30068
2019-05-08 15:49:25 +00:00
Mark Striemer
2f1d27818b
Bug 1506835 - Resize browser languages dialog when error appears r=jaws
...
***
Differential Revision: https://phabricator.services.mozilla.com/D12985
2018-11-30 19:37:41 +00:00
Paolo Amadini
7f0fa99163
Bug 1493844 - Part 3 - Remove the "prefpane" class and unneeded elements. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D7734
2018-10-15 19:01:59 +01:00
Paolo Amadini
e277cc8eb6
Bug 1496382 - Don't use "groupbox" for Preferences subdialogs. r=jaws
...
This is required to remove the "groupbox" and "caption" elements, and simplifies the code as well.
Differential Revision: https://phabricator.services.mozilla.com/D7707
2018-10-04 12:21:03 +01:00
Jonathan Kingston
adaa868721
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Brindusan Cristian
6c0094d53f
Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
...
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
52a379b132
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
arthur.iakab
f36e6bf3d0
Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
...
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
b7aabac2a5
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Tiberius Oros
75126ef309
Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
...
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
b194222905
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Boris Zbarsky
df1e81934e
Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs
2018-08-01 13:07:10 -04:00
Zibi Braniecki
2a3c4c8d10
Bug 1457252 - Ensure l10n and initialization are done before sizing the subdialog. r=Gijs
...
MozReview-Commit-ID: 8YMpRuzz04A
2018-04-30 16:58:22 -07:00
Matthew Noorenberghe
8cab94534a
Bug 1455151 - Support subdialog sizing of HTML documents from a stylesheet and use it for autofill edit dialogs. r=jaws
...
MozReview-Commit-ID: GeHPhFTnCIz
2018-04-18 16:12:15 -07:00
Tooru Fujisawa
d7f90d66d4
Bug 1431960 - Forcibly construct the frame for browser to construct browser binding in preferences subdialog. r=bz
2018-02-10 11:59:57 +09:00
Ricky Chien
6bbcb028a8
Bug 1349689 - Remove old preferences fork r=jaws
...
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Sebastian Hengst
c97c631ff5
Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout
2017-08-31 16:58:32 +02:00
Ricky Chien
4dd95d9a6c
Bug 1349689 - Remove old preferences fork r=jaws
...
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Ricky Chien
98a46be056
Bug 1377845 - Fix TypeError: frame is undefined when resizing sub-dialog window r=MattN,scottwu
...
MozReview-Commit-ID: HjiaIyZHgkL
2017-07-08 11:34:54 +08:00
Scott Wu
f6cf8924a8
Bug 1340987 - (Part 5) Apply changes for subdialogs.js to in-content and fix tests. r=MattN
...
MozReview-Commit-ID: D729DVbZw9I
2017-06-05 17:00:47 +08:00
Timothy Guan-tin Chien
07e1c956ed
Bug 1363850 - Part II, Move old about:preferences from in-content-old/ to in-content/, r=jaws,mconley
...
MozReview-Commit-ID: DPLJT1adO1c
2017-05-31 08:20:26 +08:00
Timothy Guan-tin Chien
3a021a04eb
Bug 1363850 - Part I, Move new about:preferences from in-content/ to in-content-new/, r=jaws,mconley
...
MozReview-Commit-ID: ButUfsGP7lS
2017-05-25 18:31:41 +08:00
Chris Peterson
2d6f0ac1bb
Bug 1358645 - Close the preference dialog when the user clicks the overlay background. r=jaws
...
We close the dialog using the same code path as when the user presses the ESC key.
MozReview-Commit-ID: LNMDTgMl2L
2017-04-29 19:43:50 -07:00
Mark Banner
e21fc78563
Bug 1344027 - Change the import-global-from option for eslint to allow circular references and resolve most of the no-undef issues in browser/components/preferences. r=mossop
...
MozReview-Commit-ID: BERAbtYkxsF
2017-02-22 10:19:11 +00:00
Gijs Kruitbosch
884c7dd255
Bug 1312216 - followup: also init _openedURL to null for the subdialogs singleton to squash the strict warning, rs=me,trivial,firebot,etc.
...
MozReview-Commit-ID: FQTEI7jYGyq
2017-01-19 16:57:01 +00:00
Alan Xu
5910494007
Bug 1312216 - Changed delete this._openedURL and set it as null instead. There was a strict warning. r=Gijs
...
MozReview-Commit-ID: 3s3cojJVXcE
2017-01-17 16:52:47 -08:00
Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein
2de0319338
Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
...
MozReview-Commit-ID: k3Bkm39TtT
2016-12-22 15:57:40 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
f64a7da705
Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
...
MozReview-Commit-ID: k3Bkm39TtT
2016-12-22 15:57:40 -05:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Joseph Yeh
6fbb62f943
Bug 1036595 - Convert the 'Clear recent history' dialog to be in-content; r=MattN
...
This required removing the minimum dialogFrame height since the Clear recent history dialog is smaller than the old default height.
MozReview-Commit-ID: CuJO3VtGwem
2016-10-20 15:09:12 -07:00
Gijs Kruitbosch
b98d612977
Bug 1191778 - remove references to mozapps content preferences.css stylesheet, r=jaws
...
MozReview-Commit-ID: JSVGbUZDxbB
2016-09-28 19:28:07 +01:00
Pushpankar
77a14e357c
Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
2016-07-16 10:20:04 +02:00
Xidorn Quan
c2f5b180bd
Bug 1264968 part 1 - Use replace uses of removed String.contains with the new .includes method. r=jaws
...
MozReview-Commit-ID: DOR86fImhbQ
2016-04-25 09:40:16 +08:00
Gijs Kruitbosch
b40c5480d0
Bug 1130411 - deal with opening dialogs when the previous dialog is not unloaded yet, r=jaws
...
MozReview-Commit-ID: IY0W3UfYTdc
2016-04-02 20:09:16 +01:00
Jared Wein
1ad855c632
Bug 1087114 - Run browser_subdialogs.js in e10s. r=gijs
2016-01-08 13:08:34 -05:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Gijs Kruitbosch
a273618e7a
Bug 1141031 - fix in-content prefs dialogs overflowing, r=jaws
2015-04-16 19:51:04 +01:00