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

67510 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 36eb42025b Bug 1176342, part 1 - De-COM InitClassesWithNewWrappedGlobal. r=mrbkap
MozReview-Commit-ID: EfRQW3QUXCG

--HG--
extra : rebase_source : 895694d28cc228cfb095639880738c84767e08a8
2017-09-18 16:35:39 -07:00
Tom Tung 6d9ce87f57 Bug 1400282 - Add a test to verify cache's operations won't run out of fd. r=bkelly
MozReview-Commit-ID: G8ztQs1mB6l
2017-09-13 17:24:13 +08:00
Ben Kelly 4db38f2b20 Bug 1336364 P9 Block storage denied windows from ServiceWorker.postMessage() and clients.matchAll(). r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly aedd9dfac3 Bug 1336364 P8 Expand test_third_party_iframes.html to verify worker scripts are intercepted. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly af1c8cc7bf Bug 1336364 P7 Add a mochitest to verify subresource fetch events still work with 3rd party iframe cookies disabled. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly 81c05e42c3 Bug 1336364 P6 Ensure that we don't control a document if its window cannot access storage. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly 3e50d90115 Bug 1336364 P5 Disable service worker getRegistrations() if storage is disallowed for a window. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly 2e6f616841 Bug 1336364 P4 Disallow service worker register() is storage is forbidden for the window. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly bd9be74749 Bug 1336364 P3 Restrict service worker interception for more cookie policies. r=asuth 2017-09-20 09:24:06 -07:00
Sebastian Hengst d9cb1f446d merge mozilla-central mozilla-inbound. r=merge a=merge 2017-09-20 14:58:11 +02:00
Sebastian Hengst 9fde47b255 Backed out changeset c863089c7166 (bug 1399853) for changing string texts without altering string ids. r=backout a=backout
MozReview-Commit-ID: 94W0KZjtlbd
2017-09-20 14:55:39 +02:00
Sebastian Hengst bc68e8f407 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9Z3Ly8icnvh
2017-09-20 11:48:02 +02:00
Brian Birtles 3b5522acdc Bug 1314537 - Drop comment reference to SharedKeyframeList; r=comment-only, DONTBUILD
This has been dropped from the spec in:

  17b14a7269

--HG--
extra : rebase_source : f0c824c5bd5bec7aefbc742830520a3a210468ef
2017-09-20 11:56:00 +09:00
Tobias Schneider 3be3fe0ca4 Bug 1399605 - Fix wrong test being skipped. r=mrbkap
--HG--
extra : rebase_source : 1455cdcb6cabf5e2d4fa65a0d12faa1a4cd700b9
2017-09-19 18:54:01 -07:00
JW Wang 16f3e9dd23 Bug 1401366. P2 - bail out Observe() if not subcribed per comment 2. r=kaku
MozReview-Commit-ID: 4LEBD3g0OwX

--HG--
extra : rebase_source : c31cb94eeb52b06a3f327492b918e93c82b83616
2017-09-20 17:51:10 +08:00
JW Wang ed0a449136 Bug 1401366. P1 - format HTMLMediaElement::ShutdownObserver. r=kaku
MozReview-Commit-ID: K9ZYTedgUjC

--HG--
extra : rebase_source : 6a2537f27c91962ecfadd3b7489c9cdcf852da42
2017-09-20 17:46:34 +08:00
Tom Tromey 971dbd3853 Bug 1388789 - clean up \0 emission in nsTextFormatter; r=froydnj
nsTextFormatter unconditionally emitted a trailing \0, leading some code
elsewhere to have to work around this.  This changes the code to only
emit it in snprintf.

MozReview-Commit-ID: G3CBpAPp9Tn

--HG--
extra : rebase_source : 36666476a4f796e2553c9fa31daa54d245ae3b5f
2017-09-06 09:38:58 -06:00
Tom Tromey 11aef69343 Bug 1388789 - use nsTextFormatter::ssprintf in more places; r=froydnj
A few places were using snprintf where ssprintf would be more
appropriate.

MozReview-Commit-ID: LnBy3IcG98C

--HG--
extra : rebase_source : 0351d27afe451d7a40ac464e0ac62cecc78f73c5
2017-09-06 08:19:05 -06:00
Jonathan Watt 4130888dfd Bug 1342951, part 4 - Add a version of SVGTextFrame::GetSubStringLength that can be used independantly of reflow, to avoid sync reflows. r=heycam
MozReview-Commit-ID: CJqUwF3rXP4
2017-09-02 22:22:54 +01:00
Sebastian Hengst 6a3f9cab47 merge mozilla-central to autoland. r=merge a=merge 2017-09-20 14:57:10 +02:00
Sebastian Hengst 0dc17cba82 merge mozilla-central to autoland. r=merge a=merge 2017-09-20 11:49:13 +02:00
JW Wang 1c84dd5856 Bug 1400155 - early return from NotifyDataReceived() when the stream is already closed. r=gerald
See comment 3 for the detail. We can't assert !mClosed since NotifyDataReceived()
could be called after the stream is closed.

MozReview-Commit-ID: 4pTfjABdl9B

--HG--
extra : rebase_source : d7d8b38268f3f54242dd728fe5fd0ada17d6ee48
extra : source : 713510f4087b38f0d447529dbf601f19b3a89eae
2017-09-19 15:32:54 +08:00
JW Wang 472ab4804d Bug 1399760. P3 - keep ID of the loading channel so we check whether the data callback is from an old channel. r=gerald
The load ID works as follows:
1. A load ID is passed to MediaCacheStream::NotifyDataStarted()
   when loading a new channel.
2. Each MediaCacheStream::NotifyDataReceived() call is also associated
   with a load ID from which the data is received.
3. If |mLoadID != aLoadID| tests to be true in NotifyDataReceived(), it means
   the data is from an old channel and should be discarded.
4. MediaCache::Update() reset mLoadID for the stream before calling
   CacheClientSeek() to prevent data from the old channel from being
   stored to the wrong position.

MozReview-Commit-ID: 9kBoublLlln

--HG--
extra : rebase_source : 58e6d3fe40ec7a549cabc70b30db8006b49c0563
2017-09-20 11:41:08 +08:00
JW Wang ba7be530dd Bug 1399760. P2 - ensure mCacheStream.NotifyDataStarted() is always called in OnStartRequest(). r=gerald
This keeps us in a good shape that NotifyDataStarted() is always called
before subsequent NotifyDataReceived() calls. This is also required by P3
where we need to set the loadID before NotifyDataReceived().

MozReview-Commit-ID: 9TPodkMM4EH

--HG--
extra : rebase_source : 0079e3ae6b791c64c76ca3bc3faac46039fc48fc
2017-09-20 11:30:03 +08:00
JW Wang dd57b36053 Bug 1399760. P1 - remove the CopySegmentToCache() member function. r=gerald
MozReview-Commit-ID: 3D9RiK3PJUf

--HG--
extra : rebase_source : acf4962bb9fd4f784bbe5d13cc3428e7d60322d3
2017-09-20 11:12:48 +08:00
James Cheng 59439b26b7 Bug 1401114 - Replace 'if (NS_FAILED(' with 'if (NS_WARN_IF(NS_FAILED(' under dom/media/gmp. r=gerald
MozReview-Commit-ID: 8ThoMrmlHNx

--HG--
extra : rebase_source : ae5095a7f756576cd9f7951651f060c67bc5e2a3
2017-09-19 16:14:49 +08:00
Nicholas Nethercote 5036b9133e Bug 1400078 - Measure the UA cache. r=njn.
ServoStyleSetSizes now has two uses, one for the Stylist, and one for the UA
cache, and so the patch removes 'Stylist' from the field names.

Example output from about:memory:

> +----1,359,608 B (00.55%) -- layout
> |    +----756,488 B (00.31%) -- style-sheet-cache [2]
> |    +----393,968 B (00.16%) -- servo-ua-cache
> |    |    +--234,496 B (00.10%) -- element-and-pseudos-maps
> |    |    +---59,648 B (00.02%) -- revalidation-selectors
> |    |    +---58,320 B (00.02%) -- invalidation-map
> |    |    +---30,752 B (00.01%) -- other
> |    |    +---10,752 B (00.00%) -- precomputed-pseudos

MozReview-Commit-ID: 8oxuJO0ojp

--HG--
extra : rebase_source : 7d86216967259b71df7280261d025cc65bf00ba4
2017-09-19 09:25:00 +10:00
Blake Kaplan d5d500f633 Bug 1398396 - Initialize the locale stuff on runtimes instead of contexts. r=billm
MozReview-Commit-ID: Il9HAqYdTzK

--HG--
extra : rebase_source : 29a294c02bc2be1534766f33192854f51984883e
2017-09-11 15:46:14 -07:00
Johann Hofmann 4a84c97ab7 Bug 1394462 - Update dnsNotFound error copy and illustration. r=nhnt11
MozReview-Commit-ID: KFp3JhkCDJJ

--HG--
extra : rebase_source : 62449541d1d5362fbc15b18fde9b4964cd153c4c
2017-09-19 21:54:29 +02:00
Xidorn Quan 6905267b28 Bug 1400540 - Decide style backend type based on principal. r=bholley
MozReview-Commit-ID: A4y9Shdbr7g

--HG--
extra : source : cdfe5e5e059273a1c7fc6506d6e0fecb2bb7affb
2017-09-20 08:26:53 +10:00
Wes Kocher 3baa8a7e6e Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
J.C. Jones 6293af8a7a Bug 1399334 - Add more debugging to see why certificates aren't valid. r=ttaubert
There's an intermittent that is showing up now that test_register_sign.html
checks state.attestationCert.verify(); to ensure hte SoftToken's certificate
is valid. This patch prints the offending certificate when it's encountered,
to help diagnose the root cause.

MozReview-Commit-ID: 4QSobq9fBGK
2017-09-18 21:43:40 -07:00
Tobias Schneider 2b102d3c56 Bug 1399605 - [intersection-observer] Check if target is actually being observed when unobserving. r=mrbkap
--HG--
extra : rebase_source : d3c8c012dba2941b230cdfbf332ab3c77b7a26ef
2017-09-19 10:50:10 -07:00
Jonathan Watt 341ea5e4f1 Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr 2017-08-30 15:58:31 +01:00
Jonathan Watt 0e4feb75d3 Bug 1401356, part 1 - Rename nsSVGEffects.h/.cpp to SVGObserverUtils.h/.cpp. r=longsonr
--HG--
rename : layout/svg/nsSVGEffects.cpp => layout/svg/SVGObserverUtils.cpp
rename : layout/svg/nsSVGEffects.h => layout/svg/SVGObserverUtils.h
2017-08-30 14:14:46 +01:00
Wes Kocher a594331a16 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7VZH3r52Gc7
2017-09-19 14:53:33 -07:00
Kris Maglione 688e4805ce Bug 1381344: Use original target to determine if context node is remote. r=smaug
MozReview-Commit-ID: EQlRNgXkc8B

--HG--
extra : rebase_source : b0858ed56fbdf4681163e7b87031409eade26e2f
extra : histedit_source : ceeada7d6e7eab15caf6e4031e2bf44abc5436e4
2017-09-18 22:52:21 -07:00
Jonathan Watt eecfb5b8d6 Bug 1399853 - Identify the ID of the elements involved in SVG reference loops in the Web Console error messages. r=longsonr
MozReview-Commit-ID: 7SOk2pMEezK
2017-08-25 19:11:43 +01:00
Andrew Halberstadt 7527e600f0 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : b78cbf7913fc1b0a27dfa085c38957e2bc2467d0
2017-08-22 16:56:02 -04:00
JW Wang 02c39abdd3 Bug 1401460 - update principals in OnStartRequest(). r=gerald
See comment 0 for the rationale.
The principal will not change after OnStartRequest().

MozReview-Commit-ID: K2HyWBBzGmC

--HG--
extra : rebase_source : 1d913390b1b94923d859bdb5f6e8d34d3f0ed60d
2017-09-20 14:23:59 +08:00
Tim Taubert a7712cd24a Bug 1400940 - Fix WebAuthn deadlock when cancelling a request on tab switch r=jcj
This should be an easy solution. We can't stop the sign() or register()
runloop from calling the callback, so we need the callback to simply return
early when the U2FHIDTokenManager shuts down.

Bug #: 1400940

Differential Revision: https://phabricator.services.mozilla.com/D67
2017-09-19 18:00:39 +02:00
Tim Taubert 14bd1247ca Bug 1401019 - Cancel the current U2F API request before starting a new one r=jcj
I wasn't sure what the right behavior for the U2F API is when `.sign()`
or `.register()` is called but there's an ongoing request that wasn't fulfilled
yet.

I think it makes sense to deny the request (as we currently do) when a request
of the same type is currently active. When however sign() -> register() or
vice-versa is called then we should cancel the previous request and start
the new one. From what I understand from reading the spec we definitely should
call the callback before starting the new request.

Bug #: 1401019

Differential Revision: https://phabricator.services.mozilla.com/D70
2017-09-19 16:55:38 +02:00
Tim Taubert 0ab9d21338 Bug 1400559 - [u2f-hid-rs] rustfmt followup r=me 2017-09-19 16:45:07 +02:00
Boris Zbarsky 203072cfe1 Bug 1401171 - Make nsIMultiplexInputStream not inherit from nsIInputStream. r=bkelly
This is a preexisting issue that makes nsMultiplexInputStream multiple-inherit
from nsIInputStream: once via nsIMultipartInputStream and once via
nsIAsyncInputStream.  This causes problems once we end up with more multiplex
streams that are async streams, because then some assingments to
nsCOMPtr<nsIInputStream> start asserting.  This patch just removes the footgun
by getting rid of the multiple inheritance.
2017-09-19 16:26:21 +02:00
Sebastian Hengst 7973633f84 Backed out changeset 3c9e25405f59 (bug 1401204) an request from baku for landing with wrong bug number. r=backout 2017-09-19 16:25:20 +02:00
Sebastian Hengst 79bca6297c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-20 11:50:40 +02:00
Jan Varga c0575771d3 Bug 1399322 - Don't assume that HoldWorker() call must always succeed. IDBTransaction::Create() is now fallible again; r=asuth 2017-09-20 10:53:14 +02:00
Boris Zbarsky 5c70c28414 Bug 1401204 - Make nsIMultiplexInputStream not inherit from nsIInputStream. r=bkelly
This is a preexisting issue that makes nsMultiplexInputStream multiple-inherit
from nsIInputStream: once via nsIMultipartInputStream and once via
nsIAsyncInputStream.  This causes problems once we end up with more multiplex
streams that are async streams, because then some assingments to
nsCOMPtr<nsIInputStream> start asserting.  This patch just removes the footgun
by getting rid of the multiple inheritance.
2017-06-11 00:07:23 -04:00
Boris Zbarsky d9be58174d Bug 1400898 part 4. Get rid of nsIDOMChromeWindow methods that are unused from C++, and mark the rest [noscript]. r=farre
MozReview-Commit-ID: GtYmfg6XiaQ
2017-09-19 10:13:23 -04:00
Boris Zbarsky ff472070b5 Bug 1400898 part 3. Make nsIDOMChromeWindow.browserDOMWindow readonly. r=farre
C++ code only reads this attribute.  Code that sets it comes via WebIDL bindings.

MozReview-Commit-ID: 2itFAxUVTBo
2017-09-19 10:13:23 -04:00
Boris Zbarsky b4ae7df969 Bug 1400898 part 2. Get rid of the interface constants on nsIDOMChromeWindow. r=farre
MozReview-Commit-ID: 4FuJSgha5y3
2017-09-19 10:13:22 -04:00
Boris Zbarsky 624fdefa57 Bug 1400898 part 1. Remove the one script use of nsIDOMChromeWindow. r=farre
MozReview-Commit-ID: I31eceiJP55
2017-09-19 10:13:22 -04:00
Tim Taubert 076af4a6e0 Bug 1400559 - Move runloop code into its own crate r=jcj
The runloop seems like a good candidate for moving into its own crate.

I wasn't sure whether we want it under the Mozilla org on GitHub, so I pushed
it to ttaubert/rust-runloop for a start. Moving the repository to mozilla/*
is easy, and we'd just need to bump the crate version with the updated
repository, if you think we should.

Bug #: 1400559

Differential Revision: https://phabricator.services.mozilla.com/D62

--HG--
rename : dom/webauthn/u2f-hid-rs/src/runloop.rs => third_party/rust/runloop/src/lib.rs
2017-09-19 15:46:55 +02:00
Jon Coppeard 8bd8591183 Bug 1396613 - Make proxy objects override handler's objectMoved method rather than using class hook r=sfink r=mccr8 r=peterv 2017-09-19 12:31:30 +01:00
Jon Coppeard 1077972535 Bug 1396613 - Update the object moved hook to allow it to be called when tenuring nursery objects r=sfink r=mccr8 2017-09-19 12:31:30 +01:00
Sebastian Hengst 18a3ca206d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-19 11:15:12 +02:00
Ralph Giles d0ed1d24c4 Bug 1400927 - Fix u2f-hid-rs cross-compilation on macOS r=jcj
One cannot use #[cfg(target_os)] checks in build.rs.
Build scripts can be used to generate code so the target
is set to the host platform when they are compiled.

Having this setting exported an unconditional link
depencency whenever the host was macOS, which broke
cross-compiling, in particular for fennec builds
targetting Android.

Instead, declare the IOKit dependency on the `extern`
block which imports the symbol inside macOS-specific
code. That way final link still works, but the extra
dependency is only enabled when appropriate for the
final target, like the other platform-dependent code.
2017-09-18 17:29:24 -07:00
Boris Zbarsky e3883c1255 Bug 1400501. Store a list of ancestor principals on docshell and document. r=mystor
Right now every document in a docshell makes a copy of the list.  In practice,
this list is usually pretty short (limited by depth of iframe nesting), so this
is probably not a problem.  We could add a bit of complexity and have a
refcounted struct that contains the list... I wish we had something as simple
as Rust's Arc that we could use here.

MozReview-Commit-ID: 8jGIlkhp1DU
2017-09-18 21:24:38 -04:00
Boris Zbarsky c1bab3a2f8 Bug 1400139 part 3. Add a use counter when the window.content getter is called from untrusted code. r=mystor
MozReview-Commit-ID: LFMK7lxs46Z
2017-09-18 21:24:38 -04:00
Boris Zbarsky 3dc9073bd5 Bug 1400139 part 2. Make window.content non-enumerable. r=mystor
MozReview-Commit-ID: LQkEkdG8wKf
2017-09-18 21:24:38 -04:00
Boris Zbarsky 005450266e Bug 1400139 part 1. Add infrastructure for marking WebIDL interface members as non-enumerable. r=qdot
MozReview-Commit-ID: 9F0ZNverS63
2017-09-18 21:24:37 -04:00
Boris Zbarsky 82a08c647e Bug 991271. Restore our assertions about how wrapping failure should mean an exception was thrown. r=mccr8
Now that Gecko controls error reporting and the JS engine is no longer doing
JS_IsRunning checks, we should consistently have exceptions here.

MozReview-Commit-ID: IqBe5ArJc2l
2017-09-18 21:24:37 -04:00
Wes Kocher 519bb0922b Merge inbound to central, a=merge
MozReview-Commit-ID: EK8iFR1hSRp
2017-09-18 16:21:01 -07:00
Boris Chiou 7d37ae2816 Bug 1388601 - Part 2: Add tests of distance for Filter lists. r=hiro
MozReview-Commit-ID: 1asVvBnV93r

--HG--
extra : rebase_source : 72fe8c006970f8b002b63df982a6f54f773fc6fb
2017-09-14 15:21:47 +08:00
Boris Chiou f5d25a9abd Bug 1388601 - Part 1: Add tests of distance for Basic Shape. r=hiro
MozReview-Commit-ID: 8m5km7hVNvR

--HG--
extra : rebase_source : 513747aadf699fdd827d241d2caef072b5f6742b
2017-09-14 11:25:16 +08:00
Christoph Kerschbaumer c4e358b765 Bug 1399170: Test mozbrowser can not load data URI in iframe. r=smaug 2017-09-18 17:22:15 +02:00
Joel Maher b2d10f4be8 Bug 1389983 - Disable dom/media/tests/mochitest/test_getUserMedia_addtrack_removetrack_events.html on linux debug for frequent failures. r=me, a=test-only 2017-09-18 12:00:25 -04:00
Joel Maher 3effc6f2a5 Bug 1282262 - Disable dom/media/tests/mochitest/test_getUserMedia_mediaStreamClone.html for frequent failures. r=me, a=test-only 2017-09-18 12:00:24 -04:00
Ben Kelly 79ede4b972 Bug 1400372 P1 Support redirected importScripts() when updating a service worker script. r=hopang 2017-09-18 06:36:16 -07:00
Andrea Marchesini b0b73ddd29 Bug 1388125 - CloneableWithRangeMediaResource for streams implementing nsICloneableInputStreamWithRange, r=jya 2017-09-18 13:34:43 +02:00
Andrea Marchesini 5f79fe9d48 Bug 1388125 - Move ChannelMediaResource to separate files, r=jya 2017-09-18 13:33:49 +02:00
Andrea Marchesini 3ad3aaae76 Bug 1388125 - Move FileMediaResource to separate files, r=jya 2017-09-18 13:31:08 +02:00
Andrea Marchesini 052284c159 Bug 1388125 - FileMediaResource should use BlobImpl->Size() instead of stream::Available() to know the size, r=jya 2017-09-18 13:31:00 +02:00
Sebastian Hengst a25c8a47b9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-18 11:37:21 +02:00
Sebastian Hengst 7dba57e6b9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DYPstPArJWR
2017-09-18 11:34:59 +02:00
Shawn Huang a99c46071a Bug 1360567 - Add telemetry probes for Indexeddb storage types, r=janv, datareview=francois 2017-09-18 17:00:37 +08:00
Nicholas Nethercote 887dab3c3f Bug 1400624 - Fix a panic in Stylo memory reporting. r=heycam.
`MallocSizeOfOps::enclosing_size_of_op` is an `Option<>` type, and the panic in
question is caused by not providing a value in a case where it's needed for
measuring a HashSet.

HashMaps and HashSets are common enough that it makes sense to make
`enclosing_size_of_op` non-optional, which this patch does.

MozReview-Commit-ID: IB2aRuXHj8E

--HG--
extra : rebase_source : a6f593b718ca9e92a7a36ca7e2063a01e11c7e04
2017-09-18 13:54:30 +10:00
Jean-Yves Avenard 6367aea01f Bug 1400537 - P2. Pass video framerate to decoder. r=gerald
Continuation on bug 1397307 which was incomplete.

MozReview-Commit-ID: JGGHQyjnALI

--HG--
extra : rebase_source : 067652250dcd0904c8436eebc50068c7fb8d8cbb
2017-09-17 18:06:47 +02:00
Jean-Yves Avenard 3e790e2a55 Bug 1400537 - P1. Don't assume that the PDM will properly report an error. r=alwu
Only the Windows H264 decoder supports CreateDecoderParam::mError, all the other PDM leave the value untouched.

As such, it can't be assumed that in case of failure, the mError attribute will be set.

MozReview-Commit-ID: GWHGP6Wv3fl

--HG--
extra : rebase_source : 081b71c7a53c41d9a13904e4182e3cfdb876ae43
2017-09-17 18:01:37 +02:00
Bharat Raghunathan 1880a2c631 Bug 1396794 - Removed aPacket and aLength change r=kentuckyfriedtakahe
MozReview-Commit-ID: JG9vo3dbMB

--HG--
extra : rebase_source : d699868284c5929aee3b26544fc99f454dd114ed
2017-09-16 07:18:56 +05:30
Nicholas Nethercote ebf1cb320b Bug 1400148 - Don't use -1 to represent an unset nsCursor. r=karlt.
Because UBSan complains about casting -1:

> runtime error: load of value 4294967295, which is not a valid value for type 'nsCursor'

--HG--
extra : rebase_source : 037a96700228ea0d427afa7c25c40490c701cdc4
2017-09-15 14:34:37 +10:00
Nicholas Nethercote 5f1dacafee Bug 1400081 - Don't use -1 to represent an unset JSGCParamKey. r=sfink.
Because UBSan complains about casting -1:

> runtime error: load of value 4294967295, which is not a valid value for type 'JSGCParamKey'

--HG--
extra : rebase_source : ff972b29f9a89fcbe50d9f105196bcd8f06486bd
2017-09-15 10:50:33 +10:00
Sebastian Hengst 9f35e3578f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-17 23:35:08 +02:00
Sebastian Hengst 41ef7dce0c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ExAoHf5iXNn
2017-09-17 23:32:12 +02:00
Tim Taubert cd9cddcc94 Bug 1400513 - u2f-hid-rs: fuzzers should use a deterministic cmd byte r=jcj
Summary: We're currently using the thread_rng to derive a cmd byte for the U2F protocol fuzzers. That of course should rather be derived deterministically from the input handed to the fuzzing target.

Bug #: 1400513

Differential Revision: https://phabricator.services.mozilla.com/D61
2017-09-17 20:07:32 +02:00
Tim Taubert efb7d369f2 Bug 1400662 - Prefer the USB token if the softtoken is enabled as well r=jcj
Bug #: 1400662

Differential Revision: https://phabricator.services.mozilla.com/D63
2017-09-17 20:14:54 +02:00
Jean-Yves Avenard afd0595779 Bug 1400598 - P1. Stop parsing bytesteam as soon as we have found the necessary data. r=gerald
MozReview-Commit-ID: 9APhbRHIMUP

--HG--
extra : rebase_source : 5f62596fab23c2b832d6cdb85764f3b4b37aa7ad
2017-09-16 23:35:17 +02:00
Jan-Ivar Bruaroey c0da003175 Bug 1381638 - Prevent sharing multiple input devices in the same process. r=jesup 2017-09-15 23:00:39 -04:00
Eden Chuang 62b089b5ed Bug 1398991 - Mochitest for spec change on PaymentRequest.shippingOption. r=baku
This patch changes the test_construction.html with following modification.
1. Modify the test testWithDuplicateShippingOptionsParameters to expect a
   TypeError when constructing wiht duplicate shippingOption ids.
2. Add test testShippingOtpionAttribute for shippingOption setting checking
   with following conditions
   1. No selected shippingOption and PaymentOptions.requestShipping is false
   2. One selected shippingOption and PaymentOptions.requestShipping is false
   3. One selected shippingOption and PaymentOptions.requestShipping is true
   4. Multiple selected shippingOptions and PaymentOptions.requestShipping is
      true.
2017-09-15 14:20:05 +08:00
Eden Chuang a15d19dc9d Bug 1398991 - Set PaymentRequest.ShippingOption only if options.requestShipping is true. r=baku
This patch implements the following changes according to the spec change.
See https://w3c.github.io/payment-request/#constructor step 8 for more
details.

1. Return TypeError during PaymentRequest construction with duplicate
   shippingOption id.
2. Set PaymentRequest.shippingOption with the selected shippingOption only
   if options.requestShipping is true.
2017-09-15 14:19:52 +08:00
Neerja Pancholi 62d822fcdd Bug 1381157 - Cache 'mContent->GetPrimaryFrame == this' with a flag on nsIFrame and replace these calls to GetPrimaryFrame. r=mats
MozReview-Commit-ID: 3VoxYlean52
2017-09-17 17:21:32 +02:00
Mats Palmgren 56af2e7716 Bug 1400623 - Add missing ClearOnShutdown.h #include. r=aosmond
MozReview-Commit-ID: 7AY4eGIOdv
2017-09-17 17:21:32 +02:00
Andrea Marchesini 4753d050bd Bug 1396848 - Iterating a Header object returns sorted and combined values, r=qdot 2017-09-17 11:18:20 +02:00
Robert Longson c9b20d2f73 Bug 1399942 - feTurbulence filter should only do nothing if baseFreq is zero in dx and dy r=dholbert
--HG--
rename : layout/reftests/svg/filters/feTurbulence-zero-baseFreq-ref.svg => layout/reftests/svg/filters/feTurbulence-zero-baseFreq-01-ref.svg
rename : layout/reftests/svg/filters/feTurbulence-zero-baseFreq.svg => layout/reftests/svg/filters/feTurbulence-zero-baseFreq-01.svg
2017-09-16 17:04:29 +01:00
Sebastian Hengst 3fce828be0 Bug 1399466 - Remove duplicate interface definition which caused bustage. r=bustage-fix on a CLOSED TREE 2017-09-16 17:50:42 +02:00
Sebastian Hengst 4c0d783c6f Backed out changeset 7822d49cfd59 (bug 1399466) for frequent leaks on Linux x64 debug (bug 1400132) and on Linux x64 asan (bug 1399117). r=backout 2017-09-16 17:28:15 +02:00
Jean-Yves Avenard 19ca46af01 Bug 1400614 - P2. Change string output content. r=gerald
Doesn't look as nice as I had hoped.

MozReview-Commit-ID: 6GAXsVKC2sQ

--HG--
extra : rebase_source : bc06616f22f08a6ae6d14dc2fb8b4b60448120f2
2017-09-17 09:56:38 +02:00
Jean-Yves Avenard 56de0134f7 Bug 1400614 - P1. Handle case where we have no video track. r=gerald
MozReview-Commit-ID: KcHMH3pOouc

--HG--
extra : rebase_source : 5b8135156a535ea75d13c2568123d242b79dd5cc
2017-09-17 00:57:17 +02:00
Sebastian Hengst cd8bab52c9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-16 11:39:27 +02:00
Sebastian Hengst 1d35d25f21 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1Wa3jV6n7Wj
2017-09-16 11:35:02 +02:00