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

769043 Коммитов

Автор SHA1 Сообщение Дата
Tetsuharu Ohzeki 26d69b10cf Bug 1729817 - Remove unused WebRenderImageHost::PrintInfo(). r=gfx-reviewers,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D125018
2021-09-09 15:46:20 +00:00
Tetsuharu Ohzeki 1de09d73e8 Bug 1729817 - Remove unused TextureClient::PrintInfo(). r=gfx-reviewers,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D125017
2021-09-09 15:46:19 +00:00
Jesse Schwartzentruber be85536c1a Bug 1729907 - Improve mozboot support for Archlinux. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125067
2021-09-09 15:39:15 +00:00
Kris Wright cb5e16a975 Bug 1576515 - Enable PHC on Mac r=glandium
Note that we don't appear to support 32-bit on mac so it'd be redundant to check for it.

Differential Revision: https://phabricator.services.mozilla.com/D124919
2021-09-09 15:28:59 +00:00
Benjamin Peterson 9253af4014 Bug 1729843 - Remove vestigial plugin-related code from nsWebNavigationInfo. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D125026
2021-09-09 15:03:05 +00:00
Greg Tatum 9f02eb8a33 Bug 1728132 - Report mozilla::intl OOM errors in SpiderMonkey; r=anba
Differential Revision: https://phabricator.services.mozilla.com/D124977
2021-09-09 14:57:55 +00:00
Greg Tatum 238d8b17c7 Bug 1715980 - Fix the calendar keyword in Calendar::GetBcp47Type docs; r=platform-i18n-reviewers,dminor DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124982
2021-09-09 14:57:37 +00:00
Andrew Halberstadt ce075afd70 No Bug - Update documentation for generating ccov reports locally, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D124954
2021-09-09 14:49:27 +00:00
Jonathan Kew 39811f1b68 Bug 1726416 - Update testcase for Arabic subtending marks (from bug 1599841) now that harfbuzz handles the number-directionality issue internally. r=emilio
We can no longer use direction overrides to create the test vs reference renderings here,
because of how harfbuzz now handles the numeral directionality internally. So it's difficult
to come up with a testcase that verifies the exact rendering of the subtending mark + digit(s)
combinations.

What we can do, though, is verify that a single digit combines with the subtending mark
without affecting its overall width; and that a double-digit number *does* increase the
width. These two conditions are unlikely to both hold unless the rendering is behaving
correctly.

(FWIW, Chrome Canary passes these new test versions, as it also uses a recent harfbuzz;
Safari currently fails, as Core Text doesn't support the subtending marks in the same
way, if at all.)

Differential Revision: https://phabricator.services.mozilla.com/D124902
2021-09-09 14:48:32 +00:00
Ryan VanderMeulen f2c97ff01c Bug 1726416 - Revert the changes made by bug 1716029 which are no longer needed. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D124822
2021-09-09 14:48:32 +00:00
Ryan VanderMeulen b35a31e2b9 Bug 1726416 - Update HarfBuzz to 2.9.1. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D122989
2021-09-09 14:48:31 +00:00
ffxbld a9b982bfec No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D125057
2021-09-09 14:38:12 +00:00
Mark Banner dbddd5fb41 Bug 1729519 - Correct amount of places.sqlite-wal read and writes to cover correct amounts after bug 1727783. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D125064
2021-09-09 14:07:30 +00:00
Andrei Oprea b9096de8d8 Bug 1728990 - Require exposure event description in FeatureManifest r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D124657
2021-09-09 13:43:05 +00:00
Jesse Schwartzentruber 512463417e Bug 1624717 - Copy release mode bounds checking from nsTArray to Array r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D124833
2021-09-09 13:29:18 +00:00
Edgar Chen d34d32ffe8 Bug 1729800 - Convert nsExtendedDOMSlots::mCustomElementData to UniquePtr; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D124987
2021-09-09 13:23:03 +00:00
Cristian Tuns f15dfad271 Backed out changeset f41a5f974305 (bug 1728549) for causing spidermonkey bustages. CLOSED TREE 2021-09-09 09:25:41 -04:00
Eden Chuang 21c1f22b47 Bug 1721897 - Getting the top same process parent document's principal for payment request. r=kmag
Details in https://bugzilla.mozilla.org/show_bug.cgi?id=1721897#c5

Differential Revision: https://phabricator.services.mozilla.com/D121153
2021-09-09 13:07:28 +00:00
Jan de Mooij e5de072e14 Bug 1729867 part 5 - Use same argument order for NewObject and NewObjectWithGivenTaggedProto. r=jonco
Depends on D125045

Differential Revision: https://phabricator.services.mozilla.com/D125046
2021-09-09 13:04:15 +00:00
Jan de Mooij 359b323a5c Bug 1729867 part 4 - Remove ObjectFlags argument from NewObject and NewObjectWithGivenTaggedProto. r=jonco
Depends on D125044

Differential Revision: https://phabricator.services.mozilla.com/D125045
2021-09-09 13:04:15 +00:00
Jan de Mooij 955aba9d18 Bug 1729867 part 3 - Share more code in NewObject, inline NewObject. r=jonco
Depends on D125043

Differential Revision: https://phabricator.services.mozilla.com/D125044
2021-09-09 13:04:14 +00:00
Jan de Mooij 484102a073 Bug 1729867 part 2 - Remove empty Caches-inl.h and Caches.cpp files. r=jonco
Depends on D125042

Differential Revision: https://phabricator.services.mozilla.com/D125043
2021-09-09 13:04:14 +00:00
Jan de Mooij 82b2ade13f Bug 1729867 part 1 - Remove the NewObjectCache. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D125042
2021-09-09 13:04:13 +00:00
Florian Quèze c9a88d32cd Bug 1729689 - Do not require nsITimerCallback implementations to implement nsINamed on release or beta, as runnables don't have names there, r=smaug.
Differential Revision: https://phabricator.services.mozilla.com/D124910
2021-09-09 12:54:11 +00:00
Lars T Hansen 27dcb3104d Bug 1728549 - Make the 'none' case narrower, only wasi is affected. r=jseward CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D125063
2021-09-09 12:54:09 +00:00
Joel Maher e2d4310529 Bug 1729726 - fix issue on windows where symlink doesn't work. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D124927
2021-09-09 12:13:01 +00:00
Lars T Hansen ccbaec66be Bug 1728549 - Make the 'none' case narrower, only wasi is affected. r=jseward CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D125063
2021-09-09 12:30:03 +00:00
Yoshi Cheng-Hao Huang d92ecbcd8b Bug 1719747 - Part 3: ListFormat::FormatToParts takes a callback. r=gregtatum,tcampbell
As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1719747#c6,
In Part 1, the ownership of the Span in PartsVector is maintained by
ICU. This method adds a callback so js::intl::ListFormat could copy the
content of the Span to Spidermonkey, and mozilla::intl::ListFormat could
use ScopedICUObject to release the string owned by ICU earlier.

Differential Revision: https://phabricator.services.mozilla.com/D123166
2021-09-09 12:02:22 +00:00
Yoshi Cheng-Hao Huang f45fe880de Bug 1719747 - Part 2: Use NewDenseFullyAllocatedArray. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D123165
2021-09-09 12:02:21 +00:00
Yoshi Cheng-Hao Huang 39cadacc67 Bug 1719747 - Part 1: Unify ListFormat in SM. r=gregtatum,anba,platform-i18n-reviewers,tcampbell
Move implementations to mozilla::intl::ListFormat

Differential Revision: https://phabricator.services.mozilla.com/D122334
2021-09-09 12:02:21 +00:00
Lars T Hansen 945a8b6938 Bug 1728549 - Add a 'none' case for some atomic ops. r=jseward
This is needed for WASI, which has a weird configuration not previously tested.

Differential Revision: https://phabricator.services.mozilla.com/D125062
2021-09-09 11:51:10 +00:00
Julian Seward a3c37b019b Bug 1728522 - arm64 `IONFLAGS=codegen` output: show assembler offset for each insn. r=nbp.
Currently IONFLAGS=codegen doesn't show the assembler offset on any target,
AFAIK. On arm64, at least, reasoning about code offsets merely by looking at
the log output is unreliable, because it is impossible to spot "holes"
(multiple 4-byte insn slots) in the output, and also it is impossible to see
where there has been a transition to a new assembler instance.

This patch fixes it in the obvious way, by printing the offset as 6 hex
digits. Before:

[Codegen] [3] f8408780        ldr     x0, [x28], #8
[Codegen] [3] f85c02e9        ldur    x9, [x23, #-64]

After:

[Codegen] [3] 00b280 f8408780        ldr     x0, [x28], #8
[Codegen] [3] 00b284 f85c02e9        ldur    x9, [x23, #-64]

Differential Revision: https://phabricator.services.mozilla.com/D125050
2021-09-09 11:36:49 +00:00
Lars T Hansen 4555b69407 Bug 1728549 - Final post-refactor reorg and cleanup. r=jseward
This gets rid of some more platform ifdefs and reorganizes the functions and comments
to more naturally reflect their functional group.  No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D124808
2021-09-09 11:12:21 +00:00
Lars T Hansen acc63b26cf Bug 1728549 - Refactor atomic operations to make them maintainable. r=jseward
This is a fairly large refactor without any change intended in
functionality or even (functionality-neutral) code generation.

Background:

Previously, atomic operations were split into several parts that lived
in different parts of WasmBaselineCompile.cpp and WasmBCMemory.cpp:

* the "emitters" in WasmBaselineCompile.cpp which read bytecode and
called code generation functions in WasmBCMemory.cpp;

* the code generation drivers in WasmBCMemory.cpp such as atomicXchg();

* the "poppers", which were RAII wrappers that would know about how to
do register allocation and assignment per-platform;

* a helper class for managing temp registers separately from the
poppers, defined in WasmBCMemory.h; and

* template functions that would drive the macroassembler given the
inputs from the above.

Historically these were scattered far apart in WasmBaselineCompile.cpp
because of the layering of that file; the recent refactor just moved
some of them to WasmBCMemory.cpp without doing anything more.

This patch changes the structure as follows:

* the "emitters" stay where they are because they are clean and
because separating out the emitters is a good pattern we want to
continue to use; and

* the other parts have been brought together in WasmBCMemory.cpp and
ifdeffed in a way that keeps related code together.

In particular, the code generation drivers now have a common form,
where it explicitly calls pop/alloc, codegen, and dealloc methods, and
the methods for an operation on a platform are defined together.  This
should make code significantly more maintainable, and it reduces the
ifdeffery in the file.  Also it allows the file to be organized
better.

Differential Revision: https://phabricator.services.mozilla.com/D124645
2021-09-09 11:12:20 +00:00
Lars T Hansen ff39191db9 Bug 1728549 - Rearrange WasmBCMemory.cpp. r=jseward
No functional change, just grouping methods according to their area of
operation and adding separators to clarify.

Differential Revision: https://phabricator.services.mozilla.com/D124644
2021-09-09 11:12:20 +00:00
Lars T Hansen c86f61e540 Bug 1728549 - Remove WasmBCMemory.h. r=jseward
WasmBCMemory.h held a class that was visible in WasmBCClass.h, but
this class can be internal to WasmBCMemory.cpp if some of the methods
on BaseCompiler are turned into static functions in the latter file.

Differential Revision: https://phabricator.services.mozilla.com/D124643
2021-09-09 11:12:19 +00:00
Lars T Hansen 5f04c30325 Bug 1728549 - Remove some platform dependencies in WasmBCMemory. r=jseward
Remove platform dependencies that depend only on whether the platform
has a HeapReg or not, by introducing a properly named #define for this
and rewriting the code slightly.

Introduce a RegIntptr alias to express integer-representing-pointer
appropriately on different platforms.

Introduce a templated move() method for register-to-register moves.

Drive-by cleanup:

Replace the overloaded free() methods for freeing registers with a
templated variant to match what we have for push, pop, need, and move.

Document the internal #defines that control the compiler.

Differential Revision: https://phabricator.services.mozilla.com/D124642
2021-09-09 11:12:19 +00:00
stransky d1b0d26008 Bug 1729709 [Wayland] Avoid move-to-rect calls when popup size changes but it still fits main window bounds, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D124914
2021-09-09 10:20:18 +00:00
stransky 646adf404e Bug 1611407 [Linux/X11] Don't try to get text clipboard data of binary MIME types, r=jhorak
X11 tries to convert any binary clipboard data to text if text MIME type is missing in clipboard.
This leads to various errors, wrong conversions and timeouts.
So get clipboard content first and if there are only binary MIME types in clipboard advertise only these types.

Differential Revision: https://phabricator.services.mozilla.com/D123687
2021-09-09 09:46:09 +00:00
Gerald Squelart 8197b9611b Bug 1728993 - Test basic health of every combination of the most important features - r=florian
This adds a test that goes through all combinations of a number of important features, and verifies that the JSON output looks valid.

Differential Revision: https://phabricator.services.mozilla.com/D124739
2021-09-09 09:37:29 +00:00
Gerald Squelart 0c9b125fe5 Bug 1728993 - Added JSON profile check that samples all look valid - r=florian
All profiles submitted to `JSONOutputCheck` are now checked for valid-looking samples, as in:
- Samples should point into the stackTable.
- stackTable entries should point to the caller in the same stackTable (or null for the root frame).
- stackTable entries should also point into the frameTable.
- frameTable entries should point into the stringTable for the "location".

Differential Revision: https://phabricator.services.mozilla.com/D124738
2021-09-09 09:37:29 +00:00
Gerald Squelart d926fdb586 Bug 1728993 - Handle same-sample case when there are no stacks - r=florian
A scenario for a thread may be that the first entry has an empty sample (usually if stack-sampling is turned off) and no running times (first-ever sample, or "cpu" is off), so it's not output, and there is no corresponding stack table entry.
Then there may be a "same sample" entry.
- If there are no running times, nothing should be output.
- If there are running times, an empty stack should be output, but for that we need to ensure that the root frame is present in the stack table entry, because that represents an empty stack.

Differential Revision: https://phabricator.services.mozilla.com/D124612
2021-09-09 09:37:29 +00:00
Emilio Cobos Álvarez a480cfb732 Bug 1729477 - Tweak SubresourceCacheValidationInfo to account for chrome uris. r=tnikkel
Turns out my patch above causes some failures because chrome:// channels
don't have cache information, so we conservatively assume they always
expire, which causes some interesting timing issues in a single test.
Fun stuff.

Tweak the code so that SubresourceCacheValidationInfo has the
pre-existing data:// URI special-case and also special-cases chrome://
URIs.

Differential Revision: https://phabricator.services.mozilla.com/D124921
2021-09-09 09:32:11 +00:00
Tetsuharu Ohzeki ce8534e1aa Bug 1729824 - Remove unused layout.animated-image-layers.enabled. r=hiro,layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125007
2021-09-09 09:23:35 +00:00
hxu 5df4ead67c Bug 1727497 - Add MOZ_DIAGNOSTIC_ASSERT in CacheStreamControlParent::CloseAll(); r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D124454
2021-09-09 09:12:59 +00:00
Cristian Tuns 8d028dff49 Backed out changeset b643b1b8a326 (bug 1729680) for causing Mochitest failures. CLOSED TREE 2021-09-09 04:50:28 -04:00
Paul Bone df1e6b47fa Bug 1725635 - Tighten when dom/ipc/tests/browser_gc_schedule.js can run r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124880
2021-09-09 08:14:58 +00:00
Geoff Lankow 94e39a945c Bug 1729836 - Override telemetry products check in test_DownloadBlockedTelemetry.js. r=dimi
This test fails on Thunderbird which doesn't have the telemetry in question.

Differential Revision: https://phabricator.services.mozilla.com/D125014
2021-09-09 08:09:14 +00:00
Mirko Brodesser c3810f3407 Bug 1728955: part 6) Log result of Windows' `OleSetClipboardResult`. r=masayuki
Helps to understand when something goes wrong.

Differential Revision: https://phabricator.services.mozilla.com/D124899
2021-09-09 07:47:33 +00:00
Kershaw Chang 1956da361f Bug 1725766 - Disallow view-source URI to open external apps, r=necko-reviewers,dragana,valentin
Differential Revision: https://phabricator.services.mozilla.com/D123825
2021-09-09 07:42:59 +00:00