Граф коммитов

41892 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher 44b697bb9a Bug 1314039 - Intermittent toolkit/components/thumbnails/test/browser_thumbnails_capture.js. temporarily disable on osx. r=gbrown
MozReview-Commit-ID: HJXMo89pJGd
2017-06-29 08:36:28 -04:00
Gijs Kruitbosch f9f590ca0f Bug 1354145 - set photon-structure attribute on root, update palette/panel icon sizes and layout, r=mikedeboer
MozReview-Commit-ID: 2LhIhI480Yb

--HG--
extra : rebase_source : 33714f81db749ee2e7624b9c3e0a63dded6042ca
2017-06-27 21:47:30 +01:00
Andrew Swan 2d36e89eec Bug 1376505 Commit pending uninstalls when leaving the legacy extension view r=rhelmer
MozReview-Commit-ID: J6a3yDOl5ZK

--HG--
extra : rebase_source : de3cd27dcff8c6f4522cad31d6f858c89548acf5
2017-06-27 14:03:16 -07:00
Bob Owen 56c4f0a7dd Bug 1369670 Part 2: On Windows resolve junction points and symlinks in any paths that are used for sandbox policy rules. r=jimm 2017-06-23 16:29:15 +01: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
Robert Strong d8efa9e999 Bug 1376612 - Relaunch callback app even when the pid is still present. r=mhowell
This reverts the change made in Bug 1375549 where the callback application isn't relaunched when the pid is still present. Since the end result of relaunching when the pid hasn't exited is no worse than not relaunching just go ahead and try to relaunch.
2017-06-28 16:18:09 -07: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
Marco Bonardo 4eff9ae7a0 Bug 1377864 - Stop using Promise.jsm in Places head_common.js. r=Paolo
MozReview-Commit-ID: 8vP0UKfSWic

--HG--
extra : rebase_source : d114cfecc12d390820fa1105474261989a70e916
2017-07-03 14:28:47 +02:00
Marco Bonardo d3bad38937 Bug 1376929 - Fix places-related mochitests in chrome/ for async-transactions. r=standard8
MozReview-Commit-ID: ILrvOGzu1zo

--HG--
extra : rebase_source : de00f7f734711e2d2c8521626ad8857ab858bb97
2017-07-03 15:46:56 +02:00
Kartikaya Gupta 7efba61aa8 Bug 1373714 - Support touch-dragging the scrollthumb in XUL tree widgets. r=dao
MozReview-Commit-ID: Jcf3cXJvTJ2

--HG--
extra : rebase_source : b429c96aa7af40b128434d31417a25bc90b5d030
2017-07-04 09:57:45 -04:00
Alessio Placitelli 68624ec3d0 Bug 1369734 - Spin the scheduler tick on idle after sleep-wake or idle-active cycles. r=chutten,florian
This allows to move it out of the user's way, in case we need to gather
telemetry data to build a daily/aborted-session ping.

MozReview-Commit-ID: BrKZHKOJzqk

--HG--
extra : rebase_source : 2970caf13fe7d527ad36e3f59f481c1f60916990
2017-06-13 16:18:37 +02:00
Carsten "Tomcat" Book 651904c8a0 Merge mozilla-central to autoland 2017-07-04 11:12:45 +02:00
Ray Lin 96fce2bff6 Bug 1329628 - Part 1. Add a phishing warning text upon footer to show the additional fields that are about to be filled while a profile being selected. r=MattN
MozReview-Commit-ID: FiCzgKAbFoE

--HG--
extra : rebase_source : 75678d7991bff41c5cb6a0dfcdcd1e37ff2a05c6
2017-06-15 21:45:55 +08:00
Mark Hammond 663a825756 Bug 1366658 - Tweak engine registration process to better facilitate external engines. r=tcsc
MozReview-Commit-ID: GRKQEwkpbWc

--HG--
extra : rebase_source : b274e37f446f6c78ea3d07a97eeec0354d2dd257
2017-05-19 16:53:54 +10:00
Evelyn Hung c4f9bd4426 Bug 1348275 - speculative connect to an autocomplete url. r=mak
When we get the usre's frequent visting site from UnifiedComplete.js,
and then open a network connection for it before the user hits
the enter key.

MozReview-Commit-ID: 36moBeeUnyZ

--HG--
extra : rebase_source : 4122534b2d21d2a959fd8dbb8533dd3e0ef75621
2017-06-26 00:24:42 +08:00
Ricky Chien 1265f14b35 Bug 1373655 - Fix search sign and arrow indicator in high contrast theme r=dao
MozReview-Commit-ID: GweiQoZ9bXk

--HG--
extra : rebase_source : 3fe47fcf4f980579321a40cc910146a6efc60f1f
2017-06-28 16:56:19 -07:00
Alastor Wu 8f8b760529 Bug 1351925 - remove blockMedia() and related tests. r=baku
The intermittent failure is caused by the innate drawback of the present test,
it doesn't be consistent with the behavior how we actually block the media.

Since we always block media implicit, it would be set in nsGlobalWindow's ctor.
We would never call blockMedia directly, so we can remove the function.

MozReview-Commit-ID: IjYJi5OHQ3X

--HG--
extra : rebase_source : 1cb5eaf76f237f2c8be430ef94f7d8aa6031cf17
2017-06-30 12:16:43 -07:00
Shane Caraveo 5a4e0a5450 Bug 1338898 fix 150 char limit for context menu text selection, r=aswan,mattw
MozReview-Commit-ID: IqECfaFSbGZ

--HG--
extra : rebase_source : 312c3887d16d4b4dd0bf96fd77e4ec970a8d6393
2017-06-29 15:11:29 -07:00
Sebastian Hengst acb0601c26 Backed out changeset d7e7ced3622f (bug 1360872) for failing xpcshell's test_async_transactions.js | test_creating_and_removing_a_separator, at least on OS X. r=backout 2017-06-30 19:29:17 +02:00
Kit Cambridge c1537b7958 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : 8b09ca049f0891cfc3a909f7b7d2807511586b48
2017-06-06 14:37:22 -07:00
Andrew Swan 99c51b42b5 Bug 1358907 Part 3 Avoid reading XPI database at startup r=Dexter
Switch telemetry and experiments from AddonManager.getAddonsByTypes()
to AddonManager.getActiveAddons() which gives us less detailed information
in the environment during startup but also means we don't need to load the
extensions database until startup is complete.

MozReview-Commit-ID: 4SxdPHSPovB

--HG--
extra : rebase_source : c4810207bd08c426bb2f5b63b93dfc38e0b0245a
extra : source : c391410c07ed5a9462ca7dec8c01037c9ab14466
2017-05-18 13:08:58 -07:00
Andrew Swan 453ee8a579 Bug 1358907 Part 2 Wait for database load before shutting down r=mossop
Make sure the XPI database is fully loaded before running the
XPIDatabase.shutdown() logic.  This race has been present for a long
time but it suddenly became much more common when loading of the XPI
database was deferred until after startup.

MozReview-Commit-ID: 1llKuH3It19

--HG--
extra : rebase_source : de18515e0c38193d70953a49803fadb43be9286c
2017-06-30 10:09:59 -07:00
Andrew Swan bad78dd7d7 Bug 1358907 Part 1b Handle types argument to getActiveAddons() r=mossop
MozReview-Commit-ID: BMc7E69t9bu

--HG--
extra : rebase_source : decb2002f2265e61c13a18fa1798c0f949011a96
2017-06-30 11:48:11 -07:00
Kit Cambridge 31ccf3dc94 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : 963b09955610d099b1acb508472a2a3c24202d73
2017-06-06 14:37:22 -07:00
Andrew Swan 2fceb0ba58 Bug 1371744 Put a margin around the legacy page heading r=mstriemer
MozReview-Commit-ID: KVDcCytDR6Y

--HG--
extra : rebase_source : 24abf2552b373d8e92c0aa2f534a68f22dc0c654
2017-06-27 13:46:14 -07: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
Kartikaya Gupta a9cf106a4a Bug 1376311 - Bump webrender_traits dependency in non-gtest Cargo.lock to match that of the gtest Cargo.lock. r=froydnj
MozReview-Commit-ID: 3virfkTjM8H

--HG--
extra : rebase_source : 88b27444604795d7e6c7942a426db6977701c144
2017-06-28 12:20:17 -04:00
Dão Gottwald e6d183ed21 Bug 1376109 - Consolidate default sidebarheader styling and don't remove its background for lightweight themes. r=nhnt11
MozReview-Commit-ID: CWisvnVYLJc

--HG--
extra : rebase_source : dde3864c2c34f7531ba04c4819fa2571bf936f82
2017-06-24 17:04:53 +02: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
J. Ryan Stinnett 360b777747 Bug 1375692 - Add Stylo status to about:support. r=bholley
Display current Stylo status in about:support along with a reason why it is
enabled or disabled.

MozReview-Commit-ID: HZaTL7y2FsY

--HG--
extra : rebase_source : c09f7d281dd9e9ef97d281583cd005964bb5ec38
2017-06-23 15:37:09 -05:00
Ted Mielczarek e9db7838e4 bug 1275424 - hardcode Rust source paths in symbolstore.py. r=gps
This gives us source file names with repository info in our generated
symbol files, so that crash reports on crash-stats can link to the
correct source files for files from the Rust standard library.

I've hardcoded the source paths that the Rust project uses, which is
not my favorite thing, but there's no simple way to get this information
otherwise.

MozReview-Commit-ID: 6SeaMqH8xfc

--HG--
extra : rebase_source : 227a52db42b3f86378d744e68b4d88d2d8ba9757
2017-06-23 16:19:49 -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
Sebastian Hengst 639f52cf67 Backed out changeset 3c6fba8e4015 (bug 1365133) 2017-06-28 06:23:05 +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
Evan Tseng c8a5fc0bb8 Bug 1365133 - Update tests - Part 3. r=jaws
MozReview-Commit-ID: GoOXdJ4RfY9

--HG--
extra : rebase_source : 69f805c04f050cf588fa9454116f263e19be7d8f
2017-06-20 15:11:46 +08: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
Andrew McCreight eaeb65f509 Bug 1371844 - Add explicit API to set Debugging.failTestsOnAutoClose in Sqlite.jsm. r=mak
With JSM global sharing, the Debugging object is no longer a property
directly on the global of the Sqllite object. Instead of going through
this back door, add a setter method to Sqllite and use that.

MozReview-Commit-ID: HVCZ4Zb42q7

--HG--
extra : rebase_source : d54a0a143c2cd89a8543fd8b3f938abdbec96859
2017-05-25 15:40:55 -07: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
flyingrub b7e57205ea Bug 1355882 - Remove Addon Histograms from about:telemetry r=chutten
Removed all code related to Addon Histograms

MozReview-Commit-ID: 878X06QizFX

--HG--
extra : rebase_source : f067371a6bf44685f4dad0671641189749fac04a
2017-06-26 14:39:32 +02: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
Christoph Kerschbaumer 1b0622cda9 Bug 1375023 - Have switchToTabHavingURI() provide the correct triggeringPrincipal. r=gijs,aswan 2017-06-25 14:03:06 +02:00
Robert Strong 448ca387ba Bug 1375549 - When the Firefox process doesn't exit apply the update anyway and don't relaunch the callback application. r=mhowell
This makes it so updating continue when the parent application doesn't exit (see bug 1375242) so any fixes to the parent application will be applied instead of leaving the client in a broken state.
Changes the wait time for the parent process to 30 seconds since the previous value of 70 seconds was based on nsTerminator which isn't used for this case. It still needs to be greater than the old value of 10 since we've seen cases lately where the process has taken more than 10 seconds.
2017-06-23 18:27:06 -07: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
David Anderson 07b79273e2 Add Advanced Layers to the compositor line in about:support. (bug 1365879 part 22, r=milan) 2017-06-23 14:23:13 -07:00
Wes Kocher 4fe21d372c Backed out 2 changesets (bug 1369670) for Mn failures in test_capabilities.py on Windows 8 a=backout
Backed out changeset 46db8ae423f2 (bug 1369670)
Backed out changeset e9b7d6dbc698 (bug 1369670)

MozReview-Commit-ID: GL05REhJM2k
2017-06-23 11:48:12 -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
Mark Hammond 7e61aa8e97 Bug 1373093 - Add operating system information to the desktop Sync ping. r=tcsc
MozReview-Commit-ID: 9ypnosSawxu

--HG--
extra : rebase_source : 8a0192c70917c952431693c6864f96f7fd9b278e
2017-06-21 12:28:25 +10:00
Julian Descottes 7003e438d1 Bug 1375809 - use events to communicate between XPIProvider.jsm and ToolboxProcess.jsm;r=aswan,jryans
As DevTools are moving to be an addon and out of mozilla-central, we should remove the
coupling between the mozilla-central code and the DevTools code.

Instead of directly loading and calling the ToolboxProcess, XPIProvider.jsm now uses
events to interact with BrowserToolboxProcess.

MozReview-Commit-ID: HpnMLCILkea

--HG--
extra : rebase_source : 7b090d996fdf25ac364c05e075983454979bdeb5
2017-06-23 17:44:05 +02:00
Bob Owen 0179001ce3 Bug 1369670 Part 2: On Windows resolve junction points and symlinks in any paths that are used for sandbox policy rules. r=jimm 2017-06-23 16:29:15 +01:00
Thomas Nguyen 31868155d0 Bug 1363163 - Playing sound in a seperated thread to avoid jank r=masayuki
MozReview-Commit-ID: KYN7fhA541S

--HG--
extra : rebase_source : 27b9bca140f9e4bdeae91a72f5b86745f99a33d4
2017-06-08 11:08:49 +08:00
Perry Jiang 80ef003d65 Bug 862178 - Remove main thread I/O from CrashSubmit.jsm and KeyValuParser.jsm, replacing with OS.File. r=gsvelto
MozReview-Commit-ID: 6WIvz15Xtp3

--HG--
extra : rebase_source : 274136cf40459f012776213b18e51f9062d68eb5
2017-06-19 17:04:03 -07:00
Wes Kocher 20324b4f78 Backed out changeset 252482fcc324 (bug 1352075) for various browser-chrome failures on windows like browser_ext_browserAction_popup_resize.js a=backout CLOSED TREE
MozReview-Commit-ID: 6VeLbOA3TXa

--HG--
extra : amend_source : b5751304beb9dc272549264c863977a1cbc9527d
2017-06-23 13:14:51 -07:00
Marco Castelluccio c80c9b9b0e Bug 1095267 - Stop using Promise.jsm in Task.jsm. r=paolo
--HG--
extra : rebase_source : cd2fc1ec2de8a242c583996e3977141dba8e4699
2017-06-05 18:05:11 +01:00
Carsten "Tomcat" Book 88fff78f64 Merge mozilla-central to mozilla-inbound 2017-06-23 12:22:24 +02:00
Carsten "Tomcat" Book 661c4ea09c Backed out changeset be62d3eb3b3b (bug 1365879) 2017-06-23 12:15:30 +02:00
Carsten "Tomcat" Book e2e4b940e9 Backed out changeset 35129e4e204b (bug 1365879) 2017-06-23 12:15:28 +02:00
Carsten "Tomcat" Book 7af37a52bd Merge mozilla-central to mozilla-inbound 2017-06-23 11:44:21 +02:00
Carsten "Tomcat" Book 5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Florian Quèze 2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze 721c3ada5e Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Florian Quèze c3a5e47cea Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
Nicholas Nethercote 58786e1ea7 Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.

--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
Phil Ringnalda ee15089976 Merge m-c to autoland
MozReview-Commit-ID: 8Is0wexk66X
2017-06-22 20:45:50 -07:00
Phil Ringnalda 39881acf5f Backed out changeset 5856f1c45a92 (bug 1375077) for Windows opt permaorange in test_worker_basic.html
MozReview-Commit-ID: C0kXjRHfDEU
2017-06-22 20:43:44 -07:00
Phil Ringnalda c636da88e0 Backed out changeset 4f0ee0f75a30 (bug 1367813) for Windows opt permaorange in test_worker_basic.html
MozReview-Commit-ID: 2k693yFa28r
2017-06-22 20:43:11 -07:00
Wes Kocher 3947450ee6 Merge autoland to central, a=merge
MozReview-Commit-ID: DBM5ExEXtYD
2017-06-22 14:10:19 -07:00
flyingrub 18ee3d53b5 Bug 1373823 - Fix about:telemetry data preferences change button in beta55 r=chutten
MozReview-Commit-ID: Ht6iBBEDEtP

--HG--
extra : rebase_source : 2717a671af8a75ce97d7eba16f37929cbc645db6
2017-06-21 17:17:00 +02:00
Nicholas Nethercote f1364a75ea Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
All the instances are converted as follows.

- nsSubstring  --> nsAString
- nsCSubstring --> nsACString

--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
David Anderson 3e221849c1 Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg)
--HG--
extra : rebase_source : 607bda151930c9c24e3ce7b89ca585606e8bb44d
2017-06-22 21:12:20 -07:00
David Anderson 52d5447f23 Add Advanced Layers to the compositor line in about:support. (bug 1365879 part 22, r=milan)
--HG--
extra : rebase_source : 123d4190c0343b60491f34757b26532b9def5075
2017-06-22 21:12:20 -07:00
Phil Ringnalda 65a3755989 Merge m-c to m-i
MozReview-Commit-ID: 417ZeUULO6h
2017-06-22 20:48:07 -07:00
Nicholas Nethercote 915a56fb41 Bug 1375299 (part 2) - Remove PROFILER_MARKER. r=mstange.
PROFILER_MARKER is now just a trivial wrapper for profiler_add_marker(). This
patch removes it.

--HG--
extra : rebase_source : 9858f34763bb343757896a91ab7ad8bd8e56b076
2017-06-22 13:40:21 +10:00
Nicholas Nethercote 4b364cf3f3 Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange.
This patch reduces the differences between builds where the profiler is enabled
and those where the profiler is disabled. It does this by removing numerous
MOZ_GECKO_PROFILER checks.

These changes have the following consequences.

- Various functions and classes are now defined in all builds, and so can be
  used unconditionally: profiler_add_marker(), profiler_set_js_context(),
  profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel.
  (They are effectively no-ops in non-profiler builds, of course.)

- The no-op versions of PROFILER_* are now gone. The remaining versions are
  almost no-ops when the profiler isn't built.

--HG--
extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a
2017-06-22 06:26:16 +10:00
Kris Maglione 7565237b48 Bug 1374129: Avoid loading content scripts into uninitialized about:blank documents. r=aswan
MozReview-Commit-ID: LN1E4Q5xAbO

--HG--
extra : rebase_source : 463b99f1d41ebd0af65b9f23fe71dac7f520dbb7
extra : amend_source : c8b0ec754d67584f33c7ee7364d032f531d16a51
2017-06-21 17:31:43 -07:00
Nicholas Nethercote 033f83145c Bug 1375387 - Reorder and section-ify GeckoProfiler.h. r=mstange.
This patch gives some structure and order to the profiler's API.

It also renames AutoProfilerRegister as AutoProfilerRegisterThread, to match
profiler_register_thread().
2017-06-22 14:28:47 +10:00
Nicholas Nethercote 784f6f2ee9 Bug 1374908 - Remove --enable-systrace. r=glandium.
This option causes MOZ_USE_SYSTRACE to be defined. The only use of that is in
GeckoProfiler.h where it causes the PROFILER_PLATFORM_TRACING macro to set
android::ScopedTrace. But android::ScopedTrace was defined in widget/gonk/
which was recently removed, so this won't work any more.

Furthermore, all that android::ScopedTrace did was to do a pair of
atrace_{begin,end}() calls, which doesn't seem that useful.
2017-06-21 14:06:22 +10:00