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

617976 Коммитов

Автор SHA1 Сообщение Дата
Andrew Swan e27aba6a15 Bug 1496649 Make tresize a webextension r=mconley
This is a pretty straightforward conversion.  We deliberately continue
to use chrome: urls in this test since those are loaded in the parent
process so test measurements will not include additional noise from
IPC to a content process.

--HG--
rename : testing/talos/talos/tests/tresize/addon/bootstrap.js => testing/talos/talos/tests/tresize/addon/api.js
rename : testing/talos/talos/tests/tresize/tresize-test.html => testing/talos/talos/tests/tresize/addon/chrome/tresize-test.html
rename : testing/talos/talos/tests/tresize/addon/install.rdf => testing/talos/talos/tests/tresize/addon/manifest.json
extra : rebase_source : d5449086194225b737c70885881ac297d3c4ecb6
2018-10-05 21:30:08 -07:00
Andrew Swan d3d1bdee59 Bug 1496649 Use modern MozAfterPaint goodness in tresize r=mconley
Some new features were added to MozAfterPaint events in bugs 1264409 and
1264798 to allow tests to make more accurate measurements.  Updating
tresize to use these features is not directly related to the main goal
of this bug, but lets do it anyway while we're touching tresize...

--HG--
extra : rebase_source : ba966b0f22c1ceb7fa1a747e75b159a30997929f
2018-10-05 20:32:36 -07:00
Andrew Swan 38a8594965 Bug 1496649 Convert tresize to pageloader r=jmaher
The talos tresize test was originally written as a "startup" test which
is confusing since it doesn't measure anything that happens during
browser startup.  Convert it here to the "pageloader" style, which
mostly involves moving files around, also some changes to how the test
results are reported to the Talos framework.

--HG--
rename : testing/talos/talos/startup_test/tresize/addon/bootstrap.js => testing/talos/talos/tests/tresize/addon/bootstrap.js
rename : testing/talos/talos/startup_test/tresize/addon/chrome.manifest => testing/talos/talos/tests/tresize/addon/chrome.manifest
rename : testing/talos/talos/startup_test/tresize/addon/content/Profiler.js => testing/talos/talos/tests/tresize/addon/content/Profiler.js
rename : testing/talos/talos/startup_test/tresize/addon/content/framescript.js => testing/talos/talos/tests/tresize/addon/content/framescript.js
rename : testing/talos/talos/startup_test/tresize/addon/content/tresize.js => testing/talos/talos/tests/tresize/addon/content/tresize.js
rename : testing/talos/talos/startup_test/tresize/addon/install.rdf => testing/talos/talos/tests/tresize/addon/install.rdf
rename : testing/talos/talos/startup_test/tresize/addon/content/tresize-test.html => testing/talos/talos/tests/tresize/tresize-test.html
extra : rebase_source : a242750692e7449788cf58d620b24bffc53a32ff
2018-10-04 17:41:04 -07:00
Coroiu Cristina 9a1a60c7fb Backed out 7 changesets (bug 1494809) for build bustage at build/src/dom/canvas/WebGLTextureUpload.cpp on a CLOSED TREE
Backed out changeset 89e092c992ae (bug 1494809)
Backed out changeset 076aed819da6 (bug 1494809)
Backed out changeset 101b4c98aad8 (bug 1494809)
Backed out changeset a2612f006753 (bug 1494809)
Backed out changeset be2ec3c05d10 (bug 1494809)
Backed out changeset 6106836daf58 (bug 1494809)
Backed out changeset e98c2a51aa8f (bug 1494809)

--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html
2018-10-10 08:15:09 +03:00
Jeff Gilbert bed52d5fd7 Bug 1494809 - Fix python lint errors.
MozReview-Commit-ID: JxsmdNniqC4
2018-10-09 22:04:01 -07:00
Gurzau Raul fdf7e4364c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-10 07:43:59 +03:00
Jeff Gilbert 971fa9730f Bug 1494809 - Also remove now-useless #ifdef FOO\n#error.
Warnings should handle this for us.
2018-10-09 21:39:21 -07:00
Jeff Gilbert 8f0af9b333 Bug 1494809 - Mark test failures. 2018-10-09 21:39:19 -07:00
Jeff Gilbert 1e459429ff Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
The WG rejected this extension.


--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html
2018-10-09 21:39:17 -07:00
Jeff Gilbert f4f78de480 Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark 2018-10-09 21:39:16 -07:00
Jeff Gilbert 3cbaf8002c Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot 2018-10-09 21:39:14 -07:00
Jeff Gilbert 7284ee892d Bug 1494809 - Update gfx/gl/GLConsts.h. - r=kvark 2018-10-09 21:39:12 -07: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