4cd2e9bab7b22af27c2cb25e24591e77df8731e5: Merge mozilla-central to mozilla-inbound
Carsten "Tomcat" Book <cbook@mozilla.com> - Fri, 23 Jun 2017 12:22:24 +0200 - rev 414705
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Merge mozilla-central to mozilla-inbound
ab1d1b0135febb8a13915ac7a78c1173e0c71c77: Merge mozilla-central to mozilla-inbound
Carsten "Tomcat" Book <cbook@mozilla.com> - Fri, 23 Jun 2017 11:44:21 +0200 - rev 414704
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Merge mozilla-central to mozilla-inbound
6d121d4c2033db893f0c21951f761822d87df960: Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
Florian Quèze <florian@queze.net> - Fri, 23 Jun 2017 11:25:52 +0200 - rev 414703
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
e1b1c441ed4c0d052552415c07936e6d8bf23888: Bug 1368456 - blacklist Promise.jsm before first paint, r=mconley.
Florian Quèze <florian@queze.net> - Fri, 23 Jun 2017 11:25:34 +0200 - rev 414702
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1368456 - blacklist Promise.jsm before first paint, r=mconley.
9c7e4d4547b752ee3bb9b603218d143ffe9f6c49: Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley.
Florian Quèze <florian@queze.net> - Fri, 23 Jun 2017 11:25:18 +0200 - rev 414701
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley.
ea3fb9e7622e2f890d45cc2f45cd472c6cf45935: Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley.
Florian Quèze <florian@queze.net> - Fri, 23 Jun 2017 11:25:02 +0200 - rev 414700
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley.
4da7ff4c92bf47c1ceb8383da4cc459e84a95e08: Bug 1325336 - Generate statistics for cache performance on the given HW, r=valentin, r=honzab
Michal Novotny <michal.novotny@gmail.com> - Fri, 23 Jun 2017 10:24:45 +0200 - rev 414699
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1325336 - Generate statistics for cache performance on the given HW, r=valentin, r=honzab CachePerfStats gathers performance data for single open, read and write operations as well as the whole cache entry opening. It maintains long term and short term average. The long term average filters out excessive values and it represents and average time for a given operation when the cache is not busy. The short term average represents the current cache speed. By comparing these two stats we know pretty quickly that the cache is getting slower and then we race the cache with network immediately without a delay. Otherwise the delay is based on the average cache entry open time.
aa1693a26a15eb5cba24102222687dc81eeddd7b: Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
Nicholas Nethercote <nnethercote@mozilla.com> - Thu, 22 Jun 2017 17:08:53 +1000 - rev 414698
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
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.
4cbea3e428e7378f8258c227780e7bc65de01dd1: Bug 1374514 - Don't use alias for SetDeadline signature. r=nfroyd
Andreas Farre <farre@mozilla.com> - Mon, 19 Jun 2017 23:59:00 +0200 - rev 414697
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1374514 - Don't use alias for SetDeadline signature. r=nfroyd
a43c10bf081edc622b1c47ba8aeef15265c8536b: Bug 1375387 - Reorder and section-ify GeckoProfiler.h. r=mstange.
Nicholas Nethercote <nnethercote@mozilla.com> - Thu, 22 Jun 2017 14:28:47 +1000 - rev 414696
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
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().
42593af5ec7ec9d5a07c9c0e899ac99244d15ae6: merge autoland to mozilla-central a=merge
Carsten "Tomcat" Book <cbook@mozilla.com> - Mon, 26 Jun 2017 13:23:42 +0200 - rev 414695
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
merge autoland to mozilla-central a=merge
24faed7bb3d8b23268eadb59c1f8cdbf8a1bc99a: Bug 1376227. P5 - merge CreateResource() and Load() for they are highly coupled. r=gerald
JW Wang <jwwang@mozilla.com> - Fri, 23 Jun 2017 15:39:57 +0800 - rev 414694
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1376227. P5 - merge CreateResource() and Load() for they are highly coupled. r=gerald MozReview-Commit-ID: EH9NROdQfmd
c188d25f2ea6b262c693e4ae44fd74e86885d013: Bug 1376227. P4 - remove the unused parameter from FinishDecoderSetup(). r=gerald
JW Wang <jwwang@mozilla.com> - Fri, 23 Jun 2017 15:25:40 +0800 - rev 414693
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1376227. P4 - remove the unused parameter from FinishDecoderSetup(). r=gerald MozReview-Commit-ID: 7Ux811oMq9y
1056a1b0e60eebd52821f45bd27e88d735a43b9c: Bug 1376227. P3 - move Load() down the class hierarchy. r=gerald
JW Wang <jwwang@mozilla.com> - Fri, 23 Jun 2017 14:12:41 +0800 - rev 414692
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1376227. P3 - move Load() down the class hierarchy. r=gerald So we won't pass an unused |nsIStreamListener**| to MediaSourceDecoder::Load(). MozReview-Commit-ID: 2TCby8m8K5H
4af0b45d8bd7e779cf0f1df5e1eb132a35355042: Bug 1376227. P2 - remove unused code following P1. r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 21 Jun 2017 17:34:22 +0800 - rev 414691
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1376227. P2 - remove unused code following P1. r=gerald MozReview-Commit-ID: JbwY1Owtk7H
fba96be0c7164600117117109df22057a6ea89e2: Bug 1376227. P1 - let MediaDecoder sub-classes have the knowledge how to create a MediaResource. r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 21 Jun 2017 17:30:56 +0800 - rev 414690
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1376227. P1 - let MediaDecoder sub-classes have the knowledge how to create a MediaResource. r=gerald MozReview-Commit-ID: 2fHEkU46MUr
27778b8bc4cf86345908fbcd65aca49a4c314ccf: Bug 1361132 TSFTextStore::GetSelection() shouldn't return if it runs on Win10 Anniversary Update or later r=m_kato
Masayuki Nakano <masayuki@d-toybox.com> - Thu, 22 Jun 2017 20:07:10 +0900 - rev 414689
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1361132 TSFTextStore::GetSelection() shouldn't return if it runs on Win10 Anniversary Update or later r=m_kato This is remaining cases of bug 1312302. TSF may set focus to context when it receives focus related message. In such case, TSF tries to retrieve selection but TSFTextStore::GetSelection() returns E_FAIL due to still not initialized, TSF crashes. This patch moves the hack to TSFTextStore::GetSelection() and restrict to work only on problematic versions of Windows 10. MozReview-Commit-ID: 6cTiZ4HCO18
90add23aa905184e042cac1cd6887b2278f2b3f9: Backed out changeset eae501f2729b (bug 1374852) for failing browser_openPreferences.js. r=backout
Sebastian Hengst <archaeopteryx@coole-files.de> - Mon, 26 Jun 2017 04:43:39 +0200 - rev 414688
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Backed out changeset eae501f2729b (bug 1374852) for failing browser_openPreferences.js. r=backout
e13653ff2d5c9c29fa804f6f447fea3d52befe68: Bug 1335943 - Use the right origin attribute in Safe Browsing completions. r=francois
DimiL <dlee@mozilla.com> - Wed, 21 Jun 2017 17:27:22 +0800 - rev 414687
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1335943 - Use the right origin attribute in Safe Browsing completions. r=francois MozReview-Commit-ID: 8HQHzuwE5Cf
9ed72cb748893602a1c54ea1eb63b5c1fe9fe68b: Bug 1291515 - Part 2: Disable pref for <style scoped>. r=dbaron
Cameron McCormack <cam@mcc.id.au> - Wed, 21 Jun 2017 09:30:52 +0800 - rev 414686
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1291515 - Part 2: Disable pref for <style scoped>. r=dbaron MozReview-Commit-ID: 8rBHsSTK9SG
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip