Commit Graph

799330 Commits

Author SHA1 Message Date
Chris H-C
e37164c4bc Bug 1698184 - Upgrade Category to store a proper string type r=janerik
Storing what amounts to being a pointer and a length is kinda weird considering
we only ever operate on the string data it means.

nsDependentCString is a teensy bit larger (stores the string as a pointer
(size_t width) instead of as a uint32_t index, stores data flags in a
uint16_t, and some class flags in another uint16_t. So, altogether, we're
going from 4-byte Category instances to (on systems with 64-bit pointers)
10-byte Category instances.) but it:
* Gives us better methods (makes it harder for me to get my pointer
  arithmetic wrong)
* Is more flexible, which we'll need when we start using strings
  that aren't in the global category string table

Differential Revision: https://phabricator.services.mozilla.com/D143045
2022-06-21 20:34:53 +00:00
Chris H-C
6a8e5cb0fb Bug 1698184 - Move submetrics to 2^25 to make room for dynamic metrics r=janerik
Previously we used the 27th bit to signal if a metric instance was actually a
labeled_* metric's "submetric". This bit is actually part of the metric type
part of the lower (upper?) 32 bits of the metric_entry_t, but that was okay
because builtin metrics all have their top 5 bits scrubbed.

itsFreeRealEstate.jpg

This can no longer work, though, since JOG will need to be able to have its
own submetrics that don't conflict _and_ will need to keep the type bits
around so we know what instances to build.

(( Yes, yes, I could've designed the system so that we didn't need to,
but this was the less complicated way. We can go down this route when we
provision the 34 Millionth metric and run out of space. ))

So that means taking two bits away from the id portion: one for runtime (we'll
give it 2^26) and one for submetric (2^25).

Differential Revision: https://phabricator.services.mozilla.com/D143044
2022-06-21 20:34:52 +00:00
Glenn Watson
d784bfaee9 Bug 1775188 - Remove direct use of ClipId on stacking contexts r=gfx-reviewers,lsalzman
In future, stacking contexts, hit-tests and prims will all use
clip-chains rather than the old-style ClipId references.

Differential Revision: https://phabricator.services.mozilla.com/D149844
2022-06-21 20:23:59 +00:00
Morgan Rae Reschenberg
fdd6afc666 Bug 1772861: Cache offset for cross-proc iframe docs r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D148832
2022-06-21 20:23:18 +00:00
Gabriel Bustamante
644787d34b Bug 1774834 - Use vendored treeherder util r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D149441
2022-06-21 20:22:56 +00:00
Sammy Khamis
d357497441 Bug 1773154 - Reduce number of scheduled sync calls in sync-after-tab-change r=markh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D148871
2022-06-21 20:17:22 +00:00
Mike Hommey
0985192f22 Bug 1760484 - Add webrtc configs for arm64 openbsd. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D149473
2022-06-21 20:03:56 +00:00
Mike Hommey
9b1024c681 Bug 1738845 - Add webrtc configs for arm and ppc64 linux. r=mjf
Adding arm alone breaks ppc64el.

Differential Revision: https://phabricator.services.mozilla.com/D134738
2022-06-21 20:03:56 +00:00
Mike Hommey
0317120cba Bug 1738845 - Add some missing combinations of conditions to GN processing. r=firefox-build-system-reviewers,andi
Ideally, the code would handle things in a more general way that doesn't
require manually dealing with these lists, but this would require more
testing than there is time left before 102 releases.

While here, remove HOST_CPU_ARCH, which is always the same and thus
never appears in a condition.

This changes none of the generated moz.builds for the current
configuration (but changes the outcome when adding new configurations)

Differential Revision: https://phabricator.services.mozilla.com/D149850
2022-06-21 20:03:55 +00:00
criss
9524e20b3f Backed out changeset e8d5e21007be (bug 1774022) for causing Xpcshell failures on test_RemoteSettingsExperimentLoader_updateRecipes.js. CLOSED TREE 2022-06-21 22:59:14 +03:00
Barret Rennie
1c474ad9ab Bug 1774022 - Validate features described with FML variables more strictly r=TravisLong
Experimenter now performs the following additional validations:

- FML `int` field types are mapped to `integer` and not `number`; and
- `additionalProperties` is now false;


We now perform the same validation.

Differential Revision: https://phabricator.services.mozilla.com/D149146
2022-06-21 19:20:43 +00:00
criss
5d561f14dc Backed out changeset d0771d3e5261 (bug 1775126) for causing mochitest failures on browser_report_site_issue.js. CLOSED TREE 2022-06-21 22:25:58 +03:00
Mozilla Releng Treescript
c6ece39d0f no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
cy -> fae89d16725eb29494a3de05e6dd65948befa290
da -> 8e15d65960726c87251dee68af73a8ec5a84b401
dsb -> 8db03d299a1972d30e0764bfdcf859afbd08055c
es-CL -> 12a815e1a9434cceeeb8806ac73a095a9111c56f
es-MX -> d6cbd5131cc6933f2d0a69e79b1da6d75c459c12
eu -> d00adb3ddacdc98fa95cd2e70c5ed7f0f996f721
ff -> 16c6df720cc039f91e0f0e4221bf713ea7ed2e62
fr -> 82e09f57c0b0fc3b473e517d1bd666ec592561fd
fy-NL -> 804cafc8f8456eed8e242fa348956491cb91fc59
hsb -> 43fb8f322edb3ff7dfd69686cae8293051e978cb
hu -> f84770ea7dd6ae236101f3ead907dd15d0507120
ia -> 4c88277e77729398a97ef8948c78bfa63220cad6
ko -> 4d33fdef7aad5df804e22c364062e08614a02b53
mk -> 25052d044aa5e67ef1b9a1966e931aefcf77040d
nl -> 10e27f16ce2fa66122ccedfc2d620eebe3008205
sl -> e7668b56b13120829f96363635028f2920e42161
sv-SE -> 0dc01cf93d190e302bc3f75009e9e0c2cfc24f21
tg -> dcae436dc013cb29ce2342c61894120273cf3648
tr -> bd5687ae46c1c79deb221a433dc021e1089520b7
zh-CN -> f6e75e922d918dd8f683a2cf5c0d74696569dbbb
2022-06-21 18:56:44 +00:00
Tom Schuster
bd2a06f80f Bug 1774941 - Add Error tests to structured-clone-battery-of-tests.js. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D149695
2022-06-21 18:51:12 +00:00
Henrik Skupin
53819cc312 Bug 1775064 - [marionette] Return chrome element references for elements within any privileged document. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D149852
2022-06-21 18:45:26 +00:00
Barret Rennie
36faf76a4e Bug 1772398 - Sync RemoteImages when attachments are updated r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D148170
2022-06-21 18:41:47 +00:00
criss
89867d6a26 Backed out changeset da8c34fec36e (bug 1773865) for causing mochitest failures on browser_zoom_commands.js. CLOSED TREE 2022-06-21 22:03:04 +03:00
Daniel Holbert
10e54a0cf4 Bug 1480636: Add a WPT test for margin:auto centering behavior of absolutely-positioned tables. r=emilio,TYLin
The actual bug here was fixed by another commit from another bug. This patch is
just adding a WPT test to ensure we've got test coverage.

(In builds before the fix landed, e.g. Firefox Nightly 2021-01-01, this test
renders with the table placed too high up.  This leaves some red visible and
covers up some of the descriptive text, which properly results in a
test-failure.)

Differential Revision: https://phabricator.services.mozilla.com/D149909
2022-06-21 18:10:18 +00:00
criss
de373eee8c Backed out changeset d24535fc8fc5 (bug 1775064) for causing mochitest failures on browser_all_files_referenced.js . CLOSED TREE 2022-06-21 20:47:12 +03:00
kriswright
4da0c6a7f8 Bug 1700674 - Add native full screen attribute to picture-in-picture r=pip-reviewers,mhowell
This adds the macos native fullscreen attribute to picture-in-picture windows so that when the pref is enabled, we view native fullscreen.

Depends on D149902

Differential Revision: https://phabricator.services.mozilla.com/D149903
2022-06-21 16:44:51 +00:00
Thomas Wisniewski
d9c8d9116b Bug 1771783 - Work around known site breakage related to Firebase in Private Browsing mode, which expects some DOM storage APIs which are not yet available in PBM; r=denschub,pbz,timhuang,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149711
2022-06-21 16:44:09 +00:00
Henrik Skupin
e9a9660f44 Bug 1775064 - [marionette] Return chrome element references for elements within any privileged document. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D149852
2022-06-21 16:42:50 +00:00
Narcis Beleuzu
04a73f74c6 Backed out changeset a372108ad727 (bug 1774834) for build bustages. CLOSED TREE 2022-06-21 19:33:13 +03:00
Gabriel Bustamante
abe57a47d4 Bug 1774834 - Use vendored treeherder util r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D149441
2022-06-21 16:18:23 +00:00
Narcis Beleuzu
9e3db37db1 Backed out 2 changesets (bug 1731778) for wpt failures on embedding.tentative.https.window.html . CLOSED TREE
Backed out changeset 2510b654e8f2 (bug 1731778)
Backed out changeset fea9b21d8efe (bug 1731778)
2022-06-21 19:13:32 +03:00
Hubert Boma Manilla
58c7b8d171 Bug 1583179 - [devtools] Remove the reload and analyze performance buttons in the browser toolbox r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D149610
2022-06-21 15:15:49 +00:00
Greg Tatum
5a2feeff67 Bug 1759199 - Write a test for text recognition; r=nordzilla
Depends on D148910

Differential Revision: https://phabricator.services.mozilla.com/D148911
2022-06-21 14:30:40 +00:00
Greg Tatum
889321c893 Bug 1759199 - Fix a memory leak in text recognition; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D148910
2022-06-21 14:30:40 +00:00
Mike Conley
8ebd805e62 Bug 1773865 - Dispatch an event on the window document when a pinch zoom gesture ends. r=botond,smaug,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D149283
2022-06-21 14:02:19 +00:00
Sean Feng
d3d68a918d Bug 1731778 - Implement COEP: credentialless for cache storage r=edenchuang
Spec: https://fetch.spec.whatwg.org/#ref-for-cross-origin-resource-policy-internal-check

This purpose of this patch is just to implement the spec.

One noticeable thing I did in the patch is I made `CacheResponse` to
include the `credentials mode` of the initial request. Consider the
below scenario:

  1. Create a fetch request with a URL and a specific credential_mode, and put it into cache
  2. Call cache.match by using a URL, but without credential_mode
  3. cache.match() result should be filtered according to the initial request's credential_mode

When applying the `response’s request-includes-credentials is true`
check, the initial request's `credential_mode` is needed because
`request-includes-credentials` is judged by the `credential_mode`.

The rest of the changes are just normal spec alignments.

Differential Revision: https://phabricator.services.mozilla.com/D147803
2022-06-21 13:56:53 +00:00
Sean Feng
413fe3115c Bug 1731778 - Implement COEP: credentialless r=smaug,necko-reviewers,kershaw
Spec: https://html.spec.whatwg.org/multipage/#coep:coep-credentialless

Credentialless is a new cross-origin embedder policy which allows us
to not enforcing CORP when loading cross-origin resources while
providing SharedArrayBuffer.

There are two main things involved here:
  1. Fetching cross-origin no-CORS resources omits credentials
     - This is done by applying `LOAD_ANONYMOUS` flag to the request
  2. Other requests sent with credentials require the server's explicit
  permission through the CORS protocol or the CORS header
     - This is done by expanding `ProcessCrossOriginResourcePolicyHeader`
     function to apply the necessary checks.

Differential Revision: https://phabricator.services.mozilla.com/D147802
2022-06-21 13:56:52 +00:00
Julian Descottes
5a9f0dbb27 Bug 1770476 - [bidi] Add support for return values in script.evaluate r=webdriver-reviewers,whimboo
Depends on D148907

Differential Revision: https://phabricator.services.mozilla.com/D149411
2022-06-21 13:55:22 +00:00
Michelle Goossens
8e0bdc6707 Bug 1774977 - Migrate Linux marionette from AWS to GCP r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D149705
2022-06-21 13:40:09 +00:00
Michelle Goossens
40e8db8505 Bug 1774977 - Migrate Linux awsy from AWS to GCP r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D149704
2022-06-21 13:40:08 +00:00
Thomas Wisniewski
4f70108602 Bug 1775126 - fix a structured-cloning failure in the webcompat report-site-issue feature, and update and re-enable its tests; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149847
2022-06-21 12:36:18 +00:00
Timothy Nikkel
18d8c01326 Bug 1775237. Let progressive background images ride the trains. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D149870
2022-06-21 11:46:07 +00:00
Nicolas Chevobbe
1c4b4d8d2c Bug 1764346 - [devtools] Add Network Monitor Browser Toolbox test. r=bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D149513
2022-06-21 11:45:52 +00:00
Olli Pettay
6a788baa1c Bug 1774475, add missing await to the test to ensure loading a new page and going back have been processed, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D149875
2022-06-21 11:38:38 +00:00
Tooru Fujisawa
3e7abb615a Bug 1774566 - Remove unnecessary 2nd parameter from ChromeUtils.import in layout/tools/reftest/manifest.jsm. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D149701
2022-06-21 11:10:15 +00:00
Emilio Cobos Álvarez
b7f4cda7be Bug 1775116 - Use last mouse press event to trigger native menus. r=stransky
Otherwise (sometimes?) Mutter sends us an "Esc" key event on button
release (why tho?) which causes Gtk to hide the widget.

This is ironically trivial to fix after the drag service fix.

Differential Revision: https://phabricator.services.mozilla.com/D149871
2022-06-21 10:56:44 +00:00
Emilio Cobos Álvarez
4e346fe941 Bug 1774000 - Use last mouse press GdkEvent on the drag service. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D149149
2022-06-21 10:56:12 +00:00
Mark Banner
44d99b6b8d Bug 1775163 - Move bookmarks_validator.js out of production code as it is no longer required there. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D149857
2022-06-21 09:59:44 +00:00
Norisz Fay
c6886cf173 Merge mozilla-central to autoland CLOSED TREE 2022-06-21 12:37:41 +03:00
Norisz Fay
230a641415 Merge autoland to mozilla-central a=merge 2022-06-21 12:30:55 +03:00
Jan de Mooij
619e391ec0 Bug 1775065 - Use correct ExitFrameType for bailout exception. r=iain
Also tidy up the code a bit: don't push an exit frame if there was no failure,
because we'll immediately clobber it with the Baseline frames anyway.

Differential Revision: https://phabricator.services.mozilla.com/D149776
2022-06-21 09:10:41 +00:00
Sebastian Hengst
7faa256b83 Bug 1774922 - set bfcache embedded tests as passing with Windows ccov
Expectation update had dropped the `and not ccov` rules. Add them as `and ccov`
rules to prevent modification/removal by wpt sync bot.

Differential Revision: https://phabricator.services.mozilla.com/D149860
2022-06-21 08:53:06 +00:00
Masayuki Nakano
c77d8d358f Bug 1770877 - part 27: Make HTMLEditor::SplitParagraph stop touching Selection directly r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D149091
2022-06-21 08:49:51 +00:00
Robert Mader
324edb90ae Bug 1758473 - Move VA-API test into glxtest, r=stransky
Some VA-API drivers are so broken that trying to use them
crashes Firefox. This is nothing entirely new for GPU drivers
and which is why we have `glxtest`.

Thus move the test from `VAAPIUtils` there. This has the
additional benefit of only doing the test once.

Given the importance of GL-accelerated rendering these days,
we don't want failing VA-API drivers to disable hardware
Webrender and WebGL. Thus fork the VA-API test into its
own process.

Differential Revision: https://phabricator.services.mozilla.com/D148981
2022-06-21 08:45:27 +00:00
Masayuki Nakano
6f93e32018 Bug 1770877 - part 26: Make HTMLEditor::InsertBRElementIfEmptyBlockElement a lambda since it's used only by one method r=m_kato
And its selection update are not used except the legacy mutation event
listeners so that we can drop them.

Differential Revision: https://phabricator.services.mozilla.com/D149090
2022-06-21 08:19:37 +00:00
Chris H-C
232e442ab2 Bug 1774892 - The instrumented code isn't synchronous with the newtab sendTriggerSpy r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D149810
2022-06-21 08:17:18 +00:00