Thomas Wisniewski
81d59581ae
Bug 1341609 - Don't throw on async XHR send() failures when open() created no channel; r=baku
...
MozReview-Commit-ID: IKVSbdRXoP8
--HG--
extra : rebase_source : 6f85751dae1bf7413598a3ddc381bee86545de9b
2017-09-29 11:36:55 -04:00
J.C. Jones
a11562f2ea
Bug 1403279 - Set U2F version field on RegisterResponse r=keeler
...
The U2F specification defines the RegisterResponse.Version field as being set to
"U2F_V2" [1] on successful registrations, which we appear to have overlooked.
This sets the field and adds a few checks to the register test.
[1] https://www.fidoalliance.org/specs/fido-u2f-v1.1-id-20160915/fido-u2f-javascript-api-v1.1-id-20160915.html#idl-def-RegisterResponse
MozReview-Commit-ID: 9YqhM0x9itd
--HG--
extra : rebase_source : 35cab0dffa5db70476461699a6b4706f910b208a
2017-09-28 16:04:10 -07:00
Hiroyuki Ikezoe
653e15ba32
Bug 1403433 - Add another variant of SchedulePaint that does not call InvalidateRenderingObservers for PendingAnimationTracker. r=birtles
...
nsFrame::SchedulePaint() invokes InvalidateRenderingObservers, and
InvalidateRenderingObservers ends up posting change hints during we are
processing sequential tasks for animations, but we don't allow posting any
change hints while we are in the middle of restyling process.
Though the change hints posted by InvalidateRenderingObservers are not harmful
in this case since the change hints will be processed in a second post
traversal without problems. That's said, InvalidateRenderingObservers stuff
should be processed in display list based invalidation anyway (bug 1284053).
MozReview-Commit-ID: GKVRZ98lvEN
2017-09-29 19:42:13 +09:00
Andreas Pehrson
d918302551
Bug 1319446 - DirectMediaStreamListener, you are dead to me. r=padenot
...
MozReview-Commit-ID: KwztE5ogSj9
--HG--
extra : rebase_source : e8e6bb3548c5697c5db901c0310ea5067a30c895
2017-09-27 12:01:46 +02:00
Sebastian Hengst
5a95ac34b4
merge mozilla-central to autoland. r=merge a=merge
2017-09-29 11:49:46 +02:00
Jan Varga
8ca83f4a14
Bug 1403023 - Set mSentCommitOrAbort to true when HoldWorker call fails to silence the destructor assertion (this is a followup fix for bug 1399322); r=asuth
2017-09-29 08:48:47 +02:00
Matthew Gregan
2bf67b1eb5
Bug 1403043 - Avoid reentering libcubeb from data_callback. r=jwwang
...
AudioStream::DataCallback uses cubeb_get_backend_id to work around a bug in
libcubeb's winmm backend, but calling libcubeb APIs from within libcubeb
callbacks is not safe. Move the query to AudioStream::Init and check a simple
bool from within the callback instead.
2017-09-29 17:19:47 +13:00
JW Wang
cf7433d7d9
Bug 1404187 - group timeout messages for MediaTestManager. r=kaku
...
So different test timeouts from the same test case will fall under the same bug.
MozReview-Commit-ID: LDstAhOpkYK
--HG--
extra : rebase_source : 9f2b52f237f18f3fecdd076295da4d43e5b30219
2017-09-29 11:25:31 +08:00
Kaku Kuo
6a5b40688d
Bug 1401757 part 1 - set MDSM::mMinimizePreroll to false once seekToNextFrame() is engaged; r=jwwang
...
MozReview-Commit-ID: KFWbOAw7dig
--HG--
extra : rebase_source : 06a5e9c875b01437370b878248b65ec1c87cecff
2017-09-28 17:57:31 +08:00
Munro Mengjue Chiang
e39858f1cd
Bug 1402377 - Stop the corresponding track instead of the whole stream when an external device is plugged out. r=jib,pehrsons
...
MozReview-Commit-ID: 7gbB5sgn6xI
--HG--
extra : rebase_source : 9dc0b1cc8d1dd55c4fb71f444c165498f0e7f7ad
2017-09-27 10:16:46 +08:00
Alastor Wu
6881f03d05
Bug 1403478 - part2 : merge 'test_SeekableBefore*' and 'test_SeekableAfter*' into 'test_SeekableBeforeAndAfter*'. r=jya
...
MozReview-Commit-ID: 3tfdEEV78k8
--HG--
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStream.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStream.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStreamSplit.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStreamSplit.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStreamSplit_mp4.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStreamSplit_mp4.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStream_mp4.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStream_mp4.html
extra : rebase_source : 98e2e7c90f9b22526889eca869160999307e0cf7
2017-09-29 11:58:44 +08:00
Alastor Wu
27e06f23ea
Bug 1403478 - part1 : check v.seekable before and after calling ms.endOfStream(). r=jwwang,jya
...
This patch does two things,
(1) check v.seekable after calling ms.endOfStream()
As test name suggests, we check seekable after calling endOfStream()
(2) check the time range of v.seekable
The seekable represents the ranges of the media resource [1], so it would be changed after calling ms.endOfStream().
Before calling the endOfStream(), seekable should be [0, ms.duration)
After calling the endOfStream(), seekable should be [0, ms.buffer.end(0))
[1] https://www.w3.org/TR/html51/semantics-embedded-content.html#dom-htmlmediaelement-seekable
MozReview-Commit-ID: 56AIZYVsHhW
--HG--
extra : rebase_source : a1f1df601dc8523cd5d4e58b41cada3c79d494c1
2017-09-29 11:33:46 +08:00
Masayuki Nakano
7f281b641d
Bug 1403026 - Make IMEStateManager release all string buffer of its static members at XPCOM shutdown r=smaug
...
IMEStateManager has a static instance of InputContext which has some nsString
instances. Then, their members will be released after XPCOM shutdown and
that is detected as unexpected destruction.
Therefore, IMEStateManager should release them by itself at XPCOM shutdown.
Using nsTSubstring::SetCapacity(0) is the simplest way to release only the
string buffers.
MozReview-Commit-ID: LMrQxQF9xPn
--HG--
extra : rebase_source : 7cbaf19b76be8db083c10270d0ee436a1c061ea2
2017-09-28 17:31:29 +09:00
cku
51c6fc95ad
Bug 1373750 - Part 2. Add a crash test consists of two mask layers. r=mstange
...
MozReview-Commit-ID: ECiDHwCqO1B
--HG--
extra : rebase_source : 8fcda747133df7379d6924d7e118025ece5d4223
extra : source : 69c8d44122acb3fefc3297138938d537eefc46f8
2017-09-25 15:35:37 +08:00
Bobby Holley
bd4be52f46
Bug 1403397 - Add a testing API. r=bz,r=Manishearth
...
This will allow us to verify the entire detection pipeline in real nightly
builds, which will give us confidence that real heap corruption will be
detected and reported properly.
MozReview-Commit-ID: 43Fp2HT8RYy
2017-09-28 18:23:15 -07:00
Wes Kocher
134e495909
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher
1cdb198bd9
Backed out 3 changesets (bug 1388413) for failures in browser_userContextId_openWindow.js a=bustage
...
Backed out changeset aa2f3c4c3242 (bug 1388413)
Backed out changeset 8f8b7e60f397 (bug 1388413)
Backed out changeset a4d6924a59f1 (bug 1388413)
MozReview-Commit-ID: Gp0AwTKEAGO
2017-09-28 16:57:21 -07:00
Wes Kocher
1674eb3e4f
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Wes Kocher
2c04ebdaa3
Merge autoland to central, a=merge
...
MozReview-Commit-ID: LTZmzqpIUXI
2017-09-28 15:49:14 -07:00
Ryan VanderMeulen
2ccfaf0697
Backed out changesets d0d30a90efa1 and fd1d81b93380 (bug 1305237) for causing bug 1403932.
2017-09-28 17:55:43 -04:00
Jeff Gilbert
ecdd005bbd
Bug 1403798 - Update sRGB expectation to "pass" on Windows.
...
MozReview-Commit-ID: 6pjoWF4DMyE
2017-09-28 13:28:21 -07:00
Sebastian Hengst
9187795579
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 74cERYrHFIG
2017-09-28 11:44:21 +02:00
Jeff Gilbert
28ad7c4030
Bug 1403413 - Remove deprecated MOZ_ extension prefix aliases. - r=daoshengmu
...
MozReview-Commit-ID: JM5pVKW8po7
2017-09-27 17:46:25 -07:00
Wes Kocher
61c098eae7
Merge inbound to m-c a=merge CLOSED TREE
...
MozReview-Commit-ID: 3pMHYV9oXLm
--HG--
rename : dom/base/nsReferencedElement.cpp => dom/base/IDTracker.cpp
rename : dom/base/nsReferencedElement.h => dom/base/IDTracker.h
2017-09-27 16:51:49 -07:00
Kearwood "Kip" Gilbert
f2b9872ab8
Bug 1396326 - VRDisplay.getFrameData() now returns false when orientation data is not available,r=daoshengmu
...
MozReview-Commit-ID: 9XlzeXWOy8U
--HG--
extra : rebase_source : 9a5a7b306f918a4a032673d3f6823b3f56b74aa5
2017-09-27 13:54:58 -07:00
Sebastian Hengst
91a42a9bad
Backed out changeset d3ebcf7d4c31 (bug 1319342) for failing web-platform-test /dom/nodes/Node-cloneNode.html. r=backout
2017-09-27 20:04:51 +02:00
Sebastian Hengst
8b3a2fc88e
Backed out changeset 8a970e561fe1 (bug 1389274) for unexpected passes of web-platform-test /cssom-view/scrollIntoView-shadow.html. r=backout
2017-09-28 19:46:03 +02:00
Thomas Wisniewski
9c0a07404c
Bug 1388428
- Extend browsingData to restrict removing localStorage to a given list of hostnames; r=asuth,bsilverberg
...
MozReview-Commit-ID: ELgjLHsVLkv
--HG--
extra : rebase_source : 8df793d8484762670e42fff4c3708df2b3ea1ebe
2017-09-25 16:47:38 -04:00
Alastor Wu
b25ce830dd
Bug 1403832 - part2 : reuse ErrorName() in MediaResult::Description(). r=jya
...
MozReview-Commit-ID: AN6v18RwlAw
--HG--
extra : rebase_source : 4d8e7370a166441005b5e9d7d632e526be666b10
2017-09-29 00:37:50 +08:00
Alastor Wu
1bc4324cb2
Bug 1403832 - part1 : replace Error.Code() with Error.ErrorName(). r=jya
...
Use ErrorName() as it provides more useful information for the error detail.
MozReview-Commit-ID: BQUPQGcLd8L
--HG--
extra : rebase_source : 734825c88dfbe79de1e61498dcc24606c50314ee
2017-09-29 00:37:45 +08:00
Andrew McCreight
f31f7f7cc6
Bug 1403377 - Destroy hash table iterator before modifying hash table. r=smaug
...
nsDOMAttributeMap::BlastSubtreeToPieces() uses a hash table iterator
to get an arbitrary element from a hash table. This marks the hash
table as being in use. It then modifies the hash table before the
iterator is destroyed, triggering an assertion. The fix is to restrict
the scope of the iterator so that it is destroyed before the hashtable
is modified.
The existing code is safe because the iterator is never used after the
hash table has been modified.
MozReview-Commit-ID: DUjqewvwEe7
--HG--
extra : rebase_source : 698046af75890c8f52ba15331115b9ff119c689a
2017-09-27 14:49:35 -07:00
Thomas Wisniewski
86f49170db
Bug 1389274 - Correct the behavior of Element.scrollIntoView to match the draft spec and pass web platform tests; r=annevk,bkelly
...
MozReview-Commit-ID: 3is36wstsdb
--HG--
extra : rebase_source : f063ca918d30998dc03c0c73206db495257758a2
2017-09-27 12:23:33 -04:00
Thomas Wisniewski
cdaa875696
Bug 1389274 - Correct the behavior of Element.scrollIntoView to match the draft spec and pass web platform tests; r=annevk,bkelly
...
MozReview-Commit-ID: 3is36wstsdb
--HG--
extra : rebase_source : f4a7598aad5b04a2dcaf40d09ee7733b4d6982f6
2017-09-28 16:57:24 -04:00
Bryce Van Dyk
06435b3208
Bug 1400757 - Add telemetry to MediaRecorder and TrackEncoder to track basic usage. r=francois,pehrsons
...
Add telemetry to collect the following:
- Number of times a MediaRecorder is started during a session
- Duration of media recordings
- How often we're timing out init of audio and video track encoders
MozReview-Commit-ID: 9Pc2oKNCH1M
--HG--
extra : rebase_source : 16414a5ffa95413458d36295e5508df4c16e6fa9
2017-09-19 07:34:02 +12:00
Emilio Cobos Álvarez
d77d8cd43e
Bug 1403712: Clear the restyle root at the end of UnbindFromTree too. r=bholley
...
MozReview-Commit-ID: 7swfspMWUe6
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 22:24:08 +02:00
Emilio Cobos Álvarez
b5ab9820ca
Bug 1403712: Make some assertions not assert for conditions that may happen mid-unbind. r=bholley
...
MozReview-Commit-ID: DNSphdMismy
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 22:24:08 +02:00
Brad Werth
319f954b4c
Bug 1402942 Part 2: Add a test to check the reported devicePixelRatio strings for different zoom levels. r=heycam
...
MozReview-Commit-ID: HZ5X2L6J3Qo
--HG--
extra : rebase_source : e42b812e319021c50ec20317e04bc85d3acb45b8
2017-09-26 14:18:46 -07:00
Brad Werth
227f633bc7
Bug 1402942 Part 1: Use double precision math in computation of Window.devicePixelRatio. r=bz,heycam
...
MozReview-Commit-ID: 9OCtSgE6jYj
--HG--
extra : rebase_source : 16d12ea76dce60c062ea513f886a83dff317bfde
2017-09-25 11:53:09 -07:00
Shane Caraveo
088c63f6e5
Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
...
MozReview-Commit-ID: HpneTIKPoS1
--HG--
extra : rebase_source : d4c7e9146b4156f7e429e6427628bbf7cd25cbe7
2017-09-27 07:58:17 -07:00
Stone Shih
e628cf64e9
Bug 1316251 Part3: Trigger pointer event implementation in EventStateManager. r=masayuki
...
To manage pointer event "state" in ESM.
MozReview-Commit-ID: HiAwvSmVTwx
2017-09-08 11:01:22 +08:00
Sebastian Hengst
127937baec
merge mozilla-central to autoland. r=merge a=merge
2017-09-28 12:16:20 +02:00
James Cheng
64ae68efce
Bug 1403830 - [Part2] Remove unnecessary code and include header using gmp-platform.h. r=cpearce
...
MozReview-Commit-ID: huebQ9Ihs8
--HG--
extra : rebase_source : ff8cd329bf19f4158ac435f644c4c9dae44d890c
2017-09-28 16:18:16 +08:00
James Cheng
8f80fefaf0
Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce
...
MozReview-Commit-ID: G8RHADhfd3c
--HG--
extra : rebase_source : 125098fb689e5d031f042c9b3976a8163f41ff51
2017-09-28 15:50:28 +08:00
James Cheng
ec87af6c06
Bug 1403804 - P2 - Remove remaining GMPCDMProxy term. r=cpearce
...
MozReview-Commit-ID: IlcqZWYlFPv
--HG--
extra : rebase_source : 7bc9bc7ef3573f491be833003e52aa8c4ccddf3e
2017-09-28 11:58:35 +08:00
James Cheng
bd88dbe2fe
Bug 1403804 - P1 - Remove PGMPDecryptor.ipdl and its related code from code base. r=cpearce
...
MozReview-Commit-ID: 4mxdcvnRl3W
--HG--
extra : rebase_source : 4c047fa94448bdde302f4b325f786f1d1b904388
2017-09-28 11:40:30 +08:00
Sebastian Hengst
5573e8270f
Backed out changeset 0ce8d073a16e (bug 256180)
2017-09-28 11:30:33 +02:00
Stone Shih
9ea2b881c8
Bug 1316251 Part2: Revise pointer event implementation. r=masayuki
...
Revise the pointer event implementation, includes
- Revise the implementation to fetch preference values.
- Separate the logic to get the pointer capturing frame to PointerEventHandler.
MozReview-Commit-ID: 7pdAr0XFNT2
2017-09-06 17:28:28 +08:00
Stone Shih
a1d26ab3b4
Bug 1316251 Part1: Separate pointer event implementation from PresShell. r=masayuki
...
This patch moves pointer event related implementations to a new class.
MozReview-Commit-ID: FdBYl7vYC5I
2017-09-06 15:47:49 +08:00
Kris Maglione
a2f046914a
Bug 1403348: Include details about AsyncShutdown failure in crash reason. r=baku data-r=rweiss
...
MozReview-Commit-ID: L6U2MVshZl8
--HG--
extra : rebase_source : 028be91b15947c77961747f534fc6895ffb6e756
2017-09-27 15:11:43 -07:00
Wes Kocher
253017b382
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 9qR4QYHAi2x
2017-09-28 17:08:09 -07:00