Commit Graph

1814 Commits

Author SHA1 Message Date
Jared Wein
8507a1dbb7 Bug 1352963 - Update the styling of the select popup after transitionend. r=mossop
MozReview-Commit-ID: 5WuRvMDYahZ

--HG--
extra : rebase_source : ab841ad17194a7ff9506155e13747bb9bd750833
2017-04-03 22:52:16 -04:00
Kris Maglione
0638745d18 Bug 1352893: Handle non-UTF-8 data in Unix environment variables. r=mstange
MozReview-Commit-ID: 5aRVYQICc7O

--HG--
extra : rebase_source : 6244a8ba08bad6da90496f27e9bb4eaace5e6fb9
extra : amend_source : f997353c8b075c989ace2790ae73330fd375b558
2017-04-02 18:46:10 -07:00
Mike de Boer
481e18fdf5 Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY

--HG--
extra : rebase_source : 03560c0441bd2a6643c20a3f1fff8b905eca59ad
2017-03-31 14:48:44 +02:00
Wes Kocher
d490f31710 Backed out changeset 6d376d7031df (bug 1319821) for test_webextension_theme.js failures a=backout CLOSED TREE
--HG--
extra : amend_source : 0ce863936b81e44dec5390d956928da0ab9fe94b
2017-03-30 15:10:49 -07:00
Mike de Boer
382bae51af Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY

--HG--
extra : rebase_source : c421a7feaa8492fae40258086bdb7e4fcc51a80d
2017-03-30 12:54:59 +02:00
Ryan VanderMeulen
615c542a03 Merge inbound to m-c. a=merge
CLOSED TREE
2017-03-30 15:20:22 -04:00
Jared Wein
ea4c7c16b9 Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes. r=mossop
MozReview-Commit-ID: 3tYjbqH9zYb

--HG--
extra : rebase_source : ae593c3f8ac627ebb058d5f486d5b34ea2f63c9e
2017-03-29 12:47:13 -04:00
Tim Taubert
890672d7f9 Bug 1351835 - Update PrivacyLevel.canSave() calls in SessionCookies.jsm r=mikedeboer
The first change we can make is to simplify the PrivacyLevel.canSave() method
itself as it only takes a single argument, `isHTTPS`. Callers shouldn't be
required to pass an object, they should simply pass a boolean.

The second change here is to cleanup SessionCookies.jsm that still passes the
old `isPinned` argument that's no longer needed. We can remove some house
keeping and simplify the cookie collection code.

SessionCookies.getHostsForWindow() that previously returned a map from hostnames
to a site's pinned status (tab.pinned) can now simply return a Set containing
all hostnames found in a window.
2017-03-30 13:57:42 +02:00
Phil Ringnalda
8198cb8936 Backed out changeset adf939cb9b0b (bug 1350670) for Mac and Windows browser_selectpopup_colors.js failures
CLOSED TREE
2017-03-28 19:37:49 -07:00
Jared Wein
6ac4051094 Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes. r=mossop
MozReview-Commit-ID: 3tYjbqH9zYb

--HG--
extra : rebase_source : 569a036dee7ae690ee4ef5ab8c39e1dad5a7350a
2017-03-28 17:04:32 -04:00
Jared Wein
747461066a Bug 1350774 - Some pages may style their <option> elements based on the :focus of the <select>, so :focus should be locked on the <select> during color computation. r=mossop
MozReview-Commit-ID: D0WZU6wFctG

--HG--
extra : rebase_source : f985fa43fdcf13841e31357b736b5b472a217b36
2017-03-28 15:43:33 -04:00
Jared Wein
ddced6733e Bug 1350662 - Don't compare the select background color with the foreground color since it may be changed by the options. r=mossop
The comparison being removed was only put in place because it seemed like a "good-idea" to prevent <select> from being unreadable, though it's not a fool-proof strategy and it breaks content that uses different styling approaches. This removal does not regress any of the other test cases.

MozReview-Commit-ID: 8HeXZXnjpbl

--HG--
extra : rebase_source : f4eb33de4a8b795fe5dd90c1ede510e8584bf53e
2017-03-28 15:27:57 -04:00
Andrew McCreight
f6a64d2db5 Bug 1349389 - Lazily load osfile.jsm in telemetry. r=gfritzsche
Also, avoid two entirely unused imports.

This avoids loading the various osfile jsms at startup.

The additional shim method for sysinfo is needed in
test_TelemetryEnvironment.js because delaying the intialization of
osfile results in loading osfile_shared_allthreads.jsm after the shim
sysinfo has been added, which initializes
Ci.nsIOSFileConstantsService, which calls into sysinfo in
InitOSFileConstants().

MozReview-Commit-ID: D7IWk20TRt1

--HG--
extra : rebase_source : cf820b1ed72a78ff34e99d2129401c4806a68175
2017-03-21 14:55:39 -07:00
Jan Henning
6d4628844f Bug 1265818 - Part 3 - Store and restore the LayoutHistoryState through SessionHistoy.jsm. r=mikedeboer
Since a LayoutHistoryState is basically just a collection of PresStates, we just save each PresState we can find and then later restore it.

MozReview-Commit-ID: A6WpdelseHn

--HG--
extra : rebase_source : 21c2929ed64ff5ef046ea65664af78cdad517786
2017-03-25 15:32:36 +01:00
Andrew McCreight
c650c08b59 Bug 1350469 - Lazily load XPathGenerator.jsm in FormData.jsm. r=mikedeboer
MozReview-Commit-ID: 7Cm7tPYc9dW

--HG--
extra : rebase_source : 95f0e3c4e8cc35a1ff83cbe4e9daf787fd9885ef
2017-03-22 14:01:58 -07:00
Cykesiopka
dbb0d99a70 Bug 1319252 - Remove nsIX509Cert.getAllTokenNames(). r=keeler,mossop
nsIX509Cert.getAllTokenNames() is only used (improperly) to determine if a
certificate is a built-in. nsIX509Cert.isBuiltInRoot should be used instead.

MozReview-Commit-ID: LBwI8nTc05C

--HG--
extra : rebase_source : 9494cd1243395b0d293022e981f64be560a54dec
2017-03-19 16:02:26 +08:00
Andrew Swan
e26387a39d Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh

--HG--
extra : rebase_source : 40f53e5f34f02749a5027aa324cf0843c5d2c837
2017-03-23 17:28:52 -07:00
Andrew Swan
00aad91298 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy

--HG--
extra : rebase_source : d5cc18abbae6809b196f8497ff91608d662d5030
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-24 13:55:09 -07:00
Sebastian Hengst
8b0aa27e67 Backed out changeset d1628b66e5f8 (bug 1197420) 2017-03-25 17:39:38 +01:00
Sebastian Hengst
6a841a64db Backed out changeset f4fbd8e60288 (bug 1197420) 2017-03-25 17:39:34 +01:00
Andrew Swan
0ba4938c38 Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh

--HG--
extra : rebase_source : 40f53e5f34f02749a5027aa324cf0843c5d2c837
2017-03-23 17:28:52 -07:00
Andrew Swan
52d07f2696 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy

--HG--
extra : rebase_source : d5cc18abbae6809b196f8497ff91608d662d5030
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-24 13:55:09 -07:00
Phil Ringnalda
25fd452953 Backed out 5 changesets (bug 1197420) for test_ext_permissions.js and test_chrome_ext_permissions.html timeouts on Fennec
CLOSED TREE

Backed out changeset 8a0125e00903 (bug 1197420)
Backed out changeset 925e3a9499ee (bug 1197420)
Backed out changeset 46e135035f10 (bug 1197420)
Backed out changeset 440bab141509 (bug 1197420)
Backed out changeset 3e690bbe8b5a (bug 1197420)
2017-03-24 20:43:24 -07:00
Andrew Swan
7a5ed036b3 Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh

--HG--
extra : rebase_source : 40f53e5f34f02749a5027aa324cf0843c5d2c837
2017-03-23 17:28:52 -07:00
Andrew Swan
1fa2f9e217 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy

--HG--
extra : rebase_source : d5cc18abbae6809b196f8497ff91608d662d5030
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-24 13:55:09 -07:00
Sebastian Hengst
727e46b218 Backed out changeset 7df6cc66a2eb (bug 1197420) 2017-03-24 20:56:10 +01:00
Sebastian Hengst
99035fbb8b Backed out changeset cb352ddee812 (bug 1197420) 2017-03-24 20:56:05 +01:00
Andrew Swan
0e3bb40a13 Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh

--HG--
extra : rebase_source : 1ccf6389516d034c1fa61dcb154c020f0f264bc5
2017-03-23 17:28:52 -07:00
Andrew Swan
1b3c71a54f Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy

--HG--
extra : rebase_source : f623b4c7c66888ab1fb4876a3d63ec47677711b8
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-23 21:48:03 -07:00
Wes Kocher
fc99a82dae Backed out 3 changesets (bug 1348820) for testANRReporter failures on Android rc1 a=backout
Backed out changeset 2fffcd4ce3e4 (bug 1348820)
Backed out changeset 387d0326e3a0 (bug 1348820)
Backed out changeset 4775bb6e6b61 (bug 1348820)

MozReview-Commit-ID: 7e1oQSPE7kX
2017-03-23 14:45:57 -07:00
Mark Banner
0eb1f2ca26 Bug 1349203 - Upgrade ESLint to version 3.18.0 to pick up performance and other fixes. Also update other dependencies for ESLint. r=mossop
MozReview-Commit-ID: C1oB0pQ3fev

--HG--
extra : rebase_source : 93e63db48f815e173b80611ae592806e4ef43fae
2017-03-21 14:50:45 +01:00
Jared Wein
e8d13f3103 Bug 1349701 - Update the styles of <select> popups on focus. r=mossop
This patch also fixes a bug in our UpdateDropDown code where we weren't computing updated styles for <select> element, as well as another bug where we weren't passing the correct number of arguments to this.populate.

MozReview-Commit-ID: 8LAeIliRXhZ

--HG--
extra : rebase_source : 19c573ffebf700de4b4a470ceb1d2706a8088574
2017-03-23 13:34:21 -04:00
Sebastian Kaspari
074e92e4fe Bug 1348820 - Remove MOZ_ANDROID_ACTIVITY_STREAM build flag. r=Grisha
This flag wasn't used in the build system anyways. It was used to hide early builds of the
new Activity Stream UI. However this is now going to be controlled by Switchboard experiments.

MozReview-Commit-ID: Dfzw9YGgHkN

--HG--
extra : rebase_source : 2ecd3fb18a237f0de8e7d4752d69de568c062310
2017-03-20 14:31:33 +01:00
Carsten "Tomcat" Book
cd5821a821 Backed out changeset 9476c9a5f4c9 (bug 1349389) for causing dt4 perma failures 2017-03-23 10:47:18 +01:00
Andrew McCreight
6ef88099be Bug 1349389 - Lazily load osfile.jsm in telemetry. r=gfritzsche
Also, avoid two entirely unused imports.

This avoids loading the various osfile jsms at startup.

The additional shim method for sysinfo is needed in
test_TelemetryEnvironment.js because delaying the intialization of
osfile results in loading osfile_shared_allthreads.jsm after the shim
sysinfo has been added, which initializes
Ci.nsIOSFileConstantsService, which calls into sysinfo in
InitOSFileConstants().

MozReview-Commit-ID: D7IWk20TRt1

--HG--
extra : rebase_source : cf820b1ed72a78ff34e99d2129401c4806a68175
2017-03-21 14:55:39 -07:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Jared Wein
2905dc199f Bug 1348617 - Use the alpha channel of custom styled select backgrounds by applying the requested color on top of the system's background. r=mossop
This matches parity with Google Chrome Canary Version 59.0.3046.0 (Official Build) canary (64-bit).

MozReview-Commit-ID: 3rkhiFv8ezX

--HG--
extra : rebase_source : 3cb05e6c1e048bab4c7573bd050ea7477fc128fb
2017-03-21 10:51:40 -04:00
Saghan
ebd9e78f82 Bug 1337025 - Add event listener to command event which will be triggered when x button is clicked and repopulate the list. r=jaws 2017-03-16 15:58:31 -07:00
k88hudson
a01488052d Bug 1348124 Update RemotePageManager to expose portId on public interface r=mossop
MozReview-Commit-ID: BYCI9zi6YLh

--HG--
extra : rebase_source : ba6cef5cb137138d786d932464bddc9466a889cc
2017-03-17 12:57:30 -04:00
Tomislav Jovanovic
6ec248d32c Bug 1339559 - Enable no-mixed-operators ESLint rule r=kmag
MozReview-Commit-ID: LjuiizBh1OK

--HG--
extra : rebase_source : 0423cca6e47ed593ec79d56c96a16f63628b15d1
2017-03-17 14:28:14 +01:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze
a09d41b402 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
Scott Wu
45d09e0952 Bug 1343707 - Make datetimepopup.xml binding attach lazily. r=mconley
MozReview-Commit-ID: C7LnrxIbU3K

--HG--
extra : rebase_source : d821a141eb550541a49beaa2afd9b7caf6a054e2
2017-03-03 13:58:53 +08:00
Jared Wein
3581faf3a2 Bug 1347329 - Make sure that the nth-child index gets updated when recursing so that colors get applied correctly when optgroups are used. r=mossop
This problem only occurs when optgroups are involved since they introduce recursion in to the menu-building code and we weren't correctly passing state through
the recursion.

MozReview-Commit-ID: 514zcjgXbIY

--HG--
extra : rebase_source : fdb9309ec8b08f5ab8ca77d901065d5e7db1617f
2017-03-14 19:06:57 -04:00
Sebastian Hengst
8eb3901b10 Backed out changeset 899f6ba2fe55 (bug 1347329) for failing browser_selectpopup_colors.js. r=backout 2017-03-16 00:25:57 +01:00
Wes Kocher
1d6765414b Merge m-c to autoland, a=merge
MozReview-Commit-ID: AcDLWqQhcBe
2017-03-15 14:29:24 -07:00
Jared Wein
4bccf8475b Bug 1347329 - Make sure that the nth-child index gets updated when recursing so that colors get applied correctly when optgroups are used. r=mossop
This problem only occurs when optgroups are involved since they introduce recursion in to the menu-building code and we weren't correctly passing state through
the recursion.

MozReview-Commit-ID: 514zcjgXbIY

--HG--
extra : rebase_source : fdb9309ec8b08f5ab8ca77d901065d5e7db1617f
2017-03-14 19:06:57 -04:00
Dave Townsend
b07766c78c Bug 1308981: Display system add-ons in a separate section in about:support. r=rhelmer
MozReview-Commit-ID: 3KYFz4pOXPT

--HG--
extra : rebase_source : af8d11916a39e36fa341652491d70daee2b71ae3
extra : amend_source : 8b75e4df6f4a9c3d05151a1260778c95188e1d8f
2017-03-09 15:44:40 -08:00
Christoph Kerschbaumer
bbb07b16a8 Bug 1301666 - Remove triggeringPrincipal_b64 from SessionHistory.jsm. r=mikedeboer 2017-03-13 16:47:11 +01:00
Carsten "Tomcat" Book
c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Jim Porter
5e6b22bdde Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
MozReview-Commit-ID: 1a422BiLEhK

--HG--
extra : rebase_source : a83b8d753e2a48593904ef0755d5517908588b93
2017-03-13 17:34:24 -05:00
Kris Maglione
80193d923c Bug 1344590: Part 2 - Add Promise-based IndexedDB helper module. r=aswan
MozReview-Commit-ID: 5DTabWKYA2k

--HG--
extra : rebase_source : f7a9e603ba59ef64aa7417beaea77049c7a1a0ec
extra : histedit_source : 05113faad0c564818b3d072fca8ab9a2864f5cfa
2017-02-25 22:48:22 -08:00
Sebastian Hengst
3bfaa978bd 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
8e358ac751 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 6537a89d805fd28651911965aebd008de0530a12
2017-02-28 15:26:12 -06:00
Jared Wein
f0dc3daba8 Bug 1344574 - Compare the option foreground color to the used select background color instead of just the user-agent default select background color. r=mconley
MozReview-Commit-ID: A01xHyGP9ec

--HG--
extra : rebase_source : 68fcdfff07723fc4c78d7ed6e70e3f70eb1ee923
2017-03-06 12:10:14 -05:00
Florian Quèze
37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Florian Quèze
cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Jared Wein
b91c8d76ac Bug 1343921 - Implement support for custom icons through the Theming API. r=mattw,mikedeboer
MozReview-Commit-ID: KMMR7cT8Mzp

--HG--
extra : rebase_source : b99d17634b7147ca846a6b156461c8ddbca45010
2017-03-06 18:10:39 -05:00
Zibi Braniecki
b8914c1a82 Bug 1344901 - Fix a regression introduced in bug 1337551. r=jfkthame
MozReview-Commit-ID: 8SP0ucROJRF

--HG--
extra : rebase_source : 12a6585d46c876c4676565e07709a9c03f0b55ed
2017-03-06 13:54:30 -08:00
Sebastian Hengst
ae5ce5bbed Backed out changeset 1666512ef081 (bug 1343921) for failing browser_ext_themes_chromeparity.js and browser_ext_themes_icons.js. r=backout on a CLOSED TREE 2017-03-06 23:18:57 +01:00
Jared Wein
b68b950736 Bug 1343921 - Implement support for custom icons through the Theming API. r=mattw,mikedeboer
MozReview-Commit-ID: KMMR7cT8Mzp

--HG--
extra : rebase_source : 97e186668765cef97424e8e6d9e121864ebecec3
2017-03-06 15:16:35 -05:00
Jan Henning
1f261001af Bug 1340828 - Part 2 - Make life easier for Fennec. r=mikedeboer
Life would easier if the restore function could return a reference to the session history object retrieved from the DocShell, so that Fennec's main session store code can use that to trigger the needed reload afterwards instead of having to retrieve it again independently.

MozReview-Commit-ID: 1J5k4Evbc8Y

--HG--
extra : rebase_source : 57953eedf12b97555d81ca3debce64312f6f0542
2017-02-18 22:50:58 +01:00
Jan Henning
5e22220b1b Bug 1340828 - Part 1 - Move SessionHistory.jsm to toolkit. r=mikedeboer
We want to use this for Android, too. Once again, moving the file necessitates fixing a few ESLint errors that weren't yet checked for under the old directory.

MozReview-Commit-ID: IPxcizKwzAX

--HG--
rename : browser/components/sessionstore/SessionHistory.jsm => toolkit/modules/sessionstore/SessionHistory.jsm
extra : rebase_source : 77a85942443026620c77508d6ccb405e0a9864ff
2017-02-18 20:54:09 +01:00
Carsten "Tomcat" Book
d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Zibi Braniecki
c286b2ef87 Bug 1337551: Migrate Services.jsm to use LocaleService. r=mossop
MozReview-Commit-ID: G0HFXfg4r6Y

--HG--
extra : rebase_source : 2217abbb1371132b82574be690f9fab5c1b64fb7
2017-02-08 12:31:06 -08:00
Dão Gottwald
493fea90a4 Bug 1344307 - Clean up lightweight theme footer handling. r=jaws
MozReview-Commit-ID: BIUszE69HhH

--HG--
extra : rebase_source : 92da21798e8e27d7f69a5d3245c97c9ac99f7af8
2017-03-03 19:41:28 +01:00
Luca Greco
2d5146d463 Bug 1190687 - [webext] webNavigation.onCreatedNavigationTarget on new windows/tabs from window.open. r=billm
MozReview-Commit-ID: KFtRP1eSI05

--HG--
extra : rebase_source : 8a7be1abd5f76295fbc3734f237cd5dd5584e71f
2017-02-24 19:49:49 +01:00
Luca Greco
706324f05b Bug 1190687 - [webext] webNavigation.onCreatedNavigationTarget on new windows/tabs from context menu and user clicks on links. r=kmag
MozReview-Commit-ID: KYVKkVUSOzR

--HG--
extra : rebase_source : 95a995a2bceac3488347a87b7363a72d76012ce8
2017-02-24 19:49:38 +01:00
Jared Wein
ab13b909dd Bug 864562 - Rename lwt-accentcolor to lwt-accent-color and lwt-textcolor to lwt-text-color. r=mikedeboer
MozReview-Commit-ID: 2fmGrsiFFr2

--HG--
extra : rebase_source : 92eadccefb08cea093b67d4c34b443b5f1e3efbc
2017-02-28 14:19:59 -05:00
Jared Wein
dcc9efeeac Bug 864562 - Fix the tests and move more logic from JS to CSS now that the values exist as CSS Variables. r=mikedeboer
MozReview-Commit-ID: BuJdjtVBnin

--HG--
extra : rebase_source : 47d244f3fa2e4f8768ce803201f238f456b22ecb
2017-02-28 12:15:04 -05:00
Jared Wein
160d3b90a1 Bug 864562 - Move remaining LWT inline styles to CSS variables. r=mikedeboer
MozReview-Commit-ID: 9ETddCw9w14

--HG--
extra : rebase_source : 3c42715d64f0b88dcf3a7fd2cad1f97358c3ea0d
2017-02-22 14:13:09 -05:00
Kris Maglione
1d0cefff4a Bug 1345345: Fix preference observers reporting changes to arbitrary sub-branches. r=rhelmer
MozReview-Commit-ID: CrGHoTiw4kz

--HG--
extra : rebase_source : b0259975f6f857eb3155e4fcc2b5cc889201384d
2017-03-07 20:10:42 -08:00
Tooru Fujisawa
183c8b3779 Bug 1317400 - Part 4: Fix other tests. r=till 2017-03-04 20:37:14 +09:00
Jared Wein
954ab4d3e2 Bug 1347089 - Force translucent and transparent select backgroundColors to opaque to match parity with other browsers. r=mossop
Previously we were respecting the webpages request to show a translucent background on popups, though it now seems that content didn't actually
want a translucent background. After comparing with Chrome, I see that they remove the alpha channel and always show the background color as
fully opaque. This patch also fixes a related bug where the background-color may have been set to a transparent color (not rgba(0, 0, 0, 0)) and
we would show the popup as transparent. This is now fixed with this patch as well.

MozReview-Commit-ID: KqDtvI0zwqP

--HG--
extra : rebase_source : 865bbcd9890997cb0c21f20132a0f033c5c365e4
2017-03-14 14:43:00 -04:00
Jan Henning
08bbf2a6e2 Bug 1341417 - Using aFromIdx should skip SHEntry serialisation, not just throw the data away afterwards.r=mikedeboer
When calling SessionHistory.collect(), we can indicate that we're not interested in the first N (where N = aFromIdx + 1) session history entries, with N potentially being a very big number if we don't want any SHEntries at all and are just interested in updating the value of the current history index.

Currently, we always serialise all available SHEntries and then throw away the first N entries, which is wasteful - instead, we should just skip them right away.

We still need to keep track how many entries we actually skipped and how many we could have collected if we wanted to, so
- we can correctly clamp data.index
- if we end up with no entries, figure out whether we simply skipped all of them or else need to create a fallback entry.

MozReview-Commit-ID: DjHnnhK0M9L

--HG--
extra : rebase_source : 510027ecbc18b921c7a7fa5824466113b04057a5
2017-02-21 21:42:08 +01:00
Jared Wein
26d9d12ace Bug 1346440 - Force the user-agent styles to apply when sampling the colors. r=mossop
Styles defined by the pages were getting applied to the dummy option and select, causing the wrong colors to be reported as the user-agent defaults.

MozReview-Commit-ID: 6rQy71hwzy6

--HG--
extra : rebase_source : 0e474bc25303af7b481a559a688932aa50b1c891
2017-03-13 15:01:25 -04:00
Gijs Kruitbosch
b0f2da2a20 Bug 1341097 - part 3: don't dispatch oodles of titlechanged notifications for new history entries, r=mak
MozReview-Commit-ID: 7jHOcCQ5ZBb

--HG--
extra : rebase_source : 6dff335e78857e7c860ebe7ec6ea415fe0f9e3f6
2017-02-27 18:26:21 +00:00
Mike de Boer
e15ac779d7 Bug 1339782 - use a WeakMap to keep track of windows with active findbar highlighters and make sure no JS error occurs when a window is closed. r=jaws
MozReview-Commit-ID: KGdvuWJZzMV

--HG--
extra : rebase_source : 1a854af27787b0a55b132c1429a05515e84f037e
2017-02-27 16:15:12 +01:00
Dave Townsend
428143ec78 Bug 1341737: Remove SpatialNavigation.jsm. r=blassey
MozReview-Commit-ID: JIbo1jvwZRW

--HG--
extra : rebase_source : b4e13e75d5dd9ac0e1229c4c54a968ea3f3eda73
2017-02-22 10:46:56 -08:00
Sebastian Hengst
2fc1de554d Bug 1336920 - Display the presence/absence of a valid Google and Mozilla API key in about:support. r=florian,francois
MozReview-Commit-ID: CRW3Ttb5DZm

--HG--
extra : rebase_source : 4c32f0c4a90835471c40ef53b6a1ebe2ee7109e9
2017-02-16 13:01:21 +01:00
Jeff Gilbert
42ce6d825e Bug 1341957 - ESLint requires double-quotes for strings.
MozReview-Commit-ID: 2BYft7siVSc
2017-02-23 15:03:38 -08:00
Jeff Gilbert
ec01b04c7e Bug 1341957 - Add webgl.getSupportedExtensions() to about:support. - r=daoshengmu
MozReview-Commit-ID: EQci0ZxlVyM
2017-02-23 14:42:05 -08:00
Carsten "Tomcat" Book
1a3f1390bc Merge mozilla-central to autoland 2017-02-21 14:19:28 +01:00
Gijs Kruitbosch
163a482778 Bug 1340491 - ProfileAge shouldn't spam stdout/stderr by default, r=MattN
MozReview-Commit-ID: CysAlG1hMXL

--HG--
extra : rebase_source : 06799419dbb0d0ff9671d200128e627e52bdcf59
2017-02-20 18:07:32 +00:00
Florian Quèze
38a1059839 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
Jed Davis
6e97575e73 Bug 1286865 - Step 3: Expose rejected syscall log in about:support. r=adw r=gcp
MozReview-Commit-ID: 6YcwfRtPM2

--HG--
extra : rebase_source : c3c10f162d2fde842138a59bd120a4f021533ebd
2017-01-30 18:51:13 -07:00
Carsten "Tomcat" Book
9857d2af8e merge mozilla-inbound to mozilla-central a=merge 2017-02-20 14:05:25 +01:00
Xidorn Quan
3e72a08b95 Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam,jaws
MozReview-Commit-ID: 59cmaCoFJMR

--HG--
extra : rebase_source : 3b927d3c056b66e98f457de1726cf9d459eb8708
2017-02-16 10:26:13 +11:00
Kris Maglione
3a889a957c Bug 1340735 - Terminate process when failing to attach it to job group. r=mhowell
MozReview-Commit-ID: BVCPRFH6TV2

--HG--
extra : rebase_source : b765bf337bed6b983b2c3012c67f979f2faac771
2017-02-17 15:30:24 -08:00
Dão Gottwald
75df2a0b7d Bug 1338522 - Add telemetry for UI responsiveness during import of profile data from another browser. r=francois,Gijs
MozReview-Commit-ID: Cmh0rhZEPDo

--HG--
extra : rebase_source : 303278eeced0fa177a2147d0fe1e010c976e7c76
2017-02-18 00:01:50 +01:00
Johann Hofmann
c6de4ab37c Bug 1340112 - Move focus into popupnotification panels when selected via keyboard. r=florian
MozReview-Commit-ID: 3DSugKa3cQ3

--HG--
extra : rebase_source : 02eb026c8d6bf40e231fda37f364f893dbcd9e8b
2017-02-16 15:39:07 +01:00
Tomislav Jovanovic
e5c9c58008 Bug 1311815 - Check host permissions for webRequest listeners r=kmag
MozReview-Commit-ID: 9bcb4p7tP2u

--HG--
extra : rebase_source : 4b9cbdef3e5caec7e79e28228773cfcaf3c484ba
extra : source : a797359211bccf7aa567b1e741ecde9bb05ae875
2017-02-16 14:56:35 +01:00
Jared Wein
bc8f003598 Bug 1339966 - Add a pref to disable content styling for <select> and <option>. r=mconley
MozReview-Commit-ID: FMSbuHUKLY

--HG--
extra : rebase_source : e3e6927dc3fab6d4f71d40f8852946e9dfcd9925
2017-02-15 18:25:31 -05:00
Jared Wein
3c16c7a188 Bug 1338850 - Only set the background color and foreground color on the select element if it is not transparent or equal to each other. r=mconley
MozReview-Commit-ID: AjzZhoBbcFL

--HG--
extra : rebase_source : e4bcb63a8b914a571cc33f816e747db3f68f3b61
2017-02-15 13:30:50 -05:00
David Anderson
7650902eaf Ignore PuppetWidgets for about:support layer manager reporting. (bug 1339607, r=milan) 2017-02-15 19:07:45 -08:00
Florian Quèze
c8c56e54f7 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
Christoph Kerschbaumer
1cc7d653f7 Bug 1338009 - Utils#deserializePrincipal should return NullPrincipal if deserialization fails. r=mikedeboer 2017-02-12 11:50:25 +01:00
Wes Kocher
6a2b9f5e43 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 4z9MXOzghI7
2017-02-10 15:40:01 -08:00
Kartikaya Gupta
64ab97b4c6 Bug 1338572 - Fix typo in documentation. r=Paolo and DONTBUILD
MozReview-Commit-ID: I17VWWxeogL

--HG--
extra : rebase_source : 2c60e1a87f26ce09044b3b8fef61e0acd416d811
2017-02-10 11:55:21 -05:00
Shane Caraveo
c7c7bd4f51 Bug 1308640 bypass TP when addon has explicit permission to url, r=bz,kmag,mrbkap
MozReview-Commit-ID: BIhoUY2Ug8k

--HG--
extra : rebase_source : 29cc48becfa958ba8f50d254fa6f30fd1820aef9
2017-02-09 21:08:06 -08:00
Neil Deakin
4fd4a887e0 Bug 1334155, close popup when select element is blurred, r=jaws 2017-02-09 11:28:22 -05:00
Wes Kocher
6ff8201ffe Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Jared Wein
7d9b3b83c6 Bug 1336301 - Styles that are applied directly to the select element should be forwarded to the popup. r=mconley
MozReview-Commit-ID: 29DjcUUqEkx

--HG--
extra : rebase_source : 97970d2e8f1b6527caa2767b06ddf110a2478195
2017-02-04 00:33:13 -05:00
Jared Wein
e159bb1601 Bug 1336125 - Apply option styles using a scoped stylesheet to allow for disabling custom styling on the active item. r=mconley
MozReview-Commit-ID: 1dZ1rbKbNY9

--HG--
extra : rebase_source : 0460988f233dde1bcaed9ec1d76fd1a388b8b1be
2017-02-03 12:46:45 -05:00
Matthew Noorenberghe
4cb5ec686a Bug 1330111 - Add FormLikeFactory.findRootForField API. r=johannh
MozReview-Commit-ID: 6qo0hVx3J6p
2017-01-31 23:54:45 -08:00
Marco Bonardo
f8239567d1 Bug 1336944 - Change Sqlite.jsm to bind TypedArrays as Blobs, not common Arrays. r=Gijs
Currently an Array is bound as a blob. Unfortunately this occupies the best javascript
code path to bind an array to an IN clause in the future.
We would like Arrays to bind to IN lists, while still keeping a nice interface to bind blobs.
This patch makes Uint8Array bind to blob, while Array is left available for future use.

MozReview-Commit-ID: 7xzumBs8JTe

--HG--
extra : rebase_source : e9f63f06892d9db801951243648eddd148646426
2017-02-06 19:30:19 +01:00
Mike de Boer
75ddc332a5 Bug 1335730 - delete the map entry when a window unloads and is tracked by the FinderHighlighter. r=jaws
MozReview-Commit-ID: 7vJ4HQwNnPp

--HG--
extra : rebase_source : be5f971a7b3a3552245d20b02341405c761e8dc8
2017-02-06 16:25:33 +01:00
Jared Wein
3ea4fdab77 Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
MozReview-Commit-ID: 8wqclzJr2si

--HG--
extra : rebase_source : 95377b0916cd160302bfdfdbc62c9b795bfbad8f
2017-01-31 15:58:27 -05:00
Wes Kocher
9886fc0a7a Backed out changeset 88872e0b68d2 (bug 1335483) for failures in browser_selectpopup.js a=backout
MozReview-Commit-ID: 39EV3LzTBiI
2017-02-03 11:54:32 -08:00
Jared Wein
3de08e5fac Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
MozReview-Commit-ID: 8wqclzJr2si

--HG--
extra : rebase_source : 38999f77e1c39ee465f8ddb783bae58138adfce2
2017-01-31 15:58:27 -05:00
Jan Henning
a3d15d9ae4 Bug 1335008 - Part 1 - Move PrivacyLevel.jsm to toolkit. r=mikedeboer
... so we can use it on Android, too. Also fix ESLint errors that are appearing at the new file location.

MozReview-Commit-ID: 3A3aoHm00RJ

--HG--
rename : browser/components/sessionstore/PrivacyLevel.jsm => toolkit/modules/sessionstore/PrivacyLevel.jsm
extra : rebase_source : 3c43dbe46d3f5b0ac567eb67a003f772bb907b06
2017-01-31 23:05:31 +01:00
Wes Kocher
b654198f90 bug 1335296 - ESLint fix
MozReview-Commit-ID: 8iZd4PFGtZH
2017-02-02 17:07:04 -08:00
Jeff Gilbert
195cc8411d Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -08:00
Mike de Boer
4811200bb1 Bug 1334213 - listen to scroll events at the capturing phase to make sure to catch them when event propagation is stopped by a script in the current document. Also make sure to always update the yellow range outline position. r=jaws
MozReview-Commit-ID: 8C5uccBFGJ7

--HG--
extra : rebase_source : 7437e7479c597dc8b47b4f12c31ebe3e996c1e91
2017-02-02 14:59:53 +01:00
Mark Banner
74a3b5d2c6 Bug 1335813 - Enable eslint no-undef for toolkit, apart from components/ and content/, and fix various issues. r=jaws
MozReview-Commit-ID: LpXm7TbwvDb

--HG--
rename : toolkit/modules/tests/MockDocument.jsm => toolkit/modules/tests/modules/MockDocument.jsm
rename : toolkit/modules/tests/PromiseTestUtils.jsm => toolkit/modules/tests/modules/PromiseTestUtils.jsm
extra : rebase_source : 0013201da831f0d549aea2c9064481c1e1a3ffcc
2017-01-31 13:17:03 +00:00
Jared Wein
fc5fc4eca1 Bug 910022 - Allow websites to provide custom background colors and foreground colors for <select> popups. r=mconley
Portions of the patch were written by Jared Beach (beachjar@msu.edu)

MozReview-Commit-ID: 1SpUTJP8tPq

--HG--
extra : rebase_source : 26c4d857e42bb52a5d728ebeb9bfd8b1b57f98cd
2017-01-30 17:35:14 -05:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Christoph Kerschbaumer
5049be70f6 Bug 1307736 - Store triggeringPrincipal with all history entries. r=mdeboer 2017-01-27 11:19:27 +01:00
Shane Caraveo
d6558d44dc Bug 1190689 implement onAuthRequired for WebRequest, r=kmag
MozReview-Commit-ID: D6ydPIMNzDI

--HG--
extra : rebase_source : eb20ffb7d9169bcf523aab08d6382abf3ed93616
2017-01-26 13:40:36 -08:00
George Wright
336c9d520c Bug 1314803 - Remove supportsHardwareH264 from about:support r=mattwoodrow 2017-01-26 16:19:29 -05:00
Kit Cambridge
c8df401c3d Bug 1332024 - Add a method to explicitly finalize JSONFile objects. r=Paolo
MozReview-Commit-ID: QaRqLBGEft

--HG--
extra : rebase_source : 60eebe06afc5795463780eb99e4e6c42372d7e8b
2017-01-24 17:38:35 -08:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Andrea Marchesini
8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Wes Kocher
a65c1b1dfe Merge inbound to central, a=merge
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Phil Ringnalda
9823741350 Merge m-c to m-i 2017-01-23 18:57:15 -08:00
Kris Maglione
17c8da5586 Bug 1321637: Fix execution of batch files with spaces in path. r=mhowell,aswan
MozReview-Commit-ID: 8Q3KFLnXEkl

--HG--
extra : rebase_source : 2a5fa3acfb89c8492da23eee3e0340fd534fc026
2017-01-22 16:23:33 -08:00
Nihanth Subramanya
5b748059a7 Bug 1323420 - Fix curly brace positioning for eslint. r=past 2017-01-24 00:59:27 +05:30
Nihanth Subramanya
7e904b701f Bug 1323420 - Add a pref to control the close button on web permission prompts. r=past
MozReview-Commit-ID: JHEY478q3C

--HG--
extra : rebase_source : 402b02863e95f0cae9f6aaacc5f0645f31ca02b1
2017-01-16 18:08:07 +05:30
Mike de Boer
0ca886f4ee Bug 1316459 - play range outline animations after its properties have been set as the result of a scheduled repaint of the modal highlighter. r=Gijs
MozReview-Commit-ID: 4xLHwB0l4ja

--HG--
extra : rebase_source : 34e045fb3264ad86e819bd341dab57cd820f77ed
2017-01-23 20:13:07 +01:00
Christoph Kerschbaumer
e7473c84f8 Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione 2017-01-22 18:05:03 +01:00
Sebastian Hengst
a692f05c85 Backed out changeset 69fb2fc61535 (bug 1329288) 2017-01-22 13:09:48 +01:00
Christoph Kerschbaumer
130fcb1f75 Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione 2017-01-22 07:30:26 +01:00
Kris Maglione
6fc8fbf4d4 Bug 1305162: Follow-up: Fix bustage. r=me
MozReview-Commit-ID: 8FaZ1OKgDtF

--HG--
extra : rebase_source : f44209e18c96e69df4f6c0907d0d37115444199f
2017-01-21 16:58:46 -08:00
Kris Maglione
f8e67e77e1 Bug 1305162: Part 3 - Allow requestBody in release builds. r=mixedpuppy
MozReview-Commit-ID: AmlVoDduXHf

--HG--
extra : rebase_source : e0c6e132669599d585d417c25b971a91be202d85
extra : source : c633650caea682de11142d5cb6d28f3effcadf55
2016-12-09 14:37:48 -10:00
Kris Maglione
bfaef10f1b Bug 1305162: Part 2 - Remove support for upload streams with embedded headers. r=mixedpuppy,dragana
MozReview-Commit-ID: CuqOmas4WDM

--HG--
extra : rebase_source : 8d18377607e63641583008011244fc3c3b7ed5b9
extra : source : 1a23ce5a17c338a9ef902d4f30e586ad4444af36
2016-12-09 14:02:05 -10:00
Kris Maglione
a877454fe6 Bug 1305162: Part 1b - Properly serialize nsIMIMEInputStream in RemoteWebNavigation. r=dragana
MozReview-Commit-ID: 6PePVAEL1Px

--HG--
extra : rebase_source : a485b0c7dc427b82c2d6e1e440716040a885afc7
extra : source : 1202edf6008d7c4da0976c78ed88cec7aa4f05d1
2017-01-21 13:28:08 -08:00
Kris Maglione
440d6fcd02 Bug 1305162: Part 1a - Separate nsIMIMEInputStream headers from stream data. r=dragana
MozReview-Commit-ID: F1qZCBWUNRG

--HG--
extra : rebase_source : 7a4fdab3e4843a042a3d1101c5e58a6bb556ef7a
extra : source : de131f7c1fc1f60db42509aea646ef4540e6c5fe
2017-01-20 15:43:07 -08:00
Phil Ringnalda
74f10163fe Merge m-i to m-c, a=merge 2017-01-21 15:24:42 -08:00
Phil Ringnalda
c7973f5461 Backed out 5 changesets (bug 1305162) for permatimeout in e10s browser_action_keyword.js
Backed out changeset c633650caea6 (bug 1305162)
Backed out changeset 1a23ce5a17c3 (bug 1305162)
Backed out changeset d1095e03dfc6 (bug 1305162)
Backed out changeset 1202edf6008d (bug 1305162)
Backed out changeset de131f7c1fc1 (bug 1305162)
2017-01-21 09:41:03 -08:00
Phil Ringnalda
72dfd3bd3f Merge m-c to m-i 2017-01-20 19:16:11 -08:00
Kris Maglione
35dac0e368 Fix runChannelListener complexity warnings again, change severity to error. r=me (no bug)
MozReview-Commit-ID: HMUPIOLR61Y
2017-01-20 18:07:45 -08:00
Johann Hofmann
7585aacec4 Bug 1328740 - Focus popup notification panels on anchor icon keypress. r=florian
MozReview-Commit-ID: 1s0RzGJGVCX

--HG--
extra : rebase_source : 298f9f224ca195599ee6f4b42648821b1cc078f3
2017-01-18 23:12:35 +01:00
Wes Kocher
336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Carsten "Tomcat" Book
3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Neil Deakin
234dd053c4 Bug 1321472, move the drag-scrolling behaviour into the menulist binding so that both remote <select> elements and <menulist> can share this behaviour, r=mconley 2017-01-19 10:04:20 -05:00
Neil Deakin
9f8306f97f Bug 1321472, allow drag-scrolling the select popup when the mouse is pressed on an option in the list, r=mconley 2017-01-19 10:04:11 -05:00
Neil Deakin
839f1bb76c Bug 1311279, when the mouse is released, check if it should be retargetted at the select element in the content process, so that a click event is received, r=mconley 2017-01-19 10:03:56 -05:00
Johann Hofmann
42092fd6c2 Bug 1330609 - Hide the correct persistent popup notification on close. r=past
MozReview-Commit-ID: 23e8uKsz4tm

--HG--
extra : rebase_source : 778fa23fc246bce77f47a74ab7843468e35db7fa
2017-01-17 16:23:41 +01:00
Kris Maglione
af55a2e430 Bug 1305162: Part 3 - Allow requestBody in release builds. r=mixedpuppy
MozReview-Commit-ID: AmlVoDduXHf

--HG--
extra : rebase_source : 5690c15a3a106c01b38d1cf0e8089a282fa97f38
2016-12-09 14:37:48 -10:00
Kris Maglione
fe92df3631 Bug 1305162: Part 2 - Remove support for upload streams with embedded headers. r=mixedpuppy,dragana
MozReview-Commit-ID: CuqOmas4WDM

--HG--
extra : rebase_source : 8574ef48e52a1d0f6fe51d80026265e7461076c0
2016-12-09 14:02:05 -10:00
Kris Maglione
6587016b11 Bug 1305162: Part 1a - Separate nsIMIMEInputStream headers from stream data. r=dragana
MozReview-Commit-ID: F1qZCBWUNRG

--HG--
extra : rebase_source : 9d8af7eb8b24faaa3cf20dbe9ceccc8b6839cc93
2017-01-20 15:43:07 -08:00
Florian Quèze
3a6e5eb917 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
Neil Deakin
03860c9589 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:56:43 -05:00
Brian Grinstead
a7a654cb56 Bug 854126 - Enable lightweight themes in private windows;r=dao
MozReview-Commit-ID: D8nZY6lzgNV

--HG--
extra : rebase_source : 0ce147298e0cc4461865c005a44cbe96b4946cfa
2017-01-17 09:23:29 -08:00
Chris Pearce
fffddbdfce Bug 1329543 - Remove 'adobe' from GMP download code. r=spohl
MozReview-Commit-ID: HXcl2xNDgEo

--HG--
extra : rebase_source : 934855aee2eefbb7e2a13c360456cac118342b5e
2017-01-14 16:37:59 +08:00
Tyler Maklebust
db2430b4b9 Bug 1309935 - Add ability to find within select dropdown when over 40 elements. r=jaws
Original patch by Tyler Maklebust <tmaklebust@gmail.com> and Jared Beach <beachjar@msu.edu>

MozReview-Commit-ID: 7FW6PHIrXF4

--HG--
extra : rebase_source : e8132fc8af91657ca80f18a841101bc1070c8b15
2017-01-17 15:40:15 -05:00
Jared Wein
43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Jessica Jong
1f0dcc2334 Bug 1320225 - [DateTimeInput] Integration of input type=date input box with picker (part 1). r=mconley,smaug 2017-01-17 13:09:03 +08:00
Wes Kocher
f8a62a9ce6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -08:00
Mike de Boer
6e5d62a6f2 Bug 1316514 - if we attempt to make the 'Highlight All' toggle a global setting, then we need to set the pref when toggled. r=Gijs
What you see first is the removal of the line `this._highlightAll = aHighlight;`, which is repeated in the `_setHighlightAll` method.
This line was put here initially to make the test_findbar_events.xul test pass but in fact makes it so that the pref is never set in `_setHighlightAll`!
In other words, we never actually persisted the 'Highlight All' state properly.
Reading further: the `_dispatchFindEvent` attaches some findbar state flags to the event details, including the value of `_highlightAll`.
Even though none of our consumers use it currently (haven't checked if TB does, though), you can cancel further execution of highlighting all ranges.
Since the `_setHighlightAll` doesn't do that kind of processing, but merely makes sure the internal state is up to snuff, is persisted properly and the buttons are updated, I moved it up to be invoked before dispatching the event.

MozReview-Commit-ID: 4BBy4FR1r5c

--HG--
extra : rebase_source : 204e77aaef3cd55886daeb2e0fdef84da1159c68
2017-01-13 17:27:18 +01:00
Brian Grinstead
0dfcf308e1 Bug 1314091 - Expose 'compact' themes instead of the Dev Edition theme;r=Gijs
This commit does the following:
* Install two lightweight themes instead of one
* Introduce a build config to install the themes instead of relying on channel: INSTALL_COMPACT_THEMES
* Change browser-compacttheme to use the new themes instead of the old one
* Remove inferBrightness since the lwt colors are part of the compact theme definision, as opposed
  to the devedition theme which could be light or
* Update CSS to use :-moz-lwtheme-darktext and :-moz-lwtheme-brighttext instead of [devtoolstheme]

MozReview-Commit-ID: 4gKU68drlE2

--HG--
rename : browser/base/content/defaultthemes/devedition.header.png => browser/base/content/defaultthemes/compact.header.png
2017-01-13 11:53:58 -08:00
Carsten "Tomcat" Book
3ad97e202a merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Eric Rahm
87cfbc1b65 Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled.

MozReview-Commit-ID: 54xs3Hf1r4P

--HG--
extra : rebase_source : dfaf13fb4c2185985f4f074c338ccf1fef8f3c94
2016-12-20 15:11:36 -08:00
Florian Quèze
a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Phil Ringnalda
1c2d0d367f Backed out 3 changesets (bug 1322735) for ASan leaks and xpcshell/selftest.py failures
CLOSED TREE

Backed out changeset 01cfc71ce542 (bug 1322735)
Backed out changeset 84c729c41230 (bug 1322735)
Backed out changeset b419aaefae95 (bug 1322735)
2017-01-10 20:17:34 -08:00
Eric Rahm
2e195de610 Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled.

MozReview-Commit-ID: 54xs3Hf1r4P

--HG--
extra : rebase_source : 5fe27cdeeb464d81fbedc8c02ac187658bd759e7
2016-12-20 15:11:36 -08:00
Wes Kocher
269e3163e5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6wWFiDQ0QJ8
2017-01-10 18:35:54 -08:00
Gijs Kruitbosch
a8ec647c33 Bug 1329457, r=bz,dao
MozReview-Commit-ID: 9WNuDkQnyM0

--HG--
extra : rebase_source : 2e82c422eee1b70e6833be41b41378a3a71e70db
extra : amend_source : c8557f4955ea7a5548842cb9bd31935159f7106e
2017-01-09 16:07:57 +00:00
Mark Banner
582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Johann Hofmann
4c445dcf50 Bug 1331918 - Make addon install failure messages non-persistent. r=past
MozReview-Commit-ID: BO00gCCzT7f

--HG--
extra : rebase_source : b20327867e8cf87051d07e0d5a39d189899f06c5
2017-01-19 10:15:05 +01:00
Florian Quèze
34e970eb9b Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
ba08da0b5d Bug 1329012 - Enable the no-useless-call rule for eslint and fix the nine errors that it caught. r=mossop
MozReview-Commit-ID: 57vvfJlyvfW

--HG--
extra : rebase_source : 793106837614bc6756409712d8683a64f2096522
2017-01-05 12:56:53 -05:00
Jared Wein
f64146d9d7 Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS

--HG--
extra : rebase_source : a905658829084d3a4018df81f51bb210ef1e645b
2017-01-05 16:43:29 -05:00
Mike de Boer
f4e5c815e1 Bug 1324143 - part 3 - disable CPU intensive tasks when the page is too big to bother. r=jaws
MozReview-Commit-ID: CIEc2bYnxOq

--HG--
extra : rebase_source : f23d768de4ac35a4c61e44b9bb3b2f44669f5e74
2017-01-06 13:13:28 +01:00
Mike de Boer
15f7ccaaf7 Bug 1324143 - part 2 - stop doing expensive operations when we don't have to. r=jaws
MozReview-Commit-ID: 8v602Hiam4w

--HG--
extra : rebase_source : 38b29cec7dde482a1277b252ef369368a0e548d6
2017-01-06 13:11:31 +01:00
Mike de Boer
1a8c598c70 Bug 1324143 - part 1 - remove the deprecated '_getRangeContentArray' utility method and its uses, the unused '_maybeHighlightAll' findbar method and cleanup range outline highlighting code. r=jaws
MozReview-Commit-ID: gLKKEd3CoA

--HG--
extra : rebase_source : d9a7d19ac8787b0292a82387df886b8635d9fe43
2017-01-06 13:11:26 +01:00
Johann Hofmann
f15cf6b7a8 Bug 1320314 - Move popup notification layout overrides for arrow panels into a shared file. r=dao
MozReview-Commit-ID: ELIY3j2jzPm

--HG--
extra : rebase_source : 883a2f71e658e6dfbf26993da44f3cefc0286d57
2016-11-25 19:31:27 +00:00
Jared Wein
60b5555bc2 Bug 1328802 - Enable the no-unsafe-finally rule for eslint and fix the four errors that are triggered by it by moving the control flow statement outside of the finally block. r=mossop
MozReview-Commit-ID: 7UFBBpvptdd

--HG--
extra : rebase_source : b31f86341571ec6928caea130597e6c918a34636
2017-01-05 00:38:24 -05:00
Johann Hofmann
dde83f87bb Bug 1320719 - The Esc key should deny permission requests for persistent prompts. r=florian
MozReview-Commit-ID: 3qj0pub48q9

--HG--
extra : rebase_source : dd673fe21a890cfbb48447ecedfccefe1f54c09f
2016-12-09 15:04:01 -10:00
Mark Banner
46ee297329 Bug 1328565 - Prevent cases of Cu.import importing into variables and global scope at the same time. r=mossop
MozReview-Commit-ID: CXly2RhNpRP

--HG--
extra : rebase_source : 9b9a8542bbd437aa0160c122b1b826e08de03009
2017-01-04 19:37:43 +00:00
Mark Banner
39df62d9dc Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 78dXLYVW1gC

--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Aman Dwivedi
76edc7645b Bug 1320663 - Stop using timers in PrivateBrowsingUtils.jsm, r=mikedeboer 2017-01-03 15:44:41 +05:30
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
560afd3f8e Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn

--HG--
extra : rebase_source : f78d800263b8544ce0accbdb2dc57b303969543f
2017-01-03 10:07:50 -05:00
Kris Maglione
9822075cb5 Bug 1325158: Part 3 - Don't create a reference cycle via HTTP channel property bag. r=mixedpuppy
MozReview-Commit-ID: 40Ox7BDlgwy

--HG--
extra : rebase_source : 1ad1f43b7da1bb0be3b04814347396fc29fbb4f6
2016-12-24 18:26:03 -08:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c 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
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
malayaleecoder
80b5f709a6 Bug 1325099 - reset imported.Debugging.fake value and catch TypeError. r=jmaher
MozReview-Commit-ID: ElEGCLoSAeC
2016-12-24 02:44:56 +05:30
Robert Helmer
505a86593c Bug 1325501 - Adds ServiceRequest as a drop-in replacement for XHR, which uses conservative TLS settings r=mossop
MozReview-Commit-ID: 5937m90Q948

--HG--
extra : rebase_source : a5c107e486ef1dc646c8d730e658e9693a535883
2016-12-22 15:56:37 -08:00
Wes Kocher
65f15b63ea Backed out 3 changesets (bug 1325501) for xpcshell failures a=backout
Backed out changeset b6e50911ef79 (bug 1325501)
Backed out changeset c0493757d21e (bug 1325501)
Backed out changeset 880decff07b3 (bug 1325501)
2016-12-24 00:38:09 -08:00