Commit Graph

617950 Commits

Author SHA1 Message Date
Dorel Luca
92a3152cee Backed out 4 changesets (bug 1479037) on dev's request for causing android crashes. a=backout
Backed out changeset 85f8ca59f747 (bug 1479037)
Backed out changeset 630601f0663e (bug 1479037)
Backed out changeset c926c6470235 (bug 1479037)
Backed out changeset f8a20bd86895 (bug 1479037)
2018-10-10 18:52:59 +03:00
Daniel Varga
26f16f3b09 Merge autoland to mozilla-central. a=merge 2018-10-10 13:52:23 +03:00
Dorel Luca
65f9687eb1 Backed out 4 changesets (bug 1470280) for browser-chrome failure in layout/xul/test/browser_bug703210.js. a=backout
Backed out changeset 72e7ef77480d (bug 1470280)
Backed out changeset 403c3d0daf6a (bug 1470280)
Backed out changeset fe7ccd9fee76 (bug 1470280)
Backed out changeset 60699c2387f6 (bug 1470280)
2018-10-10 10:00:19 +03:00
Dorel Luca
c5bc5672ed Backed out 4 changesets (bug 1314057) for devtool failures. a=backout
Backed out changeset f46426835026 (bug 1314057)
Backed out changeset 90480b4b4c43 (bug 1314057)
Backed out changeset fa0d46e77437 (bug 1314057)
Backed out changeset 241f876d557f (bug 1314057)

--HG--
rename : devtools/client/shared/test/addon1.xpi => devtools/client/debugger/test/mochitest/addon1.xpi
rename : devtools/client/shared/test/addon2.xpi => devtools/client/debugger/test/mochitest/addon2.xpi
rename : devtools/client/debugger/new/test/mochitest/browser_dbg_global-method-override.js => devtools/client/debugger/test/mochitest/browser_dbg_global-method-override.js
rename : devtools/client/shared/test/browser_dbg_globalactor.js => devtools/client/debugger/test/mochitest/browser_dbg_globalactor.js
rename : devtools/client/shared/test/browser_dbg_listaddons.js => devtools/client/debugger/test/mochitest/browser_dbg_listaddons.js
rename : devtools/client/shared/test/browser_dbg_listtabs-01.js => devtools/client/debugger/test/mochitest/browser_dbg_listtabs-01.js
rename : devtools/client/shared/test/browser_dbg_listtabs-02.js => devtools/client/debugger/test/mochitest/browser_dbg_listtabs-02.js
rename : devtools/client/shared/test/browser_dbg_listtabs-03.js => devtools/client/debugger/test/mochitest/browser_dbg_listtabs-03.js
rename : devtools/client/shared/test/browser_dbg_multiple-windows.js => devtools/client/debugger/test/mochitest/browser_dbg_multiple-windows.js
rename : devtools/client/shared/test/browser_dbg_navigation.js => devtools/client/debugger/test/mochitest/browser_dbg_navigation.js
rename : devtools/client/shared/test/browser_dbg_target-scoped-actor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/shared/test/browser_dbg_target-scoped-actor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
rename : devtools/client/debugger/new/test/mochitest/examples/doc_global-method-override.html => devtools/client/debugger/test/mochitest/doc_global-method-override.html
2018-10-10 09:16:11 +03:00
Gurzau Raul
fa37566219 Merge inbound to mozilla-central. a=merge 2018-10-10 07:35:14 +03:00
Bogdan Tara
59490ec86c Backed out changeset 8f0aa4187619 (bug 1458538) for idlharness.window.html failures CLOSED TREE 2018-10-10 03:54:42 +03:00
Kris Maglione
c0ccca38cd Bug 1455637: Use RefPtr rather than nsCOMPtr to avoid data race. r=mccr8
getter_AddRefs for nsCOMPtr does an AssertNoQueryNeeded check when its
temporary is destroyed. For the mReaderThread, this happens at a time when
control of the member variable has been handed over to the reader thread,
which causes a data race in the query needed check when the reader thread
shuts itself down and clears the member.

Switching to RefPtr solves this problem by removing the unnecessary check.

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

--HG--
extra : rebase_source : 0532d152b6be57451e5729bf6b72e2056f3ed300
2018-10-09 13:22:28 -07:00
Bumsik Kim
e87cd4b5b5 Bug 1458538 - Add pause and resume events for MediaRecorder. r=bzbarsky
Summary:
This resolves the two problems of MediaRecorder:

1. MediaRecorder does not fire pause/resume events when the corresponding methods are called, as mentioned in D7910.
2. The WebIDL for MediaRecorder does not specify onpause/onresume event handler attributes neither.

DispatchSimpleEvent() is used because there are no event attributes needed.

Test Plan: The MediaRecorderTest.html attached in the bug report will be enough to test if the events work well as intended.

Reviewers: jya, bzbarsky

Reviewed By: jya, bzbarsky

Bug #: 1458538

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

--HG--
extra : rebase_source : d010d5889a5395da0abbabb7067e8de516fc64f1
extra : histedit_source : 583e34b4990345bea28a7710b2e68fab4c32c233
2018-10-10 02:16:32 +03:00
Eric Faust
b54f88b82c Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/ (r=jorendorff)
--HG--
extra : rebase_source : 3f1e7542a152a6992aa6ae7a5f24bd9442e3d21c
2018-10-09 15:41:50 -07:00
Eric Faust
f6e1f3d183 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/heap-analysis/ (r=jorendorff)
--HG--
extra : rebase_source : 84762df0b7e78462c85f0957abbbbe7a38c751fd
2018-10-09 15:41:50 -07:00
Eric Faust
ea0de15acf Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/xdr/ (r=jorendorff)
--HG--
extra : rebase_source : cb56a482a9d9bd2378deeac7285c8fc622d0a35b
2018-10-09 15:41:50 -07:00
Eric Faust
ed69df1491 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/regexp_parse/ (r=jorendorff)
--HG--
extra : rebase_source : 8ab3b2e745c2d9431bcd15582b6d8f54e8fb5c16
2018-10-09 15:41:50 -07:00
Eric Faust
287a92b60b Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/modules/ (r=jorendorff)
--HG--
extra : rebase_source : 3b3f3d1218de88ec7d14d4c10050cfca17a29612
2018-10-09 15:41:50 -07:00
Eric Faust
87596d9174 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/profiler/ (r=jorendorff)
--HG--
extra : rebase_source : 7326c9a30355b71d3092689825ad6d43df1b6283
2018-10-09 15:41:50 -07:00
Eric Faust
4455133024 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/parser/ (r=jorendorff)
--HG--
extra : rebase_source : 20f4b0a631045c586f295c0c18566544cef4e6dd
2018-10-09 15:41:50 -07:00
Eric Faust
cc1242c4e4 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/sharedbuf/ (r=jorendorff)
--HG--
extra : rebase_source : 781d8ba9f8b2327864b05ded53bf60cf857ec47a
2018-10-09 15:41:50 -07:00
Eric Faust
188d5bdfff Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/saved-stacks/ (r=jorendorff)
--HG--
extra : rebase_source : 312ae833959e6413b9f538f28f4d7d5059ae679b
2018-10-09 15:41:50 -07:00
Eric Faust
379d35e422 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/realms/ (r=jornedorff)
--HG--
extra : rebase_source : 33c9b22e22c2e9dcfd5a296866751e78910a1884
2018-10-09 15:41:50 -07:00
Eric Faust
56bd46acd3 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/atomics/ (r=jorendorff)
--HG--
extra : rebase_source : 10fc22c2ba4393fae409f21282f69f97dd531f4b
2018-10-09 15:41:50 -07:00
Eric Faust
2e24ea5a68 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/latin1/ (r=jorendorff)
--HG--
extra : rebase_source : 14484ca87bac0b38a457eaffd9a859404ca8d8b9
2018-10-09 15:41:50 -07:00
Eric Faust
5041ed1832 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/regexp/ (r=jorendorff)
--HG--
extra : rebase_source : cb9f3b98675bebe13bfe63ffcfb46242b2b6db6a
2018-10-09 15:41:50 -07:00
Eric Faust
9b5799d71d Bug 1496297 - Use |jit-test| skip-if as appropriate in jite-test/tests/asm.js/ (r=jorendorff)
--HG--
extra : rebase_source : 37bcf51887661cba3f4420725136a2d26b84cdef
2018-10-09 15:41:50 -07:00
Eric Faust
194774ad5e Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/auto-regress/ (r=jorendorff)
--HG--
extra : rebase_source : 9df19f2134e23a4c549996e0abc0687b291532ad
2018-10-09 15:41:50 -07:00
Eric Faust
b185498dc4 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/baseline/ (r=jorendorff)
--HG--
extra : rebase_source : 9822a2e5ce4f8b0bff43fd699cd2ceac4aea19e7
2018-10-09 15:41:50 -07:00
Eric Faust
47ba62db37 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/debug/ (r=jorendorff)
--HG--
extra : rebase_source : 15d1d6d4642a701e61bf89871a6dd838cc881f7b
2018-10-09 15:41:50 -07:00
Eric Faust
fb1d4dcb44 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/gc/ (r=jorendorff)
--HG--
extra : rebase_source : 8ea986572532e6810404b997e8485ec0b47f151a
2018-10-09 15:41:50 -07:00
Eric Faust
2f7ab92902 Bug 1496297 - Use |jit-test| skip-if as appropriate to jit-test/tests/wasm/ (r=jorendorff)
--HG--
extra : rebase_source : ac68c742097f302ed39c81b518fced3e2c0de366
2018-10-09 15:41:50 -07:00
Eric Faust
31e5f2c26d Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/ion/ (r=jorendorff)
--HG--
extra : rebase_source : 862c2f56356e4a2356cd9fca414c06cd08e84c4e
2018-10-09 15:41:50 -07:00
Eric Faust
11056ec1ea Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/basic/ (r=jorendorff)
--HG--
extra : rebase_source : ba3a1186572935b06dedf780648d35f83f0cdb30
2018-10-09 15:41:50 -07:00
Eric Faust
d9e955cc7f Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/TypedObject/ (r=jorendorff)
--HG--
extra : rebase_source : 218ff68b96d43d8589e70491812ceb9c3d054817
2018-10-09 15:41:50 -07:00
Eric Faust
f3451fd69f Bug 1496297 - Implement skip-if in jit-tests. (r=jorendorff)
--HG--
extra : rebase_source : 148341496c5b72dff22f42ff9e8ba3f34deab7c4
2018-10-09 15:41:50 -07:00
Masayuki Nakano
5c218126a7 Bug 1497221 - Fix warnings in nsNativeThemeWin.cpp when built with clang r=jmathies
nsNativeThemeWin.cpp has a lot of warnings at build time.  They hides preceding
errors and warning due to too many.  This patch avoids the warnings with:

- adding |default| case of each |switch| statement with widget type.
- removing unused overload of ScaleForFrameDPI().

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

--HG--
extra : moz-landing-system : lando
2018-10-09 17:01:19 +00:00
Emilio Cobos Álvarez
5c40ac23c9 Bug 1496014 - Fix shape-outside invalidation. r=dbaron
It's not really invalidated anywhere, and the float manager code only checks for
float region changes. Extend it so that it knows about shapes as well, and avoid
reframing due to a bogus nsChangeHint_ScrollbarChange which really meant to be
UpdateOverflow, which really is useless in this situation..

Differential Revision: https://phabricator.services.mozilla.com/D7583
2018-10-10 01:33:17 +02:00
Jean-Yves Avenard
0fcc0bd516 Bug 1496529 - P10. Add to libvpx decoder low latency mode. r=bryce
Depends on D7909

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

--HG--
extra : moz-landing-system : lando
2018-10-09 22:59:47 +00:00
Jean-Yves Avenard
a6e92bb58d Bug 1496529 - P9. Enable low latency decoding on Windows. r=bryce
Depends on D7908

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

--HG--
extra : moz-landing-system : lando
2018-10-09 16:59:32 +00:00
Jean-Yves Avenard
ab78780c77 Bug 1496529 - P8. Add media.navigator.mediadatadecoder_h264_enabled preference. r=drno
For now, the H264 decoding support is rather sturdy. It handles change of resolution and content smoothly thanks to the H264Converter.
The VP8/VP9 one however, not so much.

So we make a preference to only enable H264 for now.

Depends on D7895

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

--HG--
extra : moz-landing-system : lando
2018-10-09 20:36:18 +00:00
Jean-Yves Avenard
2349b2eb93 Bug 1496529 - P7. Pass full range of CreateDecoderParam::Option to RemoteVideoDecoder r=bryce
Depends on D7882

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

--HG--
extra : moz-landing-system : lando
2018-10-09 16:59:24 +00:00
Jean-Yves Avenard
38ff84370c Bug 1496529 - P6. Always run EMEDecryptor on the decoder's taskqueue. r=bryce
P2 changed the way the H264Converter would be calling the decoder. The assumption in the EMEDecryptor was pretty incorrect to start with.

Depends on D7865

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

--HG--
extra : moz-landing-system : lando
2018-10-09 22:58:05 +00:00
Jean-Yves Avenard
26ace1a1c9 Bug 1496529 - P5. Don't unnecessarily wait on decoder to shutdown r=bryce
Depends on D7864

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

--HG--
extra : moz-landing-system : lando
2018-10-09 16:59:14 +00:00
Jean-Yves Avenard
2ae449a166 Bug 1496529 - P4. Remove unnecessary code. r=bryce
TaskQueue no longer requires explicit shutdown

Depends on D7862

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

--HG--
extra : moz-landing-system : lando
2018-10-09 16:59:12 +00:00
Jean-Yves Avenard
e9c79b802d Bug 1496529 - P3. Make the Apple H264 decoder provide 0 latency option. r=bryce
When used with the LowLatency option, we guarantee that the stream will contain no B-frame, as such we can reduce the re-ordering queue to zero. The apple VT decoder already returns frames in decode order making this change trivial.

Depends on D7861

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

--HG--
extra : moz-landing-system : lando
2018-10-09 16:59:05 +00:00
Jean-Yves Avenard
523200b148 Bug 1496529 - P2. Make H264Converter use provided decoder's TaskQueue. r=bryce
The H264Converter can be used on a thread that isn't a nsThread or a TaskQueue, so having the H264Converter dispatching tasks isn't going to work

So instead we run all the code on the decoder's taskqueue using promise chaining.
All internal methods are made to assert that they are running on the task queue accordingly

Depends on D7860

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

--HG--
extra : moz-landing-system : lando
2018-10-09 23:05:40 +00:00
Emilio Cobos Álvarez
ddbbaf6156 Bug 1497059 - Bail out on empty dtRect. r=mstange
I thought it was going to be trivial to add a test-case for this with a scale
transform and such, but I haven't been able to.

This restores the wallpaper that there was before my change.

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

--HG--
extra : moz-landing-system : lando
2018-10-09 23:09:39 +00:00
Kartikaya Gupta
a3f94d89fc Bug 1497676 - Drop defunct MOZ_B2G ifdef. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D8148

--HG--
extra : moz-landing-system : lando
2018-10-09 21:11:56 +00:00
Daniel Holbert
12fe521b72 Bug 1495470: Only let 'contain:layout/paint' create stacking contexts on frames that support it. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D7926

--HG--
extra : moz-landing-system : lando
2018-10-09 21:04:03 +00:00
tanhengyeow
fd2da88b97 Bug 1437435 - Added isBase64, isEmpty method, cleaned up typos and format of comments. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D6148

--HG--
extra : moz-landing-system : lando
2018-10-09 15:56:18 +00:00
Haik Aftandilian
206f542c37 Bug 1479051 - [macOS 10.14] WebRTC sites silently fail if user previously clicked "Don't Allow" for Firefox camera/mic access r=johannh
Check if we have permission from the OS to access the camera and microphone after the user has granted access to a site.

If permission is denied at the OS level, but granted to the site within Firefox, return NotFoundError.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 08:28:41 +00:00
Mark Banner
5a64fcf173 Bug 1496743 - Stop logging telemetry when pressing enter on the one-off search settings button in the urlbar. r=adw
Also add tests for the search settings button in the urlbar.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 07:21:23 +00:00
Jean-Yves Avenard
aace4e2e6a Bug 1496758 - Fix few compilation warnings in ipc code. r=handyman,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D7918

--HG--
extra : moz-landing-system : lando
2018-10-10 04:31:35 +00:00
divyansh
7be9458f5f Bug 1487332 - Re-sorted the header files of .cpp/.h telemetry files. r=Dexter
Bug 1487332 -  Re-sorted the header files of .cpp/.h telemetry files.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 04:55:10 +00:00