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

91232 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 7e00a110ab Bug 1622900 - <input> text node children don't affect the directionality of the input. r=smaug
This was causing inconsistent directionality depending on the order of changes
between text content and input value.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 21:07:33 +00:00
Dzmitry Malyshau 80b79d4414 Bug 1622846 - WebGPU bindings update to the spec r=jgilbert,webidl,smaug
Updates `wgpu` code as well as our WebIDL bindings.

The `wgpu-types` is a new component crate that has public types available to
Rust applications that target the Web directly.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 21:32:37 +00:00
Noemi Erli 744bc34135 Backed out changeset 4c6b9209306d (bug 1507287) for causing geckoview failures CLOSED TREE 2020-03-16 23:23:09 +02:00
Noemi Erli f10f67e74c Backed out changeset 21f62488a5b5 (bug 1620242) for causing bustages in nsMixedContentBlocker.cpp CLOSED TREE 2020-03-16 23:11:00 +02:00
JulianWels c2c4e65115 Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62590

--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-16 16:47:54 +00:00
Gerald Squelart bc32add109 Bug 1622179 - Replace direct dependencies on BlocksRingBuffer with ProfileBufferEntryWriter's where possible - r=canaltinova
This removes most dependencies on BlocksRingBuffer, to ease the transition to
the upcoming Fission-friendly profile buffer, including:
- Length type,
- SumBytes(),
- Gecko extensions of serialization.

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

--HG--
rename : tools/profiler/public/BlocksRingBufferGeckoExtensions.h => tools/profiler/public/ProfileBufferEntrySerializationGeckoExtensions.h
extra : moz-landing-system : lando
2020-03-16 20:32:35 +00:00
Alphan Chen a9d46bba49 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-16 18:33:32 +00:00
Mihai Alexandru Michis 58bc354025 Backed out changeset 9eeee9ec66d9 (bug 253870) for causing failures in browser_bug1261299.js
CLOSED TREE
2020-03-16 22:32:41 +02:00
Mihai Alexandru Michis 2b06d42785 Backed out changeset b92e26454745 (bug 1622124) for causing failures in test_broadcastchannel_close2.html
CLOSED TREE
2020-03-16 21:44:27 +02:00
Dana Keeler 52ebda3e05 bug 1024871 - stop importing certificates when navigated to r=kjacobs,jld
Before this patch, PSM would register content type handlers to handle certain
certificate types. This was an easy way to install a client certificate after
generating a key with <keygen>, but keygen has been removed. This was also an
easy way to install root certificates, but that's actually a considerable
security risk. We kept this functionality for so long because it was the only
way to add a 3rd-party root certificate to Fennec's certificate store. Now that
Fennec is EOL, we can remove it. (Fenix will need a way to trust 3rd party root
certificates, but the path forward there is to implement the enterprise roots
feature for Android.)

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

--HG--
extra : moz-landing-system : lando
2020-03-16 18:50:35 +00:00
Jan-Ivar Bruaroey 0df31903ed Bug 1620844 - Fix operations chain to withstand recursion by negotiationneeded. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D65980

--HG--
extra : moz-landing-system : lando
2020-03-16 18:17:27 +00:00
Emilio Cobos Álvarez 9f28f89085 Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ
This rejiggers a bit the way selection focus is handled so that focusing a
disabled form control with the mouse handles selection properly, and hides the
document selection and so on.

This matches the behavior of other browsers as far as I can tell.

Given now readonly and disabled editors behave the same, we can simplify a bit
the surrounding editor code.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 17:41:07 +00:00
Andrea Marchesini 321d68a5a5 Bug 1622124 - BroadcastChannel receives messages in onmessage after channel has been closed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66944

--HG--
extra : moz-landing-system : lando
2020-03-16 17:17:13 +00:00
Chris Martin a228b3b0d4 Bug 1540776 - Add sync IPC message for content to request color profile r=aosmond,jld
For Win32k lockdown, we need to remove the content processes' ability to
call GetICMProfileW(). Since it needs this to retrieve the output color
profile, a new synchronous call is added that allows it to request the
parent process to read this file on its behalf.

The contents of the file are now being cached as well, as this should help
ease some of the increased parent process I/O caused by the children not
being able to do this in their process anymore.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 16:31:51 +00:00
Bogdan Tara 8e9e931317 Backed out changeset 43843f5a7d32 (bug 1622124) for permafails on webmessaging/broadcastchannel/basics.html CLOSED TREE 2020-03-16 18:44:59 +02:00
Emilio Cobos Álvarez a490bfb50c Bug 1620778 - Fix interaction of up/down keys with autocomplete and <input type=number>. r=masayuki,smaug
Differential Revision: https://phabricator.services.mozilla.com/D66011

--HG--
extra : moz-landing-system : lando
2020-03-16 15:50:31 +00:00
James Willcox 257fd28a5f Bug 1621476 - Disable WebAuthn on GeckoView r=jcj,smaug
We'll enable it once it's actually supported.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 15:29:52 +00:00
Kartikaya Gupta e0866e73e4 Bug 1622445 - Don't cache the SVGGeometryElement's Path with OMTP rendering. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D66955

--HG--
extra : moz-landing-system : lando
2020-03-16 15:15:40 +00:00
adroitwhiz ec26b3fc27 Bug 1567544 - set composite op in DrawDirectlyToCanvas r=jrmuizel
When drawing an SVG image onto a `CanvasRenderingContext2D`, a different code path is taken which calls `DrawDirectlyToCanvas`. Previously, that function always used the default composite operation when drawing. Now it will use the canvas context's current `globalCompositeOperation`.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 13:42:06 +00:00
Andrea Marchesini b846f4be70 Bug 1622124 - BroadcastChannel receives messages in onmessage after channel has been closed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66944

--HG--
extra : moz-landing-system : lando
2020-03-16 11:57:47 +00:00
Alex Chronopoulos d4de5d58cf Bug 1617915 - Create unit tests to verify that MTG sets the expected device id. r=padenot
Create gtests to verify that the device id provided to the constructor of MTG will be the one used by cubeb as output device id. In addition to that, verify that using a different device id will result in creating/getting a different MTG instance.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 12:57:06 +00:00
Alex Chronopoulos 32d51dd4b0 Bug 1617915 - Enhance MockCubeb to support using it in MediaTrackGraph unit tests. r=padenot
MockCubeb simulates the behavior of libcubeb and allows us to exercise media Gecko code from gtests. Some enhancements have been made to make it usable for exercising the MTG.

* Define the `get_max_channel_count` method.
* Define a mock cubeb_stream class that allow to handle many streams with the same (mock) cubeb context.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 12:56:38 +00:00
Alex Chronopoulos 9fb4eecd46 Bug 1617915 - Expose output device id when MediaTrackGraph is created. r=padenot
In order to be able to change the audio output device, the device id is exposed to the constructor of MediaStreamGraph. Any component that gets/creates an MTG will be able to provide the device id in order to determine the desired output device. If the provided device id is null the default device will be used.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 12:56:20 +00:00
Marco Bonardo 2dc20c6432 Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66269

--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
Simon Giesecke b0852dd36d Bug 1617170 - Pull up parts of FileManager that are used by FileInfo into FileManagerBase. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65115

--HG--
extra : moz-landing-system : lando
2020-03-16 09:50:38 +00:00
Simon Giesecke cbe93e61b5 Bug 1617170 - Make AsyncDeleteFile a member function of FileManager. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65114

--HG--
extra : moz-landing-system : lando
2020-03-16 09:49:47 +00:00
Simon Giesecke 41aad46d13 Bug 1617170 - Get rid of CustomCleanupCallback and replace by call into FileManager. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64345

--HG--
extra : moz-landing-system : lando
2020-03-16 09:48:46 +00:00
Simon Giesecke 4ee6a1b89b Bug 1617170 - Make GetFileForFileInfo a non-static member function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64344

--HG--
extra : moz-landing-system : lando
2020-03-16 09:48:02 +00:00
Ciure Andrei 032b6f7c89 Backed out 2 changesets (bug 1620778) for causing test_autocomplete_mac_caret.xhtml failures
Backed out changeset 66f97d1cf94a (bug 1620778)
Backed out changeset eda75d901f4c (bug 1620778)
2020-03-15 16:04:36 +02:00
Emilio Cobos Álvarez 749ef068e9 Bug 1620778 - Fix interaction of up/down keys with autocomplete and <input type=number>. r=masayuki,smaug
Differential Revision: https://phabricator.services.mozilla.com/D66011

--HG--
extra : moz-landing-system : lando
2020-03-15 12:11:09 +00:00
Zibi Braniecki 3f8c67d7fd Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Christoph Kerschbaumer af63b804a6 Bug 1508292: Implement Sec-Fetch-*. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D66283

--HG--
extra : source : a0508ae6c037928981ac2733860b6ec84d7069ec
2020-03-14 17:28:41 +00:00
Brindusan Cristian 11cc2fbf73 Backed out changeset a0508ae6c037 (bug 1508292) for sm bustage.
--HG--
extra : rebase_source : 0db77cae1e8115c19dbaa6d556b30890909ed996
2020-03-14 22:40:55 +02:00
Christoph Kerschbaumer bc8997ee18 Bug 1508292: Implement Sec-Fetch-*. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D66283

--HG--
extra : moz-landing-system : lando
2020-03-14 17:28:41 +00:00
Olli Pettay a5de11adec Bug 1502529, compress touchmoves on IPC layer, r=masayuki
The patch adds similar to mousemove compression on IPC layer.
https://searchfox.org/mozilla-central/rev/49ed791eec93335abfe6c2880f84c324e73e47e6/dom/ipc/PBrowser.ipdl#764-774
Touch events can't be compressed all the time, because each touch event
may contain changes to several touches.
To disable compression in some cases, another IPC message is sent.
The messages have exactly the same arguments, but by changing the message type,
compression is disabled for that message on IPC layer.

The patch tries to take rather conservative approach by disabling compression
in many cases. Compression is enabled only if the same touches are being changed,
or old touches and some new touch are changed (so the changed touches are a superset of the old touches).


The patch does not do anything with PointerEvent.getCoalescedEvents(). That implementation
would be quite a bit different and riskier for the next coming Fenix release.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 00:31:31 +00:00
Jeff Gilbert a6207b9e02 Bug 1621523 - Revendor WebGL CTS with new test.
Also remark failures.

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

--HG--
extra : moz-landing-system : lando
2020-03-14 08:11:52 +00:00
Jeff Gilbert f612c0ba89 Bug 1621523 - WebGL: Don't Present on no-op Resize. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D66827

--HG--
extra : moz-landing-system : lando
2020-03-14 08:27:28 +00:00
Emilio Cobos Álvarez 29762bfdad Bug 1621273 - Value attribute changes can affect step validity even if the input value doesn't change. r=smaug
If the actual input value didn't change, we'd skip updating form validity, but
that's not always correct because GetStepBase() depends on the value attribute.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:59:27 +00:00
Razvan Maries 39c5161f74 Backed out 2 changesets (bug 1621523) for perma failures on perma failures on test_2_conformance2__rendering__framebuffer-render-to-layer.html. CLOSED TREE
Backed out changeset 12e09fef3c3f (bug 1621523)
Backed out changeset c997932b6bfe (bug 1621523)
2020-03-14 03:18:42 +02:00
Razvan Maries a2e3903c68 Backed out changeset c0235b7bddcc (bug 1621415) for Mochitest perma failures on test_printpreview.xhtml. CLOSED TREE 2020-03-14 02:52:09 +02:00
Jeff Gilbert 2e250c45f3 Bug 1621523 - Revendor WebGL CTS with new test.
Differential Revision: https://phabricator.services.mozilla.com/D66828

--HG--
extra : moz-landing-system : lando
2020-03-14 00:33:06 +00:00
Jeff Gilbert 75333bbd2c Bug 1621523 - WebGL: Don't Present on no-op Resize. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D66827

--HG--
extra : moz-landing-system : lando
2020-03-14 00:33:04 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
sotaro 403f1b2a11 Bug 1622142 - Disable recycle allocator usage for av1 video for now r=nical
When WebRender is not used, recycle allocator usage for av1 video  causes rendering problem.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:42:01 +00:00
Razvan Maries a34f5e0ded Backed out 2 changesets (bug 1560038) for perma failures on browser_application_panel_list-single-worker.js. CLOSED TREE
Backed out changeset 7cd88f40fc85 (bug 1560038)
Backed out changeset 54dbe282c9ac (bug 1560038)
2020-03-14 00:43:41 +02:00
Erik Nordin b6f5189943 Bug 1621415 - Ensure adopted styles are applied when printing r=emilio
- Add functionality to clone adopted style sheets for printing.
- Add reftest to ensure that the document's adopted styles show in print.
- Add reftest to ensure that a shadow root's adopted styles show in print.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:20:22 +00:00
Kartikaya Gupta 6d4a82e018 Bug 1617427 - Add a DOMWindowUtils API to disable APZ on a particular element. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D66424

--HG--
extra : moz-landing-system : lando
2020-03-13 19:56:33 +00:00
Zibi Braniecki a67d7debed Bug 1622149 - Switch away from NS_ERROR_DOM_* in DOMLocalization. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D66706

--HG--
extra : moz-landing-system : lando
2020-03-13 17:36:53 +00:00
Zibi Braniecki 44eca5f333 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 23:29:05 +00:00
Boris Zbarsky cf6ef6a24b Bug 1467437. Align with other browsers and the spec for whether hashchange and popstate events bubble. r=smaug
I think I caught all the places in our tree that add event listeners for these
events on a non-Window (and hence depend on bubbling behavior), but I'm a
little worried about what happens if webextensions do bareword
addEventListener() for these events...

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:45:50 +00:00