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

691255 Коммитов

Автор SHA1 Сообщение Дата
Masatoshi Kimura aedbf36959 Bug 1614814 - Stop using fopen in ipc/chromium/src/base/process_util.h on Windows. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D62507

--HG--
extra : moz-landing-system : lando
2020-02-13 12:35:40 +00:00
Michal Novotny 32b5d4c391 Bug 1614706 - ThreadSanitizer: data race [@ Release] vs. [@ CloseWithStatusLocked] in CacheFileInputStream r=mayhemer
Acquiring the lock is moved from CacheFile::RemoveInput() to CacheFileInputStream::Release(). This fixes the data race and is consistent with CacheFile::RemoveOutput() which is also called under the lock.

Differential Revision: https://phabricator.services.mozilla.com/D62504

--HG--
extra : moz-landing-system : lando
2020-02-12 14:45:36 +00:00
Arthur Iakab 0bcf2288ef Backed out changeset c36521288f85 (bug 1615016) for causing spidermonkey bustages on GC-inl.h
CLOSED TREE
2020-02-13 15:02:42 +02:00
Csoregi Natalia 743b1f8b4b Backed out 3 changesets (bug 1614376) for assertion failures on GfxInfoBase.cpp. CLOSED TREE
Backed out changeset b239f4b49722 (bug 1614376)
Backed out changeset c5ac550f4966 (bug 1614376)
Backed out changeset e11c62eba5f1 (bug 1614376)
2020-02-13 14:35:26 +02:00
Simon Giesecke ad6c02c994 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in mfbt. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62542

--HG--
extra : moz-landing-system : lando
2020-02-13 11:20:27 +00:00
Arthur Iakab cb9fdd7284 Backed out changeset 44c99468c2fc (bug 1583397) for causing devtools failures on browser_net_resend_cors.js.
CLOSED TREE
2020-02-13 13:54:20 +02:00
Nicolas Chevobbe bed183e1a6 Bug 1614914 - Fix TypeError in JsPropertyProvider for debugger keyword. r=Honza.
A check is added, as well as a test to ensure everything
is okay.

Differential Revision: https://phabricator.services.mozilla.com/D62599

--HG--
extra : moz-landing-system : lando
2020-02-13 10:58:52 +00:00
Patrick Brosset 68097ebd32 Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets r=ochameau
First simple attempt at fixing this. The target getter in the DOM panel already
refers to the current toolbox top-level target. There doesn't seem to be a need
to change this as this is the only target the DOM panel cares about.
So, I'm only adding a listener for new top-level targets and refreshing the
panel when that happens, just like we do on navigation.
Am I missing something?

Differential Revision: https://phabricator.services.mozilla.com/D60013

--HG--
extra : moz-landing-system : lando
2020-02-05 13:31:32 +00:00
Andrew Osmond 6a274e995e Bug 1614376 - Part 3. Add support for device ID ranges in blocklist rules. r=jrmuizel
Currently the blocklist can block groups of devices, called a
DeviceFamily. However this only allows us to check specific IDs and not
ranges of device IDs like we do currently for the WebRender allowlist.
This patch allows a device family to now specify start and end values
for device IDs we want to match in the blocklist rule.

Differential Revision: https://phabricator.services.mozilla.com/D62324

--HG--
extra : moz-landing-system : lando
2020-02-11 22:36:41 +00:00
Andrew Osmond 1374c13c07 Bug 1614376 - Part 2. Add blocklist support for battery/screen size filters. r=jrmuizel
As part of the WebRender rollout, we have been only allowing users
meeting particular platform, battery and screen size requirements (among
others) to get WebRender by default. This patch adds support for battery
and screen size filters in the blocklist rules to allow us to control
that more easily. It also adds kludgey support for checking for recent
Windows 10 build numbers for allowlist purposes; implementing this the
proper way would require an implementation like driver version checks,
which are much more complicated than most of the rules.

Differential Revision: https://phabricator.services.mozilla.com/D62323

--HG--
extra : moz-landing-system : lando
2020-02-11 22:36:39 +00:00
Andrew Osmond 7ae72bfac0 Bug 1614376 - Part 1. Add support for an allowlist to GfxInfo. r=jrmuizel
The blocklist currently works by checking the current configuration
against a set of GfxDriverInfo rules. We stop searching as soon as we
find the first match, and return whatever status code that has.

This patch adds a second pass for features marked for allowing. The
current blocklisting rules will still apply as normal. However it will
then review the allowlist rules using the same logic. If we don't get
a match, then we block the feature otherwise we use the allow status
code given in the rule.

New status codes introduced as part of this patch are as follows:

DENIED - Did not match any rules on the allowlist.

ALLOW_ALWAYS - Same as STATUS_OK but passed the allowlist.

ALLOW_QUALIFIED - Same as ALLOW_ALWAYS but should be controlled by
our qualified preference for experimentation purposes.

Differential Revision: https://phabricator.services.mozilla.com/D62322

--HG--
extra : moz-landing-system : lando
2020-02-11 22:55:50 +00:00
Martin Stransky cd29098cb6 Bug 1614210 [Wayland] Explicitly crash when creating wayland surface on non-wayland session, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D62718

--HG--
extra : moz-landing-system : lando
2020-02-13 10:59:27 +00:00
Emilio Cobos Álvarez 112e6c2c9e Bug 1615234 - Make the lazyload pref actually be honored. r=hiro
Right now it only controls the visibility of HTMLImageElement.loading.

Differential Revision: https://phabricator.services.mozilla.com/D62723

--HG--
extra : moz-landing-system : lando
2020-02-13 11:03:12 +00:00
Nicolas Chevobbe 52f4121240 Bug 1614913 - Fix EagerEvaluation component key validation. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D62577

--HG--
extra : moz-landing-system : lando
2020-02-13 11:03:04 +00:00
Jon Coppeard c1653cd065 Bug 1615016 - Store isAtomsZone and isSelfHostingZone flags on the Zone r=sfink
Remove some dependencies on JSRuntime by storing flags on the Zone to indicate whether a zone is the atoms zone or the self hosting zone.

Differential Revision: https://phabricator.services.mozilla.com/D62620

--HG--
extra : moz-landing-system : lando
2020-02-13 11:04:49 +00:00
Masayuki Nakano ed10bfc397 Bug 1588688 - part 6: Make `HTMLEditor::CollapseAdjacentTextNodes()` use array of `dom::Text` rather than `nsINode` r=m_kato
`HTMLEditor::CollapseAdjacentTextNodes()` collects editable text nodes first so
that the array can be array of `dom::Text`.  Additionally, using
`DOMSubtreeIterator` instead of `ContentSubtreeIterator` makes the code easier
to understand.

Differential Revision: https://phabricator.services.mozilla.com/D61973

--HG--
extra : moz-landing-system : lando
2020-02-13 02:54:45 +00:00
Thiago Arrais 264529e383 Bug 1583397 - Ensures headers are fetched before trying to resend request. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D61381

--HG--
extra : moz-landing-system : lando
2020-02-13 10:56:00 +00:00
Jan Odvarko c73d875661 Bug 1607742 - Escape method argument r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D60413

--HG--
extra : moz-landing-system : lando
2020-02-12 11:52:30 +00:00
Glenn Watson 27c1daea33 Bug 1579235 - Part 1 - Support prefer compositor flag in wrench. r=nical
Add support to the yaml reader and writer to be able to specify
that a primitive should set the PREFER_COMPOSITOR_SURFACE flag.

This flag is not currently used, but in future will signal the
picture caching code to promote a primitive to draw on a native
compositor surface where possible.

Differential Revision: https://phabricator.services.mozilla.com/D62693

--HG--
extra : moz-landing-system : lando
2020-02-13 10:12:41 +00:00
Glenn Watson b3eed9d250 Bug 1615111 - Update test expectations with fuzziness for WR. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D62697

--HG--
extra : moz-landing-system : lando
2020-02-13 10:34:01 +00:00
shravanrn@gmail.com 5e113e2cf9 Bug 1615201 - Update forked lucet version that allows lenient LD specification r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62704

--HG--
extra : moz-landing-system : lando
2020-02-13 10:33:05 +00:00
Dão Gottwald ad19a3caac Bug 1614957 - strip www. prefix in address bar results. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D62601

--HG--
extra : moz-landing-system : lando
2020-02-13 10:31:39 +00:00
Julien Cristau 1fbbd7cfe3 Bug 1614677 - audioworkletprocessor-promises is expected to fail on release and beta. r=padenot
audioworklets are only turned on for wpt on nightly.

Differential Revision: https://phabricator.services.mozilla.com/D62713

--HG--
extra : moz-landing-system : lando
2020-02-13 10:27:18 +00:00
Julien Cristau 9b0202aa30 Bug 1614274 - turn off Toast Notifications on nightly. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D62199

--HG--
extra : moz-landing-system : lando
2020-02-13 10:29:58 +00:00
Patrick Brosset fa8830e459 Bug 1598566 - Fix console's evaluateJSAsync method response/event ordering r=nchevobbe
While making the change in the previous patch (to make the dom panel use
the targetList API), and writing a test for it, I stumbled upon a weird
issue that I don't think we've encountered so far.

The console's actor method evaluateJSAsync does things a bit differently
than other methods. It spawns the work it needs to do, but does not wait
for it to be done, and immediately returns an ID to the client.
Later, when the work is done, it sends an event back to the client with
the response.
It's then up to the client to use the ID provided in the immediate response
and match it against the incoming event to verify that this is, indeed,
the right response.

In all cases we've seen so far, the event comes back after the initial
method response. This seems logical as evaluateJSAsync uses an
executeSoon helper to spawn the work needed in the next event loop.

Now, the case I have seen as witnessed by the test I added is that,
sometimes, the event actually comes back before the initial response.
Because both things go through the protocol.js message handling, and
because all of it is asynchronous, it may indeed happen. There's no
guaranty at the protocol level to avoid this.

So, my approach here is to simply avoid this to happen from the client
side. I don't think we should be doing a generic fix in protocol.js for
this, but instead clients should be prepared for these things to happen.

Differential Revision: https://phabricator.services.mozilla.com/D62417

--HG--
extra : moz-landing-system : lando
2020-02-13 09:36:29 +00:00
Daisuke Akatsuka df9d8b1918 Bug 1568874: Add a test for target-switching. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60479

--HG--
extra : moz-landing-system : lando
2020-02-13 09:03:45 +00:00
Daisuke Akatsuka 5ccabc8c83 Bug 1568874: Rename and refactor some functions. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60478

--HG--
extra : moz-landing-system : lando
2020-02-13 08:59:30 +00:00
Daisuke Akatsuka 2470f4af77 Bug 1568874: Install target-switching mechanism. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60477

--HG--
extra : moz-landing-system : lando
2020-02-13 10:16:40 +00:00
Mark Banner e4edff6d1a Bug 1614891 - Clarify the ESLint situation around some remote/ files. Remove unnecessary remote/test/demo.js. r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D62547

--HG--
extra : moz-landing-system : lando
2020-02-13 09:23:19 +00:00
Simon Fraser bb0152beb3 Bug 1611989 - Refactor try estimates for code re-use. r=ahal
Add duration estimates to push summary. Refactored preview script - needed to be moved in order to import module.

Differential Revision: https://phabricator.services.mozilla.com/D61195

--HG--
rename : tools/tryselect/formatters/preview.py => tools/tryselect/preview.py
extra : moz-landing-system : lando
2020-02-12 21:06:56 +00:00
Nicolas Chevobbe da0e3ab1b4 Bug 1613047 - Fix CSS Warnings in a Fission world when navigating. r=ochameau.
If the CSS filter was enabled, when the user would navigate to a page
on a different origin, the CSS Warnings from the new page wouldn't
be displayed in the console.
This is related to how we manage the CSS Warnings. Since emitting those
messages is costly, we only do so when the console is opened, if
the user already set the filter, or when they turned it on.
The issue is that it was only done on the main target, and only
when the console would start, or when the user clicked on the css
filter button.
So with Fission enabled, we could switch to a new target, but we
wouldn't trigger the code that parses the stylesheets of the new
page.

The browser_webconsole_message_categories was asserting this issue,
and is now fixed (after setting the proper target switching target).

Differential Revision: https://phabricator.services.mozilla.com/D61558

--HG--
extra : moz-landing-system : lando
2020-02-13 09:47:29 +00:00
Nicolas Chevobbe e015ecd1d3 Bug 1613035 - Add devtools.contenttoolbox.fission in tests when needed. r=ochameau.
This adds the pref to the browser_webconsole_inspect_cross_domain_object.js test.
The test was modified a bit to not navigate, otherwise we don't get the connection
to the target iframe.

Differential Revision: https://phabricator.services.mozilla.com/D61560

--HG--
extra : moz-landing-system : lando
2020-02-13 09:44:27 +00:00
Nicolas Chevobbe 895226c6fe Bug 1613035 - Set devtools.target-switching.enabled in tests when needed and remove skip/fail-if = fision. r=ochameau.
This patch sets the pref for tests where it's needed (often
when the test navigates from an origin to another).
When possible, the skip-if=fission tag is removed.
For remaining issue, referencing to the bug where we should
re-enable those tests.

Differential Revision: https://phabricator.services.mozilla.com/D61559

--HG--
extra : moz-landing-system : lando
2020-02-13 09:42:27 +00:00
Nicolas Chevobbe 5d7b392026 Bug 1613035 - Make loadDocument helper fission aware. r=ochameau.
The function is changed to detect if we're going to navigate to
a different origin, and if fission and target switching are enabled,
will wait for the switched-target event to ensure devtools are
fully ready after a navigation.

Differential Revision: https://phabricator.services.mozilla.com/D62413

--HG--
extra : moz-landing-system : lando
2020-02-13 09:39:04 +00:00
Csoregi Natalia 9c0442f988 Backed out changeset 71e63781b38c (bug 1604412) for failures on /browser_startup_syncIPC.js -PCompositorWidget. CLOSED TREE 2020-02-13 12:13:06 +02:00
Csoregi Natalia ff0444bf80 Backed out 3 changesets (bug 1604140) for multiple failures. CLOSED TREE
Backed out changeset 59fc63dfa309 (bug 1604140)
Backed out changeset cc54269377f2 (bug 1604140)
Backed out changeset 8897a2187a95 (bug 1604140)
2020-02-13 11:55:36 +02:00
Benjamin Bouvier 2ab02cf31b Bug 1614303: API changes for newest Cranelift version; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D62234

--HG--
extra : moz-landing-system : lando
2020-02-10 16:50:59 +00:00
Benjamin Bouvier 399c0377a9 Bug 1614303 - Bump Cranelift to "98c818c129979e98a3db150f8f9698f6451b7ef7"; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D62233

--HG--
extra : moz-landing-system : lando
2020-02-10 16:50:57 +00:00
Andrea Marchesini 86fbe8d9d8 Bug 1613909 - Enable SharedArrayBuffer and wasm for broadcastChannel tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62612

--HG--
extra : moz-landing-system : lando
2020-02-13 01:26:42 +00:00
Pranav Pandey 635f568eec Bug 1614591 - changed prop type of isClosed to bool. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D62587

--HG--
extra : moz-landing-system : lando
2020-02-13 09:29:10 +00:00
Mihai Alexandru Michis 5e61330ed7 Bug 1610377 - Fix lint error in remote/test/browser/page/head.js a=lint-fix
CLOSED TREE

--HG--
extra : amend_source : 2c8efc710f46d6701e7748a625e3841fb087af37
2020-02-13 11:24:36 +02:00
Henrik Skupin 6d33e6a9bf Bug 1610377 - [remote] Wait for history index selected when using gBrowser.gotoIndex(). r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62589

--HG--
extra : moz-landing-system : lando
2020-02-13 08:56:04 +00:00
Henrik Skupin ed04cb5f4b Bug 1610377 - [remote] Move session history navigation code into the parent process. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62588

--HG--
extra : moz-landing-system : lando
2020-02-13 08:55:27 +00:00
Nicolas Chevobbe 938fe1ae72 Bug 1612571 - Store the last message id instead of computing it from the message map. r=jlast.
The id was retrieved by transforming the map into an array
and getting the last element of it. This was slow and
allocatiing a lot of memory when the messages Map contained
a lot of elements.
This patch make it so we're now storing the last message
id directly in the state so we can get it in a cheaper way.

Differential Revision: https://phabricator.services.mozilla.com/D62185

--HG--
extra : moz-landing-system : lando
2020-02-13 08:48:25 +00:00
Edgar Chen c654633e4e Bug 1604140 - Part 3: Add test for focus tabbing through scrollable shadow host; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61945

--HG--
extra : moz-landing-system : lando
2020-02-13 00:20:08 +00:00
Edgar Chen 9920e01420 Bug 1604140 - Part 2: Should skip the shadow host we started on in frame traversal; r=smaug
The original check, `currentContent != startContent`, is to skip the element we started on in frame traversal.
This would happen for instance on a scrollable element, where frame traversal could return the element again.

However, in shadow dom case, the frame traversal may start on a redirected shadow host, where `startContent` is still the original start element.

Differential Revision: https://phabricator.services.mozilla.com/D61566

--HG--
rename : testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero.html => testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-scrollable.html
extra : moz-landing-system : lando
2020-02-13 00:16:47 +00:00
Edgar Chen 82c858242e Bug 1604140 - Part 1: Fix focus trap within shadow DOM when host is scrollable; r=smaug
The checks for `*TopLevelScopeOwner` are to skip the scope that we have already checked.
But when the shadow host is scrollable, we will traverse anonymous children for the scroll frame first in frame traversal and `oldTopLevelScopeOwner` will be reset.
Then we don't realize that we have already checked the host's scope.

Differential Revision: https://phabricator.services.mozilla.com/D60923

--HG--
rename : testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-not-set.html => testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-not-set-scrollable.html
extra : moz-landing-system : lando
2020-02-07 14:38:46 +00:00
Nicholas Nethercote 7e767dd845 Bug 1614875 - Tweak constants to prevent saturation and improve the hit rate. r=glandium
With the old constants the page alloc slots would fill up quickly and the hit
rate would quickly drop below 20%.

With the new constants the alloc slots don't fill up so quickly and the hit
rate remains at or near 100% for a lot longer. Also, page allocs are recycled
more slowly, which should increase the likelihood of UAFs being detected
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D62539

--HG--
extra : moz-landing-system : lando
2020-02-13 08:37:42 +00:00
Nicholas Nethercote 04df451726 Bug 1614875 - Gather more stats in PHC. r=glandium
Specifically, the number of page allocs in use, and the page alloc hit rate.

Differential Revision: https://phabricator.services.mozilla.com/D62538

--HG--
extra : moz-landing-system : lando
2020-02-13 08:37:40 +00:00
aarushivij f95189fcc8 Bug 1599307 - Set What's New panel background to white in light mode. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D62646

--HG--
extra : moz-landing-system : lando
2020-02-13 07:37:22 +00:00