Boris Zbarsky
86db2ae4fd
Bug 1386530. Fix handling of type changes that affect validity state to properly notify state changes. r=jessica
...
MozReview-Commit-ID: Khhzi1HyCpt
2017-09-22 15:47:16 -04:00
Ben Kelly
c5df01040e
Bug 1402085 P1 Maybe fire ServiceWorkerContainer.ready promise when a registration is resurrected. r=asuth
2017-09-22 12:38:09 -07:00
Sebastian Hengst
fa3031e45f
Backed out changeset 6b52ab7a62ed (bug 1400912) for mda failures, e.g. in dom/media/tests/mochitest/test_peerConnection_addSecondVideoStreamNoBundle.html and media related mochitest failures. r=backout on a CLOSED TREE
2017-09-22 16:21:46 +02:00
Paul Adenot
3dcc626dd1
Bug 1400912 - Don't keep references to stack variables in camera child code. r=jib
...
MozReview-Commit-ID: 8FbUFdkcVtx
--HG--
extra : rebase_source : c7d9f0d9b786d4a1941d6bb0ceffa9030685432d
extra : source : c2b8b044c915434077caddd9d1322bd8353336d9
2017-09-19 15:18:17 +02:00
Sebastian Hengst
1867bfd2c5
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-22 11:51:21 +02:00
Sebastian Hengst
9e7898d195
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: FKzfDK7mwcx
2017-09-22 11:29:49 +02:00
Nicholas Nethercote
e3c9cbb969
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Phil Ringnalda
9728bc3636
Merge m-c to m-i
...
MozReview-Commit-ID: LQmIsTRxble
2017-09-21 20:49:43 -07:00
Andrea Marchesini
b7cd7c515d
Bug 1047098 - "Clear Recent History" must clean up all the ServiceWorkers, r=bkelly
...
This includes minor shutdown fixes by :asuth as discussed on
https://bugzilla.mozilla.org/show_bug.cgi?id=1047098#c56 and c57.
--HG--
extra : rebase_source : d1a230cc005b2a6a71f16ef84a55851ee2f4f66e
extra : source : e89d2565799b4b02d5ee2c56da8d44dc0067f26a
2017-09-21 21:32:00 +02:00
Wes Kocher
733c3896f8
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 9mZaPGxxjXd
2017-09-21 17:04:03 -07:00
Wes Kocher
a7fe048680
Merge inbound to central, a=merge
...
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Tim Taubert
09acff8375
Bug 1400668 - Fix Android builds on a CLOSED TREE by adding the key_handles arg to the stub PlatformManager r=bustage
2017-09-21 16:24:44 +02:00
Kershaw Chang
53cf0a2a8e
Bug 1247843 - Part 3: Set request context ID to the http channel created in imgLoader::LoadImage. r=baku
...
In order to let necko postpone the load of favicon, we have to set request context ID to the http channel that is created to load favicon.
This patch starts with passing a request context ID to nsContentUtils::LoadImage and makes other necessary changes to set the request context ID to the channel.
2017-09-20 20:09:00 -04:00
Kershaw Chang
3ccf2143f7
Bug 1247843 - Part 2: Set request context ID for the channel used to load favicon. r=mak
...
This patch covers two cases when loading a favicon:
1. Get the request context ID of the document load group, when <link rel="icon"> is found in the page.
2. Use the top level document's request context ID when using the default favicon.
2017-09-20 20:09:00 -04:00
Jan-Ivar Bruaroey
630e3ccfc3
Bug 1399922 - Use a static mutex for getting deviceId keys in MediaParent. r=jesup
...
MozReview-Commit-ID: E6pzyAM4jOQ
--HG--
extra : rebase_source : f6a893508e4f5d1b426a62b6c549aba1e1f2041d
2017-09-21 10:45:56 -04:00
John Dai
c891a377df
Bug 1401726 - Fix crash in nsLabelsNodeList::PopulateSelf. r=smaug
2017-09-21 02:06:00 -04:00
Tim Taubert
3d449e1af3
Bug 1400668 - Process key handle exclusion list when registering a token r=jcj
2017-09-21 16:09:53 +02:00
Hiroyuki Ikezoe
933ef2c9ba
Bug 1401809 - Use Atom::from(nsIAtom) to increment reference count in case of dynamic atom for will-change. r=xidorn
...
If we don't increment the reference count for the Atom in servo side, it's
possible to try to release the Atom in servo side even if we have already
released in gecko side. When it happens, nsIAtom::mKind is no longer reliable.
MozReview-Commit-ID: GrxbcYxowRB
--HG--
extra : rebase_source : 94e054e3357b31e398e8e5e81522dab3019c561c
2017-09-21 15:50:37 +09:00
Stone Shih
7c72086a7b
Bug 1401450 - Fix incorrect guid and input block id when sending coalesced mouse move event. r=smaug.
2017-09-20 12:59:08 +08:00
Bevis Tseng
6ad441ca98
Bug 1401105 - Fix the failure of keypath-special-identifiers.htm. r=baku
...
--HG--
extra : rebase_source : 5b741f3c061c2e07cc7e4dc2caa7f772b513ad4c
2017-09-19 15:52:48 +08:00
Jean-Yves Avenard
2cd8f30633
Bug 1401922 - P2. Only set error when non handled. r=alwu
...
MozReview-Commit-ID: CF2Iw0i0nD8
--HG--
extra : rebase_source : d95ae83f8e426593200cd15b3ea7d6fd19da3ec8
2017-09-21 13:29:54 +02:00
Jean-Yves Avenard
ac7ed4578a
Bug 1401922 - P1. Ensure an error is returned when no decoder could be created. r=alwu
...
PDMFactory::CreateDecoder may not always modify CreateDecoderParams::mError as not all PDM handle this optional return value.
MozReview-Commit-ID: K8WFA0o778U
--HG--
extra : rebase_source : 55c35ab0cb5282d8dfbd1bbc1a2e6e22d97d3209
2017-09-21 13:25:05 +02:00
Wes Kocher
640a5d3c46
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
Florian Quèze
bcf7d1dd27
Bug 1400528 - make test_bug574663.html wait until the 'blank' attribute has actually been removed, r=mconley.
2017-09-22 00:50:54 +02:00
Sebastian Hengst
17eaa88fb4
Backed out changeset 0ceb7e5789f4 (bug 1401461) for leaking in mochitest run on Windows 7 debug. r=backout
2017-09-21 11:16:40 +02:00
Sebastian Hengst
a5de561618
Backed out changeset ddfa978c27f7 (bug 1401461)
2017-09-21 11:15:57 +02:00
Kearwood "Kip" Gilbert
017d4c4b91
Bug 1389220 - Prevent navigator.activeVRDisplays from activating VR hardware and runtimes r=daoshengmu
...
MozReview-Commit-ID: JYMiGyT0iVY
--HG--
extra : rebase_source : 4bbf0879c1b7234f59e4b503f9dfbd80aad47f76
2017-09-20 15:39:35 -07:00
Andrew McCreight
528237d25f
Bug 1401710 - Remove unused unsafe code from nsDOMClassInfo. r=bz
...
Also, the XPConnect() method is unused.
MozReview-Commit-ID: JycZIa9TbC8
--HG--
extra : rebase_source : b278e272696c1bf8403eb25cdb70a5ac546a56f4
2017-09-20 13:01:48 -07:00
Kris Maglione
f37317cad0
Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz
...
We don't have access to an appropriate context to create the dead wrapper in
when the callback is nuked, so instead, this patch creates a new dead wrapper
in the caller compartment each time the property is accessed. This is the same
behavior we'd get when trying to re-wrap a cross-compartment dead wrapper, so
it's consistent with the way we handle these situations elsewhere.
MozReview-Commit-ID: 3cMeR4z8EOe
--HG--
extra : rebase_source : 7e8cf4a195ef64deb7677ce4ac9818d342815667
2017-09-04 17:21:06 -07:00
Tobias Schneider
0a2233f308
Bug 1401416 - [intersection-observer] Let intersection rect be empty if do_QueryFrame(rootFrame) returns null. r=dholbert
...
--HG--
extra : rebase_source : c61df51637850211f0c3cbd74fb1ac6c6831cd7e
2017-09-21 12:43:35 -07:00
Geoff Brown
81c675f7bc
Bug 1397615 - Skip some long-running mochitests on Android Debug only; r=snorp
2017-09-21 12:39:35 -06:00
Kris Maglione
0c3a1b9b7e
Bug 1379148: Part 1 - Allow blocking only non-script-created parsers. r=hsivonen
...
MozReview-Commit-ID: 8cGxywiUzWj
--HG--
extra : rebase_source : b684a4a7d00c141a3def4f1cde9d7463c12baa4b
2017-09-20 16:12:27 -07:00
Andrea Marchesini
260dbfe5b2
Bug 1398733 - IPCBlobInputStream::Available() should return 0 before any AsyncWait() call, r=smaug
2017-09-22 08:12:19 +02:00
Andrea Marchesini
79eff427b5
Bug 1398733 - HTMLFormSubmission should pass the size of the post data inputStream if known, r=smaug
2017-09-22 08:12:03 +02:00
Andrea Marchesini
cee83bc968
Bug 1398733 - nsILinkHandler::OnLinkClick and OnLinkClickSync should know the post data inputStream length, r=smaug
2017-09-22 08:11:18 +02:00
Phil Ringnalda
1112382b61
Backed out 2 changesets (bug 1401461) for being the wrong patches
...
Backed out changeset 20a0000f97bc (bug 1401461)
Backed out changeset e3c36a62b5b1 (bug 1401461)
MozReview-Commit-ID: BJeIuoGJwjb
2017-09-21 20:29:39 -07:00
Phil Ringnalda
4627ae77ed
Backed out 4 changesets (bug 1401471) because it depends on 1401461 which is being backed out
...
Backed out changeset 6a2c85349226 (bug 1401471)
Backed out changeset 554875cb6a2e (bug 1401471)
Backed out changeset f871c6aa4d90 (bug 1401471)
Backed out changeset ff9dbb6a6692 (bug 1401471)
MozReview-Commit-ID: 80kxfUqbik4
2017-09-21 20:29:08 -07:00
JW Wang
eace06432d
Bug 1401471. P4 - always access mChannelOffset within the cache monitor. r=gerald
...
MozReview-Commit-ID: KIQU3PrBUj1
--HG--
extra : rebase_source : 8984d39f5b0b29fe3233c96e5431e8641dd918fd
extra : source : 8f07a48d4ac13162add83cce8677322e148d6f74
2017-09-20 16:23:21 +08:00
JW Wang
105690ac8c
Bug 1401471. P3 - store the seek target in StreamAction so we won't need to read mChannelOffset outside the cache monitor. r=gerald
...
MozReview-Commit-ID: Kkbs3WbSBVm
--HG--
extra : rebase_source : f77d564715998591fd91aa824906cdd90b7abdbe
extra : source : d0f1cd9ce8a3d12b63e198c8c8349823eb4b7dcd
2017-09-20 16:20:56 +08:00
JW Wang
0a4181eb82
Bug 1401471. P2 - remove SEEK_AND_RESUME. r=gerald
...
MozReview-Commit-ID: ACdp3wVuurb
--HG--
extra : rebase_source : 1553881dc5cf0e17f5175f0c02388666f43bdaa2
extra : source : 315382f4c613b80d6f315c7dd7a36dada99b9d27
2017-09-20 16:16:07 +08:00
JW Wang
3ed737a3b8
Bug 1401471. P1 - make StreamAction a struct so we can associate data with each action in the future. r=gerald
...
MozReview-Commit-ID: A0ZpunJgNYm
--HG--
extra : rebase_source : f76432a674e4535cd09a928b7151b9d530528909
extra : source : 2b76eb41fe275e65833d65a2217955e5761ad994
2017-09-20 16:12:31 +08:00
JW Wang
6ab26b050e
Bug 1401461. P2 - don't call mChannelStatistics.AddBytes() if the data is from an old channel. r=gerald
...
MozReview-Commit-ID: GIVwoGpo43R
--HG--
extra : rebase_source : 0d6bf80071ad0c326767db57fd9d707cec30ab89
extra : source : 6c73d7c37fb631a5e5deab3c1c692605ad5d18f3
2017-09-20 14:41:17 +08:00
JW Wang
f69d8e8e34
Bug 1401461. P1 - protect access to ChannelMediaResource::Listener::mResource. r=gerald
...
MozReview-Commit-ID: 6G1x7cXNvAq
--HG--
extra : rebase_source : 2f6a8642930ec314621aab2ce6424e4f9f95e0c2
extra : source : eeb067bc2905dfa6fb5764fd42ebb78e1b71a61d
2017-09-20 14:37:18 +08:00
Kaku Kuo
88d6505246
Bug 1401902 - we should use MediaDataDecoder's address as an ID instead of MFR::DecoderData's address;r=gerald
...
We misused MFR::DecoderData's address as an identity in bug 1393399 but our intention was MediaDataDecoder's address.
We report telemetry data when we get the 1st decoded frame from a new MediaDataDecoder, which is identified by its address.
If we misuse the MFR::DecoderData's address as identity, it will take longer than we expect since only when
the MFR is recreated will we get a new MFR::DecoderData.
MozReview-Commit-ID: HOf5hTSoBed
--HG--
extra : rebase_source : 76731bd11eac9243a23a972f85c72203c3a3e7f1
2017-09-21 18:02:30 +08:00
Xidorn Quan
e040c67e4d
Bug 1401792 - Release assert when adopting element with style data across style backend. r=bholley
...
MozReview-Commit-ID: 6D6bvSJHEcS
--HG--
extra : source : 04d359e0ef0552ab61987427147265c229d80069
2017-09-21 14:41:21 +10:00
JW Wang
d2e7186d25
Bug 1401461. P2 - don't call mChannelStatistics.AddBytes() if the data is from an old channel. r=gerald
...
MozReview-Commit-ID: GIVwoGpo43R
--HG--
extra : rebase_source : d6e77d812975fee2451d02faa81d76c03bbdad00
extra : source : 6c73d7c37fb631a5e5deab3c1c692605ad5d18f3
2017-09-20 14:41:17 +08:00
JW Wang
3ce1e10aba
Bug 1401461. P1 - remove ChannelMediaResource::Listener::Revoke(). r=gerald
...
See comment 0 for the rationale. We check |aRequest != mResource->mChannel|
to know if a new channel is being loaded and the call should be aborted.
MozReview-Commit-ID: 6G1x7cXNvAq
--HG--
extra : rebase_source : 3114979192346e257f5d8040b8e0ffffa419d3f5
extra : source : eeb067bc2905dfa6fb5764fd42ebb78e1b71a61d
2017-09-20 14:37:18 +08:00
Wes Kocher
1ea82f66aa
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: AHxJvcR2Tpa
2017-09-20 17:47:16 -07:00
Wes Kocher
a6b8d9e91b
Merge inbound to central, a=merge
...
MozReview-Commit-ID: JpqY5uEi1nf
2017-09-20 17:18:21 -07:00
Andrew McCreight
767b21fb24
Bug 1176342, part 2 - De-COM the flags for InitClassesWithNewWrappedGlobal. r=mrbkap
...
MozReview-Commit-ID: 4QFtHPIzUd0
--HG--
extra : rebase_source : e7b8c4156be165c44ddb2e7be557e52438c63d42
2017-09-19 13:12:50 -07:00