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

3776 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila c3cbd0c056 Backed out changeset 653e9dc63dd5 (bug 1759597) for causing wpt failures complaining about pipe. 2022-03-18 23:18:20 +02:00
Luca Greco d9c980ced7 Bug 1754441 - Explicit set prefs to enable InstallTrigger on all tests that depend on its availability. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D138793
2022-03-18 20:02:54 +00:00
Matthew Gaudet a2036d6aef Bug 1759597 - Enable WritableStreams and pipeTo by default r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141125
2022-03-18 19:30:58 +00:00
Matthew Gaudet 4186ebdfcc Bug 1759605 - Expose missing ReadableStream interfaces (as defined by WebIDL) r=saschanaz,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D141126
2022-03-16 15:28:03 +00:00
Tooru Fujisawa 141090b932 Bug 1436400 - Part 10: Support bytecode cache for module script. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D140297
2022-03-15 19:05:57 +00:00
Csoregi Natalia 6ae31a2e64 Backed out 15 changesets (bug 1757597, bug 1436400) for causing mochitest failures on test_bug1656248.html. CLOSED TREE
Backed out changeset 4be29c1eb5bc (bug 1436400)
Backed out changeset ffd9ddcef6b0 (bug 1436400)
Backed out changeset 5ac844508d8b (bug 1436400)
Backed out changeset 561aeb550892 (bug 1436400)
Backed out changeset 6f473bcf809a (bug 1436400)
Backed out changeset c33620854115 (bug 1436400)
Backed out changeset 8f894ea40eb2 (bug 1436400)
Backed out changeset cce080064d82 (bug 1436400)
Backed out changeset 001d8528ff96 (bug 1436400)
Backed out changeset dd2bb1b46f75 (bug 1436400)
Backed out changeset b1c2084042fa (bug 1436400)
Backed out changeset dd0fea93bcd7 (bug 1436400)
Backed out changeset e38a959648e1 (bug 1436400)
Backed out changeset 40b474d430e9 (bug 1436400)
Backed out changeset 5bef21ef1ba2 (bug 1757597)
2022-03-15 07:23:29 +02:00
Tooru Fujisawa d09fb8acd5 Bug 1436400 - Part 10: Support bytecode cache for module script. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D140297
2022-03-15 04:24:52 +00:00
Olli Pettay 0bbca999d6 Bug 1357082, try to stabilize test_pointerlock-api.html by waiting for a refreshtick before and after a sub-test run r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D140899
2022-03-13 21:14:06 +00:00
Emilio Cobos Álvarez a819845751 Bug 1756210 - Let native theme focus outline be controlled only by CSS. r=mstange
This might be a bit more controversial, but matches Chromium at least,
and it makes sense to me... Would've also fixed this particular bug,
though I think the previous patch is also desirable if devtools ever
wants to add `:disabled` locked states or so.

Depends on D140529

Differential Revision: https://phabricator.services.mozilla.com/D140530
2022-03-09 11:45:10 +00:00
Masayuki Nakano cdc4e9371e Bug 1755616 - Rewrite frameSelectEvens.html to making each test clearer what it fails r=saschanaz
It tests various things in helper functions, and they don't take meaningful
description why each call is done.  Therefore, it's hard to investigate when
I hit oranges in this test.

This patch makes each test explains what it's testing and what it expects.

Differential Revision: https://phabricator.services.mozilla.com/D138878
2022-02-23 22:35:50 +00:00
Gabriele Svelto 75390b7d30 Bug 1752906 - Enable WebMIDI r=bholley
This also adjusts our mochitests so that they know we're exposing the WebMIDI
objects publicly, modifies the way permissions are granted and adjusts our
web platform tests to account for known failures.

Differential Revision: https://phabricator.services.mozilla.com/D137486
2022-02-21 21:11:12 +00:00
Butkovits Atila a5c87638dd Backed out changeset 18c11a93ef16 (bug 1752906) for causing failures at midi-reporting.https.html. CLOSED TREE 2022-02-17 00:09:42 +02:00
Gabriele Svelto 5315d8ad19 Bug 1752906 - Enable WebMIDI r=bholley
This also adjusts our mochitests so that they know we're exposing the WebMIDI
objects publicly.

Differential Revision: https://phabricator.services.mozilla.com/D137486
2022-02-16 20:47:24 +00:00
Butkovits Atila 202996c4ad Backed out changeset 4ed5964d2cec (bug 1747102) for causing failures at storage_setitem.window.html. CLOSED TREE 2022-02-14 17:14:38 +02:00
Jari Jalkanen 91935ff59a Bug 1747102 - Handle ill-formed local storage keys. r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D134292
2022-02-14 11:45:59 +00:00
Karl Dubost 3b1c801769 Bug 1637922. Switches to disable everywhere for netinfo. r=annevk,webidl,peterv
Differential Revision: https://phabricator.services.mozilla.com/D126442
2022-02-10 05:52:38 +00:00
Eden Chuang b7678a86ba Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-09 07:14:26 +00:00
Marian-Vasile Laza a9f8213954 Backed out 3 changesets (bug 1750515, bug 1753025) for causing wpt failures on idlharness.https.any... CLOSED TREE
Backed out changeset 9771e7cbe148 (bug 1750515)
Backed out changeset f671d5206b88 (bug 1753025)
Backed out changeset 99bacb6a3d92 (bug 1753025)
2022-02-09 00:10:47 +02:00
Eden Chuang 0430fc154e Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-08 18:12:34 +00:00
criss e40ae5e2cc Backed out 3 changesets (bug 1637922) for causing failures on test_worker_interfaces.html. CLOSED TREE
Backed out changeset 6676088e5fdf (bug 1637922)
Backed out changeset 469353b7c340 (bug 1637922)
Backed out changeset e9ffc2ed8f4d (bug 1637922)
2022-02-08 18:28:53 +02:00
criss 3b218d4269 Backed out 3 changesets (bug 1753025, bug 1750515) for causing build bustages on Logging.h
Backed out changeset c07607b89a61 (bug 1750515)
Backed out changeset 09f9724c8c1c (bug 1753025)
Backed out changeset 90e9e803f010 (bug 1753025)
2022-02-08 17:52:43 +02:00
Karl Dubost de285f5585 Bug 1637922. Switches to disable everywhere for netinfo. r=annevk,webidl,peterv
Differential Revision: https://phabricator.services.mozilla.com/D126442
2022-02-08 15:02:33 +00:00
Eden Chuang f78aaff856 Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-08 11:01:22 +00:00
Emilio Cobos Álvarez b699e8cdc8 Bug 1753995 - Remove nsDOMWindowUtils.screenPixelsPerCSSPixel. r=smaug,dholbert
For all purposes, this is the same as devicePixelRatio. It was meant to
skip the resistFingerprinting check the devicePixelRatio getter does,
but we do that now using CallerType in WebIDL, so if we cared about that
for these tests (which we don't) we could just do
SpecialPowers.wrap(window).devicePixelRatio.

As a follow-up we could move the NoOverride to window for symmetry. But
it's only used by devtools touch simulation so not sure if worth it.

Differential Revision: https://phabricator.services.mozilla.com/D138021
2022-02-07 18:23:36 +00:00
Abhishek Aggarwal dfde362b9e Bug 1746631 - Implement integer gemm intrinsic functions. r=rhunt
- Implements 7 intrinsic functions
 - These intrinsics are only enabled for x86/x86-64 platform and for
   privileged extensions
 - These intrinsics should never be accessible to web-pages
   -- Added corresponding mochitest

Differential Revision: https://phabricator.services.mozilla.com/D136430
2022-02-04 14:28:29 +00:00
Benjamin VanderSloot 0d45ba8ef0 Bug 1750018 - Make tests in dom/tests/mochitest/ dFPI compatible, r=timhuang,asuth
We are fixing mochitests that fail when network.cookie.cookieBehavior = 5, i.e. when we enable Total Cookie Protection.
This is most often due to the test assuming that an origin will always have access to its storage state when embedded as
a third party.

A few tests here required storage access to unpartition storage so that the main page and newly opened windows have the same storage objects: cache, sessionStorage, cookie.
I also made sure that when clearing storage the tests clear the document.effectiveStoragePrincipal, rather than the nodePrincipal.

Differential Revision: https://phabricator.services.mozilla.com/D136929
2022-01-31 17:58:34 +00:00
Ryan Hunt d4d2cb3a35 Bug 1750040 - wasm: Enable wasm exception handling in nightly. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D136630
2022-01-31 15:03:52 +00:00
Emilio Cobos Álvarez ed5d7bd55e Bug 1750753 - Use BrowsingContext.embedderElement rather than Window.frameElement in LayoutUtils. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D136277
2022-01-24 11:56:13 +00:00
Kelsey Gilbert 7f87c91163 Bug 1750902 - Disable dom.vr.enabled by default. r=jrmuizel,jmathies,emilio
Preserve testing, just disable the pref by default.

Differential Revision: https://phabricator.services.mozilla.com/D136411
2022-01-20 22:46:53 +00:00
Neil Deakin 9c7b94b24c WIP: Bug 1716765, improve test for checking allowed types in a DataTransfer, nika r=nika
Differential Revision: https://phabricator.services.mozilla.com/D118006
2022-01-12 19:01:50 +00:00
Emilio Cobos Álvarez e4d2d38e1d Bug 1749503 - Fix some test expectations on beta now that dialog is enabled.
Differential Revision: https://phabricator.services.mozilla.com/D135609
2022-01-11 14:59:16 +00:00
Norisz Fay 07f4785fb5 Backed out changeset 582722ee7fc8 (bug 1112134) for causing xpcshell failures on test_originInit.js CLOSED TREE 2022-01-10 17:18:28 +02:00
Kagami Sascha Rosylight ca78e92b7c Bug 1112134 - Limit Cache/CacheStorage to SecureContext r=edenchuang,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D134560
2022-01-10 14:36:12 +00:00
Ryan VanderMeulen e963f871bd Bug 1749058 - Re-enable some passing localstorage tests. r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D135408
2022-01-10 13:50:51 +00:00
Narcis Beleuzu ebef03db72 No bug - fix typo 2022-01-09 22:07:08 +02:00
Csoregi Natalia 38b8ae2fb3 Backed out changeset 2429b99637c7 (bug 1746110) for causing Bug 1747431. CLOSED TREE 2022-01-01 18:59:15 +02:00
Joel Maher 4ace0f4715 Bug 1743907 - remove remaining webrender references in manifests. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D134634
2021-12-24 14:06:25 +00:00
Gijs Kruitbosch b095cb0969 Bug 1747065 - remove plugin.load_flash_only setters which are no-ops r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D134398
2021-12-21 14:34:48 +00:00
Andrew Osmond 15cb038426 Bug 1746110 - Turn on OffscreenCanvas in nightly only by default. r=gfx-reviewers,emilio,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D133935
2021-12-21 02:14:44 +00:00
Emilio Cobos Álvarez 7bd47ad8d8 Bug 1746737 - Layer interfaces are not nightly-only anymore.
Differential Revision: https://phabricator.services.mozilla.com/D134230
2021-12-18 19:51:45 +00:00
Andrew McCreight e2e8ba57ad Bug 1730152 - Disable test_toggling_performance_navigation_timing instead of test_interfaces_secureContext. r=smaug
Some weird race condition with all of the pref flipping that
the toggling test does causes failures in test_interfaces_secureContext.
The latter is a more important test because it ensures that we don't
accidentally ship DOM APIs on secure contexts, so this
patch changes which one is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D134030
2021-12-16 19:19:11 +00:00
Emilio Cobos Álvarez f13595acc8 Bug 1745233 - Update CSSOM for layer rules to the spec. r=firefox-style-system-reviewers,layout-reviewers,boris
Pretty mechanical.

Tests are in https://wpt.live/css/css-cascade/layer-rules-cssom.html
which (with a fix for @import tests which I'll submit separately) we
pass.

Sync for that is bug 1743936.

Differential Revision: https://phabricator.services.mozilla.com/D133387
2021-12-14 15:39:38 +00:00
Butkovits Atila db788a888c Bug 1730152 - disable test_interfaces_secureContext.html on Win_64_opt and Mac_64_opt for frequent failures. r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D133708
2021-12-14 02:28:49 +00:00
Boris Chiou 7c8078f842 Bug 1388931 - Unship SVGPathSeg APIs behind a preference. r=emilio
Add the preference, dom.svg.pathSeg.enabled, so let
SVGPathElement::getPathSegAtLength(), SVGAnimatedPathData::pathSegList,
and SVGAnimatedPathData::animatedPathSegList behind the preference, and
set the preference to false by default on all channels.

Differential Revision: https://phabricator.services.mozilla.com/D133289
2021-12-10 01:01:40 +00:00
Ryan VanderMeulen 05f4d5a4aa Bug 1281212 - Re-enable some disabled Fetch mochitests. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D133133
2021-12-08 14:24:33 +00:00
Ryan VanderMeulen 7b0224cf8d Bug 1359565 - Re-enable test_formdataparsing.html and test_formdataparsing_sw_reroute.html on ASAN. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D133089
2021-12-08 14:24:33 +00:00
Henri Sivonen 649a5b63d8 Bug 1701828 - meta charset rewrite. r=smaug
Implements https://github.com/whatwg/html/issues/6962 . Improves performance
when <meta charset> occurs in head but after the first kilobyte and aligns
behavior better with WebKit and Blink.

The main change is to avoid reloads when meta appears within head but
after the first kilobyte. Prior to this change, Gecko reloaded in that
case (in compliance with the spec!) even though WebKit and Blink did not.

Differences from WebKit and Blink:

* WebKit and Blink honor <meta charset> in <noscript>. This implementation
  does not.
* WebKit and Blink look for meta as if the tree builder was unaware of
  foreign content. This implementation is foreign content-aware. This
  makes a difference for CDATA sections that contain a > before the meta
  as well as style and script elements within foreign content. This could
  happen if the CDATA section that has mysteriously been introduced around
  a what looks like a meta tag also contains another prior tag-looking
  run of text.
* This implementation processes rel=preload and speculative loads that are
  seen before <meta charset> has been seen. WebKit and Blink instead first
  look for the meta and rewind before starting speculative parsing.
* Unlike WebKit, if there is neither an honored meta nor syntax resembling
  an XML declaration, detection from content takes place (as in Blink).
* Unlike Blink, if there is neither an honored meta nor syntax resembling
  an XML declaration, the detection from content is not dependent of network
  buffer boundaries.
* Unlike Blink, detection from content can trigger a reload at the end of
  the stream if the guess made at that point differs from the first guess.
  (See below for the definition of the input to the first guess.)

Differences from the old spec and Gecko previously:

* Meta inside script and RCDATA elements is no longer honored.
* Late meta is now ignored and no longer triggers a reload.
* Later meta counts as early enough meta: In addition to the previous
  meta within the first 1024 bytes, now a meta that started within the first
  1024 bytes counts as early enough. Additionally, if by then there hasn't
  been a template start tag and head hasn't ended, meta occurring before the
  earlier of the end of the head or a template start tag counts as early
  enough.
* Meta now counts as not-late even if the encoding label has numeric
  character reference escapes.
* Syntax resembling an XML declaration longer than a kilobyte is honored if
  there is no honored meta.
* If there is neither an honored meta nor syntax resembling an XML declaration,
  the initial chardetng scan is potentially longer than before: the first 1024
  bytes, the token spanning the 1024-byte boundary if there is such a token,
  and, if by then head hasn't ended and there hasn't been a template start tag
  until the end of the template start tag or the end of the token that causes
  head to end, ever comes first. However, if the token implying the end of the
  head is a text token, bytes only to the end of the previous non-text token is
  considered. (This definition avoids depending on network buffer boundaries.)
* XML View Source now uses the code for syntax resembling an XML declaration
  instead of expat for extracting the internal encoding label.

Reftest are added as both WPT and Gecko reftests in order to test both http:
and file: URL scenarios. The Gecko tests retain the WPT <link> tags in order
to use the exact same bytes.

An encoding declaration has been added to a number of old tests that didn't
intend to test the new speculation behavior especially in the context of
https://bugzilla.mozilla.org/show_bug.cgi?id=1727750 .

Differential Revision: https://phabricator.services.mozilla.com/D125808
2021-12-08 11:34:20 +00:00
Norisz Fay 1d6984bc21 Backed out changeset 3dfd3c94a105 (bug 1701828) for causing mochitest failures on browser_hsts_host.js CLOSED TREE 2021-12-07 12:05:44 +02:00
Henri Sivonen 58476d7f17 Bug 1701828 - meta charset rewrite. r=smaug
Implements https://github.com/whatwg/html/issues/6962 . Improves performance
when <meta charset> occurs in head but after the first kilobyte and aligns
behavior better with WebKit and Blink.

The main change is to avoid reloads when meta appears within head but
after the first kilobyte. Prior to this change, Gecko reloaded in that
case (in compliance with the spec!) even though WebKit and Blink did not.

Differences from WebKit and Blink:

* WebKit and Blink honor <meta charset> in <noscript>. This implementation
  does not.
* WebKit and Blink look for meta as if the tree builder was unaware of
  foreign content. This implementation is foreign content-aware. This
  makes a difference for CDATA sections that contain a > before the meta
  as well as style and script elements within foreign content. This could
  happen if the CDATA section that has mysteriously been introduced around
  a what looks like a meta tag also contains another prior tag-looking
  run of text.
* This implementation processes rel=preload and speculative loads that are
  seen before <meta charset> has been seen. WebKit and Blink instead first
  look for the meta and rewind before starting speculative parsing.
* Unlike WebKit, if there is neither an honored meta nor syntax resembling
  an XML declaration, detection from content takes place (as in Blink).
* Unlike Blink, if there is neither an honored meta nor syntax resembling
  an XML declaration, the detection from content is not dependent of network
  buffer boundaries.
* Unlike Blink, detection from content can trigger a reload at the end of
  the stream if the guess made at that point differs from the first guess.
  (See below for the definition of the input to the first guess.)

Differences from the old spec and Gecko previously:

* Meta inside script and RCDATA elements is no longer honored.
* Late meta is now ignored and no longer triggers a reload.
* Later meta counts as early enough meta: In addition to the previous
  meta within the first 1024 bytes, now a meta that started within the first
  1024 bytes counts as early enough. Additionally, if by then there hasn't
  been a template start tag and head hasn't ended, meta occurring before the
  earlier of the end of the head or a template start tag counts as early
  enough.
* Meta now counts as not-late even if the encoding label has numeric
  character reference escapes.
* Syntax resembling an XML declaration longer than a kilobyte is honored if
  there is no honored meta.
* If there is neither an honored meta nor syntax resembling an XML declaration,
  the initial chardetng scan is potentially longer than before: the first 1024
  bytes, the token spanning the 1024-byte boundary if there is such a token,
  and, if by then head hasn't ended and there hasn't been a template start tag
  until the end of the template start tag or the end of the token that causes
  head to end, ever comes first. However, if the token implying the end of the
  head is a text token, bytes only to the end of the previous non-text token is
  considered. (This definition avoids depending on network buffer boundaries.)
* XML View Source now uses the code for syntax resembling an XML declaration
  instead of expat for extracting the internal encoding label.

Reftest are added as both WPT and Gecko reftests in order to test both http:
and file: URL scenarios. The Gecko tests retain the WPT <link> tags in order
to use the exact same bytes.

An encoding declaration has been added to a number of old tests that didn't
intend to test the new speculation behavior especially in the context of
https://bugzilla.mozilla.org/show_bug.cgi?id=1727750 .

Differential Revision: https://phabricator.services.mozilla.com/D125808
2021-12-07 07:35:32 +00:00
Kagami Sascha Rosylight 6e4823016d Bug 1740044 - Enable Web Locks by default r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132100
2021-11-25 02:19:44 +00:00