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

71268 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 79481cf75f Bug 1431728 - Make the APZ-specific guts of the code dependent on an APZ check. r=aryx
MozReview-Commit-ID: 50tYbmFGRcx

--HG--
extra : rebase_source : 4dc532245c9372ddb22c47c4c3ae5731c98387bd
2018-01-19 10:01:04 -05:00
Emilio Cobos Álvarez c068982e2b Bug 1431401: Initialise mIsSVGGlyphsDocument on the constructor. r=jmaher
Off-hand I wouldn't have suspected of any of my patches, but I just realized of
something... I hate C++, and it's wild that this got into the tree unnoticed,
and without any failure or warning.

I suspect the incoming patch will fix this, if not I'll happily investigate
more.

FWIW the code that this bit replaced was equally uninitialized... I guess it was
wallpapered in any other way.

MozReview-Commit-ID: A03fQluNcKN

--HG--
extra : rebase_source : cead8d8bcde74b7b6bb6ed106ee1f29cc62f72b8
2018-01-19 19:47:48 +01:00
Nico Grunbaum 5477fb29c4 Bug 1419093 - P3 - update rtp source js & mochi tests r=mjf
MozReview-Commit-ID: LqI3WG4cgtu

--HG--
extra : rebase_source : f9287fc1e6e6fc7598c41dd6faf7d5fa8c500f45
2017-12-18 19:24:55 -06:00
Nico Grunbaum 2aa7b3a269 Bug 1419093 - P1 - update rtp source IDLs to spec r=mjf,smaug
MozReview-Commit-ID: FtOvlPQ8stL

--HG--
extra : rebase_source : 1a4e707f32a54f67a5ef1a9caa979984253e91e8
2017-12-18 19:14:36 -06:00
Nico Grunbaum 522b16da0f Bug 1430213 - add toggle pref for RTCRtpReceiver RTP sources APIs;r=jib,smaug
MozReview-Commit-ID: 7vKUDDpjiP2

--HG--
extra : rebase_source : 53a7c6f43879d216c06a16626050f21344afe293
2018-01-12 11:59:19 -08:00
Noemi Erli ed5a1a575c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-19 12:15:59 +02:00
Anthony Ramine 0f6e750881 Bug 1431449 - Make URLParams::ParseInput call URLParams::Parse instead of the opposite; r=bz
This trades off more virtual calls in URLParams::ParseInput, while removing any extra
allocation when calling URLParams::Parse.

MozReview-Commit-ID: HrIqsguQjrk

--HG--
extra : rebase_source : fd6d4f0455f5c3df72bd3518b98359ac8759a89d
2018-01-18 13:13:51 +01:00
Anthony Ramine 436f24d4f3 Bug 1431449 - Make URLParams::DecodeString static; r=bz
MozReview-Commit-ID: KKoaxHSnmSz

--HG--
extra : rebase_source : 100a017dd8b54092a0eb3b88a33c5398e1354870
2018-01-18 13:13:08 +01:00
Anthony Ramine fbcfbecb79 Bug 1431449 - Introduce URLParams::Parse; r=bz
MozReview-Commit-ID: LicbWjZHxjz

--HG--
extra : rebase_source : c49df723c73c03d64b4b9ca5f6d3a52735e38b7d
2018-01-18 12:53:35 +01:00
Anthony Ramine ace07f37c9 Bug 1431449 - Kill URLSearchParams::ForEach; r=bz
MozReview-Commit-ID: 9woZBRwpb4T

--HG--
extra : rebase_source : 9a6e8eb372169129ab5d6f8dad6681776a7b9bbe
2018-01-18 12:20:26 +01:00
Dorel Luca 52d6539c96 Backed out 11 changesets (bug 1382251) for clipbloard failures, mingw32 bustage
Backed out changeset a5f447c3bde8 (bug 1382251)
Backed out changeset f9f8aba058c1 (bug 1382251)
Backed out changeset dc0ce4cae588 (bug 1382251)
Backed out changeset 7a304ff7873a (bug 1382251)
Backed out changeset 09cb062d95ee (bug 1382251)
Backed out changeset 95701ac611fa (bug 1382251)
Backed out changeset 37cad137215f (bug 1382251)
Backed out changeset 0d82d0b69c9e (bug 1382251)
Backed out changeset 24de376fb860 (bug 1382251)
Backed out changeset 5f33ad77c5b4 (bug 1382251)
Backed out changeset d2f531c6a6d8 (bug 1382251)
2018-01-18 14:44:31 +02:00
Jan de Mooij 19055f2b0f Bug 1430053 - Add prefs for index masking Spectre mitigations. r=luke,mccr8
--HG--
extra : rebase_source : 7cf15f321e1ca93bcfb90f4faf7ba36dc0df2219
2018-01-18 13:19:41 +01:00
Andrew Sutherland 62002c52d0 Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 5 - Test, r=baku 2018-01-17 08:56:15 -05:00
Andrea Marchesini 407910f215 Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 4 - Correct deserialization of wasm modules, r=asuth 2018-01-18 13:19:07 +01:00
Andrea Marchesini 22c36c5d15 Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 3 - No templates, r=asuth 2018-01-18 13:19:07 +01:00
Andrea Marchesini 29ae60f412 Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 2 - Upgrade value, r=asuth 2018-01-18 13:19:07 +01:00
Andrea Marchesini f3cbbe9985 Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 1 - Deserialize on main-thread using a sandbox, r=asuth 2018-01-18 13:19:06 +01:00
Dorel Luca 5436902556 Backed out changeset 2fdccaab2e7c (bug 1431030) for build bustages on a CLOSED TREE
--HG--
extra : amend_source : 4b243382b2a63958021222c739db5e1ae2739b88
2018-01-18 12:35:53 +02:00
Sylvestre Ledru ecb3dafe1e Bug 1431030 - Ignore the automatic formatting of the NS_NPAPIPLUGIN_CALLBACK definitions r=jimm
MozReview-Commit-ID: 2oTHhb2VBWX

--HG--
extra : rebase_source : 79819bd1e4fd7d8b94f5ccf056749e3ac6f63925
2018-01-17 11:02:35 +01:00
Dorel Luca a066bff27d Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-18 11:43:47 +02:00
Mike Hommey dbd4c4810a Bug 1428608 - Forbid / or !/ in LOCAL_INCLUDES. r=froydnj
And remove the two cases that currently set that, without actually using
it. The webrtc gtest one never relied on it, and the gfx one was added
in bug 1427668 for a single header, and the corresponding #includes were
changed in bug 1428678.

--HG--
extra : rebase_source : ebb3aed6ff8e3438d4a2f011725cf1a15986fee6
2018-01-17 17:10:20 +09:00
Hiroyuki Ikezoe fa8cb05830 Bug 1430975 - Don't pass a copy of StickyTimeDuration. r=boris
MozReview-Commit-ID: HlQlMB1FBRi

--HG--
extra : rebase_source : 19888f1aa8cb98ecb1ee0aeaa46c8e4015e12867
2018-01-17 18:05:03 +09:00
J.C. Jones e900b5ebc6 Bug 1430947 - Add [SecureContext] to navigator.credentials r=bz
It was neglected to mark navigator.credentials as [SecureContext], yet it
must be for spec compliance and powerful-features compliance.

MozReview-Commit-ID: BYKGqqhoS2L

--HG--
extra : rebase_source : 441be2ae91d51cfff1ed5a8d1e96db4f9a3c917c
2018-01-16 19:11:44 -07:00
Csoregi Natalia 6254005c4b Backed out 2 changesets (bug 1431041) for failing dom/html/test/forms/test_input_number_placeholder_shown.html. on a CLOSED TREE
Backed out changeset 57641ee7058f (bug 1431041)
Backed out changeset 7a4c3ab0ade8 (bug 1431041)
2018-01-18 07:29:14 +02:00
Alfredo.Yang 4075767669 Bug 1429986 - send telemetry data when users attempt to play mkv file. r=jwwang,liuche
MozReview-Commit-ID: Ah3pXC4cJ7n

--HG--
extra : rebase_source : cf35e75e6bbc8ec4f085f1bfd64ed2e309357c64
2018-01-12 15:40:52 +08:00
Kartikaya Gupta 8903b49768 Bug 1429951 - Propagate the non-premultiplied flag for textures to WR. r=sotaro
MozReview-Commit-ID: Vd5n5e7XuW

--HG--
extra : rebase_source : ebd563dd785d99a9623906554dfe8ccd507930b4
2018-01-17 12:55:40 -05:00
Emilio Cobos Álvarez fa8af866b9 Bug 1431041: Fix placeholder-shown when the value of the input is invalid. r=smaug
Wow, the setup for <input type="number"> is really weird :(.

Looking at the callers, this should be sane.

MozReview-Commit-ID: C0ZNNSdg0Hb

--HG--
extra : rebase_source : ff8efaaa3b0068b35e3b408e16b6f9d133165e5c
2018-01-17 18:30:59 +01:00
Emilio Cobos Álvarez 0d4c1d977b Bug 1431041: Make placeholder apply to <input type="number">. r=smaug
MozReview-Commit-ID: GLbdLxHLiH4

--HG--
extra : rebase_source : 18454d0720e45bc2734f01d9a84eaad33a36e848
2018-01-17 14:52:01 +01:00
JW Wang d082d18417 Bug 1430948. P2 - turn on fuzzy mode for MDSM which doesn't require high resolution timers. r=jya
MozReview-Commit-ID: BcWz7UmdHC2

--HG--
extra : rebase_source : 3f35b8a6556d46ad43c5775d0951ce73f9e62799
extra : source : 8958b0fc502d4dac5cc299b6d784634b6d423862
2018-01-16 16:12:40 +08:00
JW Wang 5648dab805 Bug 1430948. P1 - add fuzzy mode to MediaTimer. r=jya
We will resolve the timer promise even if it is fired slightly before
the scheduled target. This is used by MDSM which doesn't require high-res
timers.

MozReview-Commit-ID: 1IAsG5gG9D7

--HG--
extra : rebase_source : 71c9bec9d196cd736effabb5b9da54c58b44044c
extra : source : 7b96fc15d13d54b78b0aebbf21bb16b08e4eca50
2018-01-16 16:07:21 +08:00
Tiberius Oros 0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Emilio Cobos Álvarez e06ff3dbe2 Backout changeset b54c60961def (Bug 1409672) for failing one OSX reftest on a CLOSED TREE. r=backout
MozReview-Commit-ID: 6ZHlFBpMOUo
2018-01-17 23:09:38 +01:00
Tiberius Oros 92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Cosmin Sabou 2568dc9ebb Backed out 11 changesets (bug 1207734) for asserting at layout/painting/nsDisplayList.h:2835 while running mda's dom/media/tests/mochitest/test_getUserMedia_peerIdentity.html on a CLOSED TREE
Backed out changeset 4efc37f978d2 (bug 1207734)
Backed out changeset a42b83c0d1b4 (bug 1207734)
Backed out changeset 5b3dfc8f3031 (bug 1207734)
Backed out changeset a4626910ce09 (bug 1207734)
Backed out changeset 8991d0468642 (bug 1207734)
Backed out changeset 2bc1fdf79e03 (bug 1207734)
Backed out changeset 7d5913531948 (bug 1207734)
Backed out changeset c6be6571ad12 (bug 1207734)
Backed out changeset cfa892d6aa84 (bug 1207734)
Backed out changeset 71f635d9a86f (bug 1207734)
Backed out changeset 3f27af783ce1 (bug 1207734)
2018-01-17 18:32:25 +02:00
Narcis Beleuzu f0fa7217bd Backed out changeset 056265a8a2ff (bug 1431105) for devtools failures on browser_webconsole_check_stubs_console_api.js. on a CLOSED TREE 2018-01-17 17:52:13 +02:00
Alex Chronopoulos 0f7663d5ba Bug 1406350 - part3: Use fake constraints to avoid enumeration error in one mochitest. r=pehrsons
MozReview-Commit-ID: 4nqamvBsNbo

--HG--
extra : rebase_source : b25d9208c4b094e3929f4201e9f23dd955f47569
2018-01-17 17:01:53 +02:00
Alex Chronopoulos 54498ae40b Bug 1406350 - part2: Create new gUM basic audio test using loopback setup. r=pehrsons
MozReview-Commit-ID: 7IQPdLSQy8a

--HG--
extra : rebase_source : 67223efe512397c2fd69c58b72f9d8ea07099de2
2018-01-17 14:59:42 +02:00
Andrea Marchesini f3bbd3b9dd Bug 1431105 - Prefix in Console when used by JSM, r=smaug 2018-01-17 16:02:29 +01:00
Andrea Marchesini 856e142ec9 Backed out bug 1430810 - wrong bug ID in the patch 2018-01-17 16:02:03 +01:00
Andrea Marchesini 15d3611b38 Bug 1430810 - Prefix in Console when used by JSM, r=smaug 2018-01-17 15:59:36 +01:00
Edgar Chen 4281f3eea3 Bug 1430034 - Fix attributeChangedCallback isn't fired with correct newValue when the attribute value is an empty string; r=smaug
MozReview-Commit-ID: L3RvNPNDfUC

--HG--
extra : rebase_source : dbe1d825beaec044ebb91d00a45b6feececfc46b
2018-01-15 15:24:41 +08:00
Chung-Sheng Fu 0319902c5b Bug 1418243 - Fix mochitest failures due to violationDirective change. r=ckerschb
MozReview-Commit-ID: AphtAxYo6Hr

--HG--
extra : rebase_source : 24cd7773cb1f3583c524d142908f859ff5e88e8a
2018-01-16 23:00:00 +02:00
Chung-Sheng Fu d1124b72c7 Bug 1418243 - Fix SecurityPolicyViolationEvent.violatedDirective. r=ckerschb
MozReview-Commit-ID: 8DQ7CI5exUL

--HG--
extra : rebase_source : 69181c5e5f61f6fee5224def74c54985c3b47dee
2018-01-16 22:59:00 +02:00
Andrea Marchesini a6e93a0711 Bug 1430516 - Fixing a regression when a table cell is selected, r=catalinb 2018-01-17 12:52:51 +01:00
Cosmin Sabou ee8460f7af Backed out 2 changesets (bug 1358372) for mochitest failures on AudioSession, AudioSession::CommitAudioSessionData, Mutex, nsStringBuffer on a CLOSED TREE
Backed out changeset 76e48321127d (bug 1358372)
Backed out changeset f8b2bbebb2f0 (bug 1358372)
2018-01-17 13:56:16 +02:00
David Parks f4e4ea9b59 Bug 1358372: Part 1 - Move Windows content process AudioSession init before sandbox lowering r=jimm
Something about setting the grouping parameter was harmed by the sandbox.
2018-01-10 14:07:56 -08:00
Cosmin Sabou cff14fad3f Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-01-17 11:50:40 +02:00
Cosmin Sabou 1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
Matthew Gregan 81fcb1157e Bug 1430870 - Avoid static ctors in AudioIPC startup code. r=kamidphish 2018-01-17 15:51:29 +13:00
Matthew Gregan 424057b335 Bug 1426867 - Init AudioIPC even earlier. r=kamidphish 2018-01-17 15:51:28 +13:00
Matthew Gregan 486ece9438 Bug 1426867 - Move private functions out of CubebUtils.h. r=kamidphish 2018-01-17 15:51:28 +13:00
Jeff Gilbert 08ae128863 Bug 1429754 - Update test failures.
MozReview-Commit-ID: IrYeC06gNFb
2018-01-16 16:46:43 -08:00
Jeff Gilbert d9815e3cac Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.

MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
Boris Zbarsky 470a97f6d7 Bug 1429014. Make test_interfaces require explicit opt-in to add a non-SecureContext interface. r=bkelly
The big data tables had the following search-and-replaces done on them:

  name: "\([^"]+\)" -> name: "\1", insecureContext: true

  "\([^"]+\)",$ -> {name: "\1", insecureContext: true},

followed by removal of both isSecureContext and insecureContext annotations
where both appeared.

MozReview-Commit-ID: BkqAwXFf48x
2018-01-16 14:39:58 -05:00
Nika Layzell 793a39c213 Bug 1424766 - Simplify `HangStack` and `HangDetails` by implementing using ipdl structs and unions, r=froydnj
MozReview-Commit-ID: qlBUnvYams
2018-01-16 14:07:38 -05:00
Andrea Marchesini e144f7a428 Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in txMozillaXMLOutput, r=catalinb 2018-01-16 19:00:23 +01:00
Andrea Marchesini 05c32178fd Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsContentUtils, r=catalinb 2018-01-16 18:59:54 +01:00
Paul Adenot 7695c5ac32 Bug 1420162 - Fix warning as errors bustage on a CLOSED TREE.
--HG--
extra : rebase_source : 9cb1cad05e3ea47eac21c30b0c430eaf6c56d947
extra : amend_source : 6722925ea70f0fe97b2d4b5acbb4d62e69e70125
2018-01-16 18:50:35 +01:00
Paul Adenot 652fe3c729 Bug 1420162 - Remove USE_GRAPH_RATE because it's the default now, and we don't support anything else. r=jib
--HG--
extra : rebase_source : 07f87ea85fe2586236c4e5f64aa811a60e81e288
2018-01-16 18:26:29 +01:00
Xidorn Quan 2bf366e30a Bug 1303025 - Accept null for body param in constructor of Response. r=bkelly
MozReview-Commit-ID: LeEFcQzPJlv

--HG--
extra : rebase_source : 37980f7601143692989d17a2e715f0c5284730a4
2018-01-13 14:20:50 +11:00
Hiroyuki Ikezoe ddaf0ef84e Bug 1419079 - Don't bail out from CalculateCumulativeChangeHint() in the case of opacity property even if there is a missing keyframe or composite operation is not 'replace'. r=birtles
For opacity property, we only generate nsChangeHint_UpdateUsesOpacity,
nsChangeHint_UpdateOpacityLayer and nsChangeHint_RepaintFrame.  All of them are
included in nsChangeHint_Hints_CanIgnoreIfNotVisible.  So we can throttle
opacity animations on out-of-view elements whatever underlying opacity value is.

MozReview-Commit-ID: FdQJbItAndG

--HG--
extra : rebase_source : d011270e4e3e1adc1782665a592fb3fac60f9174
2018-01-17 11:48:20 +09:00
Hiroyuki Ikezoe b72cfe5bff Bug 1419079 - Add a test case for additive animation with a missing keyframe. r=birtles
MozReview-Commit-ID: 5UWfDIx7RVi

--HG--
extra : rebase_source : 17c9e62f66c7fef101a6b2a4f93e4348e94721cf
2018-01-17 08:55:00 +09:00
Hiroyuki Ikezoe cb10669b24 Bug 1419079 - Revise a comment for a test case for missing keyframes. r=birtles
The animation in the test case is not actually additive animation, it's just a
missing keyframe animation and its composite operation is actually 'replace'.

MozReview-Commit-ID: 4A29V5Ke2hF

--HG--
extra : rebase_source : 63b6c7f52943786d06c52b9baa7e0f4f151781ac
2018-01-17 08:55:00 +09:00
Hiroyuki Ikezoe c5899c8bd2 Bug 1419079 - Drop checking the pref for offscreen throttling. r=birtles
The pref has been enabled by default since firefox 49, so it's not worth
checking the pref in test.

MozReview-Commit-ID: 5ADIFaV1ue

--HG--
extra : rebase_source : 8490cc7988cc1e7fe3a650c4f1334b4ed11c7105
2018-01-17 08:55:00 +09:00
Hiroyuki Ikezoe 65c0f821c8 Bug 1419079 - Drop checking the pref for animations-api core in file_restyles.html. r=birtles
It's already specified to true in test_restyles.html.

MozReview-Commit-ID: JMItunKYwIs

--HG--
extra : rebase_source : d54368a93857d8d2a86220be55091735caa074e9
2018-01-17 08:55:00 +09:00
Noemi Erli 1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
cku 5a7597b204 Bug 1207734 - Part 6. Fix an assertion from the early pref access checking. r=billm
MozReview-Commit-ID: 8GgVojlNy3v

--HG--
extra : source : 61d61bb2d868195ca53c53f183668f906aa4888c
extra : histedit_source : 04602b00c51e85ebae37f091a70d92a4276d4b31
2017-12-20 11:46:13 +08:00
cku 1aadc95d1d Bug 1207734 - Part 4.c. Temporary disable async-transform for individual-transform. r=birtles
Since we do not support async-transform for individual-transform yet.

MozReview-Commit-ID: gfOzHpjOnQ

--HG--
extra : source : e7c6e73fa4215ff49194b5dc89de7f3472259f1b
extra : histedit_source : 7526bb5d88ca6cf2bd9cbe5298527d77cfe7d9c1
2018-01-05 14:45:05 +08:00
Wei-Cheng Pan e8f46bbec4 Bug 1425213 - Unthrottle transform animations regardless in overflowable frames or not. r=hiro
Because we don't know whether the transformed position will be visible or not.
2018-01-17 22:44:00 +02:00
Andreea Pavel d6a9e2303f Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-16 18:00:21 +02:00
Andrea Marchesini 1aed266368 Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsXBLPrototypeBinding, r=catalinb 2018-01-16 16:00:17 +01:00
Andrea Marchesini a1765c1a3c Bug 1430758 - No CSP directive for nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD, r=ckerschb 2018-01-16 15:03:02 +01:00
Andrea Marchesini a9af4d0df8 Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in FragmentOrElement and nsIDocument, r=catalinb 2018-01-16 14:17:11 +01:00
Andrea Marchesini 608b9a93c9 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsGenericDOMDataNode, r=catalinb 2018-01-16 14:17:11 +01:00
Andrea Marchesini 8768fe8991 Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsGenericHTMLElement, r=catalinb 2018-01-16 14:17:11 +01:00
Andrea Marchesini 499f1c1314 Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsXULSortService, r=catalinb 2018-01-16 14:17:10 +01:00
Andreea Pavel c98c2f7291 Backed out 2 changesets (bug 1428491) for failing browser chrome mochitest at /builds/worker/workspace/build/src/layout/style/ServoStyleSet.cpp:941 on a CLOSED TREE
Backed out changeset 308e79e6c98f (bug 1428491)
Backed out changeset dbfd798e491b (bug 1428491)
2018-01-16 14:26:41 +02:00
Andreea Pavel 77efdcf21a Backed out 2 changesets (bug 1418243) for failing mochitest at dom/security/test/csp/test_frame_ancestors_ro.html and mochitest devtools at devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js a=merge
Backed out changeset 5357dbb6df2b (bug 1418243)
Backed out changeset 778a37000696 (bug 1418243)
2018-01-16 13:02:32 +02:00
Chung-Sheng Fu eaddf31393 Bug 1418243 - Fix SecurityPolicyViolationEvent.violatedDirective. r=ckerschb
MozReview-Commit-ID: 8DQ7CI5exUL
2018-01-15 23:30:00 +02:00
Emilio Cobos Álvarez bde9657140 Bug 1428491: Make the style set know about a document, not a pres context. r=heycam
MozReview-Commit-ID: I7T41NiHuJv

--HG--
extra : rebase_source : 4642cf6f511f5c4e5ba285e2e865574a44459081
2018-01-05 13:51:08 +01:00
Dorel Luca 09deda375a Merge mozilla-central to autoland r=merge 2018-01-16 06:07:49 +02:00
Chris Pearce f800da4db3 Bug 1430673 - Remove CDMProxy::GetSessionIdsForKeyId(). r=JamesCheng
MozReview-Commit-ID: EMT8BaHE2Pf

--HG--
extra : rebase_source : 292412397b5a3617857daf199e324f3560a58f14
2018-01-16 11:38:27 +13:00
James Cheng b1845ae48e Bug 1430517 - Remove VIDEO_CHROMIUM_CDM_MAX_SHMEMS telemetry. r=cpearce
MozReview-Commit-ID: 6dPV5dGACnx

--HG--
extra : rebase_source : df364e1927c9a073bf4957fe1ea4fb9ea8395d2f
2018-01-15 11:21:28 +08:00
Andrea Marchesini 41d4da5cef Bug 1425440 - Introduce nsINode::RemoveChildNode, r=catalinb 2018-01-15 17:18:38 +01:00
Andrea Marchesini 205d40e2d7 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsDocumentEncoder, r=catalinb 2018-01-15 17:18:03 +01:00
Gurzau Raul e0cb05876d Merge inbound to mozilla-central. a=merge 2018-01-15 11:57:47 +02:00
Jessica Jong bf1d5c0073 Bug 1429656 - Implement ShadowRoot.activeElement. r=smaug 2018-01-15 14:42:47 +08:00
Jessica Jong 20d2281c59 Bug 1429982 - cloneNode on ShadowRoot interface should throw NotSupportedError. r=smaug
The spec changed in order to align with the error thrown by importNode.

--HG--
rename : dom/tests/mochitest/webcomponents/test_bug1176757.html => dom/tests/mochitest/webcomponents/test_shadowroot_clonenode.html
2018-01-15 14:42:43 +08:00
Stone Shih 76cbc214bf Bug 1414336 - Add a test case to make sure pointercancel isn't fired when content prevents default on touchstart. r=kats.
MozReview-Commit-ID: 93FSsD3bXvA
2018-01-13 07:33:21 +08:00
Alastor Wu cb52b8db63 Bug 1428722 - part2 : move all user-activation implementation details to nsDocument. r=smaug
In order to write tests, I would like to create an method that allows chorome js can directly set the user-activation flag.

Therefore, I need to move all these details into nsDocument, then we could easily simulate the user activation.

MozReview-Commit-ID: 5JrCoQc0vF7

--HG--
extra : rebase_source : 256ff2993ef754dc51409e7e444b868a3302bd65
2018-01-11 17:26:30 +08:00
Alastor Wu acecd71925 Bug 1428722 - part1 : always activate the top level frame. r=smaug
For top level frame, it should also be activated when user activate its child frame.

eg. A (youtube.com) -> B (ad.com), when user activate B frame, the A frame would also be activated.

MozReview-Commit-ID: BP7eGKiqYJe

--HG--
extra : rebase_source : 8a07e2a46d70957989168a9ee677e5241fee61fe
2018-01-08 16:44:28 +08:00
Munro Mengjue Chiang 6da9bf9b27 Bug 1420585 - refine logs. r=jib
MozReview-Commit-ID: KJlFTQALAb4

--HG--
extra : rebase_source : c33ea991c82090741c28d4b8dba092c5e1d7b51c
2018-01-05 15:51:48 +08:00
Edgar Chen 629d03627c Bug 1420377 - Avoid atomizing 'is' value twice when the custom element is created from parser; r=smaug
MozReview-Commit-ID: JHw3di1Q9E9

--HG--
extra : rebase_source : a1f1ac6ddefc7d2ffb543eb30fc41c868f050288
2017-11-24 16:57:00 +08:00
James Cheng 225c6d93a8 Bug 1420836 - Part2 - Pass the storage id from content process to GMP process then provide it to CDM. r=cpearce
MozReview-Commit-ID: 2VFNHaL5p73

--HG--
extra : rebase_source : 67c217512b57ba47652fbb77d4b27e46058717f3
2018-01-03 15:37:07 +08:00
James Cheng c99cb87836 Bug 1420836 - Part1 - Provide a utility function to compute the storage id. r=cpearce
The CDM on Mac and Windows will ask the host for storage id.
We compute the storage id by hashing machine id, origin salt and browser id.

MozReview-Commit-ID: 4fTCaOKgSIe

--HG--
extra : rebase_source : 20fe8ab93966bb74b46eebbfbddc8486ceea4705
2018-01-03 15:23:15 +08:00
JW Wang 1192c9ff4d Bug 1416084. P2 - wake up readers when download is suspended. r=bechen,gerald
It is possible that download is suspended after all bytes are received but
before OnStopRequest is notified. In that case, we will fail to wake up the
readers waiting to read the partial block and cause bug 1412737 comment 30.

MozReview-Commit-ID: GUk4lXO6Upk

--HG--
extra : rebase_source : 2fc277fa54842e434c3f69a474c44fb4c58c976e
2018-01-15 10:25:11 +08:00
JW Wang 0ac7a8be1f Bug 1416084. P1 - reapply bug 1412737 P4: wake up readers only when we have blocks committed to the cache. r=bechen,gerald
Per bug 1412737 P2 changes, a reader will always read data from the cache or
from the last block in the memory. NotifyDataReceived() will be slightly more
efficient if we don't wake up readers unnecessarily when there are no new blocks
committed to the cache.

MozReview-Commit-ID: Afcy5OOeIk3

--HG--
extra : rebase_source : 64916432081d23234e4cc923c343a9724d6c77db
2018-01-15 10:09:02 +08:00
Prathiksha 29c497c760 Bug 1376235 - Change PermissionAvaliable to PermissionAvailable. r=johannh
MozReview-Commit-ID: JDrybb3WDlP

--HG--
extra : rebase_source : 260e5bb4d1400aff68f7bc6c30d7bcab8e0b0307
2018-01-17 15:57:48 +05:30
David Parks 5ee54a9ec6 Bug 1382251: Part 11 - Update moz.build with new files r=jimm
Includes the build changes made by the earlier patches in this series.  Also adds some #includes required by other files when these are added to the unified build.

--HG--
extra : histedit_source : 53d514087fc7418795dc9e668e88d21bb08c8b16
2017-11-06 10:47:01 -08:00
David Parks 5d353679d5 Bug 1382251: Part 9 - Hook functions needed for SSL communication in NPAPI process r=jimm
Adds Win32 networking APIs to the function broker so that we can run SSL communications outside of the sandbox.

--HG--
extra : histedit_source : f60d0060993c44b52debb501e8ff7a079d8c9f69
2017-11-06 10:41:21 -08:00
David Parks d72a651393 Bug 1382251: Part 8 - Migrate some previously hooked functions to FunctionHook/Broker r=jimm, r=froydnj
Moves GetWindowInfo, GetKeyState, SetCursorPos, GetSaveFileNameW and GetOpenFileNameW to the new FunctionHook and FunctionBroker systems.

--HG--
extra : histedit_source : 32c68d93651c64e3c2424404984bc2c8713ab0c5
2017-11-06 11:07:16 -08:00
David Parks 61de51c0b7 Bug 1382251: Part 7 - Add mechanism for automatically brokering DLL functions r=jimm
The FunctionBroker is a special kind of FunctionHook that brokers the hooked function on another process.  In the child process, it uses the FunctionBrokerChild to request that the FunctionBrokerParent run a function and return the response.  It handles most cases of parameter, return value and error marshaling on its own.  It also guarantees that requests are issued from the proper thread.

--HG--
extra : histedit_source : f5a54b208bfd1a836605082a93e9595826d09546
2017-11-06 10:34:47 -08:00
David Parks f837aa48c5 Bug 1382251: Part 6 - Start/stop new top-level brokering actors on their own threads r=jld
The FunctionBroker actors allow the NPAPI process (child) to run methods on the main process (parent).  Both the parent and the child run dedicated threads for this task -- this is a top-level protocol.

--HG--
extra : histedit_source : 5e0db8d3632ccb3480f6f09a2d7ee581c44b6616
2017-11-06 10:29:15 -08:00
David Parks 111dc29bb1 Bug 1382251: Part 5 - Add IpdlTuple for type-safely marshaling tuples r=jld
IpdlTuple is an array of Variants that is accessed by type and that reports an error if there is a type error.  This is used for safe and easy communication of IPDL objects, validated at run time since IPC data is untrusted.

--HG--
extra : histedit_source : 11a3bec631d78fe36917e55838bccde57a57b91f
2017-11-06 10:17:15 -08:00
David Parks 0a10a5b1ea Bug 1382251: Part 4 - Init/Shutdown parts of XPCOM needed in plugin process r=erahm
We have not been initializing or shutting down XPCOM in the plugin process.  We need the nsThreadManager for this bug but, more importantly, we need to properly shut down XPCOM in order to get things like handlers connected to the ShutdownPhases (e.g. ClearOnShutdown, used to free resources at process end).

This patch includes some work to make services that are uninitialized in the plugin process to handle Shutdown calls without failing.

--HG--
extra : histedit_source : e5d1b556e50f072bbc6dcd39d70df72a93ebc93a
2017-11-06 10:10:43 -08:00
David Parks bed530d43b Bug 1382251: Part 3 - Add mechanism for automatically hooking DLL functions r=jimm
FunctionHook uses the DLL interceptor to redirect Win32 calls to a user-supplied function.

--HG--
extra : histedit_source : b7efd120a15d89dda8dc3f8499c0e249d184fc76
2017-11-06 10:04:19 -08:00
Chris Peterson 37efe4d0e6 Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
MozReview-Commit-ID: DCPTnyBooIe

--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Coroiu Cristina c90daa0e30 Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2018-01-13 12:02:52 +02:00
Coroiu Cristina c6a942e1bf Merge inbound to mozilla-central r=merge a=merge 2018-01-13 11:55:23 +02:00
Csoregi Natalia 739e4b302b Backed out changeset 19af171d7718 (bug 1401678) for failing nsSoundProxy.cpp:63 on a CLOSED TREE 2018-01-13 01:39:10 +02:00
Andrew McCreight 4a42e66fbe Bug 1430183 - ClassTypedef from CodeGen.py is unused. r=qdot
This was used in CGPrototypeTraitsClass, but that usage was removed at
some point.

MozReview-Commit-ID: G3bGMma5XTw

--HG--
extra : rebase_source : 89ff19e10bba68a8e3e3392d3695448dfb245d7c
2018-01-12 10:43:39 -08:00
Xidorn Quan 7955befd91 Bug 1429959 - Make nsBindingManager::EnumerateBoundContentBindings yield each binding only once. r=emilio
MozReview-Commit-ID: LxiF2RngJmq

--HG--
extra : rebase_source : cb75c5c20445fe6e00a0a161465bdfb7fac881be
2018-01-12 11:59:51 +11:00
Byron Campen [:bwc] c3f235552f Bug 1425621 - Part 6: Update mochitests to match new behavior. r=jib
MozReview-Commit-ID: GIloM9yzyEB

--HG--
extra : rebase_source : b4201568aae477379a3d9538e57a1733afc3fc56
extra : intermediate-source : 38be599cd677ee40c858b9932cecd91c9b76d054
extra : source : adb2834d52f3f678c1204cb4a678bd5cb2327ccd
2017-12-21 11:26:28 -06:00
Byron Campen [:bwc] ae7b275a48 Bug 1425621 - Part 5: Handle transceiver removal caused by rollback after track events. r=drno,jib,smaug
MozReview-Commit-ID: 5Z5ntG5Bvgc

--HG--
extra : rebase_source : ae8a2438dfdc1dd968768fba86a8a6752934bd82
extra : intermediate-source : 347e79f12f838355b45f3eebbc33322bf866d75f
extra : source : 8a127885a8d0265994c5f9d4ef9bd384279f6858
2017-12-21 10:22:37 -06:00
Byron Campen [:bwc] 802d9b4a0d Bug 1425621 - Part 4: Move track event logic to JS. r=drno,jib,smaug
MozReview-Commit-ID: 8kUbYQnD3Oc

--HG--
extra : rebase_source : a1f0685c8156c75438cf57e0d55117b8a4025bc8
extra : intermediate-source : 9b756cb6bccaca473925679725688a012d4086f6
extra : source : b3f9155a0ec77f819a0a02ce798d0d0a84da0524
2017-12-20 17:00:40 -06:00
Byron Campen [:bwc] 5331725296 Bug 1425621 - Part 3: Implementation for MediaStream.onremovetrack. r=pehrsons
MozReview-Commit-ID: 70Hsr4G4cp6

--HG--
extra : rebase_source : fd25ff1b39b9923f85b43dcc9d55c92d39baec65
extra : intermediate-source : f6c7d3fda2f3fcc9ecb8be6daa2f665bafa16a9c
extra : source : 574c407e80072fd2ad7827e4e22d0202bddc3cd1
2017-12-20 12:36:19 -06:00
Byron Campen [:bwc] d81f3f59fe Bug 1425621 - Part 2: webidl for MediaStream.onremovetrack. r=smaug
MozReview-Commit-ID: BqBR3uFlrT2

--HG--
extra : rebase_source : 95cd2848eddac95d49323a37063934e11a9d4d6a
extra : intermediate-source : 5458f04358cb7fdd4974c39347b22a1ed432555d
extra : source : b5aca40119eafb23a6661add2d7a2cdfbbde793d
2017-12-20 12:35:46 -06:00
Byron Campen [:bwc] 5b3880b10d Bug 1425621 - Part 1: Test-case for removeTrack and MediaStream.onremovetrack. r=jib
Also, expects onmute to happen before SRD resolves, even for offers.

MozReview-Commit-ID: 2ibQKDfyHYH

--HG--
extra : rebase_source : c47533d173ae13b851e585158811118047968a19
extra : intermediate-source : ab30f91e677aece43bd5049ac0e3725a0793328e
extra : source : bee557f078c402c7893c19ca1dc3bc2164261e65
2017-12-18 14:37:43 -06:00
Nika Layzell 261933c435 Bug 1383876 - Part 5: Clean up in moz.build files, r=freesamael
MozReview-Commit-ID: 1HKNAeI7hSV
2018-01-12 17:53:00 -05:00
Nika Layzell 319310193a Bug 1383876 - Part 4: Remove even more tests which no longer work, r=freesamael, r=smaug
MozReview-Commit-ID: 5j8fNeKuHAM
2018-01-12 17:52:58 -05:00
Nika Layzell e0822be7b9 Bug 1383876 - Part 2: Remove GroupedSHistory and Prerendering logic from JS code, r=freesamael
MozReview-Commit-ID: KwvOcgQKheK
2018-01-12 17:52:54 -05:00
Nika Layzell a0d1f16079 Bug 1383876 - Part 1: Remove GroupedSHistory and Prerendering logic from C++ code, r=freesamael, r=smaug
MozReview-Commit-ID: 2aHA6NcQPGk
2018-01-12 17:52:52 -05:00
Csoregi Natalia b64306c51a Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-13 00:04:06 +02:00
Csoregi Natalia 7476b71e00 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 23:59:06 +02:00
Ben Kelly 020e20e535 Bug 1425965 P7 Fix dom/push/test/test_error_reporting.html to expect new console reporting mechanism. r=asuth 2018-01-12 12:16:06 -05:00
Ben Kelly cd445b9897 Bug 1425965 P6 Change test_fetch_integrity.html not to expect exact window ID values in console messages. r=asuth 2018-01-12 12:16:06 -05:00
Ben Kelly ca1c57878e Bug 1425965 P4 Remove mControlledDocument, mRegisteringDocuments, and mNavigationIntercepts from ServiceWorkerManager. r=asuth 2018-01-12 12:16:05 -05:00
Ben Kelly 18648deb01 Bug 1425965 P3 Make ServiceWorkerManager::FlushReportsToAllClients() use FlushReportsToConsoleForServiceWorkerScope(). r=asuth 2018-01-12 12:16:04 -05:00
Ben Kelly 88cfd7461c Bug 1425965 P2 Add nsIConsoleReportCollector::FlushReportsToConsoleForServiceWorkerScope(). r=baku 2018-01-12 12:16:04 -05:00
Ben Kelly eb42607c4e Bug 1425965 P1 Make ServiceWorkerManager::ReportToAllClients use ConsoleUtils::ReportForServiceWorkerScope. r=asuth 2018-01-12 12:16:03 -05:00
Ryan VanderMeulen 636edb9f6d Merge m-c to inbound. a=merge 2018-01-12 11:35:56 -05:00
Kearwood "Kip" Gilbert 77e75469f3 Bug 1426500 - Part 2: Update test_interfaces mochitest to expect WebVR interfaces to be disabled on release builds for macOS. r=smaug, a=me 2018-01-11 15:13:58 -08:00
Narcis Beleuzu 4de0807d09 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 13:25:57 +02:00
Margareta Eliza Balazs 82e1a579e9 Backed out changeset add48ffcf303 (bug 1429754) for gl failing in dom/canvas/test/webgl-mochitest/ensure-exts/test_EXT_color_buffer_half_float.html on a CLOSED TREE 2018-01-12 07:10:00 +02:00
Boris Zbarsky 02eaa145e7 Bug 1429531. Add MOZ_CAN_RUN_SCRIPT annotations to SVG methods that can call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: KoXEBUa2OjR
2018-01-11 23:01:20 -05:00
Jeff Gilbert c606284204 Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.

MozReview-Commit-ID: JA1VgH8fLRB
2018-01-11 18:53:23 -08:00
Ben Kelly eecacb4a97 Bug 1429486 Expose GetClientInfo() and GetController() on nsIGlobalObject. r=asuth 2018-01-11 20:46:08 -05:00
Noemi Erli 53c1edf299 Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-12 00:05:46 +02:00
Noemi Erli adbfbaab81 Merge inbound to mozilla-central r=merge a=merge 2018-01-11 23:54:07 +02:00
Andreea Pavel 800e10df0b Backed out 11 changesets (bug 1382251) for failing mochitest at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RefPtr.h:318 r=backout a=backout on a CLOSED TREE
Backed out changeset cc3ec37e0dbe (bug 1382251)
Backed out changeset e9cce5779674 (bug 1382251)
Backed out changeset 5bf011fc507d (bug 1382251)
Backed out changeset 77ccb100a258 (bug 1382251)
Backed out changeset e63fa691fa34 (bug 1382251)
Backed out changeset 7936c75851a2 (bug 1382251)
Backed out changeset e6056433a119 (bug 1382251)
Backed out changeset e8262c37dfac (bug 1382251)
Backed out changeset 5dc95b140fd7 (bug 1382251)
Backed out changeset a1ca7804d848 (bug 1382251)
Backed out changeset 56a6f6bcc5c5 (bug 1382251)
2018-01-11 17:20:36 +02:00
Brian Birtles 5a753e5e80 Bug 1429671 - Make composite member of Keyframe dictionary objects accept null values; r=bz
This patch reflects the following change to the Web Animations spec:

  abf76745b5

MozReview-Commit-ID: A2GD1igUf5f

--HG--
extra : rebase_source : 8129f6386b144adebc3bf0320ca7d6bfbba7a2e9
2018-01-11 16:20:49 +09:00
Andrew Sutherland 1fe2cfad13 Bug 1416879 - Part 0d: Move browser_multie10s_update.js into its own directory. r=bkelly
This test is unfortunately a victim of a multi-e10s unregister() race
from browser_force_refresh and given the imminent multi-e10s cleanup
that's going to happen, the more complicated alternatives aren't worth
the effort versus just moving this test to its own directory.

..and now it's disabled too.  Bug 1429794 tracks re-enabling.

--HG--
rename : dom/workers/test/serviceworkers/browser_multie10s_update.js => dom/workers/test/serviceworkers/isolated/multi-e10s-update/browser_multie10s_update.js
rename : dom/workers/test/serviceworkers/file_multie10s_update.html => dom/workers/test/serviceworkers/isolated/multi-e10s-update/file_multie10s_update.html
rename : dom/workers/test/serviceworkers/server_multie10s_update.sjs => dom/workers/test/serviceworkers/isolated/multi-e10s-update/server_multie10s_update.sjs
extra : rebase_source : 2f93eda70120fff7f5b8ebac3db1f46c3aaf3070
extra : source : 3f059dbbf8ba6d42984a4a8c08836aec3ae37f47
2018-01-11 10:31:17 -05:00
Andrew Sutherland 095e3fbc68 Bug 1416879 - Part 0c: browser_multie10s_update.js should not use setTimeout. r=bkelly
This test used a fixed setTimeout of 3secs for serving the SW.  This
lower-bounded the test runtime at 6 seconds, plus it was not safe in
the event of a slow test runner.

This set of changes, although a little ugly, improves the logic so that
the SW's transmission is driven by a separate "release" fetch that is
only triggered when both updates have been issued and the first update
failure has been reported.  This ensures we are observing the desired
situation.  There's also a sanity check on the number of times the SW
script is fetched.

--HG--
extra : rebase_source : 895af5a50578ca69ce9437b67fa0590c1f046682
extra : source : e708703ab4459ccba7a5242a6a50df4a47b59175
2018-01-09 17:31:01 -05:00
Andrew Sutherland d709a493f2 Bug 1416879 - Part 0b: browser_multie10s_update.js needs to protect its invariants, clean-up after itself. r=bkelly
--HG--
extra : rebase_source : 97f6be59ee1e48ec537f97802caea2ef0f3c2763
extra : source : d8ac81aeacda111c1159993f1599b32d6fb46ce3
2018-01-09 16:16:24 -05:00
Andrew Sutherland fffb233779 Bug 1416879 - Part 0a: Make browser_force_refresh.js clean up after itself. r=bkelly
--HG--
extra : rebase_source : 8c71c59161d5d3a3b9de486ab56b71f5c5a56887
extra : source : 83317df6c46b7a09d8f13b725bd955414307c03d
2018-01-10 12:38:25 -05:00
Andrew Osmond 7cc5611e47 Bug 1428946 - Part 1. Make comparing and mapping DataSourceSurfaceWrapper objects work consistently. r=bas 2018-01-11 08:48:46 -05:00
Andrew Sutherland a0ec53afae Bug 1416879 - Part 6: Test cancellation of diverted client-intercepted streams. r=bkelly
This adds a test where we have a ServiceWorker return 2 different types
of streams that Firefox recognizes as downloads which are handled by
diversion of the channel to the parent.  The diverted downloads are
then cancelled and we verify that cancellation actually results in the
underlying connections being closed and/or the ServiceWorker notified.

Our 2 types of streams are:
1. A pass-through stream that is incrementally delivered through use of
   an .sjs file that delivers data using setInterval.
2. A SW-authored ReadableStream (which is not enabled by default, so we
   set a pref.)

Determining when the .sjs's stream is canceled is accomplished by
opening a second "monitor" connection that only completes when the
streaming connection is closed.

In all cases we differentiate between cancelation and timeouts firing.

--HG--
extra : rebase_source : 255ea1b97d632363d7465d6d116a8c37dcca85c3
extra : source : 840a6e04bcea7d87e362adf14a37b7c17e20f043
2018-01-04 18:38:43 -05:00
Andrew Sutherland 8244fa6b69 Bug 1416879 - Part 5: FetchStreamReader needs to cancel its reader when it encounters write errors. r=baku, f=bkelly
Currently, FetchStreamReader never signals to the JS stream code that
the reader has been closed.  This means that when a ServiceWorker
passes a ReadableStream to respondWith and the HTTP Channel gets
canceled, the JS code will keep generating the stream without ever
realizing the data's not going anywhere.  It's necessary to cancel
the reader.  Or do something like that, this seems to work!

--HG--
extra : rebase_source : 88952a917c48b9fa7e421f640b7fb57b15cf7d4d
extra : source : 994dc643a2ab62f03fef780a58971b476a4b6f4a
2018-01-04 18:09:32 -05:00
Andrew Sutherland f3a816271e Bug 1416879 - Part 4: FetchDriver needs to propagate write failures. r=baku
In the scenario where a ServiceWorker returns a pass-through fetch via
`evt.respondWith(fetch("underlying"))`, in order for the "underlying"
HTTP channel to be canceled when the outer HTTP channel is canceled,
FetchDriver's OnDataAvailable method needs to return an error when
the output pipe experiences an error.

Unfortunately, the contract for ReadSegments is effectively that it
returns NS_OK regardless of what the rv of the write handler returned,
so relying on the returned rv is insufficient.  And because various
Write*() methods will all fast-path to returning NS_OK if a count of 0
is passed, it's necessary to infer a closed/broken pipe by noticing
that we tried to write more than 0 bytes of data but 0 bytes were
written.  (This is safe because the pipe we write into was created
by FetchDriver::OnStartRequest which explicitly creates an infinite
pipe, so it's not possible for the write to fail due to lack of space
in the pipe.)

--HG--
extra : rebase_source : 0a1f9f7a4c244934ff255a07e78608c8ea6fef0e
extra : source : 8e4fd74e7f5e69df7363bdb560f79dde347ce082
2018-01-04 18:04:55 -05:00
Jon Coppeard 20b2d0162c Bug 1429535 - Split up ScriptLoader::ProcessScriptElement method r=baku 2018-01-11 12:05:26 +00:00
Andrea Marchesini 58646af781 Bug 1430061 - Signal Proxy, in fetch(), doesn't have to be nullified in order to avoid race conditions, r=bkelly 2018-01-12 15:51:34 +01:00
Andrea Marchesini 7e9322fba6 Bug 1425440 - Get rid of GetChildAt_Deprecated in selection, r=catalinb 2018-01-12 15:33:13 +01:00
Andrea Marchesini 43c8e4e21b Bug 1425440 - Get rid of GetChildAt_Deprecated in nsRange, r=catalinb 2018-01-12 15:33:13 +01:00
Brindusan Cristian 874238697d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2018-01-12 13:34:20 +02:00
Jon Coppeard 1768b988e8 Bug 1429783 - Reset frozen state in nsIScriptElement::LoseParserInsertedness() r=smaug 2018-01-12 10:36:23 +00:00
Jon Coppeard c7d4570648 Bug 1428515 - Check for dying JSObjects when accessing plugin wrapper table r=bz
The sNPObjWrappers table can contain entries for dead JSObjects that have not yet been finalised.  We need to take care not to trigger mJSObj's read barrier for such entries since that will attempt to expose the object to JS and cause this assertion.

The patch does this by calling unbarrieredGetPtr() which avoids the barrier.

Note converting a TenuredHeap to bool and testing equality against a pointer don't trigger the barrier.
2018-01-12 10:36:23 +00:00
Tom Ritter 3af00498bc Bug 1429668 Turn off the reduceTimerPrecision pref for one more test r=hiro
MozReview-Commit-ID: J7F502Oz3Uc

--HG--
extra : rebase_source : 6b9883e72fad25d985ba61a999a4bdd2468784b0
2018-01-10 23:06:04 -06:00
bechen@mozilla.com de1cb40bf5 Bug 1423659 - Remove ftyp and HasMetadata(). r=alfredo
MozReview-Commit-ID: ChscPHrohHb

--HG--
extra : rebase_source : a2f71af48a01b3c1319dafdb3ec338ba52b7778d
2018-01-10 11:42:59 +08:00
Sylvestre Ledru 424664ff30 Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
MozReview-Commit-ID: 3v8D600g8St

--HG--
extra : rebase_source : 34ea6f9868c1b322076c24daa75dc33e27b6704e
2018-01-10 08:52:04 +01:00
Sylvestre Ledru 4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Sylvestre Ledru eabcdd21b2 Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman
MozReview-Commit-ID: Bo0m7n078oh

--HG--
extra : rebase_source : 1874ac3e0abca65b821b5d04a6610a5cbb63fe24
2018-01-09 11:51:07 +01:00
Sylvestre Ledru f8b1d9ab46 Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman
MozReview-Commit-ID: FO1wEHzOkuN

--HG--
extra : rebase_source : ac7e61cf47d013de882048740c889735a0a7cad8
2018-01-10 10:04:59 +01:00
Ciure Andrei 23575f7023 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-11 12:06:29 +02:00
Ciure Andrei f7400ad72e Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
JW Wang b69008df64 Bug 1429280 - the seeking target of exiting dormant should be adjusted by looping. r=chunmin
Otherwise we will seek to a position beyond the duration when exiting dormant
which will fail an assertion in OggDemuxer.

MozReview-Commit-ID: FPWKyd8APrj

--HG--
extra : rebase_source : 89b8cbcfbf9a63d428b9d2a513b2656fc241892f
extra : source : d6a0a81abc7781b6620777ab4cf44222942d78bd
2018-01-10 17:26:17 +08:00
Tom Ritter 2eeb5f801e Bug 1424341 Turn the pref off for existing tests that perform fine-grained timing comparisons r=mrbkap
MozReview-Commit-ID: 4ZyE4ebaCaB

--HG--
extra : rebase_source : 80a138ba722c64885a5f6811d862bdc76389a000
2018-01-10 14:46:34 -06:00
Cameron McCormack 3ef428b913 Bug 1427419 - Part 26: Move inIDOMUtils.scrollElementIntoView to InspectorUtils. r=bz
This is unused in mozilla-central but still used in comm-central.

MozReview-Commit-ID: HlJT7dthI41
2018-01-11 12:38:01 +08:00
Cameron McCormack ce7231c196 Bug 1427419 - Part 25: Move inIDOMUtils.parseStyleSheet to InspectorUtils. r=bz
MozReview-Commit-ID: FQlNRP8ycY3
2018-01-11 12:38:01 +08:00
Cameron McCormack afa1299635 Bug 1427419 - Part 24: Move pseudo-class lock methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: ItruGMmf5Ih
2018-01-11 12:38:01 +08:00
Cameron McCormack 3f17a89ba7 Bug 1427419 - Part 23: Move inIDOMUtils.getCSSPseudoElementNames to InspectorUtils. r=bz
MozReview-Commit-ID: A6FhXc2mJm1
2018-01-11 12:38:01 +08:00
Cameron McCormack c4663ea0f0 Bug 1427419 - Part 22: Move inIDOMUtils.getUsedFontFaces to InspectorUtils. r=bz
This also changes the function to return a sequence (JS Array) instead of
an nsFontFaceList object, and converts nsFontFace/nsIDOMFontFace into a
Web IDL implemented object too.

MozReview-Commit-ID: 1iAW3DYe5kO

--HG--
rename : layout/inspector/nsFontFace.cpp => layout/inspector/InspectorFontFace.cpp
2018-01-11 12:38:01 +08:00
Cameron McCormack 25abd91980 Bug 1427419 - Part 21: Move content state methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: KfrUdNU4as3
2018-01-11 12:38:01 +08:00
Cameron McCormack 075f0e5256 Bug 1427419 - Part 20: Move inIDOMUtils.getBindingURLs to InspectorUtils. r=bz
This is unused in mozilla-central but still used by comm-central.

The only consumer of this API really just wants the URL strings, so
we return a sequence<DOMString> instead of an array of nsIURI objects.

MozReview-Commit-ID: ITcEe42shHw
2018-01-11 12:38:01 +08:00
Cameron McCormack 45c9e50a65 Bug 1427419 - Part 19: Move inIDOMUtils.getChildrenForNode to InspectorUtils. r=bz
MozReview-Commit-ID: 5AznAfpZIuN
2018-01-11 12:38:00 +08:00
Cameron McCormack 41ac7e60e0 Bug 1427419 - Part 18: Move inIDOMUtils.getParentForNode to InspectorUtils. r=bz
MozReview-Commit-ID: 5GxNmyVHf8u
2018-01-11 12:38:00 +08:00
Cameron McCormack 5a4d54c425 Bug 1427419 - Part 17: Move inIDOMUtils.isIgnorableWhitespace to InspectorUtils. r=bz
This is still being used by the old DOM Inspector in comm-central.

MozReview-Commit-ID: B8fJzjUUewj
2018-01-11 12:38:00 +08:00
Cameron McCormack 0c66b23322 Bug 1427419 - Part 16: Move inIDOMUtils.cssPropertySupportsType to InspectorUtils. r=bz
MozReview-Commit-ID: AfNA6g5lTec
2018-01-11 12:38:00 +08:00
Cameron McCormack 060b4a5e4f Bug 1427419 - Part 15: Move inIDOMUtils.cssPropertyIsShorthand to InspectorUtils. r=bz
MozReview-Commit-ID: LphGIXzOlDB
2018-01-11 12:38:00 +08:00
Cameron McCormack 2212f2845a Bug 1427419 - Part 14: Move inIDOMUtils.getSubpropertiesForCSSProperty to InspectorUtils. r=bz
MozReview-Commit-ID: 8Nyt0V2NUmq
2018-01-11 12:38:00 +08:00
Cameron McCormack 0ef012043a Bug 1427419 - Part 13: Move inIDOMUtils.isValidCSSColor to InspectorUtils. r=bz
MozReview-Commit-ID: DNRfmbDucdT
2018-01-11 12:38:00 +08:00
Cameron McCormack 664c1757c0 Bug 1427419 - Part 12: Move inIDOMUtils.colorToRGBA to InspectorUtils. r=bz
MozReview-Commit-ID: 9EAdNibvZ4
2018-01-11 12:38:00 +08:00
Cameron McCormack 2eef6d3612 Bug 1427419 - Part 11: Move inIDOMUtils.rgbToColorName to InspectorUtils. r=bz
MozReview-Commit-ID: LZcGUEO4Ois
2018-01-11 12:38:00 +08:00
Cameron McCormack 6e85270511 Bug 1427419 - Part 10: Remove unused nsIDOMUtils.colorNameToRGB. r=bz
MozReview-Commit-ID: 962UjCZqX6I
2018-01-11 12:38:00 +08:00
Cameron McCormack f5ef2d0a72 Bug 1427419 - Part 9: Move inIDOMUtils.getCSSValuesForProperty to InspectorUtils. r=bz
MozReview-Commit-ID: D3jf42KI7kO
2018-01-11 12:38:00 +08:00
Cameron McCormack 1a8d3bfd54 Bug 1427419 - Part 8: Move inIDOMUtils.getCSSPropertyNames to InspectorUtils. r=bz
While we're at it, move to a more friendly API. EXCLUDE_SHORTHANDS is
currently unused so we drop that.

MozReview-Commit-ID: H64ou63We4a
2018-01-11 12:37:59 +08:00
Cameron McCormack c81f633513 Bug 1427419 - Part 7: Move inIDOMUtils.isInheritedProperty to InspectorUtils. r=bz
MozReview-Commit-ID: AwILrjGiJ3L
2018-01-11 12:37:59 +08:00
Cameron McCormack 710da9d3e3 Bug 1427419 - Part 6: Move selector methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: 8FKRPeIijkC
2018-01-11 12:37:59 +08:00
Cameron McCormack fc4a76fb7f Bug 1427419 - Part 5: Move nsIDOMUtils.getCSSLexer to InspectorUtils. r=bz
MozReview-Commit-ID: 4UGiS3I2V6B
2018-01-11 12:37:59 +08:00
Cameron McCormack 7371ec9f08 Bug 1427419 - Part 4: Move rule line number methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: HUxWcMPzrSq
2018-01-11 12:37:59 +08:00
Cameron McCormack abddba8b81 Bug 1427419 - Part 3: Move inIDOMUtils.getCSSStyleRules to InspectorUtils. r=bz
MozReview-Commit-ID: 3pcxsYhguOk
2018-01-11 12:37:59 +08:00
Cameron McCormack 04c11b322d Bug 1427419 - Part 2: Move nsIDOMUtils.getAllStyleSheets to InspectorUtils. r=bz
MozReview-Commit-ID: J6lIx4uvMlS
2018-01-11 12:37:59 +08:00
Cameron McCormack 563e7a0e4a Bug 1427419 - Part 1: Add an InspectorUtils chrome-only IDL namespace. r=bz,tromey
Also add a way to access it from SpecialPowers for tests and from
importGlobalProperties for system JS scopes.

MozReview-Commit-ID: IewEs0Gf2M9
2018-01-11 12:37:59 +08:00
Kate McKinley e97980a95e Bug 1424917 - Remove support for HSTS Priming. r=mayhemer, r=ckerschb
This patch removes support and tests for HSTS priming from the tree.
2018-01-10 11:07:00 -05:00
Kaku Kuo 9dbfc93c6f bug 1422239 - relax the resolution limitation of WMF H264 decoder; r=jya
https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815(v=vs.85).aspx
Relax the resolution limitation from "width <= 4096 and height <= 2304" to "any width and height combination as long as the total pixel count is under 4096x2304".

MozReview-Commit-ID: 5wHiJfLaJkp

--HG--
extra : rebase_source : 11bf99d0eb3b50ea0199a7f65e0491e43318d29c
2018-01-08 16:37:40 +08:00
Tom Ritter c4cbaaafe9 Bug 1424341 Add tests for dynamically tuning the timer precision r=bkelly,timhuang
MozReview-Commit-ID: IM52HhGY7y

--HG--
extra : rebase_source : a963e0dab3dd07858c050e501bc7106d90b37931
2018-01-09 15:10:59 -06:00
Tom Ritter 58c53866d8 Bug 1424341 Round the Performance Timing APIs when privacy.reduceTimerPrecision is set r=bkelly,timhuang
MozReview-Commit-ID: LrAmrIfKk39

--HG--
extra : rebase_source : e9ded5202406abd07465a0b4a9a6122c86a9c072
2018-01-10 15:51:23 -06:00
Tom Ritter bc92067c8e Bug 1424341 Add privacy.reduceTimerPrecision and privacy.reduceTimerPrecision.microseconds prefs r=bkelly,timhuang
This pref does not override privacy.resistFingerprinting, but when it is set (and
privacy.resistFingerprinting is not) we will still adjust the precision of almost
all timers. The adjustment amount is the second pref, which is defaulted to
20us but now dynamically adjustable (in the scale of microseconds.)

This patch does _not_ address the performance API, which privacy.resistFingerprinting
disables.

We are landing this preffed on at the current value we clamp performance.now() at
which is 20us.

MozReview-Commit-ID: ESZlSvH9w1D

--HG--
extra : rebase_source : a8afead1bdba958c6c7b383b2216dacb3a1b135c
2018-01-09 14:58:34 -06:00
Edgar Chen fd3cbab671 Bug 1417829 - Remove unresolved pseudoclass; r=heycam,smaug
MozReview-Commit-ID: JHfYVnh1SET

--HG--
extra : rebase_source : 287a967f4f354999ab8af93eb696e81727289b12
2017-12-04 17:49:41 +08:00
Jan-Ivar Bruaroey 313f7a1ac3 Bug 1429536 - Assure even width and hight for fake:true camera, fixing debug crash. r=ng
MozReview-Commit-ID: mxGcTFbEwe

--HG--
extra : rebase_source : 21a66143070dba55d616750a7733a4fa5848254b
2018-01-10 20:02:18 -05:00
JW Wang 5efcbcb3a8 Bug 1427932. P2 - fix the calculation of |endTime|. r=jya
MozReview-Commit-ID: 2a8FxMdgM8e

--HG--
extra : rebase_source : a287b19c5c2d6d3c5a2fb454c14b390f60e63667
extra : source : 49211ab256d7742cf83b16e6a2fa6ed3d53f1b46
2018-01-04 11:10:19 +08:00
JW Wang b23b5d2214 Bug 1427932. P1 - replace NS_ASSERTION with MOZ_ASSERT to catch more bugs. r=jya
MozReview-Commit-ID: H5SNFz956nG

--HG--
extra : rebase_source : 8ee27dabc1cda0b4001464a1d78705aa2a306cd5
extra : source : ab0dab8a566c0090dd900a9fbcdd97cc7b622cbc
2018-01-04 11:09:54 +08:00
Noemi Erli 188184d4dc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-12 00:04:40 +02:00
Margareta Eliza Balazs a331a849a4 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Mike Conley b019950988 Bug 1420902 - Bail out of RemoteSizeShellTo if the docShell has gone away. r=mystor
MozReview-Commit-ID: 4X3bfSeHGiA

--HG--
extra : rebase_source : 7af7001d7158053f66f205a49b514d24103a379f
2017-11-28 10:56:51 -05:00
Mike Conley b8af0e6e5a Bug 1430072 - Make the TabParent's default cached value for the DocShell active state be false again. r=mystor
MozReview-Commit-ID: AMAJgD8n0Lp

--HG--
extra : rebase_source : 6e0f4fc222bf4719c421ddf3252fbf7f2d5a2c9d
2018-01-12 17:17:39 -05:00
Ryan VanderMeulen f83acc4c48 Merge m-c to autoland. a=merge 2018-01-12 11:36:30 -05:00
Jonathan Kingston 76cec81940 Bug 1398169 - Use pref to disable registerContentHandler in non stable builds. r=baku,dao
MozReview-Commit-ID: Gbo1wFr8XU6

--HG--
extra : rebase_source : 422efb30dcf6d8f5da395fc50ccb36c0f4cc0cc6
2018-01-08 02:18:31 +00:00
Brindusan Cristian b102ef421c Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2018-01-12 13:32:23 +02:00
Mark Banner d2eba76015 Bug 1429701 - Enable ESLint rule mozilla/use-services for dom/indexedDB. r=bevis
MozReview-Commit-ID: 9OgcN56ziip

--HG--
extra : rebase_source : ca4e88e8bd9bd20888659b095c62c30161279ed0
2018-01-10 17:25:52 +00:00
Andrew McCreight 4a0dd8ce9d Bug 1429945 - Make ghost window unlinker e10s compatible. r=smaug
Content processes can contain ghost windows, so the debug-only ghost
window unlinker needs to send a message to child processes to get them
to run it, too.

MozReview-Commit-ID: 9Ffc3SDNDJB

--HG--
extra : rebase_source : 875891e9332cf41c4157d246b71c2c361cab4aa6
2018-01-11 14:14:09 -08:00
David Parks f933a65f8d Bug 1382251: Part 11 - Update moz.build with new files r=jimm
Includes the build changes made by the earlier patches in this series.  Also adds some #includes required by other files when these are added to the unified build.

--HG--
extra : rebase_source : 0a7ea51fe46c2c0c919a03b7dd7cccc637e7b515
extra : histedit_source : a70277a4d8d0b37f983e6d97b8b54d54fba01ba6
2017-11-06 10:47:01 -08:00
David Parks 532ec8cea3 Bug 1382251: Part 9 - Hook functions needed for SSL communication in NPAPI process r=jimm
Adds Win32 networking APIs to the function broker so that we can run SSL communications outside of the sandbox.

--HG--
extra : rebase_source : 9a5ec38dd9f8a4f1f7bbada461e97513c7db0ab7
extra : histedit_source : f9460155a84f734fa0663bca9f4d18963c07cef5
2017-11-06 10:41:21 -08:00
David Parks 3faeb8e38f Bug 1382251: Part 8 - Migrate some previously hooked functions to FunctionHook/Broker r=froydnj
Moves GetWindowInfo, GetKeyState, SetCursorPos, GetSaveFileNameW and GetOpenFileNameW to the new FunctionHook and FunctionBroker systems.

--HG--
extra : rebase_source : faa4a5a343d3c7c9310241ad361e563a0221d2d7
extra : histedit_source : 1d06fc0480f03506e188efc834e35561bb6b07d1
2017-11-06 11:07:16 -08:00
David Parks 8828da3873 Bug 1382251: Part 7 - Add mechanism for automatically brokering DLL functions r=jimm
The FunctionBroker is a special kind of FunctionHook that brokers the hooked function on another process.  In the child process, it uses the FunctionBrokerChild to request that the FunctionBrokerParent run a function and return the response.  It handles most cases of parameter, return value and error marshaling on its own.  It also guarantees that requests are issued from the proper thread.

--HG--
extra : rebase_source : 99e4864f3e6396695eae0ff9aec75aa3c69f082f
2017-11-06 10:34:47 -08:00
David Parks e58ba522f2 Bug 1382251: Part 6 - Start/stop new top-level brokering actors on their own threads r=jld
The FunctionBroker actors allow the NPAPI process (child) to run methods on the main process (parent).  Both the parent and the child run dedicated threads for this task -- this is a top-level protocol.

--HG--
extra : rebase_source : 38c02140f364f32c4ea16cac79d80facf168c2f9
2017-11-06 10:29:15 -08:00
David Parks d0d0e5ba2f Bug 1382251: Part 5 - Add IpdlTuple for type-safely marshaling tuples r=jld
IpdlTuple is an array of Variants that is accessed by type and that reports an error if there is a type error.  This is used for safe and easy communication of IPDL objects, validated at run time since IPC data is untrusted.

--HG--
extra : rebase_source : ee113d501d5372cfd01f0be9a58e2db50ab539b3
2017-11-06 10:17:15 -08:00
David Parks c6a908099a Bug 1382251: Part 4 - Init/Shutdown parts of XPCOM needed in plugin process r=erahm
We have not been initializing or shutting down XPCOM in the plugin process.  We need the nsThreadManager for this bug but, more importantly, we need to properly shut down XPCOM in order to get things like handlers connected to the ShutdownPhases (e.g. ClearOnShutdown, used to free resources at process end).

This patch includes some work to make services that are uninitialized in the plugin process to handle Shutdown calls without failing.

--HG--
extra : rebase_source : 837eddd8f8cf956b248c81cb26ca183bf13d1b46
2017-11-06 10:10:43 -08:00
David Parks 12b3918c16 Bug 1382251: Part 3 - Add mechanism for automatically hooking DLL functions r=jimm
FunctionHook uses the DLL interceptor to redirect Win32 calls to a user-supplied function.

--HG--
extra : rebase_source : 27c2ee94e1f2993bfd871a559b7d45c5bd45e510
2017-11-06 10:04:19 -08:00
Andrew Swan 63c732760f Bug 1396399 - Clarify rules for applying activeTab permission to content scripts. r=kmag, r=bz
MozReview-Commit-ID: 9xPDX8Qk2iR
2017-11-04 21:06:20 -07:00
Blake Kaplan 586e13b2b7 Bug 1404297 - Temporarily assert that we don't re-enter this function. r=bzbarsky
MozReview-Commit-ID: FoQGVDWtwN1

--HG--
extra : rebase_source : c22cc3a022dc01923696940fc0b0aae708232db0
2018-01-10 18:48:26 -05:00
Dorel Luca ccebfc1873 Merge mozilla-central to autoland r=merge 2018-01-11 00:03:38 +02:00
Dorel Luca 8beedd4f8d Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-11 00:01:16 +02:00
Andrea Marchesini 9c2f965727 Bug 1424701 - Test for uploading files via ServiceWorker, r=bkelly 2018-01-10 17:04:09 +01:00
Mike Conley 30bfe2cdc1 Bug 1423208 - Queue pending RenderLayers calls when there are DocShell creation blockers. r=mystor
MozReview-Commit-ID: H4MqkWnfCkF

--HG--
extra : rebase_source : 046c41c0ef4de7d9e742cd98f5c87828c02d129c
2018-01-08 17:53:09 -05:00
Mike Conley 2b75bd4264 Bug 1423208 - Make DocShell active state in TabParent default to true, since that's the actual default state. r=mystor
MozReview-Commit-ID: 8JQCW12FYyJ

--HG--
extra : rebase_source : 47769fd4941af002b7c22e0ee2d62c306224c335
2018-01-08 17:52:41 -05:00
Michael Froman 69d270acdf Bug 1427009 - limit accepted mid length to 16 chars. r=bwc
webrtc.org only supports one-byte rtp header extensions which means
we can only support 16 character mids for now.

MozReview-Commit-ID: C7aTeB5Bi2M

--HG--
extra : rebase_source : e25518d02fb056f82d298f000e37cfe059099a38
2018-01-08 16:23:06 -06:00
Andrea Marchesini a87d905d44 Bug 1428725 - Fix a crash in ConsoleData when StructuredCloneHolder fails to write data, r=smaug 2018-01-10 12:30:53 +01:00
Jon Coppeard 561949fb5e Bug 1428002 - Enable <script type="module"> in nightly builds r=smaug 2018-01-09 11:52:42 +00:00
Csoregi Natalia 08c2334fa4 Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE
--HG--
extra : rebase_source : 7081cc0fb69e70c630a6d55157783cea1c44df02
2018-01-10 12:14:23 +02:00
Gurzau Raul 2d062bac22 Merge inbound to mozilla-central r=merge a=merge 2018-01-10 11:58:20 +02:00
Olli Pettay 07e03ec714 Bug 1429244 - Make Selection to use main thread only AddRef/Release, r=mccr8 2018-01-10 09:47:07 +02:00
Andrea Marchesini 89ea14e649 Bug 1428745 - Remove support for version parameter from script loader - trimming script type, r=jonco 2018-01-09 17:00:50 +01:00
Andrea Marchesini 51cbe0791e Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing a broken depending test - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing WPTs - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing tests - CLOSED TREE, r=me
2018-01-09 17:00:49 +01:00
Andrea Marchesini 8f0c2b3ab9 Bug 1428745 - Remove support for version parameter from script loader, r=jonco 2018-01-09 17:00:49 +01:00
John Dai 408eb5bda0 Bug 1427542 - Fix reset a form can't clear -moz-ui-invalid after calling reportValidity. r=smaug 2018-01-09 16:37:02 +08:00
JW Wang 45984a084a Bug 1428951 - add a getter for MediaCacheStream::GetDebugInfo() to take the cache monitor on the main thread. r=bechen,gerald
MozReview-Commit-ID: 8qkZg0MJsGQ

--HG--
extra : rebase_source : 0ff2f6ebe8908bd5dade301f6c2c52e718a23c47
2018-01-09 10:29:10 +08:00
Sebastian Hengst 1ebdaf80de merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2018-01-10 01:52:28 +02:00
Sebastian Hengst 83d7fb3caf merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-10 01:32:52 +02:00
m_kato@ga2.so-net.ne.jp 74e5620b46 Bug 1386381 - nsTextFragment::SetTo() could be faster by allocating less often, p=makoto,smaug, r=makoto,smaug
--HG--
extra : rebase_source : 1ec6bc8cfb1df283bc110292f2ce509a27b31233
2018-01-09 15:36:01 +02:00
Olli Pettay 7891930314 Bug 1428748 - RangeBoundary is too AddRef/Release heavy, r=mystor
--HG--
extra : rebase_source : 15efb71770d21038f4230538da8c862ab832fdc4
2018-01-08 21:27:44 +02:00
Jeff Gilbert f4cfe8596a Bug 1428898 - Add TlsScope to reduce fIsCurrent calls. - r=daoshengmu
MozReview-Commit-ID: Kyi8dcO7nAu
2018-01-09 18:43:35 -08:00
Philip Chimento feae2f5325 Bug 1428605 - Add JS:: namespace to API where it's missing. r=sfink 2018-01-07 19:08:33 -08:00
Narcis Beleuzu fb578c1b74 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2018-01-10 02:02:13 +02:00
Narcis Beleuzu 0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
David Major bace46558f Bug 1419771 followup: fix mingw build bustage 2018-01-09 15:43:47 -05:00
Ben Kelly 166bafcfe1 Bug 1428652 P3 Fix typo in browser_unregister_with_containers.js. r=me 2018-01-09 15:39:34 -05:00
Ben Kelly 65eb505d92 Bug 1428652 P2 Verify that unregistering a service worker in one container does not break a SW with same scope in different container. r=asuth 2018-01-09 14:55:05 -05:00
Ben Kelly 1819c124bd Bug 1428652 P1 Make service worker registration removal take container principals into account. r=asuth 2018-01-09 14:55:04 -05:00
Ben Kelly 1e126cdab8 Bug 1429029 Force browser_storage_permission.js to use a single content process to avoid multi-e10s service worker propagation races. r=asuth 2018-01-09 14:28:13 -05:00
Ben Kelly 5fa4248b8a Bug 1428650 Make ServiceWorkerManager::MaybeClaimClient() handle inconsistent child-process SWM state. r=asuth 2018-01-09 14:24:58 -05:00