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

90322 Коммитов

Автор SHA1 Сообщение Дата
Dan Minor cfd00a144e Bug 1578073 - Use updated camera capture code; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61861

--HG--
extra : moz-landing-system : lando
2020-02-11 17:08:15 +00:00
Dan Minor 673de7df86 Bug 1578073 - Use CameraEnumerator in createDeviceList; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61858

--HG--
extra : moz-landing-system : lando
2020-02-11 17:07:00 +00:00
Dan Minor 5690794a0f Bug 1578073 - Fix include paths for android video capture; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61857

--HG--
extra : moz-landing-system : lando
2020-02-11 17:06:37 +00:00
Dan Minor 3365bef70f Bug 1578073 - Add android_video_capture to moz.build; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61853

--HG--
extra : moz-landing-system : lando
2020-02-11 17:04:29 +00:00
Dan Minor 8d69b72363 Bug 1578073 - Move android video capture code to dom/media/systemservices; r=jib
Although originally part of webrtc.org, this code has subsequently been
removed by upstream. Moving it to under dom/media should make it clearer that
this is code that we are maintaining and simplify future upstream merges.

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

--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc => dom/media/systemservices/android_video_capture/device_info_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h => dom/media/systemservices/android_video_capture/device_info_android.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc => dom/media/systemservices/android_video_capture/video_capture_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h => dom/media/systemservices/android_video_capture/video_capture_android.h
extra : moz-landing-system : lando
2020-02-11 17:03:13 +00:00
Mirko Brodesser 79b875cc33 Bug 1615226: avoid heap allocating `ContentSubtreeIterator` in `RangeSubtreeIterator`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62716

--HG--
extra : moz-landing-system : lando
2020-02-13 13:36:11 +00:00
Csoregi Natalia b5e04bbb01 Backed out changeset fb7235b2a1b3 (bug 1603484) for permafailing on shared-worker-import-data-url.any.html. CLOSED TREE 2020-02-13 15:46:32 +02:00
Masatoshi Kimura aedbf36959 Bug 1614814 - Stop using fopen in ipc/chromium/src/base/process_util.h on Windows. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D62507

--HG--
extra : moz-landing-system : lando
2020-02-13 12:35:40 +00:00
Emilio Cobos Álvarez 112e6c2c9e Bug 1615234 - Make the lazyload pref actually be honored. r=hiro
Right now it only controls the visibility of HTMLImageElement.loading.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 11:03:12 +00:00
Csoregi Natalia ff0444bf80 Backed out 3 changesets (bug 1604140) for multiple failures. CLOSED TREE
Backed out changeset 59fc63dfa309 (bug 1604140)
Backed out changeset cc54269377f2 (bug 1604140)
Backed out changeset 8897a2187a95 (bug 1604140)
2020-02-13 11:55:36 +02:00
Andrea Marchesini 86fbe8d9d8 Bug 1613909 - Enable SharedArrayBuffer and wasm for broadcastChannel tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62612

--HG--
extra : moz-landing-system : lando
2020-02-13 01:26:42 +00:00
Edgar Chen c654633e4e Bug 1604140 - Part 3: Add test for focus tabbing through scrollable shadow host; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61945

--HG--
extra : moz-landing-system : lando
2020-02-13 00:20:08 +00:00
Edgar Chen 9920e01420 Bug 1604140 - Part 2: Should skip the shadow host we started on in frame traversal; r=smaug
The original check, `currentContent != startContent`, is to skip the element we started on in frame traversal.
This would happen for instance on a scrollable element, where frame traversal could return the element again.

However, in shadow dom case, the frame traversal may start on a redirected shadow host, where `startContent` is still the original start element.

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

--HG--
rename : testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero.html => testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-scrollable.html
extra : moz-landing-system : lando
2020-02-13 00:16:47 +00:00
Edgar Chen 82c858242e Bug 1604140 - Part 1: Fix focus trap within shadow DOM when host is scrollable; r=smaug
The checks for `*TopLevelScopeOwner` are to skip the scope that we have already checked.
But when the shadow host is scrollable, we will traverse anonymous children for the scroll frame first in frame traversal and `oldTopLevelScopeOwner` will be reset.
Then we don't realize that we have already checked the host's scope.

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

--HG--
rename : testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-not-set.html => testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-not-set-scrollable.html
extra : moz-landing-system : lando
2020-02-07 14:38:46 +00:00
Hiroyuki Ikezoe bd45d3d3af Bug 1613294 - Drop IntersectionObserver.callback. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62678

--HG--
extra : moz-landing-system : lando
2020-02-13 02:43:25 +00:00
Paul Bone 983fef7556 Bug 1603006 - Ignore allowLinkedWebInFile when documentChannel is enabled r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D56832

--HG--
extra : moz-landing-system : lando
2020-02-12 23:56:01 +00:00
Karl Tomlinson b7633dada4 Bug 1614551 Allow an unreferenced closed AudioContext to be garbage collected r=padenot
Depends on D62521

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

--HG--
extra : moz-landing-system : lando
2020-02-12 14:40:30 +00:00
Karl Tomlinson 802d8b8b21 Bug 1614551 Add test for GC of closed AudioContext r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D62521

--HG--
extra : moz-landing-system : lando
2020-02-12 14:30:35 +00:00
Karl Tomlinson d8b56164b2 Bug 1614551 Allow an unreferenced suspended AudioContext to be garbage collected r=padenot
Depends on D62517

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

--HG--
extra : moz-landing-system : lando
2020-02-12 14:30:33 +00:00
Karl Tomlinson 665f67f2c5 Bug 1614551 Add test for GC of suspended AudioContext r=padenot
Depends on D62516

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

--HG--
extra : moz-landing-system : lando
2020-02-12 14:30:26 +00:00
Karl Tomlinson 1b07ed625f Bug 1614551 Add some tests for AudioContext GC r=padenot
Depends on D62515

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

--HG--
rename : dom/media/webaudio/test/test_ScriptProcessorCollected1.html => dom/media/webaudio/test/test_audioContextGC.html
extra : moz-landing-system : lando
2020-02-12 14:30:24 +00:00
Matthew Gregan 07f5f0bc92 Bug 1614547 - Ensure AudioIPC client threads call PROFILER_UNREGISTER_THREAD. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62402

--HG--
extra : moz-landing-system : lando
2020-02-12 22:20:11 +00:00
Matthew Gregan 63b801f787 Bug 1614533 - Generate AudioIPC FFI bindings with cbindgen. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62388

--HG--
extra : moz-landing-system : lando
2020-02-12 22:15:39 +00:00
Hiroyuki Ikezoe 8398acfafe Bug 1542784 - Implement lazy loading for images. r=emilio,hsivonen
Though with this initial implementation, we do create an IntersectionObserver
only for the root document in each processes, once we found issues on this
model, we can create an IntersectionObserver in each _document_.

Depends on D61437

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:31:48 +00:00
Hiroyuki Ikezoe c7a330c3a1 Bug 1542784 - Use nsIRequest::LOAD_BACKGROUND for lazy-load image elements. r=hsivonen
Depends on D61436

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:32 +00:00
Hiroyuki Ikezoe 878e272a90 Bug 1542784 - Make DOMIntersectionObserver::mCallback Variant. r=emilio,bzbarsky
So that it can accept a callback function implemented in C++ for lazy-loading.

Depends on D61435

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:19 +00:00
Karl Tomlinson ee6d3bcf1b Bug 1221889 suspend new tracks created after AudioContext.close() r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D62515

--HG--
extra : moz-landing-system : lando
2020-02-12 14:14:46 +00:00
Emilio Cobos Álvarez 9003451702 Bug 1614224 - Fix <dialog> focus wrap-around, and add tests for it. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62490

--HG--
extra : moz-landing-system : lando
2020-02-12 18:10:22 +00:00
Simon Giesecke a6716c2b92 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/credentialmanagement. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D62575

--HG--
extra : moz-landing-system : lando
2020-02-12 16:35:33 +00:00
Perry Jiang fe050e8bb2 Bug 1603484 - worker script evaluation resulting in abrupt completion shouldn't be a start failure r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D62371

--HG--
extra : moz-landing-system : lando
2020-02-12 18:20:02 +00:00
shindli 91aa0518dd Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE 2020-02-12 20:13:29 +02:00
Boris Zbarsky a8af57b293 Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot
The change to throw NotSupportedError in AudioContext::CreateBuffer is
purposeful, to align with the spec and Chrome.  There's apparently no web
platform test coverage for this, but we'll work on converting our test to a WPT.

The change to AudioContext::Close is fixing what looks like an obvious bug to
me (it _resolved_ a Promise<void> with a DOMException!).  No obvious test coverage; https://bugzilla.mozilla.org/show_bug.cgi?id=1614960 tracks adding some.

The change to throw RangeError in OscillatorNode::Start is purposeful, to align
wih the spec and Chrome.  Again, there's apparently no test coverage.

The change to throw RangeError in OscillatorNode::Stop is purposeful, to align
wih the spec and Chrome.  Again, there's apparently no test coverage.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 17:59:41 +00:00
Boris Zbarsky c798ed8038 Bug 1614038 part 1. Fix ChannelSplitterNode to follow the spec for its setters. r=padenot
This is based on looking at what the actual spec constraints around the
channelCount, channelCountMode, and channelInterpretation setters are and on
testing Chrome's behavior: the setters _can_ be called as long as you do it with
the current value.  That said, the spec sure could use being clearer here; the
style it's using is pretty hard to follow, unfortunately.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 15:38:02 +00:00
Nika Layzell af2907c91d Bug 1613527 - Stop using mUpdateNestLevel for MaybeInitializeFinalizeFrameLoaders, r=smaug
This has been tightly coupled with script blockers, which are already being
used, for a while. This simplifies the situation, and avoids issues which can
occur when the script blocker for a document update has yet to be removed, but a
scriptrunner has.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 20:41:39 +00:00
Simon Giesecke f604a47fa5 Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Andrea Marchesini acbbf5b903 Bug 1614899 - Support WASM + SAB in AudioWorkletNode processOptions, r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D62598

--HG--
extra : moz-landing-system : lando
2020-02-12 16:16:23 +00:00
Daosheng Mu 568789dad6 Bug 1606562 - Fixes XInput thumb value ranges. r=jmathies
sThumbXXX in XInput is a short and its value range is between -32768 and 32767.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 02:16:13 +00:00
Sebastian Streich ac5daf49e7 Bug 1594766: Respect Nosniff header for empty content-types r=ckerschb
Backed out changeset 35436d4e7917

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

--HG--
extra : moz-landing-system : lando
2020-02-12 16:20:46 +00:00
Sebastian Streich 0c4f11b187 Bug 1608862 : refactor GetURI usage in BlobURLProtocolHandler.cpp r=ckerschb
***
 Add get Prepath

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

--HG--
extra : moz-landing-system : lando
2020-02-12 16:13:19 +00:00
Mirko Brodesser ea1f257885 Bug 1614636: simplify arguments of `nsFrameSelection::HandleClick`. r=jfkthame
Simplifies understanding its dependent methods.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 15:12:26 +00:00
Simon Giesecke a8e5e0222e Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/crypto. r=smaug
Depends on D62572

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

--HG--
extra : moz-landing-system : lando
2020-02-12 13:25:38 +00:00
Simon Giesecke 321844c42a Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/commandhandler. r=smaug
Depends on D62571

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

--HG--
extra : moz-landing-system : lando
2020-02-12 13:25:57 +00:00
Alex Chronopoulos 0750ac20f6 Bug 1611439 - Stop AsyncLogger before aborting the audio session. r=padenot
AsyncLogger creates a thread that the log messages are pushed and printed. This thread was not stopped and joined after it was used, which created a shutdown crash. This patch will stop the AsyncLogger thread when the capture session has finished.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 14:02:08 +00:00
Mirko Brodesser b257e520ee Bug 1613378: part 10) Declare some table/Selection related method arguments const. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62258

--HG--
extra : moz-landing-system : lando
2020-02-12 12:27:39 +00:00
Mirko Brodesser 36437a9d2d Bug 1613378: part 9) Clarify dependency to `mFrameSelection` in `Selection` when adding/removing ranges. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62198

--HG--
extra : moz-landing-system : lando
2020-02-12 12:27:32 +00:00
Tom Schuster 9121200eb8 Bug 1614359 - Remove explicit initialization from Headers in Headers constructor. r=Ehsan
The Web IDL type for HeadersInit didn't match the definition in http://fetch.spec.whatwg.org/#headers-class.
The headers-basic tests makes it clear that this difference is observable.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 22:25:58 +00:00
Jan-Ivar Bruaroey a2d0d9cf34 Bug 1613769 - Don't fire iceconnectionstatechange or signalingstatechange after pc.close() r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D61932

--HG--
extra : moz-landing-system : lando
2020-02-07 16:42:02 +00:00
Simon Giesecke 0cc72577b5 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/workers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D62562

--HG--
extra : moz-landing-system : lando
2020-02-12 10:38:22 +00:00
Simon Giesecke 3d3a547551 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/filehandle. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D62561

--HG--
extra : moz-landing-system : lando
2020-02-12 10:34:43 +00:00
Simon Giesecke 7ca58631a4 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/storage. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D62560

--HG--
extra : moz-landing-system : lando
2020-02-12 10:33:31 +00:00