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

731244 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 1ba86569a5 Bug 1671609 - [devtools] Remove swapBrowser methods from DevTools transports r=ochameau
Depends on D93819

Differential Revision: https://phabricator.services.mozilla.com/D93820
2020-10-20 17:02:31 +00:00
Julian Descottes 134032de33 Bug 1671609 - [devtools] Simplify message manager handling in storage actor r=ochameau,ladybenko
Depends on D93817

There should no longer be new message managers during the lifecycle of the actor.
We can simplify the storage actor thanks to this.

Differential Revision: https://phabricator.services.mozilla.com/D93819
2020-10-20 17:02:36 +00:00
Julian Descottes 23b2aef1c7 Bug 1671609 - [devtools] Remove browserSwap support from devtools r=ochameau
This method was only useful for the old RDM implementation and can now be removed.

Differential Revision: https://phabricator.services.mozilla.com/D93817
2020-10-20 17:02:34 +00:00
Mats Palmgren e56f887c92 [css-grid-3] Bug 1665152 - Add more editors to the CSS Masonry draft spec. r=heycam
Per CSSWG meeting at TPAC:
https://www.w3.org/2020/10/20-css-irc

NPOTB DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D94204
2020-10-20 22:15:01 +00:00
Mike Hommey 54f6141287 Bug 1671424 - Move configure execution from client.mk to `mach configure`. r=firefox-build-system-reviewers,rstewart
`mach configure` currently runs the equivalent to `make -f client.mk`.
This is history, and essentially does the following:
- Create `configure` and `js/src/configure` from `configure.in` and
`js/src/configure.in` respectively.
- Create the objdir.
- Run `configure` from the objdir.

The `configure` script is, nowadays, only really used as a means to set
OLD_CONFIGURE (and also for people who want to run `configure`,
literally, as in the `configure; make` workflow). `mach configure`
actually doesn't need it. Neither does recursing into `js/src` require
`js/src/configure`, since bug 1520340 (and now as of bug 1669633, we
don't even recurse).

Because configure.py can actually derive OLD_CONFIGURE on its own
(except for `js/src/configure`, but `mach configure` doesn't run that),
we don't really need `configure` for `mach configure`.

So all in all, we're at a point in history where it's straightforward to
just initiate configure.py from mach configure, so we just do that.

And in the hypothetical case where the `mach configure` code is somehow
running in python2, we get the mach virtualenv python3 and use it to
execute `configure.py`.

Differential Revision: https://phabricator.services.mozilla.com/D93741
2020-10-20 20:41:52 +00:00
Ted Campbell 335531c4bf Bug 1672268 - Remove CustomAutoRooter from JS Parser. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D94193
2020-10-20 21:41:19 +00:00
Kirk Steuber eede456420 Bug 1672267 - Fix 2 mistakes made in Bug 1668096 r=mhowell
While making other changes, I took a second look at some code I wrote in Bug 1668096, and found a few little mistakes. This patch fixes them up.

Depends on D94191

Differential Revision: https://phabricator.services.mozilla.com/D94192
2020-10-20 21:27:56 +00:00
Kirk Steuber f9b97aac48 Bug 1672267 - Change downloadUpdate to return a boolean success value rather than updater state r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D94191
2020-10-20 21:45:08 +00:00
Emilio Cobos Álvarez 15c2b41a78 Bug 1668875 - Invalidate images for media query changes more granularly. r=heycam
The SVG code invalidating too much causes hangs with pages that have
lots of SVGs.

Differential Revision: https://phabricator.services.mozilla.com/D94186
2020-10-20 21:24:30 +00:00
Tim Nguyen ce1d1adc9a Bug 1356031 - Remove toolkit error-16.png and replace usages with respective SVGs. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D94173
2020-10-20 21:14:47 +00:00
Werner Lemberg 0bd550157a Bug 1672223 - [sfnt] Fix heap buffer overflow. r=jfkthame
This is CVE-2020-15999.

* src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier.

Differential Revision: https://phabricator.services.mozilla.com/D94153
2020-10-20 19:56:59 +00:00
Agi Sferro 0a9a2f1c6a Bug 1646810 - Remove unused restoreProgressListeners. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D94190
2020-10-20 21:14:51 +00:00
Drew Willcoxon 4155f60be3 Bug 1671045 - Fix intermittent in browser_searchMode_sessionStore.js by requesting a longer timeout and disabling on Mac debug. r=mak
This test times out on macOS 10.14 opt and debug.  Logs show that the test
finishes properly but it exceeds the timeout threshold, so it appears that it
just takes too long.  Increasing the timeout threshold fixes the problem on opt,
but it reveals another problem on debug where the watchdog process kills the
main process because its shutdown lasts too long.  This happens during step 3 of
test-verify, which is "Run each test 10 times in one browser, in chaos mode."
Around the time that the crash happens, logs show that there are "2047 DOMWINDOW
created and 2037 destroyed log strings."  The test opens, closes, and reopens
many windows -- with chaos mode on top of that -- so it's possible that debug
window instrumentation or just the debug nature of the build itself, plus slow
machines, causes all the window opening and closing to perform very poorly and
take a long time.

This patch increases the timeout, which fixes opt, and disables the test
entirely on debug -- and to reiterate, it's Mac only.  Maybe the test could open
and close tabs instead of windows in order to test session store, but I'm not
sure it's worth rewriting.

Here's a successful try run with an earlier version of this patch that did not
disable the test on debug, but it shows that opt is green:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=7ab33a9225b9edf0cb8a95d556f9b76c7fc69470

And here's a run without the patch that shows opt is always orange:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=1e02bfc26ecb67f503cb24a180536e8c220226d5

Differential Revision: https://phabricator.services.mozilla.com/D94069
2020-10-20 21:06:11 +00:00
Glenn Watson 3131a2a297 Bug 1670809 - Add infrastructure for testing picture cache invalidation. r=nical
When `testing` is enabled, writes a set of information about the
current state of all picture cache slices and tiles into the
RenderResults structure.

Add a new mode, `test_invalidation` to wrench. This is similar to
the existing `rawtest` functionality, where tests are written in rust.

Add a basic test that demonstrates the testing infrastructure as
a proof of concept.

Follow up patches will add more tests, specifically testing for
expected behavior in a range of scenarios (e.g. scrolling by a
fractional amount, unusual zoom/dpi ratios etc).

Differential Revision: https://phabricator.services.mozilla.com/D94071
2020-10-20 20:59:27 +00:00
Tim Huang 7ada64860a Bug 1670820 - Part 2: Use the StoragePrincipalHelper::GetOriginAttributesForHSTS() to get the OA when checking the HSTS for http channels. r=baku,necko-reviewers,dragana
The partitionKey for HSTS is always set with 'http' scheme. So, we
should also use 'http' when checking the HSTS for http channels.

Differential Revision: https://phabricator.services.mozilla.com/D93393
2020-10-20 20:55:12 +00:00
Tim Huang b4d838ac9e Bug 1670820 - Part 1: Add a test case to ensure the HSTS of subresources is partitioned. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D93392
2020-10-20 20:55:10 +00:00
Olli Pettay 0299be0815 Bug 1672163 - Microsoft/history/history_000.htm should not rely on a 50ms timer, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D94102
2020-10-20 18:17:11 +00:00
Glenn Watson c746b6e5eb Bug 1672077 - Fix ordering of device_valid_rect calculation. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D94060
2020-10-20 20:52:37 +00:00
Glenn Watson ad5f3e6fc2 Bug 1664719 - Pt 4 - Refactor complex stacking context clip detection. r=nical
Previously, we relied on walking the built clip-chain for a
stacking context to determine if it needed an intermediate surface
due to presence of a complex clip.

However, future patches in this bug need to delay clip-chain creation
for a primitive until the tile-cache slice for the primitive is
known. This change means we don't rely on the clip-chain early
during push_stacking_context (but should have no functional change).

Differential Revision: https://phabricator.services.mozilla.com/D93904
2020-10-20 20:44:34 +00:00
Gijs Kruitbosch 037a648633 Bug 1667787 - fix saving webp images served with jpeg extensions without content-disposition information, r=mak
This changes two bits of Firefox that, together with the mime service, end up
very confused over webp + jpeg.

1) it changes contentAreaUtils.js' getDefaultExtension that if it gets an image
mimetype as the content type, it should ignore the URL. It doesn't have full channel
info so it can't really do better anyway. This fixes the context menu's "save image as..."
case.
2) it changes the external helper app service to do a few things slightly differently:
a. If we're told not to get an extension out of a URL, really don't. Don't just get the
   filename and then get it from there anyway...
b. If we've got a suggested filename, and a primary extension for the mimetype,
   and the extension on the file is not one of the known extensions for the mimetype,
   replace it with the primary extension.
This fixes the link case.

It also adds tests for both of these mechanisms as well as "save image as."

Differential Revision: https://phabricator.services.mozilla.com/D92306
2020-10-20 20:35:26 +00:00
Mike Conley 632be8b06a Bug 1661304 - Add an initial UserInteraction for tab opening. r=Gijs,data-review=chutten
Depends on D93590

Differential Revision: https://phabricator.services.mozilla.com/D88896
2020-10-20 20:17:50 +00:00
Mike Conley afeb4e8d2e Bug 1661304 - Allow UserInteractions to clobber one another. r=chutten,dthayer
Depends on D93589

Differential Revision: https://phabricator.services.mozilla.com/D93590
2020-10-20 20:17:01 +00:00
Mike Conley de026f5252 Bug 1661304 - Adding running() method to UserInteraction. r=chutten
Depends on D92810

Differential Revision: https://phabricator.services.mozilla.com/D93589
2020-10-20 20:16:08 +00:00
Mike Conley 6eaff0c450 Bug 1661304 - Add tests for UserInteractions infrastructure. r=chutten
Depends on D88684

Differential Revision: https://phabricator.services.mozilla.com/D92810
2020-10-20 20:15:40 +00:00
Mike Conley 9c61ea3425 Bug 1661304 - Introduce UserInteractions as things that can be defined statically at build-time. r=chutten
Depends on D88309

Differential Revision: https://phabricator.services.mozilla.com/D88684
2020-10-20 20:15:37 +00:00
Mike Conley c22a8ed2b1 Bug 1661304 - Add an interface for front-end code to annotate background hang reports. r=dthayer,chutten,smaug
Depends on D92809

Differential Revision: https://phabricator.services.mozilla.com/D88309
2020-10-20 20:13:47 +00:00
Mike Conley f70fadbd36 Bug 1661304 - Make BHR annotations an array of key value pairs when submitted to Telemetry. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D92809
2020-10-20 20:13:19 +00:00
Agi Sferro ea79b4ccc1 Bug 1672247 - Pass correct flags in ProgessTracker's listener. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D94171
2020-10-20 20:20:34 +00:00
Razvan Maries 6ad7ee6c29 Backed out 7 changesets (bug 1670917) for multiple GTest perma failures. CLOSED TREE
Backed out changeset 635942af8244 (bug 1670917)
Backed out changeset b0825300e78d (bug 1670917)
Backed out changeset 881fac72e13c (bug 1670917)
Backed out changeset 0285b2ab6d50 (bug 1670917)
Backed out changeset b58d65b96f2d (bug 1670917)
Backed out changeset 6ad13b34f08d (bug 1670917)
Backed out changeset 426aa6482835 (bug 1670917)
2020-10-20 22:55:47 +03:00
Shane Caraveo 785c75dc53 Bug 1657916 allow extensions to see view-source requests r=robwu
View source prefixes urls with a view-source scheme.  Somewhere along
the way a request is made for the un-prefixed url but we do not intercept.  This
removes the prefix for webrequest and proxy APIs prior to checking access rules
and filters, allowing the APIs to intercept those requests that the otherwise
could.

Differential Revision: https://phabricator.services.mozilla.com/D89068
2020-10-15 21:57:35 +00:00
Florin Strugariu 05ce764c82 Bug 1670874 - [mozproxy]Check if recordings are available before generating confidance metrics r=tarek
Depends on D94022

Differential Revision: https://phabricator.services.mozilla.com/D94023
2020-10-20 15:28:04 +00:00
Florin Strugariu 10f67aa34b Bug 1670874 - [mozproxy]Remove playback_tool_args option from mozproxy r=tarek
Depends on D93341

Differential Revision: https://phabricator.services.mozilla.com/D94022
2020-10-20 15:27:41 +00:00
Florin Strugariu ccd808d402 Bug 1670874 - [mozproxy]Setup mozproxy to use 1 entry point for recordings (zip, manifest, url) r=perftest-reviewers,tarek,sparky
Differential Revision: https://phabricator.services.mozilla.com/D93341
2020-10-20 14:29:09 +00:00
Florin Strugariu b1063ca538 Bug 1670874 - [mozproxy]Update mitm file structure r=tarek,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93330
2020-10-19 15:34:28 +00:00
Bas Schouten ed50612f0a Bug 1672055: Fix mismatch in nsIRunnablePriority and EventQueuePriority. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D94053
2020-10-20 03:57:24 +00:00
Andrew McCreight 540115aed5 Bug 1672075 - Don't collect MEMORY_UNIQUE_CONTENT_STARTUP for the privileged process. r=kmag
The value is higher in privileged processes because it is measured later,
which is making the value skewed when comparing Fission to non-Fission.

Differential Revision: https://phabricator.services.mozilla.com/D94059
2020-10-20 18:43:15 +00:00
Michael Goossens df1c063991 Bug 1658828 - Change OS.File in BrowserUsageTelemetry and test with new IOUtils equivalent r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D94124
2020-10-20 18:31:00 +00:00
Henrik Skupin e9f880e011 Bug 1671372 - [wdspec] "Release Actions" has to check for current and not top-level browsing context. r=webdriver-reviewers,maja_zf
Based on the proposed WebDriver spec changes:
https://github.com/w3c/webdriver/issues/1540

Depends on D93751

Differential Revision: https://phabricator.services.mozilla.com/D93752
2020-10-20 17:39:38 +00:00
Henrik Skupin a7176578c3 Bug 1671372 - [marionette] "WebDriver:ReleaseActions" has to check the current and not top-level browsing context. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D93751
2020-10-19 13:02:56 +00:00
Aaron Klotz 00e06da12d Bug 1672221: Add null check in NPZCSupport::InputEvent::Run; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D94131
2020-10-20 16:46:41 +00:00
Sebastian Hengst 0fe8d9ff4e Bug 1671570 - set css/css-display/display-contents-shadow-dom-1.html to pass on Windows 7 debug. CLOSED TREE 2020-10-20 20:09:14 +02:00
Brian Grinstead e1294f35fc Bug 1671619 - Use [hidden] instead of [collapsed] for the browser container when entering and exiting Customize Mode r=Gijs
This is using collapsed as a carryover from XBL days, where setting the element to hidden would destroy bindings.
But it's causing a side effect of shrinking the browser element to 0x0 which causes the content to resize, leading to
some flickering and poor performance when switching back to content from a Customize Mode tab.
By setting hidden we instead are just toggling the display property.

Differential Revision: https://phabricator.services.mozilla.com/D94057
2020-10-20 15:23:46 +00:00
Markus Stange 7956b78d2b Bug 1672044 - Adjust reftest fuzziness, now that the rounded thumb is drawn by Skia instead of CoreGraphics. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D94049
2020-10-20 16:55:19 +00:00
Markus Stange f714904a27 Bug 1672044 - Convert DrawScrollbarThumb to use DrawTarget. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D93843
2020-10-20 03:57:26 +00:00
Markus Stange 1a0cd33cd1 Bug 1672044 - Convert DrawScrollCorner to use DrawTarget. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D93842
2020-10-20 03:57:25 +00:00
Markus Stange 43bd48b7a2 Bug 1672044 - Convert DrawScrollbarTrack to use DrawTarget. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D93841
2020-10-20 03:57:25 +00:00
Markus Stange a41db84c43 Bug 1672044 - Create a path that draws native widgets using DrawTarget instead of CGContext. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D93840
2020-10-20 03:57:25 +00:00
Jamie Nicol a20ad91067 Bug 1672196 - Enable webrender on Nightly for Mali-Txxx devices. r=ktaeleman
Differential Revision: https://phabricator.services.mozilla.com/D94118
2020-10-20 16:47:14 +00:00
Razvan Maries 3954e7eb5a Backed out 5 changesets (bug 1671676, bug 1671609) for Lint failure on frame.js. CLOSED TREE
Backed out changeset aba7c7caae10 (bug 1671676)
Backed out changeset 68449199cb9a (bug 1671676)
Backed out changeset 107e0c2f141a (bug 1671609)
Backed out changeset 02bc34c28501 (bug 1671609)
Backed out changeset 5efd9f6968ed (bug 1671609)
2020-10-20 19:59:11 +03:00
Alexis Beingessner c40e440aff Bug 1671692 - Organize and properly label things in the TSan supression list. r=decoder
This is going to cause some merge conflicts for everyone working on the
supressions, sorry!

Differential Revision: https://phabricator.services.mozilla.com/D93835
2020-10-20 16:45:00 +00:00