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

64479 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 7177a36cde Merge mozilla-central to mozilla-inbound 2017-06-21 14:55:27 +02:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bob Clary 47c47f43f9 Bug 1373858 - Disable dom/media/tests/mochitest/test_peerConnection_stats.html for Android failures, r=jmaher. 2017-06-21 04:57:01 -07:00
Wes Kocher c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Chris Peterson fa7dea9295 Bug 1373525 - dom: Remove some unused member functions. r=billm
dom/asmjscache/AsmJSCache.cpp:371:3 [-Wunused-member-function] unused member function 'IsOnOwningThread'
dom/cache/DBSchema.cpp:303:3 [-Wunused-member-function] unused member function 'IdCount'
dom/filesystem/GetFilesHelper.cpp:26:3 [-Wunused-member-function] unused member function 'ReleaseRunnable'
dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp:298:10 [-Wunused-member-function] unused member function 'IsFlagSet'

MozReview-Commit-ID: 2A11iqF7u9X

--HG--
extra : source : abc07611c7cc994685cf151a47c90e3e9d3712a1
extra : intermediate-source : 44a7cfc31d995c50846aec3050514aea70ba2e2f
extra : histedit_source : 2ed361299e763d969619d3916ff20d9553d620f2
2017-06-11 15:34:21 -07:00
Chris Peterson c0d253195d Bug 1373525 - dom/html: Remove unused member function Revoke() of HTMLCanvasElement Runnables. r=baku
dom/html/HTMLCanvasElement.cpp:1369:12 [-Wunused-member-function] unused member function 'Revoke'
dom/html/HTMLCanvasElement.cpp:1411:12 [-Wunused-member-function] unused member function 'Revoke'

MozReview-Commit-ID: 1fmfUIO8VR6

--HG--
extra : source : 4c2087ccc105ad859c0ec0000db6032498d394ba
extra : intermediate-source : 75a8b5c0dc389d1a97b19d6b063f0b7b881931fc
extra : histedit_source : d026af384d4d282fa7c9f73a39f1f749112ce75d
2017-06-15 00:56:18 -07:00
Chris Peterson 4ef47bc0c7 Bug 1373525 - dom/indexedDB: Remove unused classes and member functions. r=bevis
The UpgradeSchemaFrom17_0To18_0Helper class is never instantiated, so its constructor and destructor don't need to be define.

dom/base/nsContentUtils.cpp:529:21 [-Wunused-member-function] unused member function 'GetResult'
dom/indexedDB/ActorsParent.cpp:2715:3 [-Wunused-member-function] unused member function 'UpgradeSchemaFrom17_0To18_0Helper'
dom/indexedDB/ActorsParent.cpp:2720:3 [-Wunused-member-function] unused member function '~UpgradeSchemaFrom17_0To18_0Helper'
dom/indexedDB/ActorsParent.cpp:6464:3 [-Wunused-member-function] unused member function 'GetPrincipalInfo'
dom/indexedDB/ActorsParent.cpp:6545:3 [-Wunused-member-function] unused member function 'ReleaseTransactionThreadObjects'
dom/indexedDB/ActorsParent.cpp:6548:3 [-Wunused-member-function] unused member function 'ReleaseBackgroundThreadObjects'
dom/indexedDB/ActorsParent.cpp:7710:3 [-Wunused-member-function] unused member function 'operator<'
dom/indexedDB/ActorsParent.cpp:7753:3 [-Wunused-member-function] unused member function 'IsOtherProcessActor'
dom/quota/ActorsParent.cpp:809:3 [-Wunused-member-function] unused member function 'GetState'
dom/quota/StorageManager.cpp:76:3 [-Wunused-member-function] unused member function 'GetType'

MozReview-Commit-ID: FbfMj2YJ4Fx

--HG--
extra : source : a38727295681d5368ed05a1b2758599f4debc424
extra : intermediate-source : 2010739762c276b15d8431d2df4725fb8281d549
extra : histedit_source : e9e4eb1c7d7813c6dda7ded023de4bd6e7b4b52a
2017-06-15 00:59:17 -07:00
Chris Peterson 06783015b2 Bug 1373525 - dom/plugins: Remove unused member function PluginModuleMapping::IsLoadModuleOnStack(). r=jimm
The static variable PluginModuleMapping::sIsLoadModuleOnStack is only accessed within the class PluginModuleMapping and the unused getter IsLoadModuleOnStack() can be removed.

dom/plugins/ipc/PluginModuleParent.cpp:313:5 [-Wunused-member-function] unused member function 'IsLoadModuleOnStack'

MozReview-Commit-ID: 5UCxHZUQCNQ

--HG--
extra : source : 0c369361860f9904472e3247946a9ee65bbf3145
extra : intermediate-source : cbe47c79803d6d46166866df8c8ae451fa5b5318
extra : histedit_source : 94d7539194d783092481b299cb6ae37dd5a11ad6
2017-06-15 00:49:28 -07:00
Chris Peterson 6471ec4b4d Bug 1373525 - dom/workers: Remove unused classes and member functions. r=baku
dom/workers/ScriptLoader.cpp:246:3 [-Wunused-member-function] unused member function 'ReadyToExecute'
dom/workers/ServiceWorkerScriptCache.cpp:200:19 [-Wunused-member-function] unused member function 'URL'
dom/workers/WorkerPrivate.cpp:1553:3 [-Wunused-member-function] unused member function 'DummyRunnable'

MozReview-Commit-ID: DLjD10iZJJV

--HG--
extra : source : db094b81fb77993c48e2884ffef700e34302c03e
extra : intermediate-source : fd1c6bd2b6882efb9e6ac3aeabe18968826297e4
extra : histedit_source : 8faac0927d4d97062fd74395dc2980cde57785b9
2017-06-15 00:40:59 -07:00
Jonathan Watt 6d8696d0eb Bug 1344917, part 1 - Add a '-moz-windows-accent-color-applies' media query. r=heycam
The '-moz-windows-accent-color-applies' media query matches when the Windows 10
accent color should be used as the background of the title bar.

MozReview-Commit-ID: GM7nZij6MhQ
2017-06-08 14:49:21 +01:00
Nico Grunbaum f24257104b Bug 1343515 - fixing video recv side jitter timebase;r=drno
MozReview-Commit-ID: Kax8OTcSnSL

--HG--
extra : rebase_source : 197786598a62e7657219f0cca11b6742c441b62d
2017-06-07 12:33:22 -07:00
Wes Kocher bb24138b9d Merge m-c to inbound, a=merge
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Wes Kocher b9d43d4afd Backed out 4 changesets (bug 1343728) for failures in test_group_mouseevents.html a=backout
Backed out changeset 2029cb6bce86 (bug 1343728)
Backed out changeset 0169e09f6030 (bug 1343728)
Backed out changeset 831e95b29f66 (bug 1343728)
Backed out changeset d5630ef01b17 (bug 1343728)

MozReview-Commit-ID: 2RRBTmp5FGj
2017-06-21 17:13:49 -07:00
Wes Kocher 0439cd545d Backed out changeset 36d662fbab77 (bug 1350633) for failures in test_group_mouseevents.html a=backout
MozReview-Commit-ID: Gh9eflBppgq
2017-06-21 17:12:20 -07:00
Samuel Vargas 9b1cb12fb9 Bug 1372438 - STENCIL_INDEX is not a WebGL constant - r=jgilbert,qdot 2017-06-21 16:28:05 -07:00
Gerald Squelart c486410640 Bug 1374180 - MediaResourceIndex won't use ReadFromCache, to keep MediaCache more consistent - r=cpearce
Bug 1368837 (Add lockless cache to MediaResourceIndex) used
MediaResource::ReadFromCache when trying to fill its local cache. But this
meant that these reads would not count as "real reads" for the MediaCache,
which could lead to unexpected states, e.g. "Played block after the current
stream position?"

To solve this, this patch reverts to using normal ReadAt() calls, which let
the MediaCache update itself properly.

While still trying to read more than what is requested (to hopefully fulfill
future reads from the local cache), we don't want to be reading so much that
we block waiting for data past the caller-expected point.
To do this, MediaResourceIndex::UncachedRangedReadAt() is called to try and
read as much as could fill the local cache, but if a single
MediaResource::ReadAt() ends before we can fill the local cache, but *after*
the minimum caller-requested size, we stop trying to read, as such extra read
is at risk of blocking (assuming that the caller knows not to read too far.)

MozReview-Commit-ID: 6fGvJpmkuLz

--HG--
extra : rebase_source : bf8e9f20599a05c8f3f221b55d678f0b5da447a9
2017-06-21 11:35:00 +12:00
Wes Kocher 6d5026cd11 Backed out changeset 19fbc34f239c (bug 1374629)
MozReview-Commit-ID: KPYcFSnOpU8
2017-06-21 15:50:52 -07:00
Masatoshi Kimura 7faf369167 Bug 1374629 - Add mozilla::NotNull to mozilla::Encoding constant declarations. r=froydnj,hsivonen
MozReview-Commit-ID: s1sYrq6tqm

--HG--
extra : rebase_source : 5803e385fcc5deb0f74304b304979227e374d07e
2017-06-20 22:04:18 +09:00
Xidorn Quan 54100abc9a Bug 1367306 part 2 - Adjust some test expectation based on whether stylo is being used. r=bholley
MozReview-Commit-ID: BDaiAO5kgaK

--HG--
extra : rebase_source : 4d7fd750b76bbf3ec5e42100048f557b835d957e
2017-06-21 15:25:41 +10:00
Xidorn Quan e747170dc5 Bug 1367306 part 1 - Add an attribute in nsIDOMWindowUtils to check whether the document is styled by stylo. r=bholley
MozReview-Commit-ID: 6ed78DkzmT8

--HG--
extra : rebase_source : 52171f9e97a4472f6c2bed773aac16acb7289052
2017-06-21 15:24:55 +10:00
Tim Taubert ea139d953e Bug 1368859 - Test that the Web Crypto API rejects 0-length AES-GCM IVs r=keeler 2017-06-21 12:48:04 +02:00
Daosheng Mu 54b342c455 Bug 1368284 - Add SH_ADD_AND_TRUE_TO_LOOP_CONDITION shader compile work around for Intel drivers on MacOSX; r=jgilbert
MozReview-Commit-ID: HmSUgaBIC4g

--HG--
extra : rebase_source : 673bef1c8b8ee02757bfcd71da228df03c715c26
2017-06-20 12:00:49 +08:00
Bryce Van Dyk 73ab403d2f Bug 1372051 - Remove external media test source. r=maja_zf
MozReview-Commit-ID: 1cGOuAusmUx

--HG--
extra : rebase_source : 0aa62bec8d2aca2ea55c26d6cc0efc4ceec5a761
2017-06-12 10:32:15 +12:00
Wes Kocher b17932664d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1dQBCh5pBY6
2017-06-22 14:21:39 -07:00
Masatoshi Kimura bdc7c83579 Bug 1374629 - Add mozilla::NotNull to mozilla::Encoding constant declarations. r=froydnj,hsivonen
MozReview-Commit-ID: s1sYrq6tqm

--HG--
extra : rebase_source : 0ffeab4554408fc6e28bd18478121aad73439a30
2017-06-20 22:04:18 +09:00
Milan Sreckovic 012064db78 Bug 1337063: Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
MozReview-Commit-ID: 8Er44xSDHhb

--HG--
extra : rebase_source : 464a09246ca095ba363f988fb9749680d8518926
2017-06-22 13:45:48 -04:00
Kirk Steuber e967f9a6c1 Bug 1375189 - Don't use aNodesWithProperties in nsNodeUtils::CloneAndAdopt if it is not needed r=bz
MozReview-Commit-ID: 9vu3HCQkDKf

--HG--
extra : rebase_source : eb6231c88732133ee6d90e621a5833b9be1e81ce
2017-06-21 11:55:04 -07:00
Sylvestre Ledru 3d4e903323 Bug 1375386 - Silence a -Wunused-lambda-capture warning r=froydnj
MozReview-Commit-ID: CoIXICb4nwY

--HG--
extra : rebase_source : 47ab8f3f20243abc778402e4aba13969c83c1b8e
2017-06-22 08:47:02 +02:00
Sylvestre Ledru 0c1d62e1ab Bug 1375386 - Fix a -Wunused-lambda-capture warning r=jesup
MozReview-Commit-ID: DEjcPY7ihWc

--HG--
extra : rebase_source : 466a38f529ec5e1a9848a3a0f5dac7ac72e69726
2017-06-22 08:43:14 +02:00
Munro Mengjue Chiang fd9cdef5ad Bug 1374204 - verify webrtc peerconnection tests with android hardware encoder and legacy encoder. r=jib
MozReview-Commit-ID: 8M86Qqx7GZa

--HG--
extra : rebase_source : e6b92b637f5dd63fb325796e2f2043688562246b
2017-06-19 18:22:15 +08:00
Munro Mengjue Chiang e9b0c56543 Bug 1374204 - remove test_peerConnection_basicVideoRemoteHwEncoder.html. r=jib
MozReview-Commit-ID: UN6IERbvIs

--HG--
extra : rebase_source : 4146d4ec875a25ca988cc8e496925a93cac2d831
2017-06-19 16:24:34 +08:00
Jean-Yves Avenard e139a2d44e Bug 1373229: P2. Disable DXVA HW decoder if ID3D10Multithread not supported. r=jya
MozReview-Commit-ID: OMFltNZaYe

--HG--
extra : rebase_source : 35b3dc14296c1630f9cebe000609b3e6e99e30f4
2017-06-21 14:40:12 +02:00
Jean-Yves Avenard 3f9301d589 Bug 1373229: P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported. r=jya
MozReview-Commit-ID: 9zzUJ0utqQm

--HG--
extra : rebase_source : f13c93f8845a1630490e173ac37e948b8c03b6ff
2017-06-16 23:15:00 +02:00
Andreas Tolfsen 955b319e9a Bug 1370863 - Stop using Marionette.log API in external media tests; r=automatedtester,SingingTree
This removes the dependency on the Marionette server-side logging API
from the external media tests.  Instead, we rely on client-side logging
alternatives.

MozReview-Commit-ID: 8kMhMflYh4q

--HG--
extra : rebase_source : 9823e0a39101b2b514cddf42220c3336ba88e411
2017-06-09 14:29:49 +01:00
Chris H-C 1e2b2d46b4 bug 1369041 - Allow child processes to discard data when overwhelmed r=bsmedberg,gfritzsche f?bsmedberg
It is possible in extreme cases that the Telemetry IPC Accumulator might be
starved long enough that it cannot drain its stored accumulations for a while.

Once we hit 5x the high water mark, start discarding data.

Count each piece and type of discarded data and report it via a custom IPC
message.

MozReview-Commit-ID: JayRpa5QPec

--HG--
extra : rebase_source : eded449c932ced64bdb64e9da1a989407f4f2daf
2017-06-09 09:53:42 -04:00
Blake Kaplan 97cd29dbb5 Bug 981796 - Disable this test on Android. r=nalexander
Android sets dom.disable_window_showModalDialog to true in mobile.js so this
test now fails because it explicitly sets the pref to false. For the time
being, it's easiest to simply skip this test on Android and turn it back on
once we remove the test entirely.

MozReview-Commit-ID: 5XsiXupESvg

--HG--
extra : rebase_source : 8d176e069aac5cc49ec06b7055be5a81b45c188a
2017-06-19 17:23:11 -07:00
Blake Kaplan 4aafd09754 Bug 981796 - Make tests that use showModalDialog pass. r=smaug
Annoyingly, setting the pref doesn't magically make the function appear on the
current window, so we create an iframe and retrieve it from there.

MozReview-Commit-ID: 9fOr4YJOzXh

--HG--
extra : rebase_source : d23643b388538955cc831a3b6e1473232ab5498a
2017-06-16 12:41:01 -07:00
Blake Kaplan 9904c18859 Bug 981796 - Don't assume that the active global is our global. r=smaug
Without this, grabbing another window's showModalDialog function and calling
it with this being a second window asserts.

MozReview-Commit-ID: GvGUClFwdoN

--HG--
extra : rebase_source : f7bb2afd898db0affaf455401b6ddeec8ba7e917
2017-06-16 11:42:23 -07:00
Jean-Yves Avenard 35422755f0 Bug 1223270: P6. Disable WebGL fast path tests on windows. r=jgilbert
fastpath is not implemented on windows machine when using either hardware decoding or D3D11.

MozReview-Commit-ID: GbJVk0nC4vp

--HG--
extra : rebase_source : de83627f7a82b5320d3c926c32cea0df5c0b96a0
2017-06-15 12:28:17 +02:00
Jean-Yves Avenard 760145ec59 Bug 1223270: P5. Reduce VideoQueue size for GPU based images. r=mattwoodrow
MozReview-Commit-ID: JGiHiBLyQZN

--HG--
extra : rebase_source : ac03662c8dd1864696a4ba9bbeaeea16458009e9
2017-06-16 22:43:51 +02:00
Jean-Yves Avenard e52d3b5eaa Bug 1223270: P4. Remove extra copy of YUV buffer for Theora. r=mattwoodrow
MozReview-Commit-ID: FnhPObcv4U3

--HG--
extra : rebase_source : 01a14de6f4de864ec38311549867f95f48b5b2a3
2017-05-04 15:44:46 +02:00
Jean-Yves Avenard de2ba98442 Bug 1223270: P3. Remove extra copy of YUV buffer on Windows. r=mattwoodrow,nical
MozReview-Commit-ID: JgbAwtLNr9e

--HG--
extra : rebase_source : 72bc0cd32d95fc6eadc0604c00b9f53227135557
2017-05-03 23:25:54 +02:00
Jean-Yves Avenard 10d2da1b08 Bug 1374596: P7. Fix includes as per coding style. r=padenot
MozReview-Commit-ID: 5WfOWcOoxg0

--HG--
extra : rebase_source : 988c09623e83a0d9188d9ff5d705314e2c43e756
2017-06-20 17:56:55 +02:00
Jean-Yves Avenard 783434855f Bug 1374596: P6. More missing headers fixes. r=padenot
MozReview-Commit-ID: 5VYScGXOJsE

--HG--
extra : rebase_source : 6d7433b9277fb582d4873d6bb88691f5e6eab4ed
2017-06-20 17:35:26 +02:00
Jean-Yves Avenard 9223d7c8a2 Bug 1374596: P5. Fix MediaDecoder* headers. r=padenot
MozReview-Commit-ID: AjSjYXXcutJ

--HG--
extra : rebase_source : 13705fb658bdfa6e98884f9e1ab142355aab399d
2017-06-20 17:34:29 +02:00
Jean-Yves Avenard 7a444846d8 Bug 1374596: P4. Fix CubebUtils headers. r=padenot
MozReview-Commit-ID: L8Q8814e3ad

--HG--
extra : rebase_source : 74221077e82379542a837ba26de48209432fbbd8
2017-06-20 17:33:31 +02:00
Jean-Yves Avenard b930da7f1c Bug 1374596: P3. Fix MediaStream* headers. r=padenot
MozReview-Commit-ID: 5dIPrLqxUtm

--HG--
extra : rebase_source : d672119a7805738e6f04bf0691d2f9afce509757
2017-06-20 17:32:18 +02:00
Jean-Yves Avenard 9346079e8d Bug 1374596: P2. Fix Benchmark required headers. r=padenot
MozReview-Commit-ID: JMiYDkkkNQB

--HG--
extra : rebase_source : 40fbfc7d5f878351dcaf08621816488b25d97645
2017-06-20 17:28:34 +02:00
Jean-Yves Avenard f6c116ae1a Bug 1374596: P1. Fix MediaStream* headers. r=padenot
We had a cycle reference between MediaStreamGraph.h and MediaStreamListener.h so we extract those parts and move them into its own header.

MozReview-Commit-ID: FeLFFBglD0Y

--HG--
extra : rebase_source : 257cb3dc8cb3fee6ecc5e03daed7724670c25471
2017-06-20 17:18:53 +02:00
Jean-Yves Avenard 6b527f66fb Bug 1374389: Prevent compilation error due to object size being too big. r=glandium
Prevent on Windows the error:
fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

MozReview-Commit-ID: 8j0fT38gkAZ

--HG--
extra : rebase_source : fbd220a208d09023f5ff6f115404349a9d97a7f8
2017-06-19 21:47:34 +02:00
Jean-Yves Avenard caf8ded66d Bug 1374936: P2. Check for error. r=mattwoodrow
MozReview-Commit-ID: A8Cy3BsZS8h

--HG--
extra : rebase_source : b68539f27a8fa1723bd61dda6cff07e13f59e97d
2017-06-21 08:48:18 +02:00
Jean-Yves Avenard a44433f0b6 Bug 1374936: P1. Properly output ARGB32 with transform. r=mattwoodrow
MozReview-Commit-ID: Cp4fBtqDh7A

--HG--
extra : rebase_source : 35bdf9b4b4e57587cd1878fe9f3035be04895beb
2017-06-21 08:45:52 +02:00
Boris Chiou 05df187ede Bug 1373712 - Part 2: Add a crashtest with large color value. r=birtles
MozReview-Commit-ID: 4pAIvv2hNTD

--HG--
extra : rebase_source : 0625ddd8c4925054a5df742b31081306a452f3fc
2017-06-21 13:53:27 +08:00
Boris Chiou 430a10180c Bug 1373712 - Part 1: Fix ParseHue() for inf value. r=dholbert
MozReview-Commit-ID: C9dCbbnFP3j

--HG--
extra : rebase_source : 4cc589647577c27434886f8df88c5ef9a9d10412
2017-06-21 12:50:11 +08:00
James Cheng 3c169ca5aa Bug 1374953 - Allow audio/mpegurl as HLS media type. r=jya
MozReview-Commit-ID: 6J4A4G21D0N

--HG--
extra : rebase_source : 9c8c7ad68fe4ee12b546e7707310f991572e9650
2017-06-21 16:10:11 +08:00
Ehsan Akhgari e3eba5af6a Bug 1373857 - Part 4: Optimize the selectionchange async event dispatcher to use direct WidgetEvent dispatch; r=smaug 2017-06-20 13:59:52 -04:00
Ehsan Akhgari 4eac977034 Bug 1373857 - Part 3: Optimize the PostHandleEvent() events that we dispatch for checkboxes and radiocontrols when they get toggled in order to make it use direct WidgetEvent dispatch; r=smaug 2017-06-20 13:59:52 -04:00
Ehsan Akhgari 580222cb8e Bug 1373857 - Part 2: Add some AsyncEventDispatcher helpers for dispatching WidgetEvents directly; r=smaug 2017-06-20 13:59:52 -04:00
Ehsan Akhgari 9d4ea70f49 Bug 1373857 - Part 1: Add some nsContentUtils helpers for dispatching WidgetEvents directly; r=smaug 2017-06-20 13:59:52 -04:00
Joel Maher 336eae99ca Bug 1373346 - dom/push/test has many perma failing mochitests, disable for now. r=gbrown
MozReview-Commit-ID: JrnJRocoooB
2017-06-20 13:25:02 -04:00
Tobias Schneider 89a9be7185 Bug 1369253 - Gather more information when test fails. r=jmaher 2017-06-20 09:04:25 -07:00
Andrea Marchesini 4b75cfc9bc Bug 1373555 - Move the Fetch consume body login in a separate class - part 3 - Move the consuming body logic from FetchBody to FetchBodyConsumer, r=bkelly 2017-06-20 17:53:21 +02:00
Andrea Marchesini 50e54e6b44 Bug 1373555 - Move the Fetch consume body login in a separate class - part 2 - Rename FetchBodyWrapper to FetchBodyConsumer, r=bkelly 2017-06-20 17:53:21 +02:00
Andrea Marchesini 349f7847d7 Bug 1373555 - Move the Fetch consume body login in a separate class - part 1 - separate files, r=bkelly 2017-06-20 17:53:21 +02:00
Andrea Marchesini e768233bc4 Bug 1371889 - Fetch body must be kept alive using refcounting, r=bkelly 2017-06-20 17:53:20 +02:00
Sebastian Hengst f38c7cdfa2 Backed out changeset 10676fd9e6ad (bug 1373536) for failing asan-fuzzing at dom/base/TimeoutHandler.h:26 with unknown type name 'NS_DECL_CYCLE_COLLECTION_CLASS' and more. r=backout 2017-06-20 17:47:54 +02:00
Sebastian Hengst d569b67fe6 Backed out changeset 5bde0b2dd768 (bug 1373536) 2017-06-20 17:46:22 +02:00
Sebastian Hengst 9e2c8a5ab0 Backed out changeset d377000dbcc9 (bug 1373536) 2017-06-20 17:46:18 +02:00
Andreas Farre 7525173e5b Bug 1373536 - Clean up static API of TimeoutBudgetManager. r=smaug 2017-06-20 00:40:00 +02:00
Andreas Farre 3739a32604 Bug 1373536 - Move TimeoutBudgetManager to its own file. r=bkelly 2017-06-19 01:18:00 +02:00
Andreas Farre 094c0d5ecd Bug 1373536 - Unify execution measurements. r=bkelly
Expose the utility framework for computing runnable execution time for
telemetry to be able to use it for managing budget times.
2017-06-16 07:40:00 +02:00
Carsten "Tomcat" Book ab7636d45d Backed out changeset 62999c1db7ee (bug 1236512) 2017-06-20 14:30:36 +02:00
Carsten "Tomcat" Book 7a237f7900 Backed out changeset f9147bef9fc6 (bug 1236512) 2017-06-20 14:30:34 +02:00
Paolo Amadini 375f5f7210 Bug 1362970 - Part 3 - Fix indentation and one misuse of "catch". r=florian
MozReview-Commit-ID: 2oFOmye7EUr

--HG--
extra : rebase_source : 1b575a89ff3f0dc7683f1c25bde12de6859c17be
extra : source : eb61cf8f77d22f0cf026056615a475c2e04f932a
2017-06-16 11:16:00 +01:00
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
Andrea Marchesini 960b2e8ec6 Bug 1373222 - MutableBlobStorage always returns a temporary-file Blob if the size of data is greater than 1mb, r=smaug 2017-06-20 13:27:59 +02:00
Edgar Chen 2ae9d877a0 Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Edgar Chen 7a94f225de Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.

MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Nicolas B. Pierron c64732dcc7 Bug 1362114 - JSBC: Add telemetry to later tune the heuristics. r=mrbkap,francois 2017-06-20 09:53:10 +00:00
Carsten "Tomcat" Book de892834ed Merge mozilla-central to mozilla-inbound 2017-06-20 11:31:34 +02:00
Carsten "Tomcat" Book 013fb0680e merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Boris Zbarsky b87612bde1 Bug 1374119. Use a bool pref cache for interface object enablement conditions instead of calling GetBool. r=qdot 2017-06-19 23:52:04 -04:00
Hiroyuki Ikezoe ade75cf304 Bug 1356141 - Don't traverse any elements that needed only for animation-only restyles in normal traversal. r=heycam
Before this patch, we were setting the dirty descendants bit in animation-only
restyles and it triggered unnecessary traversal for elements that does not need
the traversal (i.e no need selector matching).

MozReview-Commit-ID: 6pmF3ojVzgb

--HG--
extra : rebase_source : 5d83b203d4f5121c648be903165a0e9c77ca4a0c
2017-06-20 06:30:48 +09:00
Chris Pearce 3d1e87597e Bug 1374475 - Don't throttle download of media files under 8MB in size. r=jwwang
The startup latency for an HTTP transaction can be high, this adds delay when
we're seeking into an unbuffered range. So we should not throttle the download
for small files, to speed up seeking.

This also works around the problem in bug 1373618 in the case where the
download is fast enough for the entire file to predownload before a seek.

MozReview-Commit-ID: A8Hqi71IJ1H

--HG--
extra : rebase_source : 30648d3ad62b8c0417b1244c896b43b670382e9c
2017-06-20 13:03:49 +12:00
Ehsan Akhgari b306e0842e Bug 1373677 - Remove support for the moz-extremely-unstable-and-will-change-webcomponents permission; r=wchen 2017-06-19 22:12:24 -04:00
Ethan Lin 84176294e0 Bug 1367994 - Remove skip-if for 1272475-1.html since the issue is fixed in webrender. r=kats 2017-06-20 10:08:23 +08:00
Wes Kocher 17a16ffd2f Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gf5xDaCWnPi
2017-06-19 17:34:36 -07:00
Wes Kocher 57da9036bb Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Mats Palmgren cddeb03b03 Bug 1374126 - Use LookupForAdd instead of Contains+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: EI6vKlMqG5i
2017-06-19 18:19:14 +02:00
Mats Palmgren 882d4be4d7 Bug 1374125 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: DYad7czMWBu
2017-06-19 18:19:14 +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
Sebastian Hengst e027b845e7 Backed out changeset 6660b55684d3 (bug 1362330) 2017-06-19 17:42:25 +02:00
Ben Kelly 57c553c1a1 Bug 1372933 Relax time checks in browser_timeout_throttling_with_audio_playback.js back to previous levels. r=ehsan 2017-06-19 08:19:33 -07:00
JW Wang 95284c8279 Bug 1374184. P3 - rename NotifyDownloadProgressed to DownloadProgressed for it is used internally by MediaDecoder and fix the comment. r=gerald
MozReview-Commit-ID: 6nUEjvZ73ko

--HG--
extra : rebase_source : 55d6a5b385258aa080974574a2bfc2ef722d6e00
extra : source : 9a5d941f74815acf189bdb4f85578a2634a632ae
2017-06-19 14:27:58 +08:00
JW Wang ca683c8fb9 Bug 1374184. P2 - merge NotifyDataArrived() and NotifyDownloadProgressed(). r=gerald
We also move NotifyDownloadProgressed() to private
since it won't be called outside MediaDecoder.

MozReview-Commit-ID: GISbJEW7wwx

--HG--
extra : rebase_source : a454e1477ad645e9e2ee9cab8b31332b38518836
extra : source : 8ca5e3e1fac96a150e5df8e4d06c11f85ee3257d
2017-06-19 14:24:40 +08:00
JW Wang ec8226f548 Bug 1374184. P1 - add NotifyDataArrivedInternal() and let ResourceCallback call it. r=gerald
MozReview-Commit-ID: GTmNrRtxJ0U

--HG--
extra : rebase_source : 1b3a86cf1cf24f01876cb43ff65ca4543c6a4da0
extra : source : 69bbedecae3f216c7144886bd1cb67c4a2acb44d
2017-06-19 14:15:00 +08:00
Boris Zbarsky 633b9f4d31 Bug 1373798 part 3. Rewrite our existing checks for the state of the "dir" attr on top of the new event state flags. r=mystor
MozReview-Commit-ID: LpCYABK5ZRN
2017-06-19 23:24:59 -04:00
Boris Zbarsky 8afc692082 Bug 1373798 part 2. Introduce event state flags that track the state of an element's "dir" attribute. r=mystor
MozReview-Commit-ID: EDCV2fUWGmX
2017-06-19 23:24:59 -04:00
Boris Zbarsky e925cebd5b Bug 1373798 part 1. Stop calling SetHasDirAuto/ClearHasDirAuto in input element code. r=mystor
The old setup unset the HasDirAuto flag when changing the "dir" attr away from
the value "auto", and reset it when setting it to "auto", before calling
SetDirectionalityFromValue.  But SetDirectionalityFromValue doesn't depend on
the HasDirAuto flag, and that flag is set correctly for us by nsGenericElement,
so we don't have to manage it ourselves at all.

The callers outside BeforeSetAttr/AfterSetAttr just preserved the flag value, so
there's no behavior change at all for them.

MozReview-Commit-ID: AC8uV3cOtH2
2017-06-19 23:24:59 -04:00
Wes Kocher 976d5437f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6A96Fe0GPjw
2017-06-19 17:37:53 -07:00
Masayuki Nakano f337b95b60 Bug 1372829 - part2: mozilla::EditorBase should cache raw pointer of nsISelectionController and nsIDocument with nsWeakPtr r=froydnj,m_kato
mozilla::EditorBase stores nsISelectionController and nsIDocument with nsWeakPtr.  However, nsWeakPtr requires QI to retrieve actual pointer and it makes some damage to the performance.  If mozilla::WeakPter were available for them, it'd be great.  However, it's not available with nsISelectionController nor nsIDocument because it's possible to implement SupportsWeakPtr only with their subclasses but the subclasses shouldn't be referred by editor.  Therefore, this patch creates mozilla::CachedWeakPtr<class T> which stores both raw pointer (as cache) and nsWeakPtr and when its cache is requested, it checks if the object referred by nsWeakPtr is still alive.

Additionally, this patch hides the members from subclasses of EditorBase for reducing the maintenance cost.

MozReview-Commit-ID: FvtM7453Vv8

--HG--
extra : rebase_source : a524a8ea327c3993645fafa81db8aef65090f1e0
2017-06-20 00:55:00 +09:00
Wes Kocher 3923267017 Backed out 4 changesets (bug 981796) for android failures in test_bug414291.html a=backout
Backed out changeset fe6569eae4ef (bug 981796)
Backed out changeset eca1651af3d3 (bug 981796)
Backed out changeset 5a1e684a1494 (bug 981796)
Backed out changeset 7f91ff196c93 (bug 981796)

MozReview-Commit-ID: COSf2kvo6c7
2017-06-19 16:41:55 -07:00
Wes Kocher 84816f4647 Backed out 5 changesets (bug 1373798) for browser_parseable_css.js failures a=backout CLOSED TREE
Backed out changeset ef2e6aa3ae88 (bug 1373798)
Backed out changeset 0970ac62b245 (bug 1373798)
Backed out changeset dc19b4db7e51 (bug 1373798)
Backed out changeset a5dd7744170e (bug 1373798)
Backed out changeset 2c8752c4b6fb (bug 1373798)

MozReview-Commit-ID: J1WkPvRqELs
2017-06-19 15:56:47 -07:00
Eden Chuang 332643e391 Bug 1345365 - Mochitest for PaymentRequest API canMakePayment() and abort(). r=baku
--HG--
extra : rebase_source : 9bac1eb8459104dd398f655d46f4c197d763d9ca
2017-06-13 14:43:18 +08:00
Eden Chuang 084d3f703e Bug 1345365 - PaymentRequest API canMakePayment(), abort() and show() implementation. r=baku
--HG--
extra : rebase_source : 09ea762ee2af888f090817617545c7cf7a15f1a9
2017-06-14 15:59:00 +08:00
Beekill95 288143cdad Bug 1362330 - Add testcases for C++ XPathGenerator's functions. r=smaug, r=mikedeboer
MozReview-Commit-ID: 5xSZOnrHceR
2017-06-12 14:18:55 +07: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
Jessica Jong fdb38c21da Bug 1372369 - Part 2: Set validity state to 'bad input' when the entered date value is invalid. r=smaug
If all fields in date/time input box are available but the input element's
value is empty, implies that it has been sanitized. In this case, we'll set the
'bad input' validity state. If any of the fields is cleared, we'll remove the
'bad input' validity state, as incomplete field does not imply 'bad input'.

MozReview-Commit-ID: 4EBpH5CWqXM
2017-06-19 01:13:00 -04:00
Jessica Jong 2adbf19dee Bug 1372369 - Part 1: Update input element's value when all fields are available and let DOM HTMLInputElement sanitize it. r=smaug
In this patch, we change it so that we always set the input element's value
once all fields are available and let DOM HTMLInputElement sanitize it. The
value after sanitization is not updated in the displayed input box, but may
display an error message (this will be done in Part 2) if needed.
Also, when any of the field's value is deleted, we will set input element's
value back to the empty string, so that a value is not accidentally submitted.

MozReview-Commit-ID: 9NAL8UlkoBK
2017-06-16 02:09:00 -04:00
Thomas Wisniewski 3646a5cbe9 Bug 1036659 - Don't call mozilla::DropJSObjects() in CallbackObject::DropJSObjects(). r=mccr8
MozReview-Commit-ID: AbD1NUqCvFD
2017-06-16 17:15:32 -04:00
Carsten "Tomcat" Book b6627b974a Merge mozilla-central to mozilla-inbound 2017-06-19 14:48:12 +02:00
Carsten "Tomcat" Book d14a5a593a merge mozilla-inbound to mozilla-central a=merge 2017-06-19 13:37:20 +02:00
Christoph Kerschbaumer 829704554e Bug 1370788 - Move XFO out of nsDSURIContentListener.cpp into dom/security. r=smaug 2017-06-19 06:59:44 +02:00
Nicholas Nethercote 5d3808c6e5 Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange.
Once the |aPayload| argument to profile_add_marker() became a UniquePtr the
default value of nullptr caused compilation difficulties that could only be
fixed by #including ProfilerMarkerPayload.h into lots of additional places
(because the UniquePtr<T> instantiation required the T to be fully defined). To
get around this I just split profile_add_marker() into two functions, one with
1 argument and one with 2 arguments.

The patch also removes the definition of PROFILER_MARKER_PAYLOAD in the case
where MOZ_GECKO_PROFILER isn't defined. A comment explains why.
2017-06-16 12:26:26 +10:00
Mats Palmgren 8924a195df Bug 1373999 part 3 - Create dom/base/SelectionChangeListener.cpp and move mozilla::dom::SelectionChangeListener code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: E8kiDtyWVdQ

--HG--
rename : dom/base/Selection.cpp => dom/base/SelectionChangeListener.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren 18cc369911 Bug 1373999 part 2 - Create layout/generic/nsFrameSelection.cpp and move nsFrameSelection code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: 2uTrJ9SO63s

--HG--
rename : dom/base/Selection.cpp => layout/generic/nsFrameSelection.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren d582beef4f Bug 1373999 part 1 - Move layout/generic/nsSelection.cpp verbatim to dom/base/Selection.cpp, and layout/generic/Selection*.h to dom/base/. Also export a few table header files that it needs. r=smaug
MozReview-Commit-ID: 9YUmEOIHUdc

--HG--
rename : layout/generic/nsSelection.cpp => dom/base/Selection.cpp
rename : layout/generic/Selection.h => dom/base/Selection.h
rename : layout/generic/SelectionChangeListener.h => dom/base/SelectionChangeListener.h
2017-06-19 00:07:36 +02:00
Sebastian Hengst 1f7d31312c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 20:50:40 +02:00
Sebastian Hengst 593e520c55 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Oi3PA6ZpRz
2017-06-18 20:35:11 +02:00
Ehsan Akhgari 8e9e1f185c Bug 1374036 - Annotate the unlikely branches in EventListenerManager::ListenerCanHandle() in order to allow the optimizer to reorder code more effectively; r=smaug 2017-06-18 12:06:34 -04:00
Andrea Marchesini 4db0707bc6 Bug 1373542 - Replace AutoFreeBuffer with MakeScopeExit in Fetch.cpp, r=bkelly 2017-06-18 11:47:45 +02:00
Paolo Amadini 585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Mats Palmgren 5b7c81e34b Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Sebastian Hengst 3654d560d6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DPQl41S3ZkU
2017-06-17 22:26:03 +02:00
Wes Kocher b0560565d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Wes Kocher 39066d6984 Merge inbound to central, a=merge
MozReview-Commit-ID: 2k4filK9zyX
2017-06-16 17:58:58 -07:00
Mats Palmgren e96c22d711 Bug 1373095 - Devirtualize GetRowSpan/GetColSpan. r=bz
MozReview-Commit-ID: 7EUqrFMMe9c
2017-06-17 02:49:09 +02:00
Mats Palmgren 9d353fa50b Bug 966240 - Remove support for <meta http-equiv="msthemecompatible" content="no">. r=dbaron
It appears that neither Chrome, Safari or Edge support this feature,
and it's causing web-compat issues for us, e.g. bug 1373417.

MozReview-Commit-ID: AP5LMgL6QmR
2017-06-16 17:17:22 +02:00
Olli Pettay 19e0e34c6d Bug 1373651 - Ensure we don't report too large GC-during-idle values, r=mccr8
--HG--
extra : rebase_source : 597faa884e613f9580c9ae3283f6e54cb02dd46b
2017-06-16 17:45:15 +03:00
Kirk Steuber 25f3dbc5bc Bug 1357645 - Clone attributes rather than reparsing when possible r=bz
Now that the side effects of parsing have been relocated to BeforeSetAttr and AfterSetAttr (Bug 1365092), we can easily switch nsGenericHTMLElement::CopyInnerTo from reparsing attributes to cloning them. They are still reparsed, however, in the case where the owning document is changing since Base URIs may have changed.

MozReview-Commit-ID: 2TlUUyBx6bL

--HG--
extra : rebase_source : b581e797a24230d012cf79c1fc567c05d9acc746
2017-06-15 09:56:18 -07:00
Mats Palmgren ea75194536 Bug 1372031 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 2ZG2qX3dyGa
2017-06-17 00:06:04 +02:00
Mats Palmgren 41a0eaaaa9 Bug 1372009 - Use aCommandsHandled.EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 4ukgy6mBsKq
2017-06-17 00:06:04 +02:00
Mats Palmgren 4264d9480f Bug 1371925 - Remove unnecessary hashtable lookups in DOMIntersectionObserver. r=froydnj
MozReview-Commit-ID: LUt03nCz3SD
2017-06-17 00:06:04 +02:00
Makoto Kato 23c3e741f1 Bug 1368888 - Don't get previous value twice in input.value setter. r=smaug
We get previous input.value twice in HTMLInputElement::SetValue and nsTextEditorState::SetValue when setting input.value.  Since nsTextEditorState::GetValue uses DocumentEncoder, it is expensive.  So we should use old value as parameter of nsTextEditorState::SetValue if possible.

MozReview-Commit-ID: A1UPfETTVCn

--HG--
extra : rebase_source : f751289b42b4d9d5c389042f688c53bde47d1620
2017-06-14 18:21:01 +09:00
Sebastian Hengst efd723cdad merge mozilla-central to autoland. r=merge 2017-06-18 00:21:41 +02: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
Masatoshi Kimura 838ccc4108 Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
MozReview-Commit-ID: 5O5WtxbmATQ

--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Masatoshi Kimura 9865b2fdeb Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
MozReview-Commit-ID: E0w8BsP1Rof

--HG--
extra : rebase_source : db95e1e7fc60c9b9c8e6d7fcc5329421ec97e811
2017-06-16 21:11:03 +09:00
Alfredo Yang f2e77f3bb0 Bug 1370175 - enable rust mp4 parser on other platforms and fallback to stagefright if rust parser fails. r=kinetik
MozReview-Commit-ID: 6ykgAOagR7a

--HG--
extra : rebase_source : 24b67a9aa1e0c8e5a28e65ee23470738aebd946f
2017-06-14 11:29:10 +08:00
Jean-Yves Avenard 904b949686 Bug 1374068: P2. Rewrite bits with lambdas. r=gerald
Allow to get rid of the mPendingSample member, making the logic easier to follow.

MozReview-Commit-ID: F7a25p1TP8J

--HG--
extra : rebase_source : 9413f8a685df44b6e93e7382a0eda77dce27056f
2017-06-18 17:57:35 +02:00
Jean-Yves Avenard 9935370468 Bug 1374068: P1. Drain the decoder when content is changing. r=gerald
MozReview-Commit-ID: EUiBIaHzBCO

--HG--
extra : rebase_source : 5d6b1f68d3572baa87a4de38d9daf3804cdc6aff
2017-06-18 17:29:23 +02:00
Xidorn Quan 88857216a9 Bug 1359217 part 1 - Make document nsIDocumentObserver::StyleRule* methods include the rule as parameter. r=bz
MozReview-Commit-ID: H8FgiwCv0Gr

--HG--
extra : source : 64481d27547196d9e3794eeea562492af67d900f
2017-06-19 15:45:43 +10:00
JW Wang f7b857d975 Bug 1373595. P3 - devirtualize NotifyDownloadProgressed which has no overrides at all. r=gerald
MozReview-Commit-ID: 7RoBvSc4fXP

--HG--
extra : rebase_source : cc95c56ab351165cf0069b970608df717843068d
2017-06-19 11:02:20 +08:00
JW Wang becfe61ebe Bug 1373595. P2 - rename NotifyBytesDownloaded to NotifyDownloadProgressed to better describe what it actually does. r=gerald
MozReview-Commit-ID: IOBY3UKAy0G

--HG--
extra : rebase_source : be4b9a53fa676ec0a628a09edecce74528f1e66a
2017-06-19 11:01:13 +08:00
JW Wang 480e189f8c Bug 1373595. P1 - merge MediaResourceCallback::NotifyDataArrived and NotifyBytesDownloaded. r=gerald
We now call NotifyDataArrived() after data written to the cache to notify
download progresses and buffer ranges re-calculation.

MozReview-Commit-ID: 3IrDuEYJYWu

--HG--
extra : rebase_source : 165a199952be32c8c4cd8f1c578b87826a267f10
2017-06-16 18:35:12 +08:00
Michael Froman 532f5313a7 Bug 1373015 - fix permafail mochitest for RTCIceCandPairStats changes in Bug 1339906. r=drno
Something changed in the timing and we're getting more candidate pairs
in the test now.  I changed the test to only compare most of the
details when the pair is in state succeeded.

MozReview-Commit-ID: FaR00eZPJmI

--HG--
extra : rebase_source : 9e29f7604f6ae198cbaf792171db265612a574a6
2017-06-15 12:17:43 -05:00
bechen e613c38f5c Bug 1372715 - TimeMarchesOn step 1, fix the EndTime check for "current cue". r=rillian
Cue whose start times are less than or equal to the current playback position and
whose end times are greater than the current playback position.

MozReview-Commit-ID: 2I5lgjUUtgB

--HG--
extra : rebase_source : 5396f932da54cf175fe330f0caf85472ac9f7e42
2017-06-16 10:48:14 +08:00
Tim Huang 7d1c0f2d14 Bug 1369303 - Part 2: Marking the performance timing API always reports 0 and the access of resource timing and user timing becomes NOP when 'privacy.resistFingerprinting' is true. r=arthuredelstein,baku
This patch is going to neutralize the threat of fingerprinting of performance API
by spoofing the value of performance timing into 0, making getEntries* functions
always returns an empty list and making mark() and measure() into NOP methods.

In addition, this patch changes nsContentUtils::ShouldResistFingerprinting() to
allow it can be called in both main thread and worker threads.

MozReview-Commit-ID: C8Jt7KEMe5e

--HG--
extra : rebase_source : 85cbf66881c868ca5109022ffd4af81e3ab0a049
2017-06-15 16:48:27 +08:00
Tim Huang 64bc6e5f1f Bug 1369303 - Part 1: Adding 'privacy.resistFingerprinting' into worker prefs. r=arthuredelstein,baku
MozReview-Commit-ID: 5AwFjoeRY2a

--HG--
extra : rebase_source : 45cae6779fb70b58d20a493f89fb7b98e4956275
2017-06-15 16:48:26 +08:00
John Dai 2675b61900 Bug 556743 - Update web-platform tests for labels attribute. r=smaug 2017-06-05 06:27:00 -04:00