Commit Graph

692466 Commits

Author SHA1 Message Date
Jeff Gilbert
e5d08f59ba Bug 1617091 - Remove DynDGpuManager, add webgl.power-preference-override. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D63599

--HG--
extra : moz-landing-system : lando
2020-02-21 04:00:07 +00:00
Yura Zenevich
b7c111cdad Bug 1605435 - pass simulate function to a11y panel client instead of the actual simulator actor. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58544

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:45 +00:00
Yura Zenevich
0dd01e36db Bug 1604594 - make accessibility walker front naming consistent across client. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58033

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:37 +00:00
Yura Zenevich
1c58df2d5a Bug 1604594 - decouple accessibility walker front from the audit redux action. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58032

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:30 +00:00
Yura Zenevich
602ffe9c2e Bug 1604594 - decouple accessibility walker front from the MainFrame component. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58031

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:22 +00:00
Yura Zenevich
58f2ee8198 Bug 1604594 - decouple accessibility walker front from the accessibility tree component. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58030

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:15 +00:00
Yura Zenevich
07ac17fb46 Bug 1604594 - do not pass accessibility walker front to accessible selection/highlighing redux actions. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58029

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:12 +00:00
Yura Zenevich
8f3de2bf08 Bug 1604594 - decouple picker from accessibility walker front. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58028

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:05 +00:00
Yura Zenevich
89fe2017f4 Bug 1599806 - Move accessible walker creation into accessibility front's bootsrap method. Do not explicitly destroy accessibility walker front and let accessibility actor manage its lifecycle fully. r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D58027

--HG--
extra : moz-landing-system : lando
2020-02-21 04:34:58 +00:00
Dave Townsend
bab82b4c9b Bug 1617092: nsXULPrototypeCache::HasData claims urls are cached when they aren't. r=dthayer.
A logic error is causing nsXULPrototypeCache::HasData to almost always return
true meaning we aren't actually writing anything to the XUL prototype cache.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 04:14:49 +00:00
Masayuki Nakano
1110bedb45 Bug 1613830 - Add nsINode::GetAsElementOrParentElement() r=smaug
This patch assumes that only element node can have content node.  I.e., we
won't hit the following `MOZ_ASSERT`:

```
Element* element = nullptr;
nsIContent* content = aContent;
while (content) {
  if (content->IsElement()) {
    element = content->AsElement();
    break;
  }
  content = content->GetParent();
}
MOZ_ASSERT(!content || content == element || content->GetParent() == element);
```

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

--HG--
extra : moz-landing-system : lando
2020-02-21 02:47:05 +00:00
Jeff Gilbert
1abd55a851 Bug 1616715 - Make ReadPixelDesc per-call. r=lsalzman
GetSurfaceSnapshot (and similar) want to ReadPixels the backbuffer,
without having to navigate the GL PIXEL_PACK state.
Since this is cold cold code, it's nice to reduce the backend state by
making ReadPixelsDesc/PixelPackState per-call, and tracked by the
client. Arguably, PIXEL_PACK_BUFFER should be per-call as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 03:12:41 +00:00
Jeff Gilbert
011c0a1fd7 Bug 1616715 - SurfaceFromElement gets alpha Premult unless opt-in to NonPremult. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D63421

--HG--
extra : moz-landing-system : lando
2020-02-21 02:27:08 +00:00
Jeff Gilbert
74a66ab98d Bug 1617082 - Don't query zero uniform lists. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D63592

--HG--
extra : moz-landing-system : lando
2020-02-21 03:11:23 +00:00
Rob Lemley
5c8273802c Bug 1563564 - Only package Normandy artifact when MOZ_NORMANDY is set. r=froydnj
Thunderbird builds do not support Normandy. This patch fixes build bustage
when building Thunderbird on linux64 and win64 by requiring that MOZ_NORMANDY
is defined as is the case when --project=browser.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 02:37:33 +00:00
Nick Thomas
356abf224c Bug 1617074 - fix nightly beetmover bustage from normandy capabilities artifact, r=rail
Differential Revision: https://phabricator.services.mozilla.com/D63590

--HG--
extra : moz-landing-system : lando
2020-02-21 02:49:35 +00:00
Mike Hommey
71632deb79 Bug 1616758 - Fix the linux64-dump-syms toolchain. r=froydnj
The script was not executable, and apparently it is not happy with
anything other than clang.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 15:38:41 +00:00
Noemi Erli
f6ff6b7aa4 Backed out 5 changesets (bug 1597154) for causing browser-chrome failures in browser_UITour_showNewTab.js CLOSED TREE
Backed out changeset dc78c6d3d737 (bug 1597154)
Backed out changeset 6e82c600d52f (bug 1597154)
Backed out changeset 9857504c26e6 (bug 1597154)
Backed out changeset e8dccb59bf2a (bug 1597154)
Backed out changeset 3c34ca1e2079 (bug 1597154)
2020-02-21 04:39:43 +02:00
Tooru Fujisawa
76889b2105 Bug 1616161 - Add generate_with_same_crate entrypoint to RunCbindgen.py. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D63121

--HG--
extra : moz-landing-system : lando
2020-02-21 01:16:57 +00:00
James Teh
c604c6018c Bug 1616078: Don't use HTMLListBulletAccessible for CSS ::marker content. r=eeejay,emilio,MarcoZ
::marker content gets handled like text from any other CSS pseudo-class.
Therefore, using HTMLListBulletAccessible ends up duplicating the content already exposed in the a11y tree.
Now, we only use HTMLListBulletAccessible for nsBulletFrames instead of all marker frames.

As part of this, remove nsContainerFrame::GetSpokenMarkerContent, since we no longer need it to retrieve ::marker content.
The bulk of its other work was done by nsBulletFrame::GetSpokenContent, which we now call directly.
It also handled producing a default bullet character for list-style-image, but it makes sense for this to live in the a11y code.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 01:23:37 +00:00
Miko Mynttinen
3e660d9274 Bug 1616335 - Add a pref to dump the serialized WebRender display list r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D63227

--HG--
extra : moz-landing-system : lando
2020-02-21 01:08:10 +00:00
Nicholas Nethercote
0d486cce16 Bug 1604964 - Add fix-stacks toolchain. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D57747

--HG--
extra : moz-landing-system : lando
2020-02-20 20:57:32 +00:00
Nicholas Nethercote
a32c6007ec Bug 1604964 - Remove an erroneous comment. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D57746

--HG--
extra : moz-landing-system : lando
2020-02-18 02:46:23 +00:00
Emilio Cobos Álvarez
e6bbb3d080 Bug 1616691 - Update test expectations. r=heycam
See https://github.com/web-platform-tests/wpt/issues/21599 for the specified
value serialization failures.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:51:43 +00:00
Emilio Cobos Álvarez
e96098ff1b Bug 1616691 - Properly reject numbers as part of <length-percentage>. r=heycam
We never fast-reject numbers (because they could be part of a product). Without
this refactoring we'd accept stuff like calc(10) and crash during the evaluation
for obvious reasons.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:47:02 +00:00
Emilio Cobos Álvarez
7d8ecd8ab1 Bug 1616691 - Fix one minor serialization issue which was causing test failures. r=heycam
We were serializing calc(10% + 4px) as calc(10% + calc(4px)).

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:47:00 +00:00
Emilio Cobos Álvarez
4e5b75c288 Bug 1616691 - Simplify math function resolution. r=heycam
So as to avoid allocating an intermediate tree in Rust to resolve
`<length-percentage>` values.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:46:53 +00:00
Emilio Cobos Álvarez
1c8cc0fccb Bug 1616691 - Fix C++ side of <length-percentage> values. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D63398

--HG--
extra : moz-landing-system : lando
2020-02-21 00:46:50 +00:00
Emilio Cobos Álvarez
9776b78db8 Bug 1616691 - Make CalcNode the specified representation of <length> and <length-percentage> values. r=heycam
This is the meat of the patch. There are a couple improvements done in a couple
later patches which should hopefully be straight-forward.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:46:41 +00:00
Emilio Cobos Álvarez
559a1c5c17 Bug 1616691 - Move the guts of calc nodes into a generic enum. r=heycam
We'll have different leaf nodes as we progress in the value computation stage.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:46:33 +00:00
Emilio Cobos Álvarez
49fd79bb94 Bug 1616691 - Implement ToCss for CalcNode. r=heycam
We'll use `CalcNode` as the specified value representation for <length> and
<length-percentage> values, so they'll have to implement ToCss.

There's one minor issue (two calls to to_css() instead of to_css_impl() which
are addressed later in the series).

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:46:26 +00:00
Zibi Braniecki
9d26727a4e Bug 1607052 - Unify language identifier canonicalization in LocaleService and OSPreferences to use unic_langid, and extend GTK's RegionalPrefs reading to fallback on SystemLocales. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D63393

--HG--
extra : moz-landing-system : lando
2020-02-21 00:39:18 +00:00
Tim Nguyen
08ab9ceb1e Bug 1616587 - Implement conic-gradient for Skia graphics backend. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D63415

--HG--
extra : moz-landing-system : lando
2020-02-21 00:12:47 +00:00
Noemi Erli
04fcf27147 Backed out changeset 4f406ca4f899 (bug 1607052) for causing xpcshell failures in test_localeService.js CLOSED TREE
--HG--
extra : rebase_source : c91f40748db91ac3563bd0215f4e707912553502
2020-02-21 02:19:32 +02:00
Emilio Cobos Álvarez
71b1d98e23 Bug 1615142 - Fix gcc builds that error because of an unused variable.
Meh.

MANUAL PUSH: Fuzzing build bustage fix.

CLOSED TREE
2020-02-21 01:22:36 +01:00
Mike Shal
c8abdd68c2 Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D63438

--HG--
extra : moz-landing-system : lando
2020-02-21 00:05:17 +00:00
Mike Shal
6046e59875 Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:05:04 +00:00
Csoregi Natalia
ff5e1dafb1 Backed out changeset bf981458da0c (bug 1616587) for bustage on DrawTargetCairo.cpp. CLOSED TREE 2020-02-21 02:07:11 +02:00
Paul Bone
9970ac54b2 Bug 1597154 - pt 5. Rename SchemeUsesDocChannel r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59823

--HG--
extra : moz-landing-system : lando
2020-02-20 23:54:32 +00:00
Paul Bone
101d2ed4fb Bug 1597154 - pt 4. Enable browser_protocolhandler_loop.js for fission r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D57599

--HG--
extra : moz-landing-system : lando
2020-02-20 23:54:12 +00:00
Paul Bone
a0624ff784 Bug 1597154 - pt 3. Defer to documentchannel for process switching for all schemes r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D58899

--HG--
extra : moz-landing-system : lando
2020-02-20 23:53:52 +00:00
Paul Bone
2fd69bd52e Bug 1597154 - pt 2. Fix out-of-date comment r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D58898

--HG--
extra : moz-landing-system : lando
2020-02-20 23:53:27 +00:00
Paul Bone
0048098ca2 Bug 1597154 - pt 1. Avoid redirecting loads between processes more than once r=mattwoodrow,kmag
This doesn't fix the bug, but it is a good idea.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 23:53:07 +00:00
Perry Jiang
8d915f1a78 Bug 1588152 - allow unclean ServiceWorker shutdown on beta/release builds r=asuth
This patch adds a timer to ServiceWorkerShutdownBlocker in beta/release builds.
The timer, arbitrarily set to 10 seconds, begins once the shutdown blocker
"begins" to block shutdown. When the timer expires, shutdown will be forcefully
unblocked (even if there's still ServiceWorkers that have not completed
shutdown). If all ServiceWorkers shutdown before the timer expires, the timer
callback will be canceled.

All ServiceWorkers should (in theory) shutdown before the timer expires, but
apparently this is not always the case (for currently unknown reasons). So,
it is arguably better from a user-perspective to shutdown uncleanly than stall
and crash when exiting. There also should not be anything unsafe happening as
a result.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 23:42:50 +00:00
Tim Nguyen
edf9be08c3 Bug 1616587 - Implement conic-gradient for Skia graphics backend. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D63415

--HG--
extra : moz-landing-system : lando
2020-02-20 23:50:06 +00:00
Emilio Cobos Álvarez
712d386afe Bug 1615142 - Fix triple-click selection on pre-formatted text. r=mats
We need to check for terminal new-lines on ourselves before looking at our next
sibling frame.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 11:57:50 +00:00
Geoff Brown
4108cae997 Bug 1518179 - Skip browser_spoofing_keyboard_event.js on linux64/asan; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D63568

--HG--
extra : moz-landing-system : lando
2020-02-20 23:47:38 +00:00
Nika Layzell
199effbc30 Bug 1615403 - Part 9: Remove old BrowsingContext & WindowContext serializers, r=farre
These serializers have been superceded by the new
MaybeDiscarded<BrowsingContext> and MaybeDiscarded<WindowContext> serializers
added in earlier parts.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:56 +00:00
Nika Layzell
83006b3472 Bug 1615403 - Part 8: Use MaybeDiscarded for new focus methods, r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D63374

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:54 +00:00
Nika Layzell
38b8556d89 Bug 1615403 - Part 7: Use MaybeDiscarded for PExternalAppHelperParent, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D62934

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:52 +00:00