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

693311 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 0fd680394f Bug 1617746 - Minor cleanup of ServoStyleSet. r=nordzilla
Removing unused arguments and so on.

The origin can always be inferred from the stylesheet so it wasn't being used.

Differential Revision: https://phabricator.services.mozilla.com/D64150

--HG--
extra : moz-landing-system : lando
2020-02-27 01:46:10 +00:00
chujun 069ae644a5 Bug 1564272 - Add WebSocket events to event breakpoints r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D64278

--HG--
extra : moz-landing-system : lando
2020-02-27 01:19:56 +00:00
Matt Woodrow af33d93580 Bug 1612992 - Don't replace the nsIRequest passed to OnStart/StopRequest with nsViewSourceChannel if we don't need it. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D63285

--HG--
extra : moz-landing-system : lando
2020-02-26 22:59:34 +00:00
Michael Cooper b9b6d27e26 Bug 1607894 - Add debugging assert to Normandy test for intermittent r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D63936

--HG--
extra : moz-landing-system : lando
2020-02-25 11:15:33 +00:00
Sebastian Streich db60c34f97 Bug 1618241 - Move CreateQuotaDBKey to nsIPrincipal r=ckerschb,baku
Differential Revision: https://phabricator.services.mozilla.com/D64391

--HG--
extra : moz-landing-system : lando
2020-02-27 00:22:27 +00:00
Erik Nordin b57e52d440 Bug 1618394 - Remove alternate and title from CSSStyleSheet constructor options r=emilio
- Remove `alternate` and `title` from the `CSSStyleSheetInit` struct.
- Remove all usages/assertions that involve `alternate` or `title` from WPTs.
- Add WPT test case ensuring that title cannot be set in the constructor.

Differential Revision: https://phabricator.services.mozilla.com/D64492

--HG--
extra : moz-landing-system : lando
2020-02-27 00:43:38 +00:00
Cosmin Sabou 074eb7c67b Backed out 6 changesets (bug 1510030) for causing build bustages. CLOSED TREE
Backed out changeset 1bf2a082ca62 (bug 1510030)
Backed out changeset 8b0fd12a063b (bug 1510030)
Backed out changeset ec9c6b79ea42 (bug 1510030)
Backed out changeset cd729f8b0220 (bug 1510030)
Backed out changeset c3e6c17ba7b0 (bug 1510030)
Backed out changeset edc3c212be1f (bug 1510030)
2020-02-27 02:50:40 +02:00
Cosmin Sabou 0c0d90dfa4 Backed out changeset 279285e42cea (bug 1547286) for causing a spike in mochitest windows webgl failures.
--HG--
extra : rebase_source : fa429aebd1f9a8e0c774607e2de7e6e644b805ba
2020-02-27 02:36:10 +02:00
Hiroyuki Ikezoe 3e5cba44e8 Bug 1510030 - A reftest to make sure a background color animation is properly advanced without flushing. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63606

--HG--
extra : moz-landing-system : lando
2020-02-26 09:26:30 +00:00
Hiroyuki Ikezoe adf689fcd9 Bug 1510030 - Enable background color animimations on WebRender. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63605

--HG--
extra : moz-landing-system : lando
2020-02-26 09:26:18 +00:00
Hiroyuki Ikezoe 36b296aee4 Bug 1510030 - Implement WebRender backend to run background color animations on the compositor. r=gw,boris
Differential Revision: https://phabricator.services.mozilla.com/D63604

--HG--
extra : moz-landing-system : lando
2020-02-26 09:51:25 +00:00
Hiroyuki Ikezoe 4dc0f32fb9 Bug 1510030 - Make prepare_prim_for_render private. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63603

--HG--
extra : moz-landing-system : lando
2020-02-26 09:25:43 +00:00
Hiroyuki Ikezoe 2f103360b0 Bug 1510030 - Fix the comment for OpacityBinding::update(). r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63601

--HG--
extra : moz-landing-system : lando
2020-02-26 09:25:31 +00:00
Hiroyuki Ikezoe 1257dfdd43 Bug 1510030 - Don't return the current opacity value from update_opacity_binding. r=gw
The return value is not used at all.

Differential Revision: https://phabricator.services.mozilla.com/D63600

--HG--
extra : moz-landing-system : lando
2020-02-26 09:25:13 +00:00
Brindusan Cristian 4b22adf21f Bug 1616095 - Updated expectations for mask-image-2.html on android. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D64327

--HG--
extra : moz-landing-system : lando
2020-02-27 00:17:51 +00:00
J.C. Jones 36d2616bf1 Bug 1616675 - Prohibit IP addresses for WebAuthn operations r=keeler
Refactor to reduce duplication of the promiseWebAuth* methods

Differential Revision: https://phabricator.services.mozilla.com/D63572

--HG--
extra : moz-landing-system : lando
2020-02-26 23:16:27 +00:00
J.C. Jones 56fa739a54 Bug 1616675 - Add isIpAddress to nsIPrincipal r=ckerschb
Adds an infallable boolean attribute to nsIPrincipal that indicates whether
the principal's host is an IP address.

Adds a gtest to exercise that part of the nsIPrincipal.

/**
 * Returns if the principal is an IP address.
 */
[infallible] readonly attribute boolean isIpAddress;

Differential Revision: https://phabricator.services.mozilla.com/D63966

--HG--
extra : moz-landing-system : lando
2020-02-26 23:15:43 +00:00
J.C. Jones 5f3cbafe43 Bug 1616675 - Add an IPv4 secure service to mochitests' ssltunnel r=keeler
WebAuthn needs to write a test to confirm it's prohibited when accessed via
an IP address. This adds the capability to get a SecureContext for an IP host.
It uses 127.0.0.2 so as to bypass restrictions on 127.0.0.1, and the use of .1
as a special-market in ssltunnel.

Differential Revision: https://phabricator.services.mozilla.com/D63570

--HG--
extra : moz-landing-system : lando
2020-02-26 23:15:02 +00:00
caroline 783609cf5c Bug 1615729 - Pass individual input flags as an ImmutableFlags to JSScript::Create. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D64450

--HG--
extra : moz-landing-system : lando
2020-02-26 22:43:42 +00:00
caroline 366b84080c Bug 1615729 - Move setFlags with boolean logic into SharedStencil.h r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D64449

--HG--
extra : moz-landing-system : lando
2020-02-26 22:43:34 +00:00
Emilio Cobos Álvarez 1a7371fd97 Bug 1346893 - Move the Geckoview UA sheet to layout/style. r=snorp
Make it a regular stylesheet.

This allows it to be cached in shared memory if possible, and will allow me to
stop adding the stylesheet based on a pref for bug 1618202.

Differential Revision: https://phabricator.services.mozilla.com/D64377

--HG--
rename : mobile/android/themes/geckoview/content.css => layout/style/res/geckoview.css
extra : moz-landing-system : lando
2020-02-26 22:03:08 +00:00
Anny Gakhokidze 29dd301b29 Bug 1609475 - Expand on the comment about special behaviour in docshell/test/navigation/file_bug1609475.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64426

--HG--
extra : moz-landing-system : lando
2020-02-26 21:39:42 +00:00
Cosmin Sabou 3cfeb5574f Backed out changeset 319675493927 (bug 1618130) for xpc failures on test_dns_override.js.
CLOSED TREE

--HG--
extra : amend_source : 6149eae2776781860a44e9173ec135ca693a9855
extra : histedit_source : f32f8874c91e7aad0b8c02d1b4ea6741c60e2d51
2020-02-27 01:43:29 +02:00
Cosmin Sabou 3497aa8314 Backed out 2 changesets (bug 1617746) assertion failures on ShadowRoot.cpp.
CLOSED TREE
Backed out changeset 6cb30e866b95 (bug 1617746)
Backed out changeset 3543162b815b (bug 1617746)
2020-02-27 01:12:46 +02:00
Cosmin Sabou a4cb1b1fae Backed out changeset a55fe811294d (bug 1618102) for bc failures on browser_fullscreen_window_focus.js.
CLOSED TREE
2020-02-27 01:06:53 +02:00
Cosmin Sabou c7fa09335c Bug 1618265 - Fix prettier eslint failure on GeckoViewContentChild.js. r=eslint-fix 2020-02-27 01:04:25 +02:00
Geoff Brown 5fc9f15115 Bug 1614640 - Improve reftest suite_start data to provide consistent group/manifest names even when not run-by-manifest; r=ahal
Reftest-family test suites can be "run-by-manifest" (reftest-plain, on desktop), or not
(all reftest-family suites on Android, crashtest and jsreftest on desktop). When not
run-by-manifest, code in reftest.jsm is used to format the suite_start data; when
run-by-manifest, code in runreftest.py is used. Currently, the reftest.jsm implementation
submits a simple array of test IDs -- no associated manifests -- possibly consistent with
the concept that tests are not being run/grouped by manifest.

This patch updates the reftest.jsm implementation to generate the same format of
suite_start data as the python implementation: An array of dictionaries mapping
manifest IDs to arrays of associated test IDs.

Differential Revision: https://phabricator.services.mozilla.com/D63875

--HG--
extra : moz-landing-system : lando
2020-02-26 22:34:44 +00:00
Matt Woodrow b59c9fe684 Bug 1612683 - Remove assertions around QI'ing DocumentChannel, since they're no longer adding value. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D63280

--HG--
extra : moz-landing-system : lando
2020-02-26 04:50:44 +00:00
James Willcox c2d1b32c65 Bug 1618265 - Correctly disconnect from 'pageshow' event r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D64467

--HG--
extra : moz-landing-system : lando
2020-02-26 22:12:48 +00:00
Drew Willcoxon aa97780410 Bug 1617345 - If top sites are disabled, show the user's most frecent sites instead. r=harry
In other words, for users who have disabled top sites, this restores the history popup we used to show when you clicked the dropmarker or pressed the down arrow key in an empty urlbar.

Differential Revision: https://phabricator.services.mozilla.com/D64286

--HG--
extra : moz-landing-system : lando
2020-02-26 17:03:46 +00:00
Dave Townsend 2f59f29d27 Bug 1617683: Wait for SSB instantiation before setting a fallback name. r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D63923

--HG--
extra : moz-landing-system : lando
2020-02-26 22:17:39 +00:00
Dave Townsend 54615a06b1 Bug 1617679: Reword the SSB menus and add a page action icon. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63920

--HG--
extra : moz-landing-system : lando
2020-02-26 22:15:19 +00:00
Cosmin Sabou 0d4837b9f2 Backed out changeset 8f9a32288d2c (bug 1605329) for dt failures on browser_toolbox_remoteness_change.js.
CLOSED TREE

--HG--
extra : rebase_source : 089fcd86febdece7e450d1c03eaeee7dedebf2d8
2020-02-27 00:12:22 +02:00
Aki Sasaki 19175da396 Bug 1562412 - [3-task notarization] fix ./mach try release r=Callek
- backs out 71e376fd296d
- fixes bug 1618162.

Differential Revision: https://phabricator.services.mozilla.com/D64459

--HG--
extra : moz-landing-system : lando
2020-02-26 21:51:11 +00:00
Aki Sasaki c43aefd35b Bug 1562412 - key mac-behavior off shippable r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D64413

--HG--
extra : moz-landing-system : lando
2020-02-26 21:50:11 +00:00
Emilio Cobos Álvarez 1292de292e Bug 1617746 - Deal with duplicate adopted stylesheets correctly. r=nordzilla
This also fixes some other bits, like mAdoptedStyleSheets.ElementAt(0) (which
really should be "the first applicable adopted stylesheet") and so on. Added a
test for that.

The new invariant also implies that a DocumentOrShadowRoot can't appear twice in
StyleSheet::mAdopters.

Also clears adopted stylesheets in Document::ResetStylesheetsToURI, as it's the
right thing to do (if you hit that code path with constructable sheets you'd end
up asserting, as we'd call FillStyleSetDocumentSheets after and find sheets in
there). I don't quite have a test-case for that though.

Differential Revision: https://phabricator.services.mozilla.com/D64151

--HG--
extra : moz-landing-system : lando
2020-02-26 21:20:05 +00:00
Emilio Cobos Álvarez 28effe5605 Bug 1617746 - Minor cleanup of ServoStyleSet. r=nordzilla
Removing unused arguments and so on.

The origin can always be inferred from the stylesheet so it wasn't being used.

Differential Revision: https://phabricator.services.mozilla.com/D64150

--HG--
extra : moz-landing-system : lando
2020-02-26 21:20:38 +00:00
Kartikaya Gupta bf91ffa8b9 Bug 1617998 - Add a test to exercise APZ hit-testing robustness. r=botond
This test is primarily to ensure that the APZ+WR hit-testing codepath
maintains the proper invariants (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1617998#c0). However we can run
it in non-WR as well just to catch any random regressions.

Differential Revision: https://phabricator.services.mozilla.com/D64209

--HG--
extra : moz-landing-system : lando
2020-02-26 21:34:20 +00:00
Kris Maglione a073e9e43d Bug 1609443: Follow-up: Fix null deref in assertion.
Differential Revision: https://phabricator.services.mozilla.com/D64460

--HG--
extra : moz-landing-system : lando
2020-02-26 21:29:31 +00:00
Christian Holler 859b506961 Bug 1598342 - Import TSan fix D74828 from Clang upstream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63378

--HG--
extra : moz-landing-system : lando
2020-02-26 21:19:47 +00:00
Mike Hommey e9aa8d95b5 Bug 1617794 - Allow configure to find Windows SDKs and tools when cross-compiling with clang-cl. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64293

--HG--
extra : moz-landing-system : lando
2020-02-26 20:53:48 +00:00
Mike Hommey 83f784d880 Bug 1617794 - Properly set the target flag for bindgen when cross compiling for Windows. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D64292

--HG--
extra : moz-landing-system : lando
2020-02-26 20:52:09 +00:00
Mike Hommey 705b1f72c9 Bug 1617794 - Allow to override where the API keys are found by Windows mozconfigs. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64291

--HG--
extra : moz-landing-system : lando
2020-02-26 15:38:59 +00:00
Glenn Watson b41469cef3 Bug 1579235 - Part 5 - Support compositor surfaces for draw compositor mode. r=Bert
This patch adds support for YUV images to be promoted to compositor
surfaces when using the simple (draw) compositor mode. A follow up
to this will extend support to native compositor implementations.

We rely on only promoting compositor surfaces that are opaque
primitives. With this assumption, the tile(s) that intersect the
compositor surface get a 'cutout' in the location where the
compositor surface exists, allowing that tile to be drawn as
an overlay after the compositor surface.

Tiles are only drawn in overlay mode if there is content that
exists on top of the compositor surface. Otherwise, we can draw
the tiles in the normal fast path before the compositor surface
is drawn.

The patch also introduces a new subpixel AA mode, which allows
subpixel rendering to be enabled conditionally as long as the
text run does not intersect some number of excluded rectangle
regions. In this way, subpixel text remains on most of the page,
but is disabled for elements that are drawn into transparent
regions of the tile where the compositor surface exists.

This allows video playback to be composited directly into the
framebuffer, without invalidation of content tiles, which can
save a significant amount of battery power and improve performance.

Differential Revision: https://phabricator.services.mozilla.com/D63816

--HG--
extra : moz-landing-system : lando
2020-02-26 20:41:25 +00:00
Ted Campbell 9c42740b5c Bug 1615710 - Use js::BaseScript in DebuggerScriptVariant. r=jandem
Fold the JSScript* and LazyScript* variant arms into a single case. The
debugger now either uses BaseScript accessors directly, or uses
DelazifyScript to ensure bytecode exists if needed.

Note that there are still seperate instances for LazyScript and JSScript so
Debugger::wrapVariantReferent continues to be careful about normalizing
references.

Differential Revision: https://phabricator.services.mozilla.com/D64367

--HG--
extra : moz-landing-system : lando
2020-02-26 17:25:54 +00:00
Ted Campbell 22182ef4f3 Bug 1615710 - Add BaseScript cases to debugger variant matchers. r=jandem
Add a BaseScript case to variant matcher classes in the debugger and forward
the JSScript and LazyScript cases to it. This will call DelazifyScript for
all cases, so fix a small issue where this failed on non-function scripts.

Subsequent patches will remove the JSScript/LazyScript cases once the variant
type is updated.

Depends on D64365

Differential Revision: https://phabricator.services.mozilla.com/D64366

--HG--
extra : moz-landing-system : lando
2020-02-26 17:18:03 +00:00
Ted Campbell 7c7dbe05bd Bug 1615710 - Cleanup DebuggerScript::CallData::getUrl(). r=jandem
Eliminate the templates and use BaseScript type instead to simplify.

Differential Revision: https://phabricator.services.mozilla.com/D64365

--HG--
extra : moz-landing-system : lando
2020-02-26 17:14:14 +00:00
Boris Zbarsky c912aa08f4 Bug 1617527. Remove the same-compartment checks when setting an exception on a JSContext r=sfink
The exception is not guaranteed to be in the context compartment anyway (e.g. changing the compartment does not wrap the exception), so there isn't much point checking it up front.  And the exception stack is always stored as an unwrapped object, so again there's no point checking it on set, since we just plan to UncheckedUnwrap it.

Differential Revision: https://phabricator.services.mozilla.com/D64004

--HG--
extra : moz-landing-system : lando
2020-02-26 21:17:15 +00:00
Bogdan Tara ab84964fa2 Backed out changeset 9df351217706 (bug 1617700) for webconsole/typing.js failures CLOSED TREE 2020-02-26 23:39:02 +02:00
Bogdan Tara e5bd696ee3 Backed out changeset fbc90d35117e (bug 1615220) for browser_autocomplete_generated_password_private_window.js failures CLOSED TREE 2020-02-26 23:19:40 +02:00