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

706467 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard 48971d875b Bug 1634253 - P5. Make threading model clearer. r=kats
CompositorBridgeParent::ScheduleTask was always called from the compositor thread ; so make it explicit that we are dispatching the task to the compositor thread.

We inline the method instead.

Differential Revision: https://phabricator.services.mozilla.com/D73824
2020-05-08 20:20:25 +00:00
Jean-Yves Avenard 4f02149e61 Bug 1634253 - P4. Have NS_NewNamedThread take a already_Refed<nsIRunnable. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73823
2020-05-08 20:20:28 +00:00
Jean-Yves Avenard ee2897c234 Bug 1634253 - P3. Don't cause assertion when delay is 0. r=froydnj
already_AddRefed destructor assert that it's nullptr.
DelayedDispatch check that the value passed isn't 0 and return an error code, leaving the already_AddRefed untouched.

Differential Revision: https://phabricator.services.mozilla.com/D73821
2020-05-08 20:20:30 +00:00
Jean-Yves Avenard 0afd0b06c9 Bug 1634253 - P2. Dissociate running a BackgroundHangMonitor from main thread. r=froydnj
This will allow to have other threads to use one such as the compositor thread.

Differential Revision: https://phabricator.services.mozilla.com/D73820
2020-05-08 20:20:32 +00:00
Jean-Yves Avenard dd75a6a8ab Bug 1634253 - P1. Fix constness. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73819
2020-05-08 20:20:35 +00:00
Andrew Osmond 470d4c6138 Bug 1605642 - Fix glyph distortion during animations. r=lsalzman
When we animate text, we rasterize the glyphs in an arbitrary local
space once, and scale them during the animation. Some glyphs may be
pressed against the edge of the texture, resulting in artifacts due to
how the sampling works in the shader. This patch fixes the sampling
issues by padding glyph textures with an extra transparent pixel border.
This only applies to glyphs that are rasterized in local space.

This patch does not add the extra padding for Mac because it is already
padding its glyphs for Mac-specific reasons, and does not appear to be
as suspectible to the problem.

Differential Revision: https://phabricator.services.mozilla.com/D74457
2020-05-08 20:23:41 +00:00
Julian Descottes 9483eb9c71 Bug 1611096 - Check webprogresslistener as a fallback for non loaded documents r=rcaliman,ochameau
Depends on D62624

With the previous implementation, an uninitialized document could be returned as a root node.
Here we try to be more explicit and wait for a correct root node. However in some cases a document can remain uninitialized and will never transition to any other state.
If the document is uninitialized but is not currently loading, we should consider it as a valid root node.

Differential Revision: https://phabricator.services.mozilla.com/D62625
2020-05-08 21:53:53 +00:00
Julian Descottes d5b84fb6fe Bug 1611096 - Fix tests relying on newRoot mutations r=rcaliman
Depends on D62623

`new-root` is no longer a mutation, but an event emitted by the `walker` actor.
Tests watching for mutations should be updated accordingly. They also need to call watchRootNode explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D62624
2020-05-08 21:53:31 +00:00
Julian Descottes 116f7ce28e Bug 1611096 - Add test for inspector target switching r=ochameau,rcaliman
Depends on D62622

Differential Revision: https://phabricator.services.mozilla.com/D62623
2020-05-08 21:52:53 +00:00
Julian Descottes d813016c11 Bug 1611096 - Add watch-like API for new root event r=ochameau,rcaliman
Depends on D62617

Differential Revision: https://phabricator.services.mozilla.com/D62622
2020-05-08 21:52:20 +00:00
Ved Dandekar b4e95e58c5 Bug 1622744 Display correct http header size when fetched from cache r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D72947
2020-05-08 17:35:49 +00:00
Gijs Kruitbosch 5705baea2e Bug 1636559 - make confirmation hint panel lazy, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D74466
2020-05-08 21:51:31 +00:00
Tom Schuster 4f64f475f2 Bug 1595046 - Make it possible to inspect every exception value in the web console. r=jonco,baku,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D64437
2020-05-08 20:54:17 +00:00
Michael Kaply 990a4a43ce Bug 1621423 - Allow adding webextension restricted domains via policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D74304
2020-05-08 21:01:58 +00:00
Jim Blandy 9f699a4611 Bug 1598972: Consider gradients as tile backdrops. r=gw
The fix for bug 1621390 extended the tile backdrop computation to recognize
images. This patch extends that to consider gradients as potential
backdrops as well.

Differential Revision: https://phabricator.services.mozilla.com/D70458
2020-05-07 19:55:24 +00:00
Jeff Muizelaar 25633c1166 Bug 1636307 - Reenable device lost testing on WebRender. r=kats
This was disabled in bug 1389000. It seems to pass now.

Differential Revision: https://phabricator.services.mozilla.com/D74468
2020-05-08 20:37:36 +00:00
Timothy Nikkel 4aad22e9f1 Bug 1636380. Fix IsZoomedContentRoot assert in nsDisplayListBuilder::MarkFramesForDisplayList. r=botond
When we hit the assert the root content document is https://searchfox.org/mozilla-central/rev/dc4560dcaafd79375b9411fdbbaaebb0a59a93ac/testing/mochitest/harness.xhtml . It is basically a xul document, and look xul document it does not have a root scroll frame. The frame we hit the assert on is fixed pos, so it passes the fixed pos part of IsZoomedContentRoot here https://searchfox.org/mozilla-central/rev/dc4560dcaafd79375b9411fdbbaaebb0a59a93ac/layout/base/ViewportUtils.cpp#139 but there is no root scroll frame so it still returns null.

We should only his this when there is no root scroll frame. So to fix this I decided to make the existing code conditional on having a root scroll frame and then write a bunch of pretty strong asserts that we are in this exact edge case if we don't have a root scroll frame.

Differential Revision: https://phabricator.services.mozilla.com/D74381
2020-05-08 21:00:11 +00:00
Ian Bicking 04a09d6f70 Bug 1636568 - suppress Sentry reporting of a common Screenshots failure r=_6a68
Starting with Firefox 76 we're seeing this (seemingly benign) error being reported much more commonly, causing unnecessary load on our Sentry instance. Adding .noReport=true keeps this from being reported to Sentry.

Differential Revision: https://phabricator.services.mozilla.com/D74471
2020-05-08 20:19:51 +00:00
Jared Wein 347199fb88 Bug 1636032 - Update the strings for the OS auth prompt to make it clearer that the requested password is the OS password. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74455
2020-05-08 19:43:02 +00:00
Zibi Braniecki 3701c67646 Bug 1631381 - Reject the initial translation if allocating an element fails. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D74343
2020-05-08 11:33:53 +00:00
Logan Smyth 208709890a Bug 1628853 - Expose a feature flag to enable/disable //# sourceXX= parsing. r=arai
These pragmas can be used to influence stack trace filenames, and to affect
how and where files show up in developer tools. In some circumstances, it can
be nice to disable allof that functionality in order to ensure that you get
the stack trace and debug information as SpiderMonkey sees it.

Differential Revision: https://phabricator.services.mozilla.com/D72103
2020-05-08 00:37:21 +00:00
Drew Willcoxon 1046583b93 Bug 1398416 - Part 1: Rewrite Query.start() to be a little faster and in preparation for form history changes. r=mak
`Query.start` shouldn't `await provider.tryMethod("isActive")`. Instead it
should call all providers at once and then await all the promises. Also make
some other simplifications and changes to `Query.start` in preparation for later
patches.

Factor out `notifyResults` into `Query._notifyResultsFromProvider` because the
next patch will use it.

Differential Revision: https://phabricator.services.mozilla.com/D74191
2020-05-08 06:00:50 +00:00
Lee Salzman 185ad4f96e Bug 1636014 - handle signed overflow for SWGL text blend funcs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74187
2020-05-08 19:07:08 +00:00
Anny Gakhokidze 5fc9601f29 Bug 1633471 - Do not reuse inner window when printing, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D74261
2020-05-08 20:13:16 +00:00
Ricky Stewart d7c0c9fd6b Bug 1635755 - Part 2: Use deterministic hashing over types in `ipdl` file generation r=nika
The hashes of certain strings is used indirectly in generating IDL C++ files. Before, we were using the `hash()` function to generate these hashes, which in Python 3 is non-deterministic over subsequent `python3` processes, causing bugs like bug 1635755. Instead, use a specific, deterministic hash to avoid spurious diff failures.

The `md5` hash function isn't completely cryptographically secure but the security of the hashes isn't important for us in this case since we're just using them as a per-string identifier. We could use a more robust hash function but there may be performance implications from doing so.

Differential Revision: https://phabricator.services.mozilla.com/D74446
2020-05-08 20:31:46 +00:00
Ted Campbell b0d9530aa8 Bug 1635976 - Add more asserts about FunctionBox ordering. r=mgaudet
Assert that trace list visits children before parents. Make this explicit
instead of relying on existing publishDeferredFunctions checks so that we
check for non-lazy functions as well for more certainty.

Differential Revision: https://phabricator.services.mozilla.com/D74440
2020-05-08 18:56:58 +00:00
Dzmitry Malyshau 55d40f2461 Bug 1631331 - Handle a case where WebRender can't initialize GPU cache r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74462
2020-05-08 19:57:36 +00:00
Punam Dahiya a4b1bd30dc Bug 1635544 - Fix AWMessageId name in AWParent.jsm r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D73945
2020-05-08 14:17:31 +00:00
Jeff Gilbert 591b976783 Bug 1633628 - Vender: Don't use ClearView if we previously used dual source blending on Intel gen6. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74137
2020-05-08 19:28:53 +00:00
Kashav Madan 2a30c1ebe6 Bug 1585496 - Add a crashtest for bug 1584467, r=nika
Crashes without 25bc8db24a5a, as expected.

Differential Revision: https://phabricator.services.mozilla.com/D74444
2020-05-08 18:39:28 +00:00
Geoff Brown 1c32970a45 Bug 1635834 - Install minidump_stackwalk in 'mach bootstrap'; r=nalexander
Install minidump_stackwalk as part of 'mach bootstrap' so that it is readily available
for generating crash reports, if desired.

Differential Revision: https://phabricator.services.mozilla.com/D74442
2020-05-08 19:09:43 +00:00
Agi Sferro 6b2ccb034a Bug 1634493 - Re-read the policy object when exporting extensions. r=snorp
WebExtensionPolicy.getByID(id) will return a stub when called earlier during
startup. Once the startup process is complete, this object is sawpped with the
real extension policy.

Before this patch, we used to hold onto the stub object, which makes it so that
we read incorrect values even though we are waiting for the policy to be ready.

To fix this we just read the result value of the readyPromise promise.

Differential Revision: https://phabricator.services.mozilla.com/D74459
2020-05-08 19:59:49 +00:00
Chris Fronk af8a02cc9d Bug 1512991 - Add JsonWriteFunc::Write to take string length. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D72560
2020-05-08 16:24:31 +00:00
Molly Howell 2caf2e9712 Bug 1636445 - Skip applying profile refresh button styles in high-contrast. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D74417
2020-05-08 19:07:53 +00:00
Jared Wein 846382dc54 Bug 1633090 - Cache the result of the empty password checks. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D72426
2020-05-08 18:32:45 +00:00
Narcis Beleuzu 2a7e80bbbb Backed out 3 changesets (bug 1635001) for causing bustages on RemoteContentController.cpp . CLOSED TREE
Backed out changeset 62d98215d177 (bug 1635001)
Backed out changeset bc73609fc638 (bug 1635001)
Backed out changeset 26daca5f7dab (bug 1635001)
2020-05-08 23:41:40 +03:00
Narcis Beleuzu d4b69fe1cb Backed out 2 changesets (bug 1634557) for xpcshell failures on test_TelemetryController.js . CLOSED TREE
Backed out changeset 267872a67dca (bug 1634557)
Backed out changeset dd18c3fa87f4 (bug 1634557)
2020-05-08 23:12:08 +03:00
Narcis Beleuzu 58a833221c Backed out 9 changesets (bug 1634253) for bc failures on browser_bug295977_autoscroll_overflow.js . CLOSED TREE
Backed out changeset d41b75c1f7ec (bug 1634253)
Backed out changeset 5f8a1ee17b81 (bug 1634253)
Backed out changeset 43eda078b405 (bug 1634253)
Backed out changeset e98212a74709 (bug 1634253)
Backed out changeset 855e222ceb14 (bug 1634253)
Backed out changeset 9f01acdf4367 (bug 1634253)
Backed out changeset ea62cb1ec472 (bug 1634253)
Backed out changeset fa3e7588e7d6 (bug 1634253)
Backed out changeset 139e7035e736 (bug 1634253)
2020-05-08 23:09:31 +03:00
Narcis Beleuzu 469605f230 Backed out changeset 2586af74cbf9 (bug 1633368) for bc failures on browser_sma_show_migration_wizard.js . CLOSED TREE 2020-05-08 23:04:07 +03:00
Brindusan Cristian dbbdb12921 Backed out changeset ef394674c1b8 (bug 1636186) for bustages at WindowContext.h. CLOSED TREE 2020-05-08 21:42:46 +03:00
Edwin Takahashi ed464212e2 Bug 1608837 - do not normalize web-platform-test paths in writeruntimes r=ahal
Changes:

After some iterations, it turns out that normalization of the test paths returned by web-platform-tests is unnecessary for the time being.

  - removed normalization of the test paths from `writeruntimes`.
  - updated manifest-runtime JSON files for all three platforms.

Differential Revision: https://phabricator.services.mozilla.com/D74264
2020-05-08 15:59:37 +00:00
Dan Minor 5c53ff71b6 Bug 1164187 - Add pref for rtx; r=bwc
Off by default until we land repaired-rid support.

Differential Revision: https://phabricator.services.mozilla.com/D72231
2020-05-08 18:12:15 +00:00
Dan Minor 1355b5f885 Bug 1164187 - Do not switch ssrcs for packets with rtx and ulpfec packet types; r=bwc
With rtx enabled, we can't just switch ssrcs when we receive a packet with an
unrecognized ssrc. This changes the ReceiveRTPPacket call to take the entire
rtp header, and then examines the payload type. If the payload type is
associated with rtx or ulpfec, the ssrc will not be changed. This is what is
done by the libwebrtc unsignaled ssrc change code, so this behaviour should
match what Chrome does.

Differential Revision: https://phabricator.services.mozilla.com/D72230
2020-05-08 18:12:05 +00:00
Sergio Garcia Murillo 8a1430ae7a Bug 1164187 - Plumb rtx through peerconnection and conduits; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72229
2020-05-08 18:11:44 +00:00
Dan Minor 9efa9bb6b0 Bug 1164187 - Add new JsepSessionTests for rtx; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72228
2020-05-08 18:11:19 +00:00
Sergio Garcia Murillo daaa798f22 Bug 1164187 - Update JsepSessionTest for rtx; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72226
2020-05-08 18:11:11 +00:00
Dan Minor 6a3b43fa14 Bug 1164187 - Add jsep support for rtx; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72225
2020-05-08 18:10:59 +00:00
Dan Minor 2143491530 Bug 1164187 - Add sdp unit test for rtx; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72224
2020-05-08 18:10:46 +00:00
Sergio Garcia Murillo d15b1feb18 Bug 1164187 - Add support for parsing rtx fmtp parameters in sipcc; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72223
2020-05-08 18:10:34 +00:00
Dan Minor daf262752e Bug 1164187 - Fixes to RtxParameters; r=bwc
This changes the constructor to not take any parameters for consistency
with how the other parameters are handled. It also fixes serialization, the
current code will output an ascii character rather than the numeric value.

Differential Revision: https://phabricator.services.mozilla.com/D72222
2020-05-08 18:10:16 +00:00