646991 Commits

Author SHA1 Message Date
sotaro
074201caaa Bug 1544074 - Remove WS_EX_LAYERED and WS_EX_TRANSPARENT r=mattwoodrow
Bug 1525183 imported chromium workaround. But it caused a device specific regression. The change removes WS_EX_LAYERED and WS_EX_TRANSPARENT, but it keeps WS_EX_NOREDIRECTIONBITMAP, since it is necessary for memory usage reduction.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:24:26 +00:00
James Teh
1a6f689917 Bug 1454865: PanelMultiView: When entering a subview using the keyboard, focus the first button after the Back button in the subview. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26067

--HG--
extra : moz-landing-system : lando
2019-04-15 01:38:15 +00:00
James Teh
4e6ac5b1e0 Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:38:08 +00:00
Mike Conley
50caaa08a3 Bug 1543128 - Have PictureInPictureChild detect clicks on Picture-in-Picture toggle if visible. r=jaws
Depends on D26806

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:46 +00:00
Mike Conley
416db4aeac Bug 1543128 - Have PictureInPictureToggleChild set hover states on the no-controls <video> widget manually. r=jaws
Depends on D26805

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:26 +00:00
Mike Conley
559f6fe0f2 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Depends on D26804

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:12 +00:00
Mike Conley
32421e3690 Bug 1543128 - Add a no-controls <video> UAWidget binding to show the Picture-in-Picture toggle. r=jaws
Depends on D26803

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:52 +00:00
Mike Conley
f957ebe843 Bug 1543128 - Fire UAWidgetSetupOrChange for the no-controls <video> case on Desktop. r=jya
The Picture-in-Picture toggle buttons are now part of the video controls UAWidget
bindings, so we need to construct a UAWidget for the no-controls case for Desktop
to make that toggle available.

Up until now, we've never needed a no-controls UAWidget for Desktop, since we
never needed to show UI in that case.

Depends on D26809

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:32 +00:00
Mike Conley
189f9c4505 Bug 1542756 - Bug 1543128 - Add option to only return visible nodes from nsIDOMWindowUtils.nodesFromRect. r=emilio
Depends on D26778

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:12 +00:00
Mike Conley
c0298fe7f6 Bug 1543122 - Add the simple Picture-in-Picture toggle to the <video controls/> binding, still preffed off by default. r=jaws
This also stops the PictureInPictureToggleChild from tracking videos with controls for now.

Depends on D26777

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:53 +00:00
Mike Conley
3cebfb583c Bug 1543122 - Add a privileged UAWidget-accessible WebIDL API for triggering Picture-in-Picture. r=jya,Ehsan
Depends on D26776

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:33 +00:00
Mike Conley
827f8a0905 Bug 1543122 - Add a preference for controlling whether or not we display a toggle for Picture-in-Picture on <video> elements. r=jaws
Depends on D26775

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:13 +00:00
Mike Conley
25829adc57 Bug 1543122 - Allow passing a static list of preference values to UAWidgets upon construction. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26775

--HG--
extra : moz-landing-system : lando
2019-04-15 01:06:54 +00:00
Dan Glastonbury
a114224ced Bug 1526972 - P8: Reset InInvalidSubtree when processing unrelated frames. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26141

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:21 +00:00
Dan Glastonbury
d0154f8169 Bug 1526972 - P7: Move AutoBuildingDisplayList constructor into .cpp r=miko
Differential Revision: https://phabricator.services.mozilla.com/D26140

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:19 +00:00
Dan Glastonbury
a161bca51c Bug 1526972 - P6: Mark invalidated SubDocument frame as modified. r=miko,mattwoodrow
Depends on D24463

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

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:17 +00:00
Dan Glastonbury
fe78904f60 Bug 1526972 - P5: Avoid HasModifiedFrame check for new nsDisplayItems. r=miko
aBuilder->InInvalidSubtree() tracks the modified state. Save the state
during construction of nsDisplayItem and use in ProcessItemFromNewList.

Depends on D24462

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

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:15 +00:00
Dan Glastonbury
ec2db657b0 Bug 1526972 - P4: Limit AnyContentAncestorModified frame walk to frame of outer item. r=miko
Don't walk frame tree all the way to the root.

Depends on D24461

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

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:13 +00:00
Dan Glastonbury
821a5af7e1 Bug 1526972 - P3: De-virtualize HasDeletedFrame(). r=miko
To avoid expensive virtual dispatch in PreProcessDisplayList().

Depends on D24460

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

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:11 +00:00
Dan Glastonbury
d6813ac163 Bug 1526972 - P2: Re-order mItem->CanBeReused()/mItem->HasDeletedFrame(). r=miko
To short-circuit the expensive call with a flag check.

Depends on D24459

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

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:09 +00:00
Dan Glastonbury
a9319e3ae3 Bug 1526972 - P1: Compress bool state into bit flags. r=miko
Also move to first cache-line (64-bytes) of nsDisplayItem to improve D-cache hit
when accessing mFrame, mItemFlags, etc.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 00:23:07 +00:00
Brian Birtles
86cd66683b Bug 1543304 - Add MOZ_DBG support for nsCSSPropertyID and nsCSSPropertyIDSet; r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D26856

--HG--
extra : moz-landing-system : lando
2019-04-14 23:48:05 +00:00
Brian Birtles
ab20b9cbd4 Bug 1543304 - Add iterators to nsCSSPropertyIDSet; r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D26855

--HG--
extra : moz-landing-system : lando
2019-04-14 23:47:51 +00:00
Aaron Klotz
2484ee1608 Bug 1503538: Part 5 - Add static DLL dependency blocking to SandboxBroker; r=bobowen
Depends on D27146

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

--HG--
extra : moz-landing-system : lando
2019-04-12 09:47:13 +00:00
Aaron Klotz
5b40d0b92a Bug 1503538: Part 4 - Add injected static import blocking to launcher process; r=mhowell
Depends on D27145

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

--HG--
extra : moz-landing-system : lando
2019-04-11 22:32:29 +00:00
Aaron Klotz
1a74deabad Bug 1503538: Part 3 - Changes to NativeNt and ImportDir to allow for blocking injected static DLL dependencies; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D27145

--HG--
extra : moz-landing-system : lando
2019-04-12 19:58:01 +00:00
Joel Maher
8303fe23c5 Bug 1543044 - ensure high_value_tasks has a default value when we fail to get data from treeherder/seta. r=Callek
ensure high_value_tasks has a default value when we fail to get data from treeherder/seta.

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

--HG--
extra : moz-landing-system : lando
2019-04-14 12:35:13 +00:00
Thomas Wisniewski
7886db55f5 Bug 1541598 - Have FetchBody::SetMimeType convert from ByteStrings to UTF8 CStrings to not corrupt Unicode values; r=hsivonen
Have FetchBody::SetMimeType convert from ByteStrings to UTF8 CStrings to not corrupt Unicode values

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

--HG--
extra : moz-landing-system : lando
2019-04-14 15:02:39 +00:00
Dale Harvey
8078078268 Bug 1544214 - Add Yandex to list of multi locale search extensions. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27446

--HG--
extra : moz-landing-system : lando
2019-04-14 11:26:31 +00:00
Jonathan Kew
071e1eefe0 Bug 1541959 - Add a WPT reftest for rendering of text-transform with combinations of values. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D27438

--HG--
extra : moz-landing-system : lando
2019-04-14 11:07:14 +00:00
Jonathan Kew
19813f4032 Bug 1541959 - Fix WPT parsing tests for text-transform to reflect proper serialization of multiple values. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D27403

--HG--
extra : moz-landing-system : lando
2019-04-14 11:06:54 +00:00
Jonathan Kew
504abab69a Bug 1541959 - Allow full-width and/or full-size-kana values of text-transform to be combined with a case transformation. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D27402

--HG--
extra : moz-landing-system : lando
2019-04-14 11:06:41 +00:00
violet
fa3b85a4da Bug 1544270 - Change 1.f * something to float(something) r=longsonr
Change 1.f * something to float(something)

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

--HG--
extra : moz-landing-system : lando
2019-04-14 09:32:19 +00:00
violet
1ce98d921c Bug 1544209 - Should not scale mFontSizeScaleFactor for user space r=longsonr
We already get the user space metrics, mFontSizeScaleFactor is irrelevant
and the scaling should not be applied in the first place.

Otherwise we will get very wrong bounding box when <text> has SVG transform
or the font has extreme size.

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

--HG--
extra : moz-landing-system : lando
2019-04-14 07:41:42 +00:00
Patrick Brosset
818e92e5a8 Bug 1541938 - Apply the hover effect to all font names; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D26878

--HG--
extra : moz-landing-system : lando
2019-04-12 15:29:30 +00:00
violet
a92c08d83f Bug 937268 - Should implement getBBox() for tspan r=longsonr
We implements getBBox for tspan. The implementation also has consistent
behavior as getBoundingClientRect.

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

--HG--
extra : moz-landing-system : lando
2019-04-14 05:57:24 +00:00
Arpit
0376cbf447 Bug 1543043 - Changed #main-window to :root r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27413

--HG--
extra : moz-landing-system : lando
2019-04-14 07:02:33 +00:00
Razvan Maries
32be493104 Backed out changeset ee2d5ba2854c (bug 937268) for perma fails on dom/svg/test/test_bbox.xhtml 2019-04-14 05:20:15 +03:00
Razvan Maries
25f9a7a199 Backed out changeset a5852f84bd26 (bug 1541798) for perma fails on browser/base/content/test/performance/browser_startup.js 2019-04-14 04:23:38 +03:00
violet
c5fb22a443 Bug 937268 - Should implement getBBox() for tspan r=longsonr
We implements getBBox for tspan. The implementation also has consistent
behavior as getBoundingClientRect.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 14:48:13 +00:00
Myk Melez
deb9312435 Bug 1541798 - Fix broken default theme check for early blank window. r=kmag,dao
Differential Revision: https://phabricator.services.mozilla.com/D27398

--HG--
extra : moz-landing-system : lando
2019-04-13 03:03:20 +00:00
Emilio Cobos Álvarez
03f332eb7a Bug 1543758 - Pseudo-elements should be allowed to be list-items. r=mats
Per https://github.com/w3c/csswg-drafts/issues/3766

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

--HG--
extra : moz-landing-system : lando
2019-04-13 22:22:51 +00:00
Andreea Pavel
c2af41dd40 Merge mozilla-central to autoland. on a CLOSED TREE 2019-04-14 00:48:34 +03:00
Andreea Pavel
0200c7c9fa Merge mozilla-inbound to mozilla-central. a=merge 2019-04-14 00:45:44 +03:00
Chris Manchester
0108a7d146 Bug 1543938 - Update wpt expectations for symbol name updated with rust update. r=mccr8
This is a smaller update than recommended by the wpt-update command, however
the entire suite passes with it on try.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 19:55:13 +00:00
Magnus Melin
06dab7c847 Bug 1540394 - remove tree._columnsDirty. r=vporof
Remove the tree._columnsDirty property which is causing problems for column reordering in a fresh profile.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:53:36 +00:00
Doug Thayer
492ceb9eae Bug 1538279 - Use CreateFileMapping with SEC_IMAGE to prefetch Windows DLLs r=aklotz
Our old approach was reading this into a region of unexecutable memory,
meaning when we actually loaded the library it needed to be loaded into
executable memory. This fixes that. I suspect that any gains we were
seeing previously were due to hardware effects.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:46:18 +00:00
Doug Thayer
2d3776cd66 Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:46:13 +00:00
Doug Thayer
ebd6ab40a3 Bug 1538279 - Extract nsZipArchive's madvise and similar to a helper r=glandium,froydnj
This is just to make it simpler to use PrefetchVirtualMemory in subsequent patches.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:46:04 +00:00
Julian Descottes
28d488a209 Bug 1543907 - showToolbox should wait for tool to be loaded;r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D27241

--HG--
extra : moz-landing-system : lando
2019-04-13 13:55:45 +00:00