Commit Graph

1908 Commits

Author SHA1 Message Date
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Carsten "Tomcat" Book
013fb0680e merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Mike de Boer
6a1a237f33 Bug 1347182 - Add support for setting the background color of all toolbars using a WebExtension theme. r=jaws,mattw
MozReview-Commit-ID: IbTBCjt6oJp

--HG--
extra : rebase_source : 89d8b8322d5e680bf6bef745ba8fcb8082168a1f
2017-06-15 19:20:26 +02:00
Honza Bambas
9e38f7b8fc Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer
--HG--
extra : rebase_source : c9690f4b8decd39a10da676bd50ec09cb2ad8892
2017-05-30 18:07:59 +02:00
Sebastian Hengst
c153d4ba27 Backed out changeset a4230d2eab5f (bug 1362330) for failing asan-fuzzing (Bof) job, undeclared identifier TaskCategory at nsContentPolicy.cpp:142. r=backout 2017-06-19 17:43:39 +02:00
Beekill95
02915ae8bc Bug 1362330 - Move XPath generation to Node's interface and move all remaining XPathGenerator.jsm functions to FormData. r=smaug, r=mikedeboer
MozReview-Commit-ID: Ej45wPeddtQ
2017-06-15 08:49:17 +07:00
Masatoshi Kimura
3231cb3535 Bug 1372886 - Remove dead parameters from nsIConverterInputStream.init(). r=hsivonen
MozReview-Commit-ID: GliLHLsUWjt

--HG--
extra : rebase_source : 50d3f4680a498125ddf600b0d64f6740b0229f80
2017-06-17 19:30:09 +09:00
Ben Tian
71ff52def2 Bug 1351072 - [e10s] Clear active document when closing popup of <select>. r=smaug
MozReview-Commit-ID: IaRG67FwIPL

--HG--
extra : amend_source : 3a2a548499fa73b9e9f8533777ebcf5fcbb626ae
2017-06-14 13:42:03 +08:00
Sebastian Hengst
265affc002 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5wTyHWufcCh
2017-06-16 09:50:00 +02:00
Robert Strong
f9ae3f3f52 Bug 1373267 - Remove hashFunction and hashValue attributes from nsIUpdatePatch and code related to these attributes. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadAndHashCheckMar.js => toolkit/mozapps/update/tests/unit_aus_update/downloadInvalidMar.js
2017-06-15 17:15:28 -07:00
Eitan Isaacson
309b4202e7 Bug 1366837 - Add AccessibleHandler registration info to aboutSupport. r=smaug r=aklotz 2017-06-15 15:55:06 -07:00
Andrew Swan
820b147630 Bug 1338327 Handle .cmd files with spaces in subprocess r=kmag
MozReview-Commit-ID: 9zr97CyY5in

--HG--
extra : rebase_source : 733b47dc230a7809960d8790e88e9616544b0bc1
2017-06-12 14:51:32 -07:00
Michael Kaply
464b2d8098 Bug 1372572 - Enable MOZ_ANDROID_MOZILLA_ONLINE for JS files. r=nalexander
MozReview-Commit-ID: FQV9ECjaQaz

--HG--
extra : rebase_source : 1342ef8952646f46104142ece0a0cedab24cd3f6
2017-06-15 11:21:09 -05:00
Wes Kocher
09a205279b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7AS5EEH6buZ
2017-06-13 18:36:04 -07:00
Wes Kocher
1af6d5cf57 Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: CBIFPwA5aNp

--HG--
extra : amend_source : 035a5be59d0046a643d0f836a95195e8c4ade4a6
2017-06-13 18:27:10 -07:00
Stephen A Pohl
10fd53c9e2 Bug 1149732: Avoid main-thread IO when installing GMP modules. r=Gijs 2017-06-13 16:29:28 -04:00
Scott Wu
5b4c4c8ee1 Bug 1365895 - Select element fires events properly when autofilled. r=MattN
MozReview-Commit-ID: 6OZX9ieQlw5

--HG--
extra : rebase_source : 303a68f759ab80bc03d061f5ff1cad0e28da1050
2017-06-13 14:46:21 +08:00
Paolo Amadini
b336d5e13d Bug 1371895 - Support legacy Task.jsm generators in DeferredTask.jsm. r=florian
This ensures legacy add-on compatibility by loading Task.jsm lazily when required. Once Task.jsm is removed, this code can be changed back to support only async functions.

MozReview-Commit-ID: 15nY8yArNlZ

--HG--
extra : rebase_source : 129fc4958730fb85176dbb26131cce79e531d41f
2017-06-12 16:42:47 +01:00
Kris Maglione
b8d0c25853 Bug 1371548: Accept invalid stderr handles when spawning subprocesses. r=aswan
MozReview-Commit-ID: B8FKavo7ksT

--HG--
extra : rebase_source : d2697519cfa2e26fa618c1789b5b9cfe0972f59a
2017-06-10 16:35:14 -07:00
UK992
5c9b361d43 Bug 1185482 - Remove gap between titlebar buttons and navigation toolbar r=dao
MozReview-Commit-ID: AD2opbF4Uxn
2017-06-10 18:20:53 +02:00
Carsten "Tomcat" Book
d5a13ba05e merge mozilla-inbound to mozilla-central a=merge 2017-06-09 12:58:49 +02:00
Shane Caraveo
284020a0de Bug 1367478 support websocket ws/wss protocol in matchpattern, r=kmag
MozReview-Commit-ID: 6cnRyWRnRzT

--HG--
extra : rebase_source : 7e021ac1733d2c166955a6f480e5f32615c6008c
2017-06-07 12:16:14 -07:00
Mark Banner
403075400a Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 5KC23kzaCFN

--HG--
extra : rebase_source : 6a7541b5ffe85d275bc16194c155ad43f93d52ae
2017-06-08 10:59:12 +01:00
Stephen A Pohl
630acd56de Bug 1364984 - Ensure that our sandbox and tests can handle temp directory paths using symlinks on macOS. r=haik,aswan 2017-06-07 20:40:58 -04:00
Ray Lin
083a2b81d1 Bug 1300996 - Part 2: Show preview text on and highlight the fields that would be filled. r=MattN, lchang
MozReview-Commit-ID: DMgVhz2lvZ1

--HG--
extra : rebase_source : 7394e1e0407829fcc4604d764e8cfd8afc326ef3
2017-04-24 10:55:29 +08:00
Matthew Noorenberghe
4c796ea4ce Backed out changeset 97543ecd15b6 (bug 1300996)
MozReview-Commit-ID: J1kR7Yl9ecF

--HG--
extra : rebase_source : 65391c64ea3b8b96f49d07ff0f1b3346bbb0a2cd
2017-06-08 19:54:51 +08:00
Ray Lin
c69f7d7b3a Bug 1300996 - Part 2: Show preview text on and highlight the fields that would be filled. r=MattN, lchang
MozReview-Commit-ID: DMgVhz2lvZ1

--HG--
extra : rebase_source : b7e4f4f9f1bb8fc356f6abf2863cd1d7f6159a61
2017-04-24 10:55:29 +08:00
Mike de Boer
3be1d64867 Backed out changeset f26ae19477f5 (bug 1347182) due to too many regressions. r=jaws,mattw
MozReview-Commit-ID: DD7RrNgl4dk

--HG--
extra : rebase_source : b4471d49ea72af4228a3847141bae33309b2da1b
2017-06-20 16:29:49 +02:00
Kris Maglione
9c37be53dc Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan
The first time any other code in the parent process uses NSPR (usually via
nsIProcess) to spawn a new process, it spawns a thread to contuously wait for
any child process to exit. This thread winds up reaping our child processes
before we get the chance to wait for them, which leads us to continuously poll
for them to exit.

We don't have a good way to handle this, but checking the error status of
waitpid at least prevents us from failing catastrophically.

MozReview-Commit-ID: 75Z1yUHUmjy

--HG--
extra : rebase_source : db45f781190b6fc84873c32c611134326736a1ba
2017-06-06 16:00:53 -07:00
Paolo Amadini
12dde8ba1c Bug 1370653 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : ae2dbfb46def5cec58bbdcb27ca3f60a636ce56d
extra : intermediate-source : 08cf07d18bc40082fd8592ba7ded0e16cd746455
extra : source : 22e7144f857ce6a49764375f1e5ddf3e1ead7a96
2017-06-06 21:33:08 +01:00
Kris Maglione
87f57f76b7 Bug 1322235: Part 3 - Use MatchPatternSet for whiteListedHosts and webRequest. r=aswan,zombie
This is the second step to migrating the policy service to pure native code,
with similar impacts and reasoning to the previous patch.

MozReview-Commit-ID: L5XdPzWNZXM

--HG--
extra : rebase_source : dda006a0afb9d56e2738dbc0b0d94ba0496db5c9
2017-06-03 22:11:20 -07:00
Sebastian Hengst
5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Shane Caraveo
da8da360a1 Bug 1367138 fix webrequest frameId and parentFrameId, r=aswan
MozReview-Commit-ID: F8lD8vvfSQ5

--HG--
extra : rebase_source : 6d50d32360f974165f0fef168f16d606f72f5dc0
2017-06-02 12:05:13 -07:00
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Alex Gaynor
d27dc0ba0b Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm

--HG--
extra : rebase_source : cd5a853c46a5cd334504b339bef8df30a3cabe51
2017-05-12 17:04:42 -04:00
Sebastian Hengst
fd03aa5bc8 Backed out changeset 4e283b54baa6 (bug 1358223) for build bustage on Android at dom/ipc/ContentChild.cpp:21. r=backout 2017-05-31 21:34:13 +02:00
Alex Gaynor
39f34ea898 Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm

--HG--
extra : rebase_source : 1a26ffc5b9f80e6df4c37c23f506e907ba44053a
2017-05-12 17:04:42 -04:00
Sean Lee
9dfd0aebc3 Bug 1360370 - Part 2: Support nsIDOMHTMLSelectElement in FormLikeFactory.createFromField.; r=MattN
MozReview-Commit-ID: CHxELtW4wXP

--HG--
extra : rebase_source : d5b6f0888f82844719448223193cdcc95c14b760
2017-05-08 17:39:11 +08:00
Dan Banner
ea09f270ab Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ

--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Shane Caraveo
3a09428334 Bug 1366710 set webrequest type to xmlhttprequest for fetch requests, r=aswan
MozReview-Commit-ID: GkhojDrmWC5

--HG--
extra : rebase_source : d1ff3031beb0a630b5eb2b090c38937ca09a9107
2017-05-23 13:33:55 -07:00
Paolo Amadini
526b9c359d Bug 1242505 - Part 2 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : 67219bd686d43199ab10652e6ee1fda8ee1a2d1a
extra : source : 22e7144f857ce6a49764375f1e5ddf3e1ead7a96
2017-05-25 15:00:29 +01:00
Sebastian Hengst
650ec6b428 Backed out changeset 22e7144f857c (bug 1242505) 2017-05-28 11:31:17 +02:00
Paolo Amadini
8cac26aed1 Bug 1242505 - Part 2 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : de5fa91a5e9769c7ca42fc2c00ea54f169a3e12b
2017-05-25 15:00:29 +01:00
Ryan VanderMeulen
ec2a7961fa Merge m-c to inbound. a=merge 2017-05-24 20:46:45 -04:00
L. David Baron
e9acd732ee Bug 1367505 - Set and clear pseudo-class locks all at once to avoid restyle thrashing when sending select options to parent process. r=jaws
This removes nearly half of the time spent in the child process pause in
bug 1118086.  (On my laptop, it cuts the child process pause from about
1560ms to 860ms; the parent process pause is still just over 5 seconds.)

Using querySelectorAll to find only the options that need to be locked
is much faster than iterating over them and locking all of them both
because the iteration is slow and the locking is somewhat slow even when
it's a no-op.

MozReview-Commit-ID: 17h3WIt9c2O

--HG--
extra : transplant_source : %A2H%DC%8A%CF%CFI%B0%D5%D2%05%1B6%B6%B1o%89%98D%1B
2017-05-24 18:25:39 -04:00
Sebastian Hengst
d1ec3e6aa9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Robert Strong
4b949ce27c Bug 1366917 - Include the system's RAM in the %SYSTEM_CAPABILITIES% value of the update URL. r=mhowell 2017-05-23 21:45:50 -07:00
Doug Thayer
646edb5fab Bug 1359733 - Move menu notification state to jsm r=Gijs
Right now, app menu doorhangers/badges have their state managed
directly inside panelUI.js. This is problematic because these
doorhangers and badges usually have to do with Firefox itself,
and not the specific window that's showing them. Accordingly, the
simplest solution was to move panelUI.js's notification state out
into a jsm file, which will fire notifications that all panelUI
instances can listen to.

MozReview-Commit-ID: 7b8w1WsQ29p

--HG--
extra : rebase_source : 23575df8176b862ec0e6a039173b105c45c76de9
2017-05-18 13:22:27 -07:00
Ryan VanderMeulen
4202c4feab Merge m-c to autoland. a=merge 2017-05-23 18:13:54 -04:00
Mark Banner
d1dfdb8a14 Bug 1367232 - Clean up various ESLint global definitions in toolkit/. r=mossop
MozReview-Commit-ID: Hhm4YBansg1

--HG--
extra : rebase_source : 3cb49159fa3f5dae12e4eb21f22e747850fdf184
2017-05-19 09:22:48 +01:00
Sam Foster
70e0807e88 Bug 1367166 - Add MOZ_PHOTON_ANIMATIONS to AppConstants. r=jaws
MozReview-Commit-ID: 3l88gd6KmOO

--HG--
extra : rebase_source : 2abf0ece51cd617468f720df9d4b9844fc4d6145
2017-05-24 10:57:31 -07:00
Geoff Lankow
27787d394f Bug 1361899 - Allow extensions to specify provider when calling topSites.get. r=mixedpuppy 2017-05-20 14:06:16 +12:00
Wes Kocher
8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Andrew Swan
403ece85aa Bug 1359203 Part 2 Add build-time constant for allowing legacy extensions
MozReview-Commit-ID: GhluEfupIrL

--HG--
extra : source : 510bb3d21711c04700b250e484b616a2a1d552ec
2017-05-12 21:28:14 -07:00
Andrew Swan
10954a70df Bug 1359203 Part 1 Replace AddonConstants with AddonSettings
AddonConstants duplicated AppConstants, but having it just include
the build-time constants meant that the logic for whether to enforce
signing was repeated in a few places (and it was incorrect in
the front-end code!).  Now we centralize that logic in AddonSettings.jsm

MozReview-Commit-ID: 2f4x9fnUpPs

--HG--
extra : source : a589b98517d5fc6fe1704f752a7eb2984d18b3ac
2017-05-15 22:03:41 -07:00
Andrew McCreight
9cc36bb50a Bug 1366023 - Explicitly import Services.jsm in a few content scripts. r=Gijs
MozReview-Commit-ID: 5HS9tXk3oa9

--HG--
extra : rebase_source : f63765ed9759073b00a66c35f07dbb11c1585326
2017-05-12 15:57:53 -07:00
Marco Bonardo
bac23ee9cb Bug 1364488 - Allow fetch to use a concurrent connection. r=standard8
MozReview-Commit-ID: 4L4PFtXsjsy

--HG--
extra : rebase_source : f12cbc4f9f6bb5cf9fc791c1c44978c98e3ca325
2017-05-17 15:51:02 +02:00
Robert Strong
c716ab4db4 Bug 1366918 - Remove redundant tests from urlConstruction.js and add tests that can be added to test_UpdateUtils_url.js from urlConstruction.js. r=mhowell 2017-05-23 10:07:35 -07:00
Robert Strong
bfd48cfdbd Bug 1366905 - Remove gonk code from UpdateUtils.jsm. r=mhowell 2017-05-23 10:07:30 -07:00
Shane Caraveo
64f4934bf7 Bug 1338860 fix onErrorOccurred to handle some additional errors, r=aswan,kmag
MozReview-Commit-ID: I5uZmhWFBUd

--HG--
extra : rebase_source : 6a459ea03d955ad69185982b3dcae2d789732c12
2017-06-02 14:16:48 -07:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Paolo Amadini
5974d2958c Bug 1362384 - Remove code to import data from "downloads.sqlite". r=mak
When upgrading an old profile that still uses "downloads.sqlite", information about in-progress and paused downloads will be lost. The history of completed downloads will be preserved because it is stored in the Places database, although it may be affected by history expiration.

MozReview-Commit-ID: GFqvACKC4E1

--HG--
extra : source : 63d49c2d1fd68be15e295b90e9f0c98170158466
2017-05-15 10:48:04 +01:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Kris Maglione
074f5a19ce Bug 1358846: Part 2 - Allow using file compression with JSONFile.jsm. r=rhelmer
MozReview-Commit-ID: 5lHsZqBGq3E

--HG--
extra : rebase_source : 1df59152becd11bd95b97fc94ebca83392c17027
extra : source : cb2518673c56cf3b45e4d4a8f2959191290c00d8
2017-04-22 18:23:22 -07:00
nbeltran14
8a674f1ac1 Bug 1360132 - Escaped tagName with cssEscape in findCssSelector to deal with special chars; r=pbro
MozReview-Commit-ID: CadEDXDYeBV

--HG--
extra : rebase_source : 0f993ff164156e46271c2c249d801404c0396318
2017-05-11 20:03:35 +02:00
Florian Quèze
97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
67e56b7404 Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop. 2017-05-12 14:54:42 +02:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze
2e2f358aa9 Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Ed Lee
b7eda53134 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu

--HG--
extra : rebase_source : 1c58ac542180f0abb290639ec1c61b9edf3d0a51
2017-05-02 17:09:16 -07:00
Wes Kocher
75c2b7a481 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3BrkDVl7521
2017-05-08 16:24:51 -07:00
Paolo Amadini
eddc9033bf Bug 1254558 - Remove about:config preferences only used by the legacy nsIDownloadManager code. r=mak
MozReview-Commit-ID: 7XSnNdirh8s

--HG--
extra : rebase_source : 9b475be16843af7c3dd2244ef43cd34b1c8e5ea3
2017-05-05 11:51:09 +01:00
Frederik Braun
cd1cbcef0f Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
MozReview-Commit-ID: 4nYlX4sSdbF

--HG--
extra : rebase_source : cf610e7d8bf2b8dbd5a0d40c5b835bc6620c3bba
2017-05-08 14:50:50 +02:00
Kit Cambridge
5fc76a861d Bug 1361171 - Remove CloudSync. r=markh
MozReview-Commit-ID: CjBsEZa6oIP

--HG--
extra : rebase_source : 965db37197242acf63e77dbcca74a2984532b4ff
2017-05-01 14:43:00 -07:00
Dan Banner
55d44a55b2 Bug 1351658 - Package PropertyListUtils.jsm only on Mac r=florian
MozReview-Commit-ID: wnhR1G5v0y

--HG--
extra : rebase_source : 71ad2fe4feb52a4d362059da7f66da809aae6c0b
2017-05-04 16:49:42 +01:00
Julian Descottes
d86bd44c46 Bug 1356415 - move devtools helper findCssSelector to shared module in toolkit;r=mixedpuppy
MozReview-Commit-ID: 2KOeij1oJnT

--HG--
rename : devtools/shared/tests/mochitest/test_css-logic.html => toolkit/modules/tests/chrome/test_findCssSelector.html
extra : rebase_source : 940ee1fb814bc33836c1be8e569ed57a6c62ab2e
2017-04-26 15:30:36 +02:00
Jared Wein
c352d05b9b Bug 1343569 - Delay hiding the popup on blur if the search field gains focus. r=enndeakin+6102
Since the order of events is 'blur' followed by 'focus', we send a message from the content process to the parent process and wait for a reply to give enough time for the parent process to signal that the 'blur' was related to the focusing of the search field. If the parent process hasn't signaled as such, then the content process will proceed with hiding the dropdown.

MozReview-Commit-ID: 6ngoo9uHcsM

--HG--
extra : rebase_source : caf43a975827aec71ba82fe39435b05c954673bc
2017-04-25 20:19:42 -04:00
k88hudson
0c020ed6f3 Bug 1361797 - Migrate History/Bookmark observers to system add-on r=ursula
MozReview-Commit-ID: 2qK24pez8MZ

--HG--
extra : rebase_source : eb3e8a7e0b8cf4990bb655e49c6a33021cb095dc
2017-05-03 14:32:47 -04:00
Nathan Froyd
629c18d12a Bug 1351093 - remove Sntp.jsm; r=florian
This code was only ever used by now-removed B2G code.
2017-05-02 12:23:45 -04:00
Sean Lee
becccc7385 Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK

--HG--
extra : rebase_source : b763eba5ea36744f9b05149d42b6d5680e0843e8
2017-04-21 15:20:26 +08:00
Phil Ringnalda
eb8dafe978 Backed out 2 changesets (bug 1349489) for xpcshell failures in test_Macys.js
CLOSED TREE

Backed out changeset e7ace7047297 (bug 1349489)
Backed out changeset 6b3ebb0930bd (bug 1349489)

MozReview-Commit-ID: GMMNNjIWIIR
2017-04-28 20:31:32 -07:00
Phil Ringnalda
b9b730fd1f Backed out 7 changesets (bug 1302470) for mochitest-chrome failures
CLOSED TREE

Backed out changeset de9f42b512c8 (bug 1302470)
Backed out changeset 2394e63f50ff (bug 1302470)
Backed out changeset 3542d7bacbdc (bug 1302470)
Backed out changeset 22793139a866 (bug 1302470)
Backed out changeset cc6ff95187d0 (bug 1302470)
Backed out changeset 033fce5ecd39 (bug 1302470)
Backed out changeset 0bb3e70e5f46 (bug 1302470)

MozReview-Commit-ID: 5DmpbQp335X
2017-04-28 20:12:06 -07:00
Sean Lee
5e1dd7c171 Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK

--HG--
extra : rebase_source : bac8f8dfed0687fe3ab9557a4cc9712b05c0e575
2017-04-21 15:20:26 +08:00
Mike de Boer
eac670041e Bug 1302470 Part 7: Properly check for a frame's visibility, do not abuse isRangeVisible() for that purpose. r=mikedeboer
MozReview-Commit-ID: ErviFQrJR1u

--HG--
extra : rebase_source : 5b4dc3f6df1df97f1bef6187ff5a9da4ab0b01cb
2017-04-28 19:06:35 +02:00
Mike de Boer
ab63baf3ba Bug 1302470 Part 6: Connect up FinderHighlighter.jsm with the new isRangeVisible function. r=mikedeboer
MozReview-Commit-ID: ABfAoZ4CBjP

--HG--
extra : rebase_source : ee8773fd33327410584240db2a35b80cab5d7733
2017-01-23 17:39:07 +01:00
Ursula Sarracini
d02542fcae Bug 1345122 - Update NewTabUtils.jsm for Activity Stream's needs r=mak
MozReview-Commit-ID: 3SpJucjKNby

--HG--
extra : rebase_source : 4613cc7c8ab832cbf605d50e385513b6b84a75ee
2017-04-28 10:00:30 -04:00
Alessio Placitelli
de1f4c78e1 Bug 1346223 - Remove SessionRecorder.jsm. r=gfritzsche
This patch also moves the activeTicks logic to TelemetrySession.jsm
along with the related test coverage.

MozReview-Commit-ID: 8vXffqo2V85

--HG--
extra : rebase_source : f681b06b48a56e2890af98fd3a1b2dc21a44a77c
2017-04-24 16:32:14 +02:00
Phil Ringnalda
44cd802e93 Backed out 2 changesets (bug 1349489) for xpcshell failures in test_Macys.js and test_Walmart.js
CLOSED TREE

Backed out changeset 7b8379154e08 (bug 1349489)
Backed out changeset a093b634c4d5 (bug 1349489)

MozReview-Commit-ID: 35RBBL8o1I9
2017-04-27 19:23:21 -07:00
Sean Lee
c0d7c47e39 Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK

--HG--
extra : rebase_source : bf44316d0f5eff29b5ea6cda3012641dab63fc8e
2017-04-21 15:20:26 +08:00
Alexandre Poirot
9c1aa4308f Bug 1356231 - Import DevTools event-emitter module to toolkit as a JSM. r=mossop
MozReview-Commit-ID: 7sgCLkQczet

--HG--
extra : rebase_source : e44696d1932d85eff365727e3d1bf25f6104e01c
2017-04-25 18:54:35 +02:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Carsten "Tomcat" Book
d9cce3c040 merge autoland to mozilla-central a=merge 2017-04-26 08:40:02 +02:00
Aaron Klotz
fbbeb0f6f6 Bug 1358552: Fix incorrect ABI specification in js-ctypes declarations in toolkit; r=froydnj
MozReview-Commit-ID: JuNNtbNC5pe

--HG--
extra : rebase_source : a933bf87b3533bca9b6bda28fe0a763ff84ddf0b
2017-04-25 13:00:23 -06:00
Florian Queze
8639183be7 Bug 1359111 - stop using BrowserUtils.makeFileURI, r=jaws. 2017-04-25 09:21:50 +02:00
Florian Queze
b6597dcb0c Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Jessica Jong
f005bb88d4 Bug 1301310 - Hide input date/time picker only when input element blurs. r=mossop
If we rely on XUL panel's default behavior, the picker is hidden and opened
again when we jump from one inner field to another with a mouse click, this is
because XUL pannel gets hidden when user clicks outside it with
noautohide=false. In order to avoid this, we should close it explicitly only
when input element blurs.

MozReview-Commit-ID: GxPxd0wPWgM

--HG--
extra : rebase_source : 3bac43a57da51a341d7ec4bb7b86807f55308f39
2017-04-20 15:04:10 +08:00
Sebastian Hengst
4608be37d8 Backed out changeset 726e98cd071e (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst
6784deba77 Backed out changeset 95aca3b5524e (bug 1302470) 2017-04-21 19:09:11 +02:00
Brad Werth
b50a85c16e Bug 1302470 Part 7: Disable part of the browser_Finder.js test until Highlight All is fixed for iframe content. r=mikedeboer
MozReview-Commit-ID: Jyn2YOIlIlV

--HG--
extra : rebase_source : 3f2ff4cc577839eca5eb623faa07d83cd63efb28
2017-04-21 08:25:42 -07:00
Mike de Boer
5d0044b89a Bug 1302470 Part 6: Connect up FinderHighlighter.jsm with the new isRangeVisible function. r=mikedeboer
MozReview-Commit-ID: ABfAoZ4CBjP

--HG--
extra : rebase_source : 5099f8cd35e3f293bf8a6e791929ddbc054f7c31
2017-01-23 17:39:07 +01:00
Carsten "Tomcat" Book
b6ae5cfccc Backed out changeset eb2930fc7c59 (bug 1302470)
--HG--
extra : rebase_source : b7ea38492e4d956798e3dd94230674f1aece0d47
2017-04-21 17:10:35 +02:00
Carsten "Tomcat" Book
23d4250821 Backed out changeset 855488862155 (bug 1302470)
--HG--
extra : rebase_source : cb6c74638531146478c090bec68b88726f8092e5
2017-04-21 17:10:32 +02:00
Brad Werth
6829a96059 Bug 1302470 Part 7: Disable part of the browser_Finder.js test until Highlight All is fixed for iframe content. r=mikedeboer
MozReview-Commit-ID: Jyn2YOIlIlV

--HG--
extra : rebase_source : 9bb3c8227a547e2e12804179c57116937b7cbdcf
2017-04-20 14:09:07 -07:00
Mike de Boer
0b8a2bd88b Bug 1302470 Part 6: Connect up FinderHighlighter.jsm with the new isRangeVisible function. r=mikedeboer
MozReview-Commit-ID: ABfAoZ4CBjP

--HG--
extra : rebase_source : 24d59c8d804771a5c6d65cc6246dfb457b0f10aa
2017-01-23 17:39:07 +01:00
Kevin Jones
a7fa6eb9b7 Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Chih-Yi Leu
c9af51ae1e Bug 1355430 - Part1: s/MOZ_debug_get/MOZ_debug; r=baku,jgilbert
MozReview-Commit-ID: 7RUzGo3QJV5

--HG--
extra : rebase_source : a16494b7671feafabd24f2e0ea909d38a0b5910e
2017-04-11 16:50:59 +08:00
Shane Caraveo
f6660740ac Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2

--HG--
extra : rebase_source : 0324030e5f7f534256ff0c469bb486dc52e282c2
2017-04-18 15:50:53 -07:00
Sebastian Hengst
1dd0176f22 Backed out changeset 773f5b2cb868 (bug 1355430) for unexpectedly passing own test dom/canvas/test/webgl-mochitest/test_video_fastpath_mp4.html on Windows. r=backout 2017-04-18 21:09:25 +02:00
Chih-Yi Leu
5974ad86a4 Bug 1355430 - Part1: s/MOZ_debug_get/MOZ_debug; r=baku,jgilbert
MozReview-Commit-ID: 7RUzGo3QJV5

--HG--
extra : rebase_source : 3b2ee0101f9687d2c8d49083138d6afb31c75534
2017-04-11 16:50:59 +08:00
Zibi Braniecki
a1a4f0b7c9 Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst
7b30105d39 Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki
cce53c69bc Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione
e1feed9d51 Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd

--HG--
rename : toolkit/components/extensions/ExtensionContent.jsm => toolkit/components/extensions/extension-process-script.js
extra : rebase_source : cc473732c152fa2ac47202a8c5634e4a68a30763
extra : absorb_source : 4a9b52534bee64e907e61f3bb229b0ad7849c097
2017-04-14 17:00:51 -07:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Iris Hsiao
93edef392b merge autoland to mozilla-central a=merge 2017-04-14 17:09:58 +08:00
Eugen Sawin
dcad97fb02 Bug 1355542 - [1.1] Respect filter mask in remote web progress notification dispatching. r=felipe 2017-04-13 23:17:23 +02:00
Wes Kocher
20dd5f52c2 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Kris Maglione
a9484b93df Bug 1355120: Follow-up: Disable old WebNavigation.jsm tests. r=bustage
MozReview-Commit-ID: 5GiFrFUUR8Q
2017-04-12 20:51:35 -07:00
Kris Maglione
307bb6e57e Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot

--HG--
extra : rebase_source : 0c68bc16eaa016bc7d0e228a95e10d9348dda59f
2017-04-12 14:12:22 -07:00
Marco Bonardo
13e5047247 Bug 1356284 - Avoid a not strictly needed but expensive concat in Sqlite.jsm::bindParam. r=florian
MozReview-Commit-ID: Kx1x4h5odsP

--HG--
extra : rebase_source : 1bfabbf6f8a96a50a647a2cb9599cea4f7145de9
2017-04-13 18:49:45 +02:00
Gijs Kruitbosch
519b14ab26 Bug 1356030 - move HiddenFrame.jsm to toolkit, r=kmag
MozReview-Commit-ID: DUuYqamNMdT

--HG--
rename : browser/modules/HiddenFrame.jsm => toolkit/modules/HiddenFrame.jsm
extra : rebase_source : 7624e178fd2ba0ca9ba6d624ff2d18156e8d90fe
2017-04-13 11:42:56 +01:00
Bob Silverberg
b945ec9ade Bug 1344857 - SessionStore does not return titles for tabs which have a url that is identical to the title, r=mikedeboer
MozReview-Commit-ID: H7dHJo6rOuz

--HG--
extra : rebase_source : 6f4c483db21d659e84878f29bb1bb4e7ab6e3781
2017-04-11 13:50:24 -04:00
Jared Wein
29cbea21ed Bug 1355078 - Restore scroll position after updating select popup. r=mossop
MozReview-Commit-ID: 7HfuUCymDz

--HG--
extra : rebase_source : ca73fb30b6f77ddfd7718a6dd3fc747a8533bc8c
2017-04-11 01:36:07 -04:00
Jared Wein
169ec2a84e Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
MozReview-Commit-ID: 3jzZOIiJyXT

--HG--
extra : rebase_source : 1c223d7c90c72c32386a46dccaa745fd19418fae
2017-04-10 16:03:03 -04:00
Zibi Braniecki
9f6c244d29 Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak
MozReview-Commit-ID: 4z13lcLXN9T

--HG--
extra : rebase_source : 8043212542b95ca76cf5957fa1ca05e6943fb635
2017-04-08 23:04:32 -07:00
Mark Striemer
bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00
Tomislav Jovanovic
4a2810c87b Bug 1345225 - Check if webRequest filters overlap with host permissions r=kmag
MozReview-Commit-ID: 1tMHynv9FBO

--HG--
extra : rebase_source : 2d031c0a6485381e824d3df1b3d793a3b67ef3fe
2017-03-26 20:53:28 +02:00
Joel Maher
bc070be3c8 Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Johann Hofmann
b707953aec Bug 1353980 - Don't try to hide popup notifications in fullscreen mode. r=Paolo
MozReview-Commit-ID: 5VWHooAIMRT

--HG--
extra : rebase_source : 68edd613749004836dfecc0cc7e857ec6e3d69ae
2017-04-07 12:13:15 +02:00
Tomislav Jovanovic
1e5500a298 Bug 1323036 - Preserve case of header names r=mixedpuppy
MozReview-Commit-ID: 2jDHOr2GI6T

--HG--
extra : rebase_source : 431c6a478382baf4188bb776dddc40daed0f9f2f
2017-04-06 01:08:11 +02:00
Mark Banner
585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Johann Hofmann
d9c8f7d70b Bug 1334496 - Part 1 - Add an autofocus option to PopupNotifications.show. r=Paolo
MozReview-Commit-ID: DrJOjUWJJOD

--HG--
extra : rebase_source : 75f395dcadd1134fe7ca6169533ffaa4c65a1485
2017-02-17 14:56:23 +01:00
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