Commit Graph

709159 Commits

Author SHA1 Message Date
Jean-Yves Avenard
08a8963053 Bug 1637869 - P4. Access pref via staticpref. r=mattwoodrow,necko-reviewers
It would otherwise triggers browser/base/content/test/performance/browser_preferences_usage.js

That pref would have been checked with every single load, a staticpref is O-1 .

Differential Revision: https://phabricator.services.mozilla.com/D76317
2020-05-22 04:12:42 +00:00
Jean-Yves Avenard
c94f19793d Bug 1637869 - P3. Force about:credits to load in the content process. r=nika
It was apparently overlooked.

Yours truly doesn't even appear on that list :(

Differential Revision: https://phabricator.services.mozilla.com/D76316
2020-05-22 04:12:34 +00:00
Jean-Yves Avenard
d1133de668 Bug 1637869 - P2. Allow ParentProcessDocumentChannel to perform process switching. r=nika,mattwoodrow
The moves all decisions to perform a process switch into the DocumentLoadListerner. This removes the unnecessary need to go via a content process to start the load.

Differential Revision: https://phabricator.services.mozilla.com/D76315
2020-05-22 10:28:41 +00:00
Jean-Yves Avenard
aa02bf49c0 Bug 1637869 - P1. Cancel channel before resuming. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D76314
2020-05-22 10:30:29 +00:00
Dão Gottwald
10dcc9cc60 Bug 1630983 - Allow the Amazon search tile to point to a URL from a pref instead r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D75929
2020-05-22 10:21:34 +00:00
Nicolas Silva
68198907ab Bug 1612440 - Separate SceneBuilderRequest in two. r=gw,aosmond
This patch separates SceneBuilderRequest into two enums: One we'll be able to send from the api, and containing types that shouldn't move to the webrender_api crate. For example LoadScene depends on the Scene struct and at this point a quarter of webrender's types would need to move to webrender_api.
This solution is a bit iffy but I'm not sure how to better do this. If we don't need strict ordering, moving to crossbeam's queue which support select would let us at least avoid sending dummy BackendMessage to instruct the scene builder thread to look into the other queue.
This patch should not change the current behavior except for one (important) detail: all messages that use BackendSceneBuilderMessage have to go through the low priority scene queue instead of the high priority one. This affects the capture stuff, I think that it's still correct but I'm not familiar enough with it to be sure.

Differential Revision: https://phabricator.services.mozilla.com/D72717
2020-05-22 10:06:12 +00:00
Nicolas Silva
e37f0f8d60 Bug 1612440 - Merge the webrender::Transaction and webrender_api::TransactionMsg structs. r=gw
One of the last steps towards letting the api send scene building requests directly. I'll clean up the names after everything is in place.

Differential Revision: https://phabricator.services.mozilla.com/D74054
2020-05-22 10:06:12 +00:00
Michal Novotny
9198a0f0ae Bug 1637947 - network ID: link status isn't updated in NetlinkService::OnAddrMessage() r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D76194
2020-05-21 16:55:42 +00:00
Jeff Muizelaar
3bdbb1b8d9 Bug 1640170 - Enable WebRender on gen[7-8] gt1. r=aosmond
Things are better and we don't tend to be shader execution bound.
Let's find out if there's a reason to not be on gt1

Differential Revision: https://phabricator.services.mozilla.com/D76479
2020-05-22 14:33:10 +00:00
Kartikaya Gupta
6d4e5cf7e2 Bug 1639825 - Some minor code reorganization. r=tnikkel
This makes it more obvious that we are using the same scrollDelta for adjusting
the displayport as we are for populating the callback transform. Instead of
computing the same value inside a helper, we just provide the helper with the
already-computed delta that is used for the callback transform too.

Differential Revision: https://phabricator.services.mozilla.com/D76297
2020-05-22 14:37:06 +00:00
Daniel Lu
2fd0312168 Bug 1637729 - Added a counter to track how many picture cache tiles are invalidated, and added it as an event marker to the profiler. r=jrmuizel,gw
Differential Revision: https://phabricator.services.mozilla.com/D76389
2020-05-22 13:57:43 +00:00
Greg Tatum
861a2adda1 Bug 1628073 - Add python 3 support to mozgeckoprofiler; r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D75579
2020-05-22 13:21:09 +00:00
Greg Tatum
5d3c780295 Bug 1628073 - Run black autoformatting on mozgeckoprofiler; r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D75578
2020-05-22 13:20:51 +00:00
Greg Tatum
2947314809 Bug 1628073 - Move the view_gecko_profile_from_mochitest function; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D75577
2020-05-22 13:20:23 +00:00
Greg Tatum
bce099a26d Bug 1628073 - Add a test for the view gecko profile tool; r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D74295
2020-05-22 13:20:10 +00:00
Greg Tatum
4d20207a95 Bug 1628073 - Remove the view_gecko_profile.py tool; r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D74294
2020-05-22 13:19:58 +00:00
Greg Tatum
af96a9bd04 Bug 1628073 - Add documentation to mozgeckoprofiler; r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D74292
2020-05-22 13:19:40 +00:00
Greg Tatum
c5ee06d110 Bug 1628073 - Use mozlog in the mozgeckoprofiler; r=gbrown
This patch changes over all of the logging to use the structured mozlog package.
I also ensured that the messages were logged in a way to be useful for end users
of mochitests. This means there were a few small changes in methods in order to
accommodate the logging. The behavior outside of logging should be the same.

Differential Revision: https://phabricator.services.mozilla.com/D74291
2020-05-22 13:19:27 +00:00
Greg Tatum
ced168b874 Bug 1628073 - Hook up symbolication to mochitests; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D74290
2020-05-22 13:19:04 +00:00
Greg Tatum
593ab0604f Bug 1628073 - Move gecko profiler testing files to mozgeckoprofiler; r=sparky,perftest-reviewers,gbrown
I need to add symbolication support for the mochitest Gecko Profiler command line
option. These profiles also need to be symbolicated. Unfortunately, there is not
a common place where I could use these files. Talos and Raptor each had their
own copy of the snappy symbolication server.

This commit consolidates these packages into a re-usable mozbase package that can
be used in mochitests, and eventually in other places like xpcshell tests.

I stubbed out a test file, but it doesn't do anything quite yet. This commit makes
it so that the tests still work in Raptor and Talos, but doesn't add any features.
It also doesn't try too hard to make the files look like a mozbase package.

Differential Revision: https://phabricator.services.mozilla.com/D74289
2020-05-22 13:18:44 +00:00
Greg Tatum
11e4654387 Bug 1628073 - Document some of the symbolication python code; r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D74287
2020-05-22 13:17:55 +00:00
Greg Tatum
9f54341166 Bug 1628073 - Add CLI flags to mochitests for the profiler; r=gbrown
This commit adds the option to profile a mochitest run, and then open
the profile automatically in the users browser.

Differential Revision: https://phabricator.services.mozilla.com/D70090
2020-05-22 13:17:37 +00:00
Greg Tatum
01b425b6d5 Bug 1628073 - Rewrite view_gecko_profile.py to open a URL; r=perftest-reviewers,sparky
The current implementation opens the built Firefox in the objdir. This is not
optimal as the built Firefox is not really great for viewing files in. The build
could be broken. With this patch, the profiles will instead be opened in the users
default browser.

Differential Revision: https://phabricator.services.mozilla.com/D70089
2020-05-22 13:17:30 +00:00
Iain Ireland
723f5d5bba Bug 1638154: Fix review comments r=tcampbell
Milliseconds after landing the parent patch, I realized that I had not actually uploaded the changes to address the review comments.

Differential Revision: https://phabricator.services.mozilla.com/D76380
2020-05-21 21:38:37 +00:00
Mark Banner
5d044573da Bug 1632447 - Disable window.external/sidebar.AddSearchProvider by preference. r=baku
This makes them both operate as dummy functions.

Differential Revision: https://phabricator.services.mozilla.com/D76329
2020-05-22 11:41:15 +00:00
Marco Bonardo
505406e25d Bug 1636583 - Make the urlbar always go through pickResult. r=adw
This changes the urlbar to always generate a result and then confirm it through
pickResult. This way we obtain a consistent behavior independently from whether
the view has a result or an action like Paste&Go happened.
Before this we used to go through getShortcutOrURIAndPostData, that implements
only a part of the urlbar logic, often causing different behavior depending on
the view state, and thus requiring constant maintenance to sync it up.
In a follow-up bug we will evaluate the complete removal of
getShortcutOrURIAndPostData in favor of direct calls to
UrlbarUtils.getHeuristicResultFor().

This also moves up a bit closer to always pass a final url to the docshell, and
stop trying to do complex URIFixup calls in it. For now we still rely
on its fix-ups for browser.fixup.dns_first_for_single_words, where we pass a
url, and if it's invalid it will instead search. See UrlbarUtils.RESULT_TYPE.URL
handling in pickResult().

Differential Revision: https://phabricator.services.mozilla.com/D75911
2020-05-21 15:00:08 +00:00
Marco Bonardo
36118c93a3 Bug 1636583 - URIFixup should force a visit when an uri-like search string ends with a slash. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D75910
2020-05-21 14:58:15 +00:00
Marco Bonardo
9b5422f233 Bug 1636583 - Split pickResult out of pickElement. r=adw
This allows to pick a result without necessarily having a view element.

Differential Revision: https://phabricator.services.mozilla.com/D75909
2020-05-21 23:11:38 +00:00
Hiroyuki Ikezoe
45b7227266 Bug 1640108 - Move nsPrintJob::SetPrintPO into nsPrintObject class and rename it to EnablePrinting. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D76456
2020-05-22 09:57:12 +00:00
Hiroyuki Ikezoe
28234785d1 Bug 1640108 - Move SetPrintAsIs in nsPrintObject. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D76455
2020-05-22 09:56:55 +00:00
Hubert Boma Manilla
dbad6c61d5 Bug 1639962 - Fix the network headers panel in the console r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76463
2020-05-22 13:18:56 +00:00
Geoff Brown
9f562a4af7 Bug 1557692 - Set browser.tabs.unloadOnLowMemory=false during tests; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D76401
2020-05-22 05:39:07 +00:00
Nicolas Silva
77f659bffc Bug 1239292 - Remove the multi-threaded job scheduler. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76027
2020-05-20 20:04:05 +00:00
Jon Coppeard
9f814b62de Bug 1529203 - Add tests to check that the module map is cleared when using document.open r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D21719
2020-05-22 08:08:42 +00:00
Gijs Kruitbosch
6fa5c7eb3e Bug 1635106 - fix spellchecker lifetime handling vs. the context menu, r=nika
This changes both the spellchecker parent code that interfaces with the
InlineSpellCheckerParent actor, and the child code interfacing with the
ContextMenuChild actor, to ensure they get notified when either actor
goes away.

It maintains the "uninit" messages to clear out spellcheck data when the
context menu goes away (while the window / actors remain intact).

It also adds some belts-and-suspenders type checks that allow us to
recover if we ever get in a bad state again, instead of stubbornly
throwing exceptions and breaking the UI for users.

Differential Revision: https://phabricator.services.mozilla.com/D75228
2020-05-22 08:35:57 +00:00
Dorel Luca
6c1dbf7154 Backed out changeset 40784ea31188 (bug 651482) for Reftest failures in bmp-corrupted/wrapper.html?invalid-compression-BITFIELDS.bmp. CLOSED TREE 2020-05-22 12:21:32 +03:00
Andrei Oprea
dd545d38b7 Bug 1634054 - Document trigger and button actions for CFRs r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D73269
2020-05-21 16:21:20 +00:00
Timothy Nikkel
65ea880202 Bug 1637067. Further adjust fuzz on preserve3d-scale.html for android hardware reftests.
Depends on D75636

Differential Revision: https://phabricator.services.mozilla.com/D76454
2020-05-22 08:08:10 +00:00
Bob Owen
3dc49fb3d2 Bug 1639958 part 2: Add Buffer::AllocForOverwrite to fallibly create a default-initialized Buffer. r=froydnj
This also uses MakeUniqueForOverwrite* in two places where we immediately copy
over the Buffer from a Span.
Adds move assignment operator as well.

Differential Revision: https://phabricator.services.mozilla.com/D75510
2020-05-22 07:48:02 +00:00
Bob Owen
c7b447903d Bug 1639958 part 1: Add MakeUniqueForOverwrite and MakeUniqueForOverwriteFallible helpers. r=froydnj
These are the equivalent of std::make_unique_for_overwrite and std::make_unique_for_overwrite with fallible allocation.

Differential Revision: https://phabricator.services.mozilla.com/D75509
2020-05-22 07:22:28 +00:00
Florin Strugariu
7a7f4ee043 Bug 1639836 - remove mitm5 tests from raptor suites r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D76301
2020-05-21 12:04:53 +00:00
Tim Huang
4b848bf184 Bug 1639969 - explicitly wait the storage permission before cleaning up in test 'browser_storageAccessWithHeuristics.js'. r=baku
Our ETP backend adds the storage permission asynchronously when adding
storage access. So, we have to wait the permission is ready in the
parent process before cleaning up. Otherwise, we will have a incorrect
state after the test.

Differential Revision: https://phabricator.services.mozilla.com/D76372
2020-05-22 07:07:23 +00:00
Julian Descottes
839278ac34 Bug 1621337 - Add support for service workers in target-list r=ochameau
Depends on D74701

Differential Revision: https://phabricator.services.mozilla.com/D74700
2020-05-22 06:48:14 +00:00
Julian Descottes
1465bfa0c4 Bug 1621337 - Add an option to workers listener to only listen to sw registrations r=ochameau
Depends on D74699

Differential Revision: https://phabricator.services.mozilla.com/D74701
2020-05-22 06:48:07 +00:00
Julian Descottes
0eaaeb886a Bug 1621337 - Check if existingTargets is still defined when processing listWorkerChanged r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D74699
2020-05-22 06:46:31 +00:00
Butkovits Atila
8a87d1b582 Backed out changeset 09ccf334001b (bug 1592416) for causing bug 1640077 to fail. 2020-05-22 09:37:16 +03:00
wesj
2863da4ad0 * Bug 651482 - Allow decoding bitmaps with 52 and 56 byte info headers. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D75803
2020-05-22 03:35:15 +00:00
Glenn Watson
5be60824bc Bug 1637953 - Fix picture caching with redundant nested scroll roots r=Bert,jrmuizel
Some pages created nesting levels of scroll roots where the outer
scroll frames are redundant (the scrollable size is zero if the
content rect is the same as the frame rect).

In these cases, it is of no benefit to select these as a scroll
root for picture cache tiles.

Differential Revision: https://phabricator.services.mozilla.com/D75451
2020-05-21 23:11:14 +00:00
Bogdan Tara
404a84e0a6 Backed out changeset ee9c7714e513 (bug 1639606) for browser_download_open_with_internal_handler.js failures CLOSED TREE
DONTBUILD
2020-05-22 07:04:45 +03:00
Bogdan Tara
107fbafd77 Backed out 2 changesets (bug 1639563) for gfx related bustages CLOSED TREE
DONTBUILD
Backed out changeset b2c8de065886 (bug 1639563)
Backed out changeset 43abf0a9602a (bug 1639563)
2020-05-22 06:55:28 +03:00