Commit Graph

19054 Commits

Author SHA1 Message Date
Shih-Chiang Chien
69d4008264 Bug 1338493 - Part 1, make webReqeust test to fiddle the main event loop after loading CSS/JS. r=kmag
Making ODA completely off-main-thread will make the order webRequest.onCompleted and CSS/JS execution unpredictable.
|window.requestIdleCallback| is used to fiddle the main thread event queue.

MozReview-Commit-ID: LIk0T96K6p1

--HG--
extra : rebase_source : 6a49660515d6b9fdb22a14174fb789e738d89f15
2017-05-22 11:41:08 +08:00
Sebastian Hengst
6d1aee1b24 Backed out changeset 26fd6d0a1254 (bug 1369577) for failing xpcshell's test_ext_simple.js and test_ext_startup_cache.js on Android. r=backout 2017-06-30 01:01:13 +02:00
Sebastian Hengst
61fb850321 Backed out changeset dfb376de5c23 (bug 1369577) 2017-06-30 00:59:59 +02:00
Sebastian Hengst
2cfb02f19d Backed out changeset c0fd6c0590be (bug 1360872) for unused parentId at toolkit/components/places/Bookmarks.jsm:461. r=backout 2017-06-30 00:16:35 +02:00
Andrew Swan
f512794b1a Bug 1369577 Part 2 Propagate isHandlingUserInput for browserAction, pageAction, and menus r=kmag
The implementations of browserAction, pageAction, and menu onClick
handlers now stash the current <browser> until we get a reply from
the extension process indicating that the handler has finished running.
We also have to take care to keep that <browser> around even if the
permissions api has to be loaded asynchronously.

MozReview-Commit-ID: BYJaiwdj40u

--HG--
extra : rebase_source : f0eb9522e532071a11c3424f8fffddf12300504f
2017-06-15 12:48:40 -07:00
Andrew Swan
c60b71854e Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG

--HG--
extra : rebase_source : 22cf5ee36dfa27e121a5c577bce2fd0189ccb164
2017-06-09 13:49:07 -07:00
Chris H-C
2fffc9a94e bug 1373728 - Count how many pinned tabs are restored in a session r=bsmedberg,Dexter
Pinned tabs, when restored, load. This can have startup impact.
We should probably measure this.

To avoid impacting startup ourselves, do this when idle or after 60s from
session restore, whichever comes first.

MozReview-Commit-ID: EQzqqcz4IdL

--HG--
extra : rebase_source : 85158b6731862933027e90b1fe607a6794b68f52
2017-06-28 15:14:22 -07:00
Kit Cambridge
e80441db92 Bug 1360872 - Return empty strings for null bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : bea2d2589b2a09ba70a5c8e2b50ceee21acf3f0b
2017-06-06 14:37:22 -07:00
Mike Hommey
8022e9e91e Bug 1376704 - Remove szip support in the linker. r=snorp
Since bug 1307886, we don't actually use szip anymore, and don't even
have the option to package Fennec using it. We can thus remove the
support for loading them, as well as on demand linkage.

The latter might mean we can remove the segfault handler, but it's
unclear whether this is currently working around other issues with
registering signal handlers, so we'll leave that to a followup.

--HG--
extra : rebase_source : ec23cd4e78f259a70f6690adc8dfabb557e8f304
2017-06-28 15:47:31 +09:00
Mark Banner
cd84e4a9db Bug 1377181 - PlacesUtils.getFolderContents should throw if a non-id is passed. r=mak
MozReview-Commit-ID: KknK4wTYBAc

--HG--
extra : rebase_source : f375a8c6fb3fae21515623ac2fcbc8b36b3fcc30
2017-06-29 11:28:11 -07:00
Bobby Holley
716655ccab Bug 1376359 - Include the stylo pref in telemetry pings. r=gsvelto 2017-06-29 12:03:39 -07:00
Mark Banner
63bd606b32 Bug 1119282 - Update most browser/components/places browser mochitests to pass with async Places transations and fix some async transaction issues. r=mak
MozReview-Commit-ID: Lc5oWCx1onJ

--HG--
extra : rebase_source : 6272b9cc6bc5907e3d022d647a9dd33c41db23a5
2017-06-27 15:08:31 -07:00
Bob Silverberg
29414a264f Bug 1374237 - Part 2: Declare all top-level functions in toolkit API files files via const., r=mixedpuppy
Also changed some function names to attempt to guarantee uniqueness across API files.

MozReview-Commit-ID: GnwWwTADF3a

--HG--
extra : rebase_source : 2d51f3de2958089de97ce98ed1f01c68ec0ed74a
2017-06-21 14:29:37 -04:00
Bob Silverberg
bb1231853d Bug 1374237 - Part 1: Uniquify the name of the convert functions in ext-cookies.js and ext-bookmarks.js, r=mixedpuppy
Also declare all top-level functions in those files via const.

MozReview-Commit-ID: FsIEHVeotX8

--HG--
extra : rebase_source : 8257fac9824fddb78bf79c6d45eb16f6c0797603
2017-06-21 14:19:39 -04:00
Carsten "Tomcat" Book
5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Benjamin Smedberg
53c93f8449 Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
MozReview-Commit-ID: FD5npJlB24W

--HG--
extra : rebase_source : d30bac5044ecb8d86253e8bca3e8d47371fb9d1f
extra : source : 4f0ee0f75a307095e4a04afe4413e5bb6ea8e502
2017-06-21 15:26:10 -04:00
Benjamin Smedberg
99934f23b3 Bug 1375077 - Change app update timer to shut down at profile-before-change instead of xpcom-shutdown, r=rstrong
MozReview-Commit-ID: FVTT9Chtvmf

--HG--
extra : rebase_source : d51ea09815395af4431ccf96b814a7f8a05eac03
extra : source : 5856f1c45a92e1f8d8d4cc588bc5510b1d29bf89
2017-06-21 11:35:52 -04:00
Vanessa Gutierrez
ce312588a0 Bug 1376629 - Discard changes to npm-shrinkwrap.json and package.json. r=gfritzsche 2017-06-28 15:12:00 -04:00
Paolo Amadini
06de7cf6bf Bug 1374242 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 6b27b77da78743880529adae7adf4ec2aa64dfea
extra : intermediate-source : 5809a30a0c4817509beb1078cf336d8367b8107a
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-06-29 00:13:06 +01:00
Sebastian Hengst
5b82b79d9c Backed out changeset 1cd9e27f0fa1 (bug 1351608) 2017-06-29 01:01:15 +02:00
Sebastian Hengst
c880c0301d Backed out changeset 5659f6c9a7c5 (bug 1119282) 2017-06-29 04:00:21 +02:00
Mark Banner
c4048deb35 Bug 1119282 - Update most browser/components/places browser mochitests to pass with async Places transations and fix some async transaction issues. r=mak
MozReview-Commit-ID: Lc5oWCx1onJ

--HG--
extra : rebase_source : 6272b9cc6bc5907e3d022d647a9dd33c41db23a5
2017-06-27 15:08:31 -07:00
Kan-Ru Chen
a6052d02e5 Bug 1353731 - Only attempt to reset timer every per osfile.reset_worker_delay. r=Yoric
After this patch for every restartTimer() call we only set a flag to
indicating that we should reset the timer when the timer fires.

MozReview-Commit-ID: GRInHxuEEQM

--HG--
extra : rebase_source : c1961186356f818061553330d7255f3851702825
2017-06-27 16:04:51 -07:00
Nan Jiang
29b9ec51dc Bug 1352502 - Part 2. Add API to update the page meta info for Places. r=mak
MozReview-Commit-ID: K3SjQr3ayjS

--HG--
extra : rebase_source : 8fda3d2d7ea5f5e1883b2a96e03175c7265f7e52
2017-06-23 14:30:27 -04:00
Nan Jiang
eb809f32a5 Bug 1352502 - Part 1. Add description and preview_image_url to Places. r=mak
MozReview-Commit-ID: 4dvVboTm4kf

--HG--
extra : rebase_source : 8e5a0ebc9c9e4930b2a0f013c47c7018deb6ad54
2017-05-23 14:54:13 -04:00
Matthew Wein
bdae7d6f5b Bug 1371879 - Add support for unregistering proxy scripts r=mixedpuppy
This patch suggests deprecating proxy.registerProxyScript and replacing it with proxy.register since this API won't support registering anything other than proxy scripts. I normally would be hesitant to suggest making a name change after an API is released, but this API is one that is still in development, and for that reason I think changes like this should be somewhat expected until the API becomes more stable.

MozReview-Commit-ID: 9UeuUjQ6OU5

--HG--
extra : rebase_source : 62aaf71ee3928ceb6cccc1129f5ebbc871d812b8
2017-06-26 00:41:33 -04:00
Carsten "Tomcat" Book
45f2e51f0a Merge mozilla-central to autoland 2017-06-28 13:47:29 +02:00
Carsten "Tomcat" Book
7918eeee02 merge mozilla-inbound to mozilla-central a=merge 2017-06-28 13:23:29 +02:00
Andy McKay
d8a34a9438 bug 1373850 add browser.theme.reset which allows unloading changes caused by browser.theme.update and resets to the default theme r=mattw,mikedeboer
MozReview-Commit-ID: 4wZQNsM2bFw

--HG--
extra : rebase_source : 55fd4f87c760010f276ac5985f1dc71c5632473e
2017-06-27 12:57:19 -07:00
Mark Banner
2db2a46875 Bug 1376234 - Convert more xpcshell-tests in toolkit/components/places/tests/unit to async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FF7URaUt5fM

--HG--
extra : rebase_source : f51426da947d3d659c6bdd8209adde150be9393d
2017-06-26 12:52:29 -07:00
Mark Banner
10d2d118a3 Bug 1376234 - Convert some xpcshell-tests in toolkit/components/places/tests/unit to async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: 8c5NZDfrh4e

--HG--
extra : rebase_source : 40253fc2114edc7d254bbca55d648e42f838d1bb
2017-06-25 12:13:21 +01:00
Mark Banner
333108d7f0 Bug 1376232 - When updating date added the async Bookmarks.update API should also change the last modified date. r=mak
MozReview-Commit-ID: BGiT1w8BVlq

--HG--
extra : rebase_source : 65525014511d46491d6b7d3294260fb65f9cae40
2017-06-25 20:17:12 +01:00
Mats Palmgren
e7a32e265e Bug 1376471 - Just use Put rather than Get+Remove+Put when an entry already exist. r=froydnj
MozReview-Commit-ID: EQDSF4mkQZ3
2017-06-28 01:03:17 +02:00
Jed Davis
eaff967268 Bug 1370578 - Extend telemetry for support of some Linux sandbox features. r=gcp data-r=bsmedberg
Basic seccomp-bpf support is not being renewed because it has already
passed 99% and is not expected to decrease, but seccomp thread
synchronization and (especially) user namespace support will continue to
be monitored.

MozReview-Commit-ID: FxVKguxKTbV
2017-06-27 13:36:54 -07:00
Nils M.
a1b386ee78 Bug 1375481 - Removed unnecessary clearings of histograms r=gfritzsche
MozReview-Commit-ID: 3vyJucWa6tq

--HG--
extra : rebase_source : 4259c6d54683d9ca6604a51d018cf3aa5ad9e55b
2017-06-26 22:57:10 +02:00
Gijs Kruitbosch
0a11de7e87 Bug 1352120 - fix theming for the star icon, fix theming dealing with empty string icon urls, r=jaws
When debugging the test failures in this test, I noticed that the info() messages indicated we *were* using
moz-extension icon references even when we shouldn't be - they just didn't include the 'fox.svg' bit.
When pausing in the debugger, you can see that all the buttons are blank - we don't load any icon in this case.

This seemed bad, so I updated the test to actually check if we're using a moz-extension URI at all,
and then updated the implementation to actually make it work.

MozReview-Commit-ID: GGXaivJrzxj

--HG--
extra : rebase_source : a64bed37e1fb27c164a0543a0465038d251c709d
2017-06-22 13:08:52 +01:00
steveck-chung
1bc2516863 Bug 1374508 - [Form Autofill Doorhanger] Apply copy reviewed string/new anchor icon and move open pref link to button. r=lchang
MozReview-Commit-ID: FkzQbJ6Ayhe

--HG--
extra : rebase_source : 2516243e534e3968af1234894d3d9525c3eb9412
2017-06-22 16:46:41 +08:00
Carsten "Tomcat" Book
4e00eff077 merge mozilla-inbound to mozilla-central a=merge 2017-06-27 10:56:41 +02:00
Phil Ringnalda
ed3c360daa Backed out changeset 005957262022 (bug 1373850) for eslint failures
MozReview-Commit-ID: 7W04mXlcYsl
2017-06-26 19:20:33 -07:00
Krypto
86064e0249 Bug 1375043 - Rename m(Keyed)Accumulations to m(Keyed)HistogramAccumulations in DiscardedData. r=gfritzsche 2017-06-24 17:26:56 +05:30
Andy McKay
3b2305cd12 bug 1373850 add browser.theme.reset which allows unloading changes caused by browser.theme.update and resets to the default theme r=mattw,mikedeboer
MozReview-Commit-ID: 4wZQNsM2bFw

--HG--
extra : rebase_source : fc07244000ab53b5f6ccf3a90e826c739befd0e3
2017-06-26 09:40:29 -07:00
Gijs Kruitbosch
64929762a4 Bug 1365875, r=smaug
MozReview-Commit-ID: 9CaAliVQwYe

--HG--
extra : amend_source : da6341f0642b76b6ce38f296384526de9a83a89d
2017-06-06 19:57:49 +01:00
Bill McCloskey
f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Francois Marier
9f3d9fa798 Bug 1376024 - Whitelist more known Safe Browsing providers for telemetry purposes. r=dimi
MozReview-Commit-ID: 6Dd1eDSJlzT

--HG--
extra : rebase_source : 3ffc44da6676e5cac993d7bdab12c821e995f1ca
2017-06-23 17:00:45 -07:00
Carsten "Tomcat" Book
a42808a7cc Merge mozilla-central to autoland 2017-06-26 13:43:00 +02:00
Carsten "Tomcat" Book
259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
David Anderson
000ab020c2 Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg) 2017-06-23 14:23:13 -07:00
Kris Maglione
9405fb2150 Bug 1373293: Follow-up: Bump StartupCache schema version. r=trivial
MozReview-Commit-ID: JR1ZP9ByRFb
2017-06-23 10:55:48 -07:00
Iaroslav (yarik) Sheptykin
e8e3c5d439 Bug 1373900: Factor ThreadHangStats implementation out of Telemetry.cpp. r=chutten
MozReview-Commit-ID: C106sVX04s

--HG--
extra : rebase_source : da351455b914f2efcf87483d031add51801420ca
2017-06-22 09:54:05 +02:00
DimiL
9814af0253 Bug 1335943 - Use the right origin attribute in Safe Browsing completions. r=francois
MozReview-Commit-ID: 8HQHzuwE5Cf

--HG--
extra : rebase_source : d6c57eb6b4d16898ca0f067052d8e9064c24c3a5
2017-06-21 17:27:22 +08:00