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

722477 Коммитов

Автор SHA1 Сообщение Дата
julianwels 01a1e3a57e Bug 1659115: Removed Icon from HTTPS-Only Mode section in about:preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87295
2020-08-17 16:53:18 +00:00
Tom Schuster cb5df95eba Bug 1650607 - Change WPT test for File constructor replacement. r=baku
Change the test to follow the proposed change in https://github.com/w3c/FileAPI/issues/41,
now that all browsers agree to not replace /.

Depends on D86981

Differential Revision: https://phabricator.services.mozilla.com/D87112
2020-08-17 16:53:16 +00:00
Tom Schuster 9e497a23ce Bug 1650607 - Do not replace / with : in File constructor. r=baku
Basically a backout of https://hg.mozilla.org/mozilla-central/rev/1857e763332c.
Pending spec change: https://github.com/w3c/FileAPI/issues/41

Differential Revision: https://phabricator.services.mozilla.com/D86981
2020-08-17 09:52:14 +00:00
julianwels c2daadfdc6 Bug 1658594: Simplified HTTPS-Only checks for CORS and mixed content r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D86820
2020-08-17 16:35:09 +00:00
Cristina Coroiu 571dc2052c Backed out changeset e15d0c42b084 (bug 1659452) for Valgring failure on a CLOSED TREE 2020-08-17 19:45:15 +03:00
Andrei Oprea e49ac22568 Bug 1656500 - Use bucketConfig for bucketing in Experiment Manager r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D86713
2020-08-17 15:46:37 +00:00
Denis Palmeiro efbb2a494a Bug 1659483 - Re-enable speculative JS parsing r=bas
Enable speculative JS parsing of external scripts as soon as they are fetched.

Differential Revision: https://phabricator.services.mozilla.com/D87299
2020-08-17 15:59:00 +00:00
Nika Layzell 8d388d7ff9 Bug 1658827 - Clear exceptions before returning from JSActor promise handlers, r=kmag
There must be no pending exceptions on the JSContext when returning from a
native promise handler. We were not successfully clearing exceptions in all
cases in JSActor logic, meaning that query replies with unserializable data
would cause debug-mode crashes.

This patch handles JSActor's code, but doesn't improve the situation for other
native promise handlers which could throw exceptions.

Differential Revision: https://phabricator.services.mozilla.com/D87110
2020-08-17 15:50:04 +00:00
Ricky Stewart 9719a9a5a9 Bug 1636797 - In `hash.py`, enumerate files from the VCS rather than searching the filesystem directly r=ahal
This resolves a long-standing issue in development where `mach artifact` (and therefore `mach bootstrap`) would fail unpredictably if you had dirty, but ignored, files in your checkout. Resolving this problem often required unwieldy `hg purge`/`git ignore` incantations that are easy to get wrong.

This patch addresses the problem by doing what we "should" have been doing all along, and consulting the VCS to list tracked files rather than listing EVERY file on disk and applying heuristics to determine whether they should be included in the hash.

Differential Revision: https://phabricator.services.mozilla.com/D86780
2020-08-17 15:19:34 +00:00
Jan de Mooij a97cc4af06 Bug 1659093 part 4 - Remove fixed register uses that are no longer necessary. r=anba
Also remove some misleading comments (temps never alias inputs, see part 1).

Differential Revision: https://phabricator.services.mozilla.com/D87266
2020-08-17 13:19:49 +00:00
Jan de Mooij 28852f1b45 Bug 1659093 part 3 - Require call instruction temps to be fixed registers. r=anba
This prevents the potential issue described in the comment and most instructions
already did this anyway.

Differential Revision: https://phabricator.services.mozilla.com/D87265
2020-08-17 13:19:49 +00:00
Jan de Mooij 266b3b7352 Bug 1659093 part 2 - Remove a now-unnecessary assertion. r=anba
Given that temps never alias inputs as established in the previous patch, this
assertion isn't necessary. It's possible the LSRA allocator did things differently.

The assertion was also weird/wrong because it depends on LDefinition::Type, but
there are multiple Types that could still map to the same Register. It looks
like bug 1067610 broke this; before that refactoring we compared isFloatReg().

Differential Revision: https://phabricator.services.mozilla.com/D87264
2020-08-17 13:19:48 +00:00
Jan de Mooij 340ac16ce4 Bug 1659093 part 1 - Assert temps don't alias inputs, fix some comments. r=anba
Temps cover both the input and output part of the instruction, so their ranges
always overlap with at-start uses (covering the input) and non-at-start uses
(covering both input and output). This means the allocated register must be
different from any uses.

Defs cover only the output part of the instruction so there at-start makes a
difference.

Differential Revision: https://phabricator.services.mozilla.com/D87263
2020-08-17 13:19:48 +00:00
Cristina Coroiu c5ea829222 Backed out changeset ecf777478ad5 (bug 1656500) for browser chrome failures at browser/components/newtab/test/browser/browser_asrouter_experimentsAPILoader.js on a CLOSED TREE 2020-08-17 18:14:57 +03:00
Julien Cristau 97a0dfb7b2 Bug 1657017 - update whatsnew page config for Firefox 80. r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D87291
2020-08-17 14:35:51 +00:00
Bogdan Tara 42af559fd1 Backed out changeset 6124d9a5422b (bug 1655107) for pip related failures CLOSED TREE 2020-08-17 17:32:40 +03:00
ffxbld 5c66804a14 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D87287
2020-08-17 14:16:45 +00:00
Christian Holler e9cbdf8da1 Bug 1659452 - Restore basic function names in GDB. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87283
2020-08-17 14:11:33 +00:00
Andrew Halberstadt b5d2c40afa Bug 1655107 - [moztreedocs] Use pip-tools rather than pipenv to manage doc dependencies r=championshuttler,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D85048
2020-08-17 14:07:35 +00:00
Lee Salzman ccf4fbb975 Bug 1659324 - return transparent black when sampling null SWGL texture. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D87190
2020-08-17 06:06:23 +00:00
Jonathan Kew e0e0d95a73 Bug 1659453 - Accelerate gfxFontFamily::SearchAllFontsForChar by setting up the family charmap. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D87285
2020-08-17 14:04:50 +00:00
Tom Schuster 290d6e2d72 Bug 1659441 - Switch on ValueType in PrimitiveToX. r=tcampbell
I noticed this while looking at D87232. Using an exhaustive switch makes it easier to find all the places that need to be updated when adding a new ValueType.

Differential Revision: https://phabricator.services.mozilla.com/D87273
2020-08-17 13:37:52 +00:00
Andrei Oprea 817b25ad62 Bug 1656500 - Use bucketConfig for bucketing in Experiment Manager r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D86713
2020-08-17 13:33:42 +00:00
Nicolas Chevobbe 6a8d6386cb Bug 1658724 - Don't start the parser worker if it's not needed when evaluating an expression in the console. r=jdescottes. DONTBUILD
In `getMappedExpression`, we check if the expression contains `await `, and in
such case, transform the input to handle top-level await expressions.

The catch is that we first check the existence of this.parserService, and the
getter for parserService will start the parser worker if it wasn't the case yet.
That means we were always spawning the parser worker, even if it wasn't going
to be used, consuming unnecessary resources.

This patch removes the conditions in the if, as `parserService` will always be truthy.

Differential Revision: https://phabricator.services.mozilla.com/D86826
2020-08-17 13:22:51 +00:00
Lars T Hansen cf7ae9564e Bug 1656832 - Remove setARMHwCapFlags testing functions. r=bbouvier
This removes the testing function and adjusts the tests that use it.
One test is removed because wasm, and asm.js, are not available
without floating point support (guarded against in HasSupport).

The patch also documents the meaning and logic of the remaining
hardware flag management.

There is already a command line switch for setting the ARM flags (and
an environment variable) so we don't need to introduce anything to
allow flags to be set.  However, this code needed to be updated to
properly compute the JIT flags after setting the ARM flags.

Test cases are introduced to test that wasm is not available in
situations where the required hardware is not in place.

A final adjustment is made to HasSupport: It can call
JitSupportsAtomics() rather than test the ARM flags directly, since
the jit tests those flags on ARM.

Differential Revision: https://phabricator.services.mozilla.com/D87262
2020-08-17 13:07:49 +00:00
Sebastian Hengst 1e07d6e1cd Bug 1659299 - Update expectations for wpt backlog failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D87270
2020-08-17 12:29:43 +00:00
Edgar Chen bf43923608 Bug 1648887 - Part 2: Enable test_navigate_after_pagehide.html; r=kmag
This is a another case that hit the same assertion, we could reenable it after
bug 1611961.

Depends on D85752

Differential Revision: https://phabricator.services.mozilla.com/D85753
2020-08-06 14:49:02 +00:00
Edgar Chen 15c713c7ae Bug 1648887 - Part 1: Turn the fuzzing test script into automation test; r=smaug
The assertion crash found by fuzzing is fixed after moving useraction state from
BrowsingContext to WindowContext, see bug 1611961.

Differential Revision: https://phabricator.services.mozilla.com/D85752
2020-08-06 14:49:05 +00:00
Edgar Chen b2ef530476 Bug 1611961 - Move UserActivationState from BrowsingContext to WindowContext; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D83126
2020-08-17 11:02:34 +00:00
Daisuke Akatsuka 35bbacb047 Bug 1605743: Update target front when starting to listen. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D87225
2020-08-17 11:52:45 +00:00
pbz 94c492e868 Bug 1651958 - Updated prompt tests to support SubDialog chrome prompts. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84380
2020-08-17 10:27:50 +00:00
pbz 12ecb4b350 Bug 1651958 - Enable SubDialog prompts in TabDialogBox for Nightly only. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84379
2020-08-17 10:27:39 +00:00
pbz 960d3fafe1 Bug 1651958 - When closing prompts via TabDialogBox due to location change, teardown or tab close mark them as aborted. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D85141
2020-08-17 10:27:37 +00:00
pbz 58da7c30b5 Bug 1651958 - Show tab chrome prompts in TabDialogBox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84378
2020-08-17 10:27:35 +00:00
pbz 5871da57ee Bug 1651958 - For embedded CommonDialogs postpone init to onload to fix initial focus in SubDialog. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84377
2020-08-17 10:27:29 +00:00
pbz 1058f2522e Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-17 10:26:22 +00:00
pbz 34285950d0 Bug 1650795 - Update PopupNotifications to check suppressed state on tab switch. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83630
2020-08-17 10:25:59 +00:00
Boris Chiou 394ea77212 Bug 1639963 - Add extra wpts for HTML embed element. r=dholbert
This should be very simliar with <object> with image example.
We use nsImageFrame to represent this embed element.

Just make sure wpt covers all the typical replaced elements, based on
MDN (https://developer.mozilla.org/en-US/docs/Web/CSS/Replaced_element).

Differential Revision: https://phabricator.services.mozilla.com/D79571
2020-08-17 07:17:32 +00:00
Boris Chiou b9153cdc94 Bug 1639963 - Support aspect-ratio for HTML canvas. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79570
2020-08-17 07:14:21 +00:00
Boris Chiou 33a43f7fc9 Bug 1639963 - Support aspect-ratio for svg frames. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79363
2020-08-17 07:14:19 +00:00
Boris Chiou 0b7ae2d7e9 Bug 1639963 - Support aspect-ratio for svg object and iframe (i.e. nsSubDocumentFrame). r=emilio
When <object> targets to a svg image, we use nsSubDocumentFrame. The
intrinsic ratio should be overridden by aspect-ratio while computing
its size on this frame.

This update in nsSubDocumentFrame also works in iframe.

Differential Revision: https://phabricator.services.mozilla.com/D79362
2020-08-17 07:07:38 +00:00
Boris Chiou 10e1d0f620 Bug 1639963 - Support aspect-ratio for video element. r=dholbert
This includes a update of the ini file. I noticed the color
of the video is not equal to "rgb(0, 128, 0)" (i.e. background-color: green).
It is "rgb(1, 128. 1)" on Mac (without WebRender),
"rgb(0, 125, 0)" on Mac (with WebRender), and "rgb(1, 128, 2)" on Linux.
Perhaps it is a bug of our video rendering or video scaling. Therefore,
I added fuzzy into the ini file with max 0-3 difference per channel.

(Note: The size of this video is 50x50, so the max number of pixels is 2500.)

Differential Revision: https://phabricator.services.mozilla.com/D79337
2020-08-17 08:28:37 +00:00
Boris Chiou 5b6832c5f3 Bug 1639963 - Define the default size for replaced elements. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D81006
2020-08-17 07:10:39 +00:00
Boris Chiou cb69cd917a Bug 1639963 - Drop redundant check of auto in nsImageFrame. r=emilio
Appearally, we don't have to check mAspectRatio.auto_ because we checked it
already in the same function.

Differential Revision: https://phabricator.services.mozilla.com/D79336
2020-08-17 07:08:16 +00:00
Boris Chiou 38a854f9b9 Bug 1639963 - Apply Automatic content-based minimum sizes for aspect-ratio. r=emilio
Basically, if the overflow is visible and its min-height/min-width is
auto, we have to get the maximal value between the content size and
the size of the ratio-depentent axis.

https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum

Differential Revision: https://phabricator.services.mozilla.com/D78965
2020-08-17 07:02:25 +00:00
Boris Chiou dd3c20ccd8 Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio
In order to apply Automatic content-based minimum sizes, we have to know
the content size on the block axis. We cannot get the content size until
we finish the reflow of the child frames. So we have to keep a flag
which indicates the size of the ratio-dependent axis is overrideen by
aspect-ratio in ReflowInput.

We will set the correct return value in the next patch, For now, we
always return AspectRatioUsage::None.

Differential Revision: https://phabricator.services.mozilla.com/D79335
2020-08-17 06:57:56 +00:00
Boris Chiou 4e7c9bc450 Bug 1639963 - Fix margin collapsing with aspect-ratio. r=emilio
Basically, we treat aspect-ratio (together with inline size) as a
non-auto block size. This means the block is not empty when using
aspect-ratio.

Also, add 2 tentative wpts for this, based on the current spec issue
examples.

https://github.com/w3c/csswg-drafts/issues/5328

Differential Revision: https://phabricator.services.mozilla.com/D84452
2020-08-17 06:26:19 +00:00
Boris Chiou b425a6022b Bug 1639963 - Calculate inline size and block size based on aspect-ratio. r=emilio
We calculate the size of ratio-dependent axis by aspect-ratio while
initializing its ReflowInput, for most of the basic block cases.

This patch doesn't include "Automatic content-based minimum sizes",
which will be handled later. Besides, replaced elements will be handled
later as well.

We don't pass abspos-004.tentative.html because there is still a
spec issue: https://github.com/w3c/csswg-drafts/issues/5151.
For other tests we didn't pass (e.g. block-aspect-ratio-009.tentative.html,
or replaced-element-00x.tentative.html), we fix them later.

Besides, in this patch, we don't handle the case if the size of
ratio-determining axis uses intrinsic size keywords (which needs to be
calculated by its content size). We will fix this in the following bug
(Bug 1646100).

Differential Revision: https://phabricator.services.mozilla.com/D78964
2020-08-17 06:26:19 +00:00
Andrea Marchesini 5fa9480158 Bug 1658878 - Isolate BlobURLs per agent-cluster - cleanup remove method, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87059
2020-08-17 09:57:04 +00:00
Andrea Marchesini 6b8618a091 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-17 09:55:56 +00:00