Commit Graph

765479 Commits

Author SHA1 Message Date
Doug Thayer
f907b5b4a4 Bug 1546847 - Backed out bug 1546847 and related revs r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121898
2021-08-05 18:34:56 +00:00
Emilio Cobos Álvarez
4d98e7e79f Bug 1721262 - Make sure to reflow the line again if we bail out of reflow due to break-inside: avoid. r=dholbert
The issue is that we mark the second input as dirty when it gets the
reflow request (this is as expected), but then during multicol reflow
everything seems to go smoothly, but we hit this code:

  https://searchfox.org/mozilla-central/rev/00977c4e37865a92f1c15572ae4aea90e934b25b/layout/generic/nsBlockFrame.cpp#3745

And bail out, leaving the line marked as not dirty, and as such the
stuff inside the page-break-inside: avoid dirty.

When it changes further, we think it's already dirty so don't bother
adding it to the dirty root list anymore and the text frame remains with
its original tiny width.

Differential Revision: https://phabricator.services.mozilla.com/D121869
2021-08-05 18:21:55 +00:00
Tom Schuster
a0128c7638 Bug 1724206 - Use WebExtensionPolicy webidl definition for addonPolicy property on nsIPrincipal. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121889
2021-08-05 18:16:17 +00:00
Geoff Brown
342a867eea Bug 1724244 - Increase android-em reftest test chunks to avoid intermittent timeouts; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121901
2021-08-05 18:06:12 +00:00
Kajal Sah
c9be904cff Bug 1722449 - Adds markup to the tab dialog box for screenshot component. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D120931
2021-08-05 17:43:00 +00:00
Iulian Moraru
8087e2edb3 Backed out changeset e5e9bf4c7e67 (bug 1724088) for causing reftest failures on iframe-modify-scrolling-attr-to-yes.html. CLOSED TREE 2021-08-05 20:54:22 +03:00
Florian Quèze
39d533b177 Bug 1724222 - Add profiler markers in DeferredTask, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D121887
2021-08-05 17:30:09 +00:00
Sebastian Hengst
6eb0d2ed1f Bug 1724258 - remove method to target mochitest valgrind tasks for scheduling. r=jmaher
The tasks haven't been scheduled anymore since bug 1538560 landed 2 years ago.

Differential Revision: https://phabricator.services.mozilla.com/D121897
2021-08-05 17:27:39 +00:00
Nick Alexander
b71169f3ce Bug 1724247 - Specify full publisher subject in MSIX repackages. r=bhearsum
Installing the Nightly MSIX packages, signed with Mozilla's Nightly
key, yields an error: "Error in parsing the app package."  Unpacking
with `makeappx.exe` yields:
```
MakeAppx : error: Error info: error 8007000B: The app manifest publisher name (CN=Mozilla Corporation) must match the subject name of the signing certificate (CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US).
```

Previously, we allowed just the `CN` to vary; in this patch we make
the publisher be the entire publisher subject, and we update the
publisher details in the task definitions.

Differential Revision: https://phabricator.services.mozilla.com/D121896
2021-08-05 17:21:50 +00:00
Kimberly Sereduck
62fe64a298 Bug 1716825: Navigate to a sub-page rather than about:blank for warm pageloads;r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D120718
2021-08-05 17:21:18 +00:00
Gijs Kruitbosch
467ff60c04 Bug 1663571, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D89680
2021-08-05 17:03:34 +00:00
Markus Stange
e10a7acfc3 Bug 1724088 - Don't notify ScrollbarActivity in scroll frames without scrollbars. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D121784
2021-08-05 17:00:09 +00:00
Jon Coppeard
b1a5cce7f2 Bug 1724234 - Remove unused shell 'intern' function r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D121885
2021-08-05 16:54:49 +00:00
Emma Malysz
c5375c273c Bug 1723583: add tab dialog box to screenshots component r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120745
2021-08-05 16:50:03 +00:00
Iain Ireland
b14bc4ae8d Bug 1723943: Disable bailout loop assertion during oomTest r=jandem
The testcase for this is slow and fragile, and I don't think it adds any value.

Differential Revision: https://phabricator.services.mozilla.com/D121779
2021-08-05 16:28:57 +00:00
Cosmin Sabou
3763c6780e Backed out 2 changesets (bug 1723583, bug 1722449) for failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 8eb9e75580b6 (bug 1722449)
Backed out changeset 6819370bba6d (bug 1723583)
2021-08-05 19:02:13 +03:00
Jon Bauman
909cb45a39 Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121819
2021-08-05 15:48:00 +00:00
Jon Bauman
1fbcf87b11 Bug 1634741 - AVIF (AV1 Image File Format): proper color space support. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D121764
2021-08-05 15:47:59 +00:00
Dorel Luca
00fc23a49d Backed out 2 changesets (bug 1723921) for Mochitest failures in layout/inspector/tests/test_getCSSPseudoElementNames.html. CLOSED TREE
Backed out changeset 5e9348094ee1 (bug 1723921)
Backed out changeset e55c2177bbd2 (bug 1723921)
2021-08-05 18:44:42 +03:00
Cosmin Sabou
b7b2c56f58 Bug 1715832 - Add missing space in order to fix lint failure. a=lint-fix DONTBUILD 2021-08-05 18:36:53 +03:00
Emilio Cobos Álvarez
52b8ae8e0f Bug 1723921 - Fix test_getCSSPseudoElementNames.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2021-08-05 17:38:16 +02:00
Michelle Goossens
4e17d6ab26 Bug 1723531 - Move Windows 10 x64 2004 ccov back to the old workers r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121752
2021-08-05 15:17:04 +00:00
Michelle Goossens
12b56682ee Bug 1715832 - Part 4: Move web-platform-tests reftests over to Azure with GPU instead of hardware workers r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121526
2021-08-05 15:17:04 +00:00
Michelle Goossens
cb2da5cbf0 Bug 1718326 - Part 2: Migrate web-platform-tests suite to new Azure Windows 10 2004 workers r=jmaher,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D121490
2021-08-05 15:17:03 +00:00
Mitchell Hentges
73710e3148 Bug 1717051: Move global mach dependencies to requirements definition r=ahal
After removing `optional` in Bug 1712804, we need to add a variant back
here because there's fallible dependencies. However, I've tweaked the
re-introduction of the feature to require a specific repercussion
message as well. This seemed like a decent tradeoff - the developer
becomes aware that the failure is bad, it has repercussions, but it's
not a blocking issue. Additionally, since we're printing pip's output,
the developer will be able to see the underlying error causing the
warning.

I also added comment functionality to requirements definitions to allow
adjacent documentation of why some requirements are fallible. (Related:
I'm looking forward to `mach_bootstrap` not needing to parse
requirements definitions. Almost there!)

Note that we'll temporarily lose the "pinned" nature of the
three moved dependencies until dependency locking is implemented
for Mach requirements definitions. Also note that the pinned
`zstandard_requirements.txt` can't be removed like the other
files because it still has a dangling usage.

Finally, in preparation for review: I didn't make
`PypiOptionalSpecifier` extend `PypiSpecifier` because I figured that
the benefit of flexibility (easier to allow implementations to diverge
without needing to untangle an inheritance relationship) was larger than
the cost of needing to add properties to both specifiers.
If we wanted re-use, I'd probably have `PypiOptionalSpecifier` _contain_
 a `PypiSpecifier`, but then you have to reach deeper into the object to
 get data, so *shrug*.

Differential Revision: https://phabricator.services.mozilla.com/D119835
2021-08-05 15:14:20 +00:00
Mitchell Hentges
258f0d081e Bug 1717051: Only use stdlib for installing pip packages r=ahal
`_install_pip_package()` may be run from `populate()`, which
is invoked from a child Python process that doesn't
have in-tree Python modules in its sys.path.

An alternate solution would be to add in-tree modules
to the sys.path, but that seemed more costly than
simply using `tempfile` and `shutil`.

Differential Revision: https://phabricator.services.mozilla.com/D119834
2021-08-05 15:14:19 +00:00
Mitchell Hentges
2cc2cd3f63 Bug 1717051: Remove obsolete python module paths r=ahal
The three removed paths don't exist in-repo, and after a cursory glance
they don't appear to be populated dynamically.

Note that the removal of the `six` path for WPT is different: it's
technically just incorrect, and should amended to point to
`$WPT/tools/third_party/six`. However, Python only allows a single
instance of a library to exist in import scope, and we're already
consuming `six` from the Firefox-wide vendored 3rd-party libs.

Differential Revision: https://phabricator.services.mozilla.com/D119825
2021-08-05 15:14:19 +00:00
Mitchell Hentges
78fecb6128 Bug 1720215: Remove MACOSX_DEPLOYMENT_TARGET virtualenv workaround r=firefox-build-system-reviewers,andi
Now that the upstream Python bug has been resolved since Python 3.4 (at
the latest), we can safely remove the environment variable workaround.

Differential Revision: https://phabricator.services.mozilla.com/D119687
2021-08-05 15:14:18 +00:00
Mitchell Hentges
656826ef2f Bug 1717645: Fix up_to_date for Python 3.6 r=ahal
Python 3.6 doesn't support the `capture_output` option, so use
`stdout=subprocess.PIPE` instead.

Differential Revision: https://phabricator.services.mozilla.com/D120027
2021-08-05 15:14:18 +00:00
Mitchell Hentges
d47142f492 Bug 1717645: Check virtualenv pths are up-to-date r=ahal
It's possible for a virtualenv to have an incorrect list of directories
to add to the sys.path, such as the following cases:
* Its creation got cancelled halfway through
* The list of pths changed in a new revision
* It got modified by an external tool

By validating the list of provided pths against the list of required
pths, we can ensure that the virtualenv is more dependably up-to-date.

Differential Revision: https://phabricator.services.mozilla.com/D119686
2021-08-05 15:14:17 +00:00
Mitchell Hentges
66978f234e Bug 1717645: Resolve nested virtualenv requirements up-front r=ahal
This simplifies consumer logic, since they get the parsed list of pypi
and pth requirements, as well as the list of input files that were
parsed.

One benefit of this simplification is that we no longer
recursively create VirtualenvManagers.

Note that mach_bootstrap cannot (yet) take advantage
of `ParseMachEnvRequirements` because of a dependency cycle:
* `mach_bootstrap` must set up the `sys.path` to import
  `ParseMachEnvRequirements`.
* `mach_bootstrap` would want `ParseMachEnvRequirements` to
  determine which paths to add to the `sys.path`.

Differential Revision: https://phabricator.services.mozilla.com/D119685
2021-08-05 15:14:17 +00:00
Kajal Sah
3b8089aa4a Bug 1722449 - Adds markup to the tab dialog box for screenshot component. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D120931
2021-08-05 15:10:34 +00:00
Emma Malysz
9e068ba68e Bug 1723583: add tab dialog box to screenshots component r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120745
2021-08-05 15:10:34 +00:00
Ted Campbell
d300588803 Bug 1723844 - Validate debugger onNativeCall hook return values. r=nbp
When hooking a constructor call with onNativeCall, we must only allow return
value overrides that are objects. This is convention and also what the spec
expects. This patch ensures that a primitive value here now throws.

Additionally, relax the assert that checks we aren't returning the callee from a
JSNative (for constructors) if we are currently processing a debugger eval. The
assert is still highly useful in normal cases, but fuzzing was tripping this
heuristic when using the debugger API.

Differential Revision: https://phabricator.services.mozilla.com/D121813
2021-08-05 15:09:55 +00:00
Emilio Cobos Álvarez
8f8176d86b Bug 1723921 - Make devtools use two colons for pseudo-elements consistently. r=jdescottes
With the patch above, some devtools tests failed because we were trying
to call getComputedStyle(node, ":marker") (read: one colon rather than
two).

Using two colons for pseudo-elements is the right thing to do and fixes
it / removes some weird special-cases.

Differential Revision: https://phabricator.services.mozilla.com/D121858
2021-08-05 15:06:16 +00:00
stransky
989e6bc8fc Bug 1722700 [Wayland] Merge WaylandDragAndDropDataOffer and DataOffer classes, r=rmader
Merge WaylandDragAndDropDataOffer and DataOffer classes to avoid potential timing issue when Drag&Drop action is set before WaylandDragAndDropDataOffer is created.

Differential Revision: https://phabricator.services.mozilla.com/D121877
2021-08-05 14:56:08 +00:00
Jon Coppeard
a69e3b1c8f Bug 1723942 - Reset unknown catch-all allocation site if it wasn't on the allocatedSites list r=jandem
Like the optimized catch-all allocation site, the unknown one doesn't get put
on the allocatedSites list if it's only used by optimized JIT code. This fix is
to check this at the end like we already do for the optimized one. Getting this
wrong doesn't really affect anything since these numbers aren't used for the
unknown alloc site.

I tried making a test for this but it took too long to overflow the count in
debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D121717
2021-08-05 14:47:47 +00:00
Marco Bonardo
abedc99aa3 Bug 1723095 - Fix interactionsViewer message bar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D121374
2021-08-05 14:42:55 +00:00
Kagami Sascha Rosylight
a275bca0a3 Bug 1635018 - Part 4: Replace dragexit with dragleave in devtools/ r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D121192
2021-08-05 14:33:40 +00:00
Kagami Sascha Rosylight
1643b79334 Bug 1635018 - Part 3: Remove redundant dragexit listener from browser/base/content r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121191
2021-08-05 14:33:39 +00:00
Kagami Sascha Rosylight
8258e76e3b Bug 1635018 - Part 2: Replace dragexit with dragleave in browser/ r=Gijs,mak
Differential Revision: https://phabricator.services.mozilla.com/D121190
2021-08-05 14:33:39 +00:00
Kagami Sascha Rosylight
0b5d4cebd4 Bug 1635018 - Part 1: Limit dragexit event to chrome on Nightly r=edgar,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D121189
2021-08-05 14:33:38 +00:00
Dragana Damjanovic
65634e4bc3 Bug 1724196 - Neqo version 0.4.29 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D121860
2021-08-05 14:31:12 +00:00
Niklas Goegge
6763769587 Bug 1723954: Return NS_OK if PrincipalInfoToPrincipal fails. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D121867
2021-08-05 13:58:41 +00:00
Gabriele Svelto
ba4eb56216 Bug 1723941 - Fix several issues in macOS minidump generation which can lead to hangs & crashes r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D121725
2021-08-05 13:05:39 +00:00
Dorel Luca
66288306a5 Backed out changeset db4aa060f966 (bug 1723938) for Reftest failures in layout/reftests/high-contrast/bg-image-div-002.html. CLOSED TREE 2021-08-05 15:36:57 +03:00
Kagami Sascha Rosylight
9deff594c6 Bug 1723050 - Part 4: Replace typedef by using in dom/broadcastchannel/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121296
2021-08-05 12:18:13 +00:00
ffxbld
3b0b1c9a9a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D121852
2021-08-05 12:14:03 +00:00
Julian Descottes
25097c1e68 Bug 1713441 - [remote] Fix undefined type in log from MessageHandler destroy r=webdriver-reviewers,whimboo
Depends on D120585

Small issue noticed while running tests.

Differential Revision: https://phabricator.services.mozilla.com/D121720
2021-08-05 11:55:14 +00:00
Julian Descottes
0f5b843f04 Bug 1713441 - [remote] Support MessageHandler broadcasting for WindowGlobal contexts r=webdriver-reviewers,whimboo,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D120585
2021-08-05 11:55:13 +00:00