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

7288 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila 724754167c Backed out 2 changesets (bug 1580394) for causing failures at browser_dbg-paused-overlay-loading.js. CLOSED TREE
Backed out changeset 6d96da07e581 (bug 1580394)
Backed out changeset db068d3108a2 (bug 1580394)
2021-11-30 12:44:44 +02:00
Emilio Cobos Álvarez 4253a7fa88 Bug 1580394 - Add an InsertAnonymousContent version which tries to update layout synchronously if needed. r=nchevobbe,smaug
Differential Revision: https://phabricator.services.mozilla.com/D132034
2021-11-30 09:33:19 +00:00
Dzmitry Malyshau caaffc3a03 Bug 1622846 - Update wgpu to 28ba9d8 r=jimb,emilio
Update GPUTextureUsage bit names to match upstream.

Differential Revision: https://phabricator.services.mozilla.com/D132058
2021-11-29 21:57:04 +00:00
Csoregi Natalia 9c8715f550 Backed out changeset 9e97159bb402 (bug 1622846) for causing bp-hybrid bustages on WebGPUChild.cpp CLOSED TREE 2021-11-29 21:30:42 +02:00
Dzmitry Malyshau 35ccd380fa Bug 1622846 - Update wgpu to 5f6c067 r=jimb,emilio
Update GPUTextureUsage bit names to match upstream.

Differential Revision: https://phabricator.services.mozilla.com/D132058
2021-11-29 18:37:21 +00:00
Edgar Chen 24c777bdf0 Bug 1556364 - Part 3: Implement setValidity() of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129821
2021-11-26 11:47:40 +00:00
Edgar Chen f13ba490a7 Bug 1556364 - Part 2-2: Implement validationMessage attribute of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129811
2021-11-26 11:47:39 +00:00
Edgar Chen 0ccc265f73 Bug 1556364 - Part 1: Implement validity attribute of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129810
2021-11-26 11:47:39 +00:00
Marian-Vasile Laza 807599b18f Backed out 5 changesets (bug 1556364) for causing web-platform test failures. CLOSED TREE
Backed out changeset dabffbe71a31 (bug 1556364)
Backed out changeset 76fc30f27c39 (bug 1556364)
Backed out changeset f6f7f949551f (bug 1556364)
Backed out changeset c77ef41d43d4 (bug 1556364)
Backed out changeset 2c8c74e99e47 (bug 1556364)
2021-11-26 05:01:08 +02:00
Edgar Chen 1e08e0f566 Bug 1556364 - Part 3: Implement setValidity() of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129821
2021-11-25 21:58:05 +00:00
Edgar Chen 843da52098 Bug 1556364 - Part 2-2: Implement validationMessage attribute of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129811
2021-11-25 21:58:04 +00:00
Edgar Chen 1a9b459fb9 Bug 1556364 - Part 1: Implement validity attribute of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129810
2021-11-25 21:58:03 +00:00
Emilio Cobos Álvarez 2dca36cb25 Bug 502258 - Add a Show Password button to <input type=password> controls. r=Gijs
It's controlled by the pref:
layout.forms.input-type-show-password-button.enabled

Differential Revision: https://phabricator.services.mozilla.com/D130407
2021-11-25 20:12:05 +00:00
Paul Zuehlcke 16be926c53 Bug 1638383 - Add a shim for the dFPI Microsoft login breakage. r=anti-tracking-reviewers,twisniewski,webcompat-reviewers,timhuang,denschub,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D131643
2021-11-23 12:42:25 +00:00
Marcos Cáceres 42810241ec Bug 1497431 - Implement PushManager.prototype.expirationTime + toJSON() r=mt,peterv
Adds expirationTime to PushManager, which uses EpochTimeStamp.
See https://github.com/w3c/push-api/pull/338

Differential Revision: https://phabricator.services.mozilla.com/D128046
2021-11-17 11:53:02 +00:00
Norisz Fay 8d3a60d6f5 Backed out changeset cf7cc00c8be4 (bug 1497431) for causing build bustages on PushSubscription.cpp CLOSED TREE 2021-11-17 07:43:39 +02:00
Marcos Cáceres 04a708a2b5 Bug 1497431 - Implement PushManager.prototype.expirationTime + toJSON() r=mt,peterv
Adds expirationTime to PushManager, which uses EpochTimeStamp.
See https://github.com/w3c/push-api/pull/338

Differential Revision: https://phabricator.services.mozilla.com/D128046
2021-11-17 05:18:22 +00:00
Marcos Cáceres a916f856db Bug 1735097 - Geolocation: use EpochTimeStamp instead of DOMTimeStamp r=saschanaz,peterv
Just a refactor, based on: https://github.com/w3c/geolocation-api/pull/104

Differential Revision: https://phabricator.services.mozilla.com/D128047
2021-11-17 04:01:02 +00:00
Marcos Cáceres 0f403e17c7 Bug 1735098 - Implement EpochTimeStamp from HR-Time r=edgar
Add the EpochTimeStamp, which can be used to incrementally rename/remove DOMTimeStamp. See also https://github.com/w3c/hr-time/pull/124 and https://github.com/whatwg/webidl/pull/1021

Differential Revision: https://phabricator.services.mozilla.com/D128030
2021-11-16 08:50:37 +00:00
Narcis Beleuzu 6deb8b6af5 Backed out changeset 3438d650eca8 (bug 1735098) for Linting opt failure. CLOSED TREE 2021-11-16 07:23:26 +02:00
Marcos Cáceres 04d9c2def4 Bug 1735098 - Implement EpochTimeStamp from HR-Time r=edgar
Add the EpochTimeStamp, which can be used to incrementally rename/remove DOMTimeStamp. See also https://github.com/w3c/hr-time/pull/124 and https://github.com/whatwg/webidl/pull/1021

Differential Revision: https://phabricator.services.mozilla.com/D128030
2021-11-16 05:01:49 +00:00
Marcos Cáceres dd1c7d1cfc Bug 1737746 - Use Permission spec's PermissionState r=mt,peterv
Refactor to use PermissionState.

Differential Revision: https://phabricator.services.mozilla.com/D129476
2021-11-12 05:25:28 +00:00
Marcos Cáceres fe2bca6079 Bug 1666203 - implement navigator.canShare() method r=saschanaz,smaug
implement navigator.canShare() method

Differential Revision: https://phabricator.services.mozilla.com/D90834
2021-11-11 00:50:11 +00:00
Eden Chuang 91087af281 Bug 1577346 - P1 Webidl FetchEvent.preloadResponse implementation. r=dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D122448
2021-11-08 13:29:31 +00:00
Edgar Chen faa3b6cd72 Bug 1556365 - Implement willValidate attribute of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129329
2021-11-04 09:49:32 +00:00
Dhruv Rajvanshi b7e0ca6df2 Bug 1689894 - Make createPeriodicWave accept a pair of sequences r=karlt,webidl,smaug
https://github.com/WebAudio/web-audio-api/pull/1197

Differential Revision: https://phabricator.services.mozilla.com/D129977
2021-11-03 21:06:56 +00:00
Andreas Pehrson f51f953e5a Bug 1529405 - Remove deprecated bytesReceived from stats. r=ng,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D102953
2021-01-25 12:12:24 +01:00
Andreas Pehrson 813457fde0 Bug 1367562 - Remove deprecated frame/bitrate stats. r=ng,webidl,smaug,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D102952
2021-01-25 10:15:33 +01:00
Edgar Chen da31a82815 Bug 1556352 - Part 2: Implement formAssociatedCallback; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129197
2021-10-28 10:29:38 +00:00
Edgar Chen af3a6b13dd Bug 1556363 - Part 3: Implement formDisabledCallback; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129201
2021-10-25 20:43:11 +00:00
Edgar Chen d4299b893d Bug 1556354 - Part 5: Implement formResetCallback; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129203
2021-10-25 14:28:05 +00:00
Edgar Chen 8ea1f100c0 Bug 1556354 - Part 1: Merge WebComponents.webidl into CustomElementRegistry.webidl; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129139
2021-10-25 14:28:04 +00:00
Hiroyuki Ikezoe 414b62eade Bug 1692707 - Add sampled scroll offsets field in APZTestData to evaluate scroll _smoothness_ in mochitests. r=botond,emilio
Differential Revision: https://phabricator.services.mozilla.com/D128827
2021-10-22 10:14:15 +00:00
Edgar Chen 648d219296 Bug 1556449 - Implement setFormValue() of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D127974
2021-10-21 18:02:52 +00:00
Emilio Cobos Álvarez c38bc7b333 Bug 1737000 - Make [UseCounter] work on WebIDL constructors. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D129134
2021-10-21 16:02:01 +00:00
Frederik Braun b26f16d4bc Bug 1736983 - add UseCounter for Sanitizer API methods r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D129131
2021-10-21 09:22:59 +00:00
Emilio Cobos Álvarez bc56938456 Bug 1731714 - Add a document.getWireframe() API that gets some relevant rects in the viewport. r=mconley
I added an option to return also the nodes because it's very helpful for
debugging. A bunch of the "unknown" ones are just elements with
transparent backgrounds (but still hit-testable), so we probably want to
exclude them from the result list or what not to massively reduce the
size of the returned object.

But anyhow, this probably does for a prototype.

Differential Revision: https://phabricator.services.mozilla.com/D128720
2021-10-20 13:56:32 +00:00
Paul Zuehlcke a6a4f92ea0 Bug 1720926 - Rate limit calls to location.reload. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D128636
2021-10-18 17:27:06 +00:00
criss 56b294e821 Backed out changeset 21276955f659 (bug 1720926) for causing hybrid bustages on nsIPrincipal. CLOSED TREE 2021-10-18 16:30:48 +03:00
Paul Zuehlcke d73a7968b8 Bug 1720926 - Rate limit calls to location.reload. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D128636
2021-10-18 11:45:44 +00:00
Chris Peterson 362e26da3b Bug 1723674 - Implement crypto.randomUUID(). r=keeler,nika
Google shipped crypto.randomUUID() in Chrome 92.

WICG draft specification for crypto.randomUUID():
https://wicg.github.io/uuid/

Differential Revision: https://phabricator.services.mozilla.com/D124313
2021-10-14 03:28:49 +00:00
Luca Greco d259e84176 Bug 1724183 - Add test.assertRejects WebExtensions API implementation to ExtensionTest webidl bindings. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D122035
2021-10-12 18:32:28 +00:00
Luca Greco dba57353ee Bug 1724183 - Add test.assertThrows WebExtensions API implementation to ExtensionTest webidl bindings. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D122034
2021-10-12 18:32:27 +00:00
Luca Greco 78e161184d Bug 1724183 - Add test.assertEq WebExtensions API implementation to ExtensionTest webidl bindings. r=baku,mixedpuppy
This patch introduce a new method to ExtensionTest.h/.cpp that implements the parts of
browser.test.assertEq that needs to happen on the background service worker thread
(because the first two parameters are expected to not be always of types that can be structure cloned).

The C++ method is meant to follow closely enough what the current implementation is doing
in privileged JS code (See https://searchfox.org/mozilla-central/rev/00977c4e37865a92f1c15572ae4aea90e934b25b/toolkit/components/extensions/child/ext-test.js#169-186)
after that the C++ method calls the existing assertEq implementation, which will be actually be getting
the first 2 parameters already converted as strings (which will be already different if `expected` and
`actual` js values were different despite their stringified value may be looking the same, because the
method will add " (different)" to the stringified `actual` value if the two parameter were not strictly
equal).

The existing test.assertEq implementation will also take care to send the result of the assertion
to the parent process (which will make sure that the test case being executed will fail as expected),
as it happens for all other test API methods that are just forwarding their parameters to the
main thread through the pre-existing stub methods.

Differential Revision: https://phabricator.services.mozilla.com/D121890
2021-10-12 18:32:27 +00:00
Paul Adenot 5f6c907318 Bug 1678373 - Add a way to measure the duration a media was muted. r=alwu,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125088
2021-10-12 09:03:53 +00:00
Paul Adenot 2a5cb9f5c5 Bug 1678373 - Expose audio telemetry counters as chrome-only attributes like their video counterparts. r=alwu,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125084
2021-10-12 09:03:52 +00:00
Paul Adenot 1a85208ad7 Bug 1678373 - Rename chrome-only telemetry counter attributes to distinguish audio and video. r=alwu,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125083
2021-10-12 09:03:52 +00:00
Karl Tomlinson 0a5870dc7b Bug 1732410 use object instead of subject principal for chrome enumerateDevices() resistFingerprinting override r=jib,emilio
This will simplify data structures for pending enumerateDevices() operations.

The subject principal was added for
https://bugzilla.mozilla.org/show_bug.cgi?id=1372073#c28
I don't see any current chrome callers, but chrome should be able to call this
method on a chrome document for real values.  Chrome should have no need
to call this on a content document.

Differential Revision: https://phabricator.services.mozilla.com/D127049
2021-10-11 05:18:59 +00:00
Alexandru Michis 26c14b3225 Backed out 24 changesets (bug 1678373) for causing bc failures in browser_tab_visibility_and_play_time.js
CLOSED TREE

Backed out changeset 1886dbd81c46 (bug 1678373)
Backed out changeset aeff26b5b1ae (bug 1678373)
Backed out changeset 261d8e4483d4 (bug 1678373)
Backed out changeset 89cb5ae23632 (bug 1678373)
Backed out changeset b1eaedd192ab (bug 1678373)
Backed out changeset 58a3eb19c818 (bug 1678373)
Backed out changeset b027ec789cbe (bug 1678373)
Backed out changeset fd596a84feb9 (bug 1678373)
Backed out changeset 1f0ed0392ae2 (bug 1678373)
Backed out changeset ac2be1df81af (bug 1678373)
Backed out changeset bf6d47905d78 (bug 1678373)
Backed out changeset a9fe4f310962 (bug 1678373)
Backed out changeset a15316058968 (bug 1678373)
Backed out changeset 217cdfd46120 (bug 1678373)
Backed out changeset c33c8411129b (bug 1678373)
Backed out changeset 3b854fc36abf (bug 1678373)
Backed out changeset e47c82bcb49a (bug 1678373)
Backed out changeset 2a77cbba1c9f (bug 1678373)
Backed out changeset 65206afede36 (bug 1678373)
Backed out changeset bd04930155f4 (bug 1678373)
Backed out changeset 034e8edd4619 (bug 1678373)
Backed out changeset ed1e56487c4c (bug 1678373)
Backed out changeset b7673d20c521 (bug 1678373)
Backed out changeset 5a93251e2fea (bug 1678373)
2021-10-07 20:36:47 +03:00
Paul Adenot 82125c0639 Bug 1678373 - Add a way to measure the duration a media was muted. r=alwu,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125088
2021-10-07 15:44:54 +00:00