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

712631 Коммитов

Автор SHA1 Сообщение Дата
emcminn de8cd4016e Bug 1639672 - Added svg about-logo icons r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D78563
2020-06-11 04:11:18 +00:00
Toshihito Kikuchi 5002a0f0f7 Bug 1407712 - Block more versions of guard64.dll of Comodo Firewall. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D79238
2020-06-11 14:36:44 +00:00
Gregory Mierzwinski 83d3f92844 Bug 1644993 - Add a non-standard prefix field to mozperftest data. r=mozperftest-reviewers,tarek
This patch adds a prefix field to the mozperftest perfherder data. This is a non-standard data field so the performance-artifact-schema.json file isn't modified to include it.

Differential Revision: https://phabricator.services.mozilla.com/D79296
2020-06-11 14:38:53 +00:00
Joel Maher f16377e4f4 Bug 1591466 - do not adjust tier and optimization for mobile. r=sparky
do not adjust tier and optimization for mobile.

Differential Revision: https://phabricator.services.mozilla.com/D79279
2020-06-11 14:38:01 +00:00
André Bargull 7eccf8abfa Bug 1630706 - Part 4: Add tests and update existing ones. r=jorendorff
Update existing tests to run with `SharedArrayBuffer` and `ArrayBuffer`.

Also add new tests for cases which weren't previously possible (detached
buffers and TypedArrays using inline storage).

Differential Revision: https://phabricator.services.mozilla.com/D76322
2020-06-11 13:12:59 +00:00
André Bargull c568211dbc Bug 1630706 - Part 3: Remove no longer used MGuardSharedTypedArray. r=jandem
After part 2 this MIR node is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D76321
2020-06-11 12:22:35 +00:00
André Bargull 2e3b927629 Bug 1630706 - Part 2: Remove addSharedTypedArrayGuard when inlining Atomics operations. r=jandem
We no longer need to guard against non-shared TypedArrays when inlining
`Atomics` functions.

The `MemoryBarrierRequirement` changes for `M(Load|Store)UnboxedScalar` were
made to keep at least some users for `TypedArraySharedness`. In practice this
code won't be used anyway, because `TemporaryTypeSet::getTypedArraySharedness`
always returns `UnknownSharedness`. Also see bug 1225025.

Differential Revision: https://phabricator.services.mozilla.com/D76320
2020-06-11 12:22:01 +00:00
André Bargull 2016a738e1 Bug 1630706 - Part 1: Allow non-shared ArrayBuffers for Atomics operations. r=jorendorff
The TypedArray data extraction had to be moved from `AtomicAccess` into the
actual operation to account for the case when a TypedArray using inline data
is moved by the GC due to side-effects triggered by type conversions within
the operation. Part 4 contains tests to cover this case.

Because the TypedArray data is no longer passed to the operation, we can't use
it anymore to determine the data type from the `SharedMem<T>` parameter. Instead
pass an `ArrayOps<T>` instance to the operation, so we can determine `T` within
the lambda function. (Templated lambda functions are only available starting
with C++20!) The compiler should be able to optimise away the stack allocation
for this instance, so this won't incur any performance costs.

Differential Revision: https://phabricator.services.mozilla.com/D76319
2020-06-11 12:21:36 +00:00
Dorel Luca bb8522746f Backed out changeset c0573a579b73 (bug 1641682) for WPT failures in /html/canvas/element/imagebitmap/createImageBitmap-invalid-args.html. CLOSED TREE 2020-06-11 17:44:48 +03:00
Marco Zehe f81a375e03 Bug 1645013 - Fix mis-typed localization reference, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D79278
2020-06-11 12:20:17 +00:00
Ted Campbell 2ef5d835ba Bug 1599634 - Remove dummyFunction from asm.js. r=bbouvier,djvj
These days, FunctionBox can be created without a JSFunction which is also
suitable for the asm.js dummyFunction case. Remove the function and pass name
and flags directly to the FunctionBox.

We set flags to INTERPRETED_NORMAL since that is only type of function
allowed at this point in the asm.js context.

Differential Revision: https://phabricator.services.mozilla.com/D78802
2020-06-10 16:30:20 +00:00
Ted Campbell 75ed74c5c4 Bug 1599634 - Defer JSFunction allocation for asm.js modules r=djvj
Avoid allocating the JSFunction / WasmModuleObject for asm.js during parsing,
but continue to generate the JS::WasmModule (which does not use GC). Add a
map to the CompilationInfo to keep track of these modules until stencils are
being instantiated.

Differential Revision: https://phabricator.services.mozilla.com/D78089
2020-06-11 13:31:10 +00:00
Nika Layzell 35969e149c Bug 1644797 - Add a WindowContext getter to Document, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D79160
2020-06-11 11:19:14 +00:00
Alex Chronopoulos ff12e214be Bug 1644524 - Fix a gtest to assert the initial state sooner. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D79078
2020-06-11 13:21:09 +00:00
Sylvestre Ledru 2ad15eb452 Bug 1644809 - mozlint/clippy handle the summary r=marco
Differential Revision: https://phabricator.services.mozilla.com/D79166
2020-06-11 12:29:10 +00:00
Sylvestre Ledru 1a628a1b02 Bug 1644799 - mozlint/clippy Add a debug message containing the clippy version r=marco
Differential Revision: https://phabricator.services.mozilla.com/D79161
2020-06-11 12:27:57 +00:00
Marco Bonardo 2e16489d68 Bug 1642943 - Introduce a pref to control post-search DNS resolution of single word hosts. r=Gijs,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D78403
2020-06-11 12:42:29 +00:00
Honza Bambas 089a846bd0 Bug 1642303 - Keep channel of FetchPreloader even after the load has finished to let preload consumers use that channel early after opening, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D78729
2020-06-10 14:21:56 +00:00
Jonathan Kew cb11bc28c6 Bug 1346261 - Add some WPT reftests for font-language-override behavior. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D78113
2020-06-11 12:21:48 +00:00
sotaro c5381ed0cd Bug 1638819 - Skip SyncObjectD3D11Host::Synchronize() when RenderTextureHosts do not use ID3D11Texture2D r=jrmuizel
Simple implementation of skipping SyncObjectD3D11Host::Synchronize(). More optimization could be done in Bug 1635629.

Differential Revision: https://phabricator.services.mozilla.com/D75781
2020-06-11 07:28:30 +00:00
Emilio Cobos Álvarez d26be6dd80 Bug 1599160 - Add a test for the interaction between webRequest and the stylesheet cache. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D78874
2020-06-11 11:43:26 +00:00
Emilio Cobos Álvarez 3e54c1cef1 Bug 1599160 - Clear the shared stylesheet cache in some mochitests. r=mayhemer,robwu
So that they keep testing the network cache / url classifier / etc...

Differential Revision: https://phabricator.services.mozilla.com/D77843
2020-06-11 11:42:11 +00:00
Emilio Cobos Álvarez d1db9f246c Bug 1599160 - Stop synthesizing performance timing entries for cache sheets. r=mayhemer
This basically undoes D77842, but it was better done on top than just
removing the patch from the stack. I could squash them if desired.

The previous patch to respect caching headers makes tests much much more
happy, to the point where I'm not sure whether we really need this or
not. Your call whether we should keep it or not.

Differential Revision: https://phabricator.services.mozilla.com/D78660
2020-06-11 11:42:08 +00:00
Emilio Cobos Álvarez 5048e0ec84 Bug 1599160 - Better integration of the shared stylesheet cache with the network cache. r=tnikkel,mayhemer,heycam
Make the stylesheet cache respect the same headers as the image cache
does. This makes no-cache stylesheets work as they do now, which is
useful for developers that want to develop sites locally, and for
shift-reloads, etc.

Differential Revision: https://phabricator.services.mozilla.com/D78659
2020-06-11 11:42:01 +00:00
Emilio Cobos Álvarez d999791a43 Bug 1599160 - Add a performance resource entry when hitting the cache for the first time in a document. r=mayhemer,valentin
This matches other browsers, our current behavior, and the test
expectations from various WPTs.

Differential Revision: https://phabricator.services.mozilla.com/D77842
2020-06-11 11:41:59 +00:00
Emilio Cobos Álvarez 208b60eed2 Bug 1599160 - Allow caching stylesheets across documents. r=heycam
This patch implements a per-process cache of parsed stylesheets for
non-inline sheets. The entries are evicted when the document gets
destroyed and there's no other document with the same principal around.

This works fine in practice even when navigating because CC happens
pretty late, but we could add an extra timer if we deem it worth it.

I had to adapt some tests so that they keep passing. They were already
clearing various image / network caches so it seems fine to also clear
this one.

Note that there's a very subtle change in the load data key: We only
miss the cache if the referrer _policy_ is different, not if the
referrer is different. While that is slightly dubious, that is the only
think that makes this effort somewhat worth it. Otherwise stylesheets
would have to be re-fetched if the referrer is different, which
effectively would mean to re-parse it if the document URI is different,
which is bad.

It seems like the network cache only keys on the referrer policy, so it
seems fine to do the same.

Differential Revision: https://phabricator.services.mozilla.com/D77457
2020-06-11 11:42:46 +00:00
Kagami Sascha Rosylight d627e77548 Bug 1630704 - Part 12: Move GetLineNumber() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79209
2020-06-11 10:02:47 +00:00
Kagami Sascha Rosylight 0e0a1d2782 Bug 1630704 - Part 11: Move ShouldApplyOverflowClipping() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79208
2020-06-11 10:02:39 +00:00
Kagami Sascha Rosylight 68b5469db3 Bug 1630704 - Part 10: Move ShowFrameBorders() and friends r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79207
2020-06-11 10:02:22 +00:00
Kagami Sascha Rosylight b451e62852 Bug 1630704 - Part 9: Move GetFrameName() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79206
2020-06-11 10:02:14 +00:00
Kagami Sascha Rosylight 898ba4525d Bug 1630704 - Part 8: Move FireDOMEvent() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79205
2020-06-11 00:43:57 +00:00
Sylvestre Ledru 15ad7d1dcd Bug 1617369 - Reformat recent rust changes with rustfmt r=arai
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D79149
2020-06-11 09:14:41 +00:00
Emilio Cobos Álvarez 4cb5da08a2 Bug 1640623 - Use an enum class for LookAndFeel::FontID. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D76696
2020-06-11 11:27:58 +00:00
Emilio Cobos Álvarez 65e6b7b7c5 Bug 1640623 - Use enum classes for LookAndFeel::OperatingSystemVersion. r=jmathies
And simplify a bit its usage. Non-windows widget will just fail the
query, so there's no need to ifdef this.

Differential Revision: https://phabricator.services.mozilla.com/D76695
2020-06-11 11:28:59 +00:00
Emilio Cobos Álvarez ef3d21048d Bug 1640623 - Use enum classes for LookAndFeel int and float IDs. r=jmathies,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D76694
2020-06-11 11:27:43 +00:00
Martin Stransky 78e9bb6d99 Bug 1640973 - [Linux] Enable hidden system titlebar for dialogs r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D78818
2020-06-11 11:20:07 +00:00
Dorel Luca d79704f94c Backed out changeset 09ce524559da (bug 1597562) for failures in awsy/test_base_memory_usage.py. CLOSED TREE 2020-06-11 14:21:51 +03:00
Kagami Sascha Rosylight ea53f4857d Bug 1644868 - Return pointer from GetPrimaryFrameFor* r=jfkthame
Those methods have two sources to check after call: the return value and the pointer. This can be confusing as a caller may think they should check both when they don't need to. Since the two always behaves together (a valid pointer + NS_OK, or nullptr + NS_ERROR_FAILURE), this replaces the return value with the pointer.

Differential Revision: https://phabricator.services.mozilla.com/D79196
2020-06-11 10:56:11 +00:00
Simon Giesecke 92ffcc48e8 Bug 1641512 - Replace Append method by operator+=. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77451
2020-06-11 10:42:24 +00:00
Simon Giesecke 2e8e66ab3c Bug 1641512 - Rename AppendTo*Usage methods to Increment*Usage. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77450
2020-06-11 10:42:16 +00:00
Simon Giesecke dea8831f5c Bug 1641512 - Introduce Usage type with operator+/+=. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77449
2020-06-11 10:42:12 +00:00
Simon Giesecke 38fd6472cd Bug 1641512 - Remove unused include directive. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77447
2020-06-11 10:42:10 +00:00
Simon Giesecke f786f97363 Bug 1641512 - Remove unused UsageInfo::DatabaseUsage function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77446
2020-06-11 10:42:07 +00:00
Nicolas Chevobbe 69126eb5b2 Bug 1624531 - Refresh codeMirror instance when input is resized. r=Honza.
This patch adds a ResizeObserver to the input node, which when triggered
refreshes the codeMirror instance.
This is needed because codeMirror draws specific elements, like the cursor
and selection blocks, and they need to be re-computed if the editor size
changed (the line might have wrapped, and the cursor need to be in a new
position now).

Depends on D78649

Differential Revision: https://phabricator.services.mozilla.com/D78661
2020-06-11 10:18:12 +00:00
Nicolas Chevobbe 130c2955a0 Bug 1620569 - Reset editor selection when console input is blurred. r=Honza.
CodeMirror does not have an option to automatically remove
the selection when the editor is blurred, which means there
can be a kind-of weird visual glitch when there was a selection
and the user does another selection.
This patch listen for the blur event on the editor, and if there
was a selection, removes it.
The blur event need to be piped down from the sourceeditor.
A test is added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D78649
2020-06-11 10:14:30 +00:00
Alphan Chen 13fbc508bd Bug 1643826 - Fix the problem when restoreTabContent() is called twice. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D79047
2020-06-11 09:30:29 +00:00
Timothy Nikkel 04d7907c66 Bug 1641682. Don't kick off a validation network request if the original image network request hasn't finished. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D78858
2020-06-11 09:54:18 +00:00
Dorel Luca 2a1f38a07c Backed out changeset 1c79bd1023d8 (bug 1641682) for Build bustage in worker/checkouts/gecko/config/rules.mk 2020-06-11 12:43:24 +03:00
Gijs Kruitbosch c73088ced1 Bug 1643175 - update documentation about JSWindowActor's observers list, r=Yoric
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D78566
2020-06-11 09:42:32 +00:00
Jon Coppeard 925ac1a2d0 Bug 1644393 - Fix test case to work in beta/release builds r=sfink
This changes the test to be much more specific.

It adds a way of making gcslice only trigger a slice during an incremental collection, without which the collection loop can loop forever.

Differential Revision: https://phabricator.services.mozilla.com/D79136
2020-06-11 09:31:07 +00:00