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

688427 Коммитов

Автор SHA1 Сообщение Дата
Razvan Maries 9ad088b041 Backed out 4 changesets (bug 1602840, bug 1603227) for xpcshell perma fails on test_registry.js. CLOSED TREE
Backed out changeset 02d52e2e7d62 (bug 1603227)
Backed out changeset faa15c6fed65 (bug 1602840)
Backed out changeset bc6122544852 (bug 1602840)
Backed out changeset 5ad4c0f6c5db (bug 1602840)
2020-01-20 22:10:42 +02:00
Razvan Maries 41ffa16326 Backed out changeset dbaa31392a53 (bug 1609877) for build bustages on DOMSecurityMonitor.cpp. CLOSED TREE 2020-01-20 22:08:07 +02:00
Christoph Kerschbaumer b7a9b6218a Bug 1609877: Convert prefs for domsecurity to use static prefs. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D60403

--HG--
extra : moz-landing-system : lando
2020-01-20 18:10:38 +00:00
Nazım Can Altınova f70859c47d Bug 1609674 - Add innerWindowID param to AUTO_PROFILER_TEXT_MARKER_CAUSE and use that macro for setTimeout callback marker. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D60270

--HG--
extra : moz-landing-system : lando
2020-01-20 18:53:09 +00:00
Nazım Can Altınova f76aad2740 Bug 1609674 - Add innerWindowID to setTimout markers. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D60269

--HG--
extra : moz-landing-system : lando
2020-01-20 18:52:41 +00:00
Henrik Skupin 4b34baa214 Bug 1607823 - [remote] Use ContentTask.spawn instead of SpecialPowers.spawn in browser_setCacheDisabled.js. r=remote-protocol-reviewers,maja_zf
Depends on D60386

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:38:03 +00:00
Ciure Andrei 84ee07b418 Merge autoland to mozilla-central. a=merge 2020-01-20 17:43:42 +02:00
Lars T Hansen 5c79ccc8e1 Bug 1608791 - Harden the Rabaldr register wrappers. r=rhunt
By cleaning up the register set APIs very slightly we can simplify the wrappers and
make space for meaningful assertions.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 12:23:12 +00:00
Lars T Hansen e980d0b059 Bug 1609138 - Clean up float registers on arm64. r=rhunt
Create a clearer distinction between the register's Encoding, which is
its hardware name, and its Code, which is a dense encoding of
bitwidth+Encoding along with a distinguished Invalid value.  These
concepts exist already but it gets out of hand when the FloatRegister
uses a Code to encode the Encoding.

Make FloatRegister contain separate fields for bitwidth, encoding, and
validity, as it does on other platforms.

Add assertions on validity of inputs and on the validity of the
FloatRegister for some operations.  And tidy up some, and rearrange
the file to mirror the x86 file as much as possible.

Expand the register name table so that it covers the possible range of
Code and so that we won't reference the table OOB.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 12:22:23 +00:00
ffxbld 97c68411c7 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D60389

--HG--
extra : moz-landing-system : lando
2020-01-20 12:05:53 +00:00
Sebastian Hengst 8f821d77ab Backed out 3 changesets (bug 1525218) for breaking fenix, reference-browser speedometer tasks. a=backout
Backed out changeset 76036ce90611 (bug 1525218)
Backed out changeset 9c66ecb1f66c (bug 1525218)
Backed out changeset eb4b265deb5e (bug 1525218)

--HG--
extra : rebase_source : 5f1b01bd44628efff2a7e0f28a62a7ad673a73c0
2020-01-20 11:19:46 +01:00
Cosmin Sabou a2ee4459b3 Bug 1598726 - Modify syntax for coverage as the test was not skipped. a=test-only
--HG--
extra : rebase_source : 51d0b1047b7a2b843d0465c82b6a6a75fc10445f
2020-01-20 12:17:59 +02:00
Glenn Watson db33b7ce39 Bug 1608741 - Part 1 - Use nearest neighbor interpolation for DC surfaces. r=sotaro
There's no need for bilinear interpolation of DC surfaces. This
fixes a lot of the fuzziness issues when using virtual surfaces,
so it makes sense to land it now while continuing to investigate
the remaining issues.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 09:51:20 +00:00
Frederik Braun 247fd24240 Bug 1580176 - Part 2: Log sent and received messages in JSWindowActor, r=nika
Also logs JSWindowActor{Child,Parent}::Init and JSWindowActor::{Start,After}Destroy.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:19:19 +00:00
Kashav Madan 7e7452f3d1 Bug 1580176 - Part 1: Make some common actor utility methods virtual, r=nika
Adds GetManager on JSWindowActor (returns the associated WindowGlobalActor),
and IsInProcess on WindowGlobalActor (returns whether the actor is in process
or not).

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:00:30 +00:00
Eugen Sawin beba9129ed Bug 1609701 - [1.1] Ignore resuming of non-suspended windows. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60274

--HG--
extra : moz-landing-system : lando
2020-01-20 18:52:28 +00:00
Henrik Skupin de8109653e Bug 1609627 - [remote] Implement Page.navigateToHistoryEntry. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60122

--HG--
extra : moz-landing-system : lando
2020-01-20 18:59:08 +00:00
Henrik Skupin 4645068db6 Bug 1609163 - [remote] Implement Page.getNavigationHistory. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60023

--HG--
extra : moz-landing-system : lando
2020-01-20 18:59:20 +00:00
Coroiu Cristina 9490b63809 Backed out changeset b634b7b787d5 (bug 1609491) for wpt failures at /cookies/http-state/general-tests.html on a CLOSED TREE 2020-01-20 20:57:54 +02:00
Geoff Brown 30da6b4936 Bug 1610321 - Increase max-run-time for mochitest-webgl1-ext; r=egao
Avoid frequent intermittent test failures for exceeding max-run-time by increasing
mochitest-webgl1-ext max-run-time from 30 minutes to 45 minutes. This is immediately
an issue on Windows 7 MinGW debug, but other platforms are close to the 30 minute
limit, so we may as well increase it across the board.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 18:26:40 +00:00
Masayuki Nakano 25e931d406 Bug 1609603 - Optimize the callers of `DataTransfer::GetTypes()` r=smaug
In C++ code, `DataTransfer::GetTypes()` are used for checking whether the
`DataTransfer` instance has specific type `DataTransferItem` or not.  Therefore,
it does not make sense to retrieve all item types nor compare some types
looking for with the retrieved item types.

This patch adds `DataTransfer::HasType()` and `DataTransfer::HasFile()` for
the current C++ users.  They don't take `CallerType` since all C++ users use
`GetTypes()` as `CallertType::System`.  And they just call a corresponding
method of `DataTransferItemList`.

Then, `DataTransferItemList` methods compares given type with every items
simply.

Note that this patch moves `DataTransfer::GetTypes()` to `DataTransferItemList`
too because new methods and `GetTypes()` should be maintained at every logic
changes.

The reason why there is no `DataTransfer::HasAnyOfTypes()` method is,
`DataTransfer.h` cannot include `DataTransferItemList.h` due to their
dependency but parameter pack requires inline methods.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 09:46:48 +00:00
Shane Caraveo d506d5e8a9 Bug 1603227 enable removing sideloaded extensions from Firefox r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D56794

--HG--
extra : moz-landing-system : lando
2020-01-19 22:10:13 +00:00
Shane Caraveo b45fbad814 Bug 1602840 test that we don't sideload when rebuilding XPI database r=zombie,aswan
Differential Revision: https://phabricator.services.mozilla.com/D57677

--HG--
extra : moz-landing-system : lando
2020-01-20 18:25:52 +00:00
Andi-Bogdan Postelnicu 678216c088 Bug 1609864 - For `clang-tidy` disable checker `performance-noexcept-move-constructor`. r=sylvestre
Since we don't build use exceptions nor we use STL containers that rely on this when choosing copy
 from move ctors, if these are not marked with noexcept, we should disable this checker since
 it brings only noise to our analysis.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 08:49:01 +00:00
Aaron Klotz d0c0679aac Bug 1600663: Hook GV process management into ContentParent; r=geckoview-reviewers,snorp
We need to propagate `ContentParent::MarkAsDead` up to the Android java layer
so that it has a view of the state of content processes that is consistent
with the view of Gecko's content process management.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:46:33 +00:00
Bogdan Tara 4dbee2136f Backed out 2 changesets (bug 1609138, bug 1608791) for Assembler-vixl.h related bustage CLOSED TREE
Backed out changeset 7d2c3216d225 (bug 1608791)
Backed out changeset d2b7ff305b35 (bug 1609138)
2020-01-20 09:57:11 +02:00
Aaron Klotz c21015215b Bug 1594820: Part 4 - Modify GeckoThread.preload to directly call into the process manager; r=geckoview-reviewers,snorp
Now that everything in `GeckoProcessManager` runs on the XPCOM launcher thread,
`GeckoThread` should just call `GeckoProcessManager.preload()` directly.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:45:55 +00:00
Aaron Klotz ed64053aec Bug 1594820: Part 3 - Modify GeckoProcessManager to bind and start child processes asynchronously on the XPCOM launcher thread; r=geckoview-reviewers,agi
The primary purpose of this patch is to convert the internal sequence of
service binding and invoking of `start` to asynchronously run on the XPCOM
launcher thread via `GeckoResult`. Because more of the code now runs on the same
thread, many of these methods no longer need to be `synchronized`.

Disconnecting via `unbind` is also modified to use the launcher thread and
`GeckoResult`.

Note that no changes have been made yet to enable multiple processes of the
same type; those changes will be made in bug 1595834.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:45:22 +00:00
Aaron Klotz e0ad4a5462 Bug 1594820: Part 2 - Make GeckoResult compatible with XPCOMEventTarget; r=snorp
This patch adds a `Dispatcher` implementation that allows us to create
`GeckoResult`s that will dispatch to the XPCOM launcher thread.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:44:45 +00:00
Aaron Klotz c78829b682 Bug 1594820: Part 1 - Modify XPCOMEventTarget to accept method calls before JNI is ready; r=snorp
Since `XPCOMEventTarget` uses JNI, this patch makes it possible for consumers to
retrieve and invoke methods on one without needing to worry about whether JNI
is actually up yet.

To achieve this, we create the `IXPCOMEventTarget` interface, and observe that
both of its methods can be handled by a proxy if JNI is not ready:

* Calls to `dispatch` may be enqueued until JNI is up;
* Observe that, when JNI is not up yet, the result of `isOnCurrentThread`
  can never be `true`.

Once JNI is up and the event targets have been resolved, the proxies are
replaced with the real, concrete `XPCOMEventTarget`s and are no longer used for
the remainder of the Gecko instance's lifetime.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:44:07 +00:00
Lars T Hansen 716cc538b0 Bug 1608791 - Harden the Rabaldr register wrappers. r=rhunt
By cleaning up the register set APIs very slightly we can simplify the wrappers and
make space for meaningful assertions.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:34:31 +00:00
Lars T Hansen 0f2e97ec33 Bug 1609138 - Clean up float registers on arm64. r=rhunt
Create a clearer distinction between the register's Encoding, which is
its hardware name, and its Code, which is a dense encoding of
bitwidth+Encoding along with a distinguished Invalid value.  These
concepts exist already but it gets out of hand when the FloatRegister
uses a Code to encode the Encoding.

Make FloatRegister contain separate fields for bitwidth, encoding, and
validity, as it does on other platforms.

Add assertions on validity of inputs and on the validity of the
FloatRegister for some operations.  And tidy up some, and rearrange
the file to mirror the x86 file as much as possible.

Expand the register name table so that it covers the possible range of
Code and so that we won't reference the table OOB.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:33:52 +00:00
Johann Hofmann e074949795 Bug 1591362 - Fix incorrect origin comparison in CacheFileContextEvictor::EvictEntries(). r=baku,mayhemer,michal
Differential Revision: https://phabricator.services.mozilla.com/D59959

--HG--
extra : moz-landing-system : lando
2020-01-20 07:24:37 +00:00
Lars T Hansen dd8e3684e6 Bug 1608839 - Guard against disabling all wasm compilers. r=decoder
If a script is trying to disable a compiler and that is the last compiler enabled, then throw.

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

--HG--
extra : moz-landing-system : lando
2020-01-18 19:03:20 +00:00
Emilio Cobos Álvarez e076e40ab1 Bug 1610165 - Failing to insert an SVG into the surface cache continuously repaints the image. r=tnikkel
I was poking at the missing images bug by dropping cache sizes and such and
found that we always ended up repainting some SVGs over and over. This seems to
be the cause. When we fail to insert into the cache we still end up notifying
over and over (because we forget to say aWillCache=false), so we'd end up
repainting, and failing again, etc.

This is easy to see adding some logging to
nsDisplayBackgroundImage::PaintInternal.

Any ideas as to how to add a test for it?

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

--HG--
extra : moz-landing-system : lando
2020-01-19 23:02:52 +00:00
Boris Zbarsky a19d3bda48 Bug 1609866. Stop using NS_ERROR_DOM_TYPE_ERR in URLSearchParams. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D60224

--HG--
extra : moz-landing-system : lando
2020-01-20 02:03:36 +00:00
Masayuki Nakano 7c8295ee19 Bug 1609629 - Make `HTMLEditor::BlobReader` handle `DataTransfer` correctly r=smaug
When file is dropped on `contenteditable` element, the data is `BlobImpl`
instance in e10s mode.  Then, editor tries to insert asynchronously with its
`BlobReader`.  However, currently, `BlobReader` does not have a reference of
`DataTransfer` object for setting `beforeinput` event and `input` event.
Therefore, when you drop file into `contenteditable` element on debug build,
you see hitting `MOZ_ASSERT` because of unexpected null `DataTransfer` object.

This patch makes it store `DataTransfer` object for both `beforeinput` event
and `input` event, and dispatch `beforeinput` event only when it hasn't been
dispatched yet (i.e., not dispatched before it's created).  The case shouldn't
occur, but let's have the fallback path in release builds for avoiding
inconvenience of our users.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 01:41:55 +00:00
Glenn Watson 9354b07e60 Bug 1609913 - Fix memory leak of native compositor surfaces. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D60379

--HG--
extra : moz-landing-system : lando
2020-01-19 22:14:58 +00:00
Jamie Nicol 7675998489 Bug 1609002 - Update test expectations. r=botond
Depends on D60292

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

--HG--
extra : moz-landing-system : lando
2020-01-18 01:10:52 +00:00
Jamie Nicol 8d2ae82a39 Bug 1609002 - Attach fixed-position elements to the layout viewport in webrender. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D60292

--HG--
extra : moz-landing-system : lando
2020-01-18 01:10:45 +00:00
Glenn Watson 3bf8ad7884 Bug 1609805 - Support a new reftest kind, for verifying rasterizer accuracy. r=nical,Bert
This patch introduces a new reftest (syntax ** or !* in reftest files).

This type of test renders a single input file multiple times, at a range
of different picture cache tile sizes. It then verifies that each of the
images matches (or doesn't).

This can be used to verify rasterizer accuracy when drawing primitives
with different tile sizes and/or dirty rect update strategies.

One of the included tests in this patch fails the accuracy test - the
intent is to fix this inaccuracy in a follow up patch and then be able to
mark it pixel exact.

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

--HG--
extra : moz-landing-system : lando
2020-01-19 19:45:37 +00:00
Narcis Beleuzu 6802b12993 Backed out changeset 11a73f4bbb1a (bug 1608126) for bustages on runxpcshelltests.py. CLOSED TREE 2020-01-19 22:28:10 +02:00
Geoff Brown 46e2f41598 Bug 1608126 - Enable node for Android xpcshell tests and run node tests on Android; r=valentin
Fetch, configure, and run node for Android on the test host, just like Linux tests do.
Make the node/HTTP/2 environment variables available to the tests on the device, and
use adb port forwarding to connect sockets. Finally, enable tests skipped for node.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 08:36:17 +00:00
Brindusan Cristian f1982e0059 Backed out changeset 5261ea86fa26 (bug 1579440) for xpcshell failures at test_stickyprefs.js. 2020-01-19 20:22:34 +02:00
tichnas 252995168f Bug 1602048 - Change parameter name of js::LexicalScope::nextFrameSlot. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D60365

--HG--
extra : moz-landing-system : lando
2020-01-19 17:11:15 +00:00
Agi Sferro b961d56f5d Bug 1579440 - Set browser.tabs.remote.autostart to true everywhere. r=snorp
Now that Fennec is gone we can finally do this.

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

--HG--
extra : moz-landing-system : lando
2020-01-19 16:55:20 +00:00
Boris Zbarsky 84a6d324a2 Bug 1610140. Stop using NS_ERROR_DOM_TYPE_ERR in Animation. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D60362

--HG--
extra : moz-landing-system : lando
2020-01-19 05:43:10 +00:00
Boris Zbarsky fcda062282 Bug 1609856. Stop using NS_ERROR_DOM_TYPE_ERR in SVGAnimatedEnumeration::SetBaseValue. r=heycam
It turns into a DOMException named 'TypeError' in the bindings, not into an actual TypeError.

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

--HG--
extra : moz-landing-system : lando
2020-01-19 05:40:34 +00:00
Andreea Pavel 803a42f24c Bug 1609117 - add missing bracket and new line r=Aryx
--HG--
extra : amend_source : dbf65a82811d2210a2f0efe187fc17a78df449cf
2020-01-19 02:25:25 +02:00
Cosmin Sabou c7cfcc032d Bug 1609117 - Update expectancies on coep-redirect.https.html because on frequent failures. r=aryx.
Differential Revision: https://phabricator.services.mozilla.com/D60348

--HG--
extra : moz-landing-system : lando
2020-01-19 00:04:04 +00:00