Commit Graph

760453 Commits

Author SHA1 Message Date
Mats Palmgren
a901b05850 Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio
The change from 0x25FE to 0x25AA for list-style-type:square
was approved here:
https://github.com/w3c/csswg-drafts/issues/6200#issuecomment-828616747

Differential Revision: https://phabricator.services.mozilla.com/D111691
2021-06-14 01:22:04 +00:00
Emilio Cobos Álvarez
f62193272a Bug 1699837 - Follow-up: Fix --disable-printing builds.
Differential Revision: https://phabricator.services.mozilla.com/D117608
2021-06-14 00:39:58 +00:00
Hiroyuki Ikezoe
31c5a48071 Bug 1700245 - Replace IsAncestorFrameCrossDoc with IsAncestorFrameCrossDocInProcess in TransformFrameRectToAncestor. r=emilio
And add a note to clarify IsAncestorFrameCrossDocInProcess doesn't work
across different process documents.

Differential Revision: https://phabricator.services.mozilla.com/D117502
2021-06-13 22:02:23 +00:00
Hiroyuki Ikezoe
4382eac953 Bug 1700245 - Replace IsAncestorFrameCrossDoc with IsAncestorFrameCrossDocInProcess for assertions in AGR related stuff. r=mattwoodrow
As we audited in bug 1523500, the root scrollable frame in the OOP iframe is
always active, so using IsAncestorFrameCrossDocInProcess would be sufficient
for the assertions.

Differential Revision: https://phabricator.services.mozilla.com/D117501
2021-06-13 22:02:23 +00:00
Hiroyuki Ikezoe
469fd64c1b Bug 1700245 - Replace IsAncestorFrameCrossDoc with IsAncestorFrameCrossDocInProcess in DOMIntersectionObserver::Update. r=emilio
Our IntersectionObserver has been working in OOP iframe since bug 1599795.

Differential Revision: https://phabricator.services.mozilla.com/D117500
2021-06-13 22:02:22 +00:00
Silke Hofmann
bea2345ce6 Bug 1481470 - Stop using xlink:href in SVG in services/. r=nhnt11,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D117208
2021-06-13 19:01:20 +00:00
Silke Hofmann
a31f787c6c Bug 1481470 - Stop using xlink:href in SVG in toolkit/. r=nhnt11,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D117207
2021-06-13 19:01:20 +00:00
Silke Hofmann
687f8d6b45 Bug 1481470 - Stop using xlink:href in SVG in dom/. r=nhnt11,nika
Differential Revision: https://phabricator.services.mozilla.com/D117206
2021-06-13 19:01:20 +00:00
Silke Hofmann
be58a2a2f3 Bug 1481470 - Stop using xlink:href in SVG in devtools/. r=nhnt11,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D117205
2021-06-13 19:01:19 +00:00
Silke Hofmann
4650ab077c Bug 1481470 - Stop using xlink:href in SVG in browser/. r=nhnt11,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D117204
2021-06-13 19:01:19 +00:00
Silke Hofmann
7447c9915a Bug 1481470 - Stop using xlink:href in SVG in docs/. r=nhnt11,firefox-source-docs-reviewers,championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D117203
2021-06-13 19:01:18 +00:00
Kagami Sascha Rosylight
0d180d2f45 Bug 1675902 - Try forcing focus on iframes r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117595
2021-06-13 14:31:29 +00:00
Mats Palmgren
25f361c801 Bug 1716171 - Make inert-retargeting-iframe.tentative.html more robust. r=emilio
This change fixes two problems:
1. an auto-positioned relative pos box may fall on a
fractional pixel position. This breaks the test since it
uses positionMove(), which throws if its params aren't
integers:
https://searchfox.org/mozilla-central/rev/0c7c41109902cb8967ec3ef2c0ddb326701cfbee/remote/marionette/action.js#743-745,750-752
2. appending text (with ::after) when a click occurs made
the text too wide to fit on one line and thus made these
boxes have a larger height which caused them to get in
the way of the intended target of the click.

Differential Revision: https://phabricator.services.mozilla.com/D117590
2021-06-13 14:21:48 +00:00
Emilio Cobos Álvarez
b196bb7067 Bug 1716139 - Tweak a fuzzy annotation.
Differential Revision: https://phabricator.services.mozilla.com/D117597
2021-06-13 09:38:27 +00:00
Emilio Cobos Álvarez
f0a9cca358 Bug 1649367 - Fix some usage of IsRootContentDocument in PresShell. r=tnikkel
This doesn't change behavior, and is consistent with the changes made in
bug 1554832 to this code.

Differential Revision: https://phabricator.services.mozilla.com/D98473
2021-06-13 09:31:17 +00:00
Emilio Cobos Álvarez
9db2aa0440 Bug 1699837 - Make sure that remote iframes honor print settings. r=mattwoodrow
This fixes it since we honor the print resolution properly now.

Differential Revision: https://phabricator.services.mozilla.com/D115263
2021-06-13 09:16:53 +00:00
R. Martinho Fernandes
077501b34c Bug 1694639 - Add DOM:Web Authentication tests for sameOriginWithAncestors false r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D105315
2021-06-12 23:42:37 +00:00
Geoff Lankow
90b7ae7741 Bug 1715724 - Override telemetry products check in test_PasswordRulesManager_generatePassword.js. r=dimi DONTBUILD
This test is failing on Thunderbird, which doesn't have the telemetry events in question.

Differential Revision: https://phabricator.services.mozilla.com/D117401
2021-06-12 18:45:35 +00:00
Jeff Muizelaar
fe448c9648 Bug 1711142. Limit the maximum size we allow for masks. r=mattwoodrow
Although blob images let us support very large images, it's easiest
avoid things getting way too big by just reusing our existing limit.

Differential Revision: https://phabricator.services.mozilla.com/D117580
2021-06-12 14:59:11 +00:00
Kagami Sascha Rosylight
6338ce9f05 Bug 1715819 - Select the text node if exists in TextEditor::SelectEntireDocument r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117444
2021-06-12 11:04:51 +00:00
Jared Wein
fefa376411 Bug 1715208 - Wait for the closebutton attribute to update instead of assuming it is atomic with inDOMFullscreen r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D117157
2021-06-12 08:21:33 +00:00
Gabriele Svelto
0c7c411099 Bug 1715026 - Properly transfer ownership of the memory pressure watcher to the memory resource callback r=tkikuchi
Differential Revision: https://phabricator.services.mozilla.com/D117051
2021-06-12 05:54:01 +00:00
Butkovits Atila
2d737038f6 Backed out changeset a6ec3acd5daf (bug 1543720) for causing failures at dlharness.window.html. CLOSED TREE 2021-06-12 05:16:57 +03:00
Dana Keeler
ef0a88c6f2 Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-12 01:12:25 +00:00
Dana Keeler
20319689f0 Bug 1715142 - convert pinning to use a static pref r=rmf
This patch converts the pinning preference
"security.cert_pinning.enforcement_level" to be static. It also removes some
unused pinning preferences and parameters.

Differential Revision: https://phabricator.services.mozilla.com/D117095
2021-06-12 01:12:25 +00:00
Dana Keeler
cd240f895e Bug 1715142 - clear the TLS session cache in SetDisableAllSecurityChecksAndLetAttackersInterceptMyData r=rmf
Previously, SetDisableAllSecurityChecksAndLetAttackersInterceptMyData would
only work as expected if another operation happened to clear the TLS session
cache (namely, changing a preference that caused nsNSSComponent to change its
TLS options and clear the TLS session cache). This patch ensures that this
function works without relying on such coincidences.

Differential Revision: https://phabricator.services.mozilla.com/D117495
2021-06-12 01:12:24 +00:00
Butkovits Atila
c5dac06788 Backed out changeset 45887183c584 (bug 1715690) for causing failures at SanitizeRenderer. CLOSED TREE 2021-06-12 04:12:18 +03:00
Boris Chiou
b9038da640 Bug 1681958 - Use eReplacedSizing to assert replaced elements for aspect-ratio. r=TYLin
It seems `eReplacedSizing` is much closer to the definition of replaced
elements (defined in [1]), and we override ComputeSize() for those
frames which are set eReplacedSizing or inline/table frames.

Perhaps we have to update the comments for the frame type bits later.

[1] https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements

Differential Revision: https://phabricator.services.mozilla.com/D117372
2021-06-12 00:32:40 +00:00
Jeff Gilbert
de085c82e3 Bug 1715690 - Generalize WebGL RENDERER into large buckets. r=lsalzman
+ Minor reduction in unused flexibility of limits.

Differential Revision: https://phabricator.services.mozilla.com/D117385
2021-06-11 23:54:39 +00:00
Kagami Sascha Rosylight
55dbc99e55 Bug 1713491 - Return std::pair from nsIFrame::GetOffsets r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D117520
2021-06-11 23:54:06 +00:00
Sam Foster
3fb516c1ba Bug 1707690 - Remove the places folder icon in favor of the toolkit shared icon.r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D117483
2021-06-11 23:35:08 +00:00
Butkovits Atila
a4246aecb0 Backed out changeset c99bb7d3308e (bug 1699794) for causing Mochitest failures in browser_anti_clickjacking.js. CLOSED TREE 2021-06-12 02:41:21 +03:00
Dylan Roeh
8c537c1329 Bug 1543720 - Add support for Storage Access API in GeckoView. r=aklotz,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116143
2021-06-11 23:15:01 +00:00
Ting-Yu Lin
817d1855e5 Bug 1716046 - Add "left" and "right" as invalid values to align-* and place-* properties in property_database.js. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D117556
2021-06-11 23:05:02 +00:00
Emilio Cobos Álvarez
2279b02c4e Bug 1715251 - Remove macOS hack that's no longer needed and that breaks test_menulist_position.html. CLOSED TREE
On macOS, the padding used to be applied to the menupopup but is no longer, so
we can use the regular panel-padding mechanism.
2021-06-12 02:07:06 +03:00
Andreea Pavel
c9792c7ad3 Backed out changeset 125b71824b65 (bug 1715251) for landing with wrong author CLOSED TREE DONTBUILD 2021-06-12 01:58:01 +03:00
Toshihito Kikuchi
a0c3a4c847 Bug 1702717 - Skip blocklisting if the mappad region is not executable. r=mhowell
When a module is loaded with `LOAD_LIBRARY_AS_IMAGE_RESOURCE`, the mapped region
is `MEM_IMAGE`, but it's not executable.  We don't have to check the blocklist
in such a case.

Differential Revision: https://phabricator.services.mozilla.com/D117573
2021-06-11 22:45:46 +00:00
owlishDeveloper
001ef39fb7 Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-11 21:41:09 +00:00
Dan Minor
eeaf61de24 Bug 1715982 - Fix initial capacity of NumberPartVector; r=anba
Differential Revision: https://phabricator.services.mozilla.com/D117540
2021-06-11 21:22:15 +00:00
Ed Lee
9930a18c9b Bug 1633883 - TelemetryTestUtils.assertScalar assumes Number (so behaves odd for boolean, strings) r=chutten
Split assertScalar to assertScalarUnset to allow the former to plain check the value including strings, false and 0.

Differential Revision: https://phabricator.services.mozilla.com/D117457
2021-06-11 21:06:26 +00:00
Butkovits Atila
ed3da455ae Backed out 7 changesets (bug 1542807) for causing failures at inert-retargeting-iframe.tentative.html. CLOSED TREE
Backed out changeset e9ef32fa2f2e (bug 1542807)
Backed out changeset 8fa0cb199975 (bug 1542807)
Backed out changeset 38daf64afe59 (bug 1542807)
Backed out changeset e3aee052c495 (bug 1542807)
Backed out changeset a71056d4c7cc (bug 1542807)
Backed out changeset cf91e7d0a37f (bug 1542807)
Backed out changeset eee949e5fd67 (bug 1542807)
2021-06-12 01:38:25 +03:00
Butkovits Atila
899d31192b Bug 1715251 - Remove macOS hack that's no longer needed and that breaks test_menulist_position.html. 2021-06-12 01:33:58 +03:00
Butkovits Atila
53cb932555 Backed out changeset aa6c7477c4d2 (bug 1713491) for causing build bustages on nsIFrame.cpp. CLOSED TREE 2021-06-12 00:12:06 +03:00
surajeet310
76bf30f3f0 Bug 1714688 - Removed 'if PY2' logic from mozglue r=mhentges
mozglue is no longer used with Python 2

Differential Revision: https://phabricator.services.mozilla.com/D117510
2021-06-11 20:37:44 +00:00
Anny Gakhokidze
ae1a9ec1c3 Bug 1709136 - Part 2: Update SessionHistoryEntry in ReplaceLoadingSessionHistoryEntryForLoad, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117238
2021-06-11 20:12:10 +00:00
Anny Gakhokidze
d5f98a7382 Bug 1709136 - Part 1: Remove the explicit remoteness switch that happens during the restore process, r=nika,kashav
Differential Revision: https://phabricator.services.mozilla.com/D116209
2021-06-11 20:12:10 +00:00
Molly Howell
119eaa0928 Bug 1710633 - Use the actual titlebar height to determine subdialog size. r=Mardak
It isn't immediately obvious that the hardcoded 30 pixel value this patch
replaces was meant to represent strictly the height of the dialog's title bar
(including border), but I do believe that is how it was intended, based on
these two things:

1) Using 0 instead of 30 when no titlebar is present at least appears to be the
   correct behavior, or if nothing else it's a reasonable enough behavior that
   it prevents anything looking broken.
2) 30 pixels is the exact height of the titlebar including border as it
   actually appeared on in-content preferences dialog boxes at the time the
   hardcoded value was originally introduced here in bug 1128237.

So, based on that, it looks like what's needed here is a value that is zero
when no titlebar exists, or if there is one, then its computed height including
border. As it turns out, we were already computing exactly that value for
another purpose, so this patch simply plugs that in here in place of the
hardcoded constant.

Differential Revision: https://phabricator.services.mozilla.com/D117374
2021-06-11 20:02:37 +00:00
Butkovits Atila
ce6e97604b Backed out changeset 7648560f810d (bug 1715282) for causing build bustages. CLOSED TREE 2021-06-11 22:47:34 +03:00
Jeff Muizelaar
5ca0d5fb13 Bug 1715282 - Bump minimum Rust version to 1.50. r=glandium
Various people want 1.50 and it's been out for a while so let's require it.

Differential Revision: https://phabricator.services.mozilla.com/D117158
2021-06-11 19:27:22 +00:00
Caroline Cullen
d77d990fa0 Bug 1699271 - Part 14: Fix up mir auto gen assertion patch and add assertion message. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D117557
2021-06-11 19:26:11 +00:00