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

795712 Коммитов

Автор SHA1 Сообщение Дата
Razvan Cojocaru ae67e4906d Bug 1767121 - Change the type of StackingContextHelper::mScale to MatrixScales. r=botond
Fix a minor typo while at it: "Inherrited" -> "Inherited".

Differential Revision: https://phabricator.services.mozilla.com/D146298
2022-05-19 01:45:52 +00:00
Daisuke Akatsuka 60dd0a5e7f Bug 1767053: Change the logic for taking over the caret position. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D146396
2022-05-19 01:41:49 +00:00
Ryan VanderMeulen 3b290acc2e Bug 1770058 - Skip end-of-time-001-crash.html & end-of-time-002-crash.html on Linux opt for making the wpt crashtest job unstable in CI. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D146749
2022-05-19 01:25:45 +00:00
Mathew Hodson 097d33e519 Bug 1765063 - Disable mozCurrentTransform on early beta and earlier. r=lsalzman,gfx-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D143873
2022-05-19 01:07:54 +00:00
Ryan VanderMeulen 27a77459c7 Bug 1769735 - Add packaging to the mozharness archive. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D146732
2022-05-19 00:38:14 +00:00
Iulian Moraru 4d59317ca4 Backed out 6 changesets (bug 1740263) for causing bp-hybrid bustages on nsScriptSecurityManager. CLOSED TREE
Backed out changeset 2f5ec6ad0f81 (bug 1740263)
Backed out changeset a1e7766cdb94 (bug 1740263)
Backed out changeset 3978ccb95455 (bug 1740263)
Backed out changeset e34ba774b3f8 (bug 1740263)
Backed out changeset 8365b10be28e (bug 1740263)
Backed out changeset d923462c9cd0 (bug 1740263)
2022-05-19 03:28:08 +03:00
Iulian Moraru 283a88b45c Backed out changeset c2a224a0f3b4 (bug 1142667) for causing multiple build bustages on host_elfhack. 2022-05-19 03:25:50 +03:00
Mike Hommey 309ed8ae59 Bug 1769901 - Update numerous rust crates. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146660
2022-05-18 23:59:49 +00:00
Steve Fink 47a7f7c920 Bug 1767612 - Update to sixgill that optimizes out trivial loops
Differential Revision: https://phabricator.services.mozilla.com/D146257
2022-05-18 23:34:02 +00:00
Hiroyuki Ikezoe 83f5fe2b35 Bug 1769897 - Ignore snap points orthogonal to the scroll snap axis. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D146656
2022-05-18 22:22:31 +00:00
Tom Schuster 1541cb59a7 Bug 1740263 - Continue to allow WASM by default in Webextensions v2. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D142953
2022-05-18 21:39:30 +00:00
Tom Schuster bf44892438 Bug 1740263 - Test for postMessaging WASM Module to CSP restricted iframe. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D142195
2022-05-18 21:39:29 +00:00
Tom Schuster 5c808859fa Bug 1740263 - Implement the CSP checking callback for WASM. r=dom-worker-reviewers,smaug,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D141979
2022-05-18 21:39:29 +00:00
Tom Schuster f05c922e89 Bug 1740263 - Block WASM code generation by CSP. r=lth,jandem
I put the CSP check in the 5 WASM function that V8 also uses: https://source.chromium.org/search?q=IsWasmCodegenAllowed
Is there somewhere else we might be generating WASM code? Some kind of caching etc.

Differential Revision: https://phabricator.services.mozilla.com/D141978
2022-05-18 21:39:28 +00:00
Tom Schuster f13a5edf0d Bug 1740263 - Move isRuntimeCodeGenEnabled to JSContext. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D141977
2022-05-18 21:39:28 +00:00
Frederik Braun 200cb0034c Bug 1740263 - CSP parser and context changes for wasm-unsafe-eval. r=ckerschb,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D136219
2022-05-18 21:39:28 +00:00
Razvan Cojocaru 7d3f1ced24 Bug 1142667 - [elfhack] Leak of |relhack| in |do_relocation_section|. r=firefox-build-system-reviewers,glandium
Now using std::unique_ptr<> for relhack, relhackcode and init, so
that nothing can leak on non-success exit paths.

Differential Revision: https://phabricator.services.mozilla.com/D144138
2022-05-18 21:18:32 +00:00
Csoregi Natalia c48a86cbce Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-05-19 01:20:44 +03:00
Iulian Moraru c49f9ffda3 Backed out 6 changesets (bug 1757833) for causing multiple crashes with MOZ_Z_inflateInit2_. CLOSED TREE
Backed out changeset 6a7d3034db0a (bug 1757833)
Backed out changeset faa0393886db (bug 1757833)
Backed out changeset 4bffe0cf490e (bug 1757833)
Backed out changeset 189b81cc13fd (bug 1757833)
Backed out changeset a59c66e4fb68 (bug 1757833)
Backed out changeset 2b5d9869fbcb (bug 1757833)
2022-05-19 01:14:05 +03:00
Csoregi Natalia 1022fa6048 Backed out changeset 6762fd57aa0f (bug 1769901) for causing build bustages. CLOSED TREE 2022-05-19 01:04:49 +03:00
Mike Hommey f5c03cb647 Bug 1769902 - Fix license lint. r=fix CLOSED TREE 2022-05-19 01:00:08 +03:00
Csoregi Natalia 7f729f601c Merge autoland to mozilla-central. a=merge 2022-05-19 00:41:44 +03:00
Mike Hommey beaa7521c7 Bug 1769902 - Update the itoa crate to 1.0.x. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146662
2022-05-18 21:04:31 +00:00
Mike Hommey 83c74198fa Bug 1769902 - Allow duplicate crates in build/rust. r=firefox-build-system-reviewers,andi
We're going to add crates in build/rust that help reduce crate
duplication by providing older versions of crates based on newer ones,
which implies there would be at least 2 crates with the same name, one
of them being under build/rust. Allow that when vendoring.

Differential Revision: https://phabricator.services.mozilla.com/D146661
2022-05-18 21:04:31 +00:00
Bryan Thrall 98850ac71c Bug 1757833 - Add PerfStat probes for bytecode cache reads, writes, compression, and decompression r=nbp,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D145012
2022-05-18 21:03:49 +00:00
Bryan Thrall c5b7120ac1 Bug 1757833 - Add Profiler markers to track compression cost r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D144738
2022-05-18 21:03:49 +00:00
Bryan Thrall a84c20ddff Bug 1757833 - Add mochitest for compressed bytecode caching r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D145346
2022-05-18 21:03:49 +00:00
Bryan Thrall 21d03287f5 Bug 1757833 - Add browser.cache.jsbc_compression_level static preference r=nbp
This simplifies profiling since now we can see the results within a single build
based on the preference (though there is still a slight cost to copying the
bytecode).

Setting to (the default) 0 disables compression.

Differential Revision: https://phabricator.services.mozilla.com/D144737
2022-05-18 21:03:48 +00:00
Bryan Thrall 84ef677639 Bug 1757833 - Extract methods ScriptBytecodeCompress and ScriptBytecodeDecompress r=nbp
This leaves the code in ScriptLoader and ScriptLoadHandler a lot more readable.

ScriptBytecodeCompressedDataLayout and ScriptBytecodeDataLayout simplify
locating data in the ScriptLoadRequest bytecode buffer when compressing and
decompressing it.

The interface is still error-prone. For example, these classes don't check
that the returned pointers are within the bounds of the buffer.

Differential Revision: https://phabricator.services.mozilla.com/D145011
2022-05-18 21:03:48 +00:00
Bryan Thrall 76e71f6f2c Bug 1757833 - Compress Stencil bytecode before writing to cache r=nbp
The SRI hash at the beginning of ScriptLoadRequest::mScriptBytecode is left
uncompressed because ScriptLoader::OnIncrementalData() tries to decode it
as soon as enough data is read (instead of waiting until OnStreamComplete()).

ScriptLoader writes the length of the uncompressed bytecode to the buffer
to make it easy for ScriptLoadHandler to allocate an buffer of the right size
to decompress the bytecode.

These changes are based on the bytecode compression implemented for WASM in
dom/fetch/FetchUtil.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D141524
2022-05-18 21:03:47 +00:00
Mike Hommey 2e79f54e44 Bug 1769901 - Update numerous rust crates. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146660
2022-05-18 21:00:05 +00:00
Andrew McCreight 11e45a989b Bug 1769867, part 3 - Don't add a XUL document in test_bug396843.html. r=smaug
It looks like this is just added in to test a bunch of stuff,
but this causes the test to break if allowXULXBL is not set,
so just remove it.

Differential Revision: https://phabricator.services.mozilla.com/D146646
2022-05-18 19:52:20 +00:00
Andrew McCreight 7b3c201d8e Bug 1769867, part 2 - Don't test for XUL in test_title.html. r=kmag
There's a similar chrome test for this functionality, test_title.xhtml,
and I think we don't care too much about the correctness of in-content
XUL at this point. We want to avoid enabling XUL during tests.

Differential Revision: https://phabricator.services.mozilla.com/D146641
2022-05-18 19:52:20 +00:00
Andrew McCreight caf701cb44 Bug 1769867, part 1 - Rewrite test_bug590870.html and test_bug590812.html to not depend on ambient allowXULXBL. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D146638
2022-05-18 19:52:19 +00:00
Sylvestre Ledru 5a4fc1f5d0 Bug 1768031 - Ride along: enable other linters on the mjs extensions r=linter-reviewers,marco,Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D146090
2022-05-18 19:15:53 +00:00
William Durand 6775fe659d Bug 1769707 - Update in-tree docs to mention privileged extensions and link to xpi-manifest repo. r=rpl DONTBUILD
List of changes:

- renamed a section for clarity (WebExtensions Experiments -> Adding
  Experimental APIs in Privileged Extensions)
- fixed a few typos because I think we should consistently use the name
  WebExtensions (with a `s`) when it is followed by API(s) at least
- added a link to the xpi-manifest repo in a notice (main repo, not the
  `docs/` folder or a markdown file because that may change)
- Experimental APIs is referenced in the section that has been edited so
  made it clear what is an Experimental API vs Built-in (hopefully).
  Also kept the reference to "WebExtensions Experiment" (which seems to
  be an alias)

Differential Revision: https://phabricator.services.mozilla.com/D146537
2022-05-18 19:15:51 +00:00
Mozilla Releng Treescript 6ca1bebb21 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
be -> e3c47dfcb3cad13961188707d1ce1d3d6ebb1eda
cy -> 1bc8385c268cf7e39b6b13bd7c2b20d192fb0847
da -> 2c78d9440a435ce9367923b16764236421aa2f3d
de -> 3e8c643bab0bbcef7189186cc1e245717e16eabd
fi -> 425e99ccedeb366d9a91106c86926f52a3f774ca
fr -> e559193a9d30205651d9ea9d411dc79498995927
fy-NL -> 98a2b7826851c4e698fc6319e10fc7796852b4ae
he -> f389cbd4025b23254c19d174a8fa5b816af4c3d1
hsb -> fefdb39083faa83601516da57c54e548e3a7772a
nl -> 838ac2644fc11976f8513996760133ea33ccf7a9
pa-IN -> 613a0f7506b0bd3a289eb841ccad4b8b6d8a2c53
pt-BR -> 6893ff6b26069ac549fcff4a6f1ac4a183dac6ac
sk -> dfbb1c642d68728569fd08038e67d9085c45b4ee
tg -> 484f133bb8162365575ee75e313d0117bf9f559b
zh-TW -> 97fcf45923ed8d17b64334ed01c0dec5ebd17b30
2022-05-18 19:04:24 +00:00
Joel Maher e95ab8c641 Bug 1769842 - remove old osx annotations in reftest. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D146626
2022-05-18 18:57:11 +00:00
Sebastian Hengst d400ad8ea3 Bug 1769803 - set Send-binary-arraybufa step in ferview-int8.any.html?wpt_flags=h2 as passing on Android debug with software webrender
Unexpected passes started with the lates expectations update in bug 1768309.

Differential Revision: https://phabricator.services.mozilla.com/D146733
2022-05-18 18:44:11 +00:00
David Shin d1cd6ae125 Bug 1765668: Fix border offset when the `writing-mode` of an abspos element's containing block differs from its absolute containing block. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D146095
2022-05-18 18:09:33 +00:00
Kagami Sascha Rosylight f07b765323 Bug 1765832 - Part 3: Remove AutoSelectionSetterAfterTableEdit::CancelSetCaret r=masayuki
The comment is lying as nothing actually uses it.

Differential Revision: https://phabricator.services.mozilla.com/D146631
2022-05-18 18:07:01 +00:00
Kagami Sascha Rosylight 71c589edd6 Bug 1765832 - Part 2: Remove redundant MOZ_KNOWN_LIVE in dom/streams r=smaug
Those are indeed not being mutated during the object's lifetime before
CC, but currently the initialization is being done outside of the
constructor and that violates the newly proposed rule.

The only affected use is TransformStreamDefaultController::mStream
though, as others are exposed by public getters which does not support
MOZ_KNOWN_LIVE yet (and thus MOZ_KnownLive() is used by callers).

Ideally those should be refactored to be initialized within the
constructor, but I'll do that separately.

Differential Revision: https://phabricator.services.mozilla.com/D146209
2022-05-18 18:07:01 +00:00
Kagami Sascha Rosylight a9e8954b79 Bug 1765832 - Part 1: Restrict MOZ_KNOWN_LIVE to be modifiable only by constructor/destructors r=andi
Differential Revision: https://phabricator.services.mozilla.com/D146023
2022-05-18 18:07:00 +00:00
Jan Rio Krause dcd8cea5e0 Bug 1735124 - Include `thread_id` in row order and extract `seq` from merged value. r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D146472
2022-05-18 18:04:01 +00:00
Joel Maher 9c441c96ca Bug 1769655 - do not install condprof package on osx. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D146729
2022-05-18 17:53:41 +00:00
Sebastian Hengst 7c6ef17eb7 Bug 1769468 - Update metadata for /fetch tests r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D146513
2022-05-18 17:50:08 +00:00
Iulian Moraru 7bc6abbc6e Backed out changeset 9273652dbd01 (bug 1769993) for causing mochitest-chrome failures on test_printpreview.xhtml. CLOSED TREE 2022-05-18 20:42:02 +03:00
Iulian Moraru 4f7b7b518b Backed out changeset 6f5cd18d3b57 (bug 1769094) for causing gtest failures on TestFilePreferencesUnix.Simple. 2022-05-18 20:41:06 +03:00
Michael Comella 396647cde1 Bug 1766516 - add about:profiling thread checkboxes for java. r=canaltinova,fluent-reviewers,flod
I tried to pick thread groups that are part of GeckoView (Gecko), might be
common to GeckoView products (Nimbus), and the Android ecosystem (Kotlin
coroutines) instead of threads that are fenix-specific.

Differential Revision: https://phabricator.services.mozilla.com/D144753
2022-05-18 17:24:39 +00:00
Michael Comella 3f9fef6bd8 Bug 1767063 - make PerformanceEntry.mEpoch narrowing conversion explicit. r=sefeng
The converted value gets passed into TimingNotification which assigns the value
into a PerformanceEntry (this is the only usage). Since PerformanceEntry is
defined in WebIDL, we could not change its types (which is double for mEpoch) so
we were forced to safely convert the value where we did.

I don't think the existing conversion code had any bugs since we converted a
64-bit signed integer timestamp into uint64_t (safe) into a double (which is
safe for the reasons mentioned in the code comments).

Differential Revision: https://phabricator.services.mozilla.com/D145142
2022-05-18 17:22:15 +00:00