Commit Graph

670388 Commits

Author SHA1 Message Date
Boris Zbarsky
122af58092 Bug 1578173 part 3. Remove ChromeConstructor. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45390

--HG--
extra : moz-landing-system : lando
2019-09-11 21:04:12 +00:00
Boris Zbarsky
5d31299907 Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45389

--HG--
extra : moz-landing-system : lando
2019-09-11 20:55:26 +00:00
Boris Zbarsky
c0dd336d70 Bug 1578173 part 1. Add support for constructor operations in the parser. r=edgar
The grammar changes parallel those in https://github.com/heycam/webidl/pull/700

We don't prevent having both a constructor operation and [Constructor] or
[ChromeConstructor], because those extended attributes are about to get
removed, once they are no longer used in our IDL.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:44:01 +00:00
Glenn Watson
c873e19b84 Bug 1580677 - Update plane-split dependency to 0.15.0 r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45628

--HG--
extra : moz-landing-system : lando
2019-09-12 12:46:41 +00:00
Brad Werth
6d3b2babbc Bug 1567310 Part 4: Add a test that whitespace frames are not created by opening the inspector. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D45257

--HG--
extra : moz-landing-system : lando
2019-09-12 19:06:09 +00:00
Brad Werth
df189909f4 Bug 1567310 Part 3: Make all devtools callers of getBoxQuads include option to suppress whitespace frames. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D45120

--HG--
extra : moz-landing-system : lando
2019-09-12 19:05:52 +00:00
Brad Werth
6a3833ac40 Bug 1567310 Part 2: Make GeometryUtils::GetBoxQuads suppress whitespace frames when requested. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D45118

--HG--
extra : moz-landing-system : lando
2019-09-12 19:05:32 +00:00
Brad Werth
0e430e54bd Bug 1567310 Part 1: Add a ChromeOnly option for suppressing whitespace frames to getBoxQuads. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D45117

--HG--
extra : moz-landing-system : lando
2019-09-12 19:05:10 +00:00
Sorin Davidoi
4bb2a97856 Bug 1580485 - Start search worker on lazily. r=jlast
Took care to only call .task once. Maybe it would be nice to move this functionality inside `WorkerDispatcher`?

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

--HG--
extra : moz-landing-system : lando
2019-09-12 18:41:51 +00:00
John Lin
92ce0226c3 Bug 1570337 - p7: fix build error/warning for UNIFIED_SOURCES. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D44588

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:31 +00:00
John Lin
447114ddf7 Bug 1570337 - p6: repeat calling Drain() until no more output. r=jya
Existing tests will fail when there are more than 1 pending frames when Drain()
is called. Repeatly calling it to ensure all frames will be collected.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:24 +00:00
John Lin
8123c647d7 Bug 1570337 - p5: test initializing encoder both w/ and w/o specific parameters. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43688

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:15 +00:00
John Lin
1083967985 Bug 1570337 - p4: implement Android encoder. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43687

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:08 +00:00
John Lin
602e27f76e Bug 1570337 - p3: extract method for reuse. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D45109

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:00 +00:00
John Lin
4c35be9c69 Bug 1570337 - p2: extend and expose H.264 utility functions. r=jya
Some existing functions that manipulates H.264 bitstream already cover
most of the efforts for converting Android encoder output. With some minor
changes, they can be called by the encoder to avoid code duplications.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 18:18:51 +00:00
John Lin
3000d5dcd1 Bug 1570337 - p1: singletonize sPEMLog. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43685

--HG--
extra : moz-landing-system : lando
2019-09-12 18:18:37 +00:00
Gabriele Svelto
a84ef4be0c Bug 1575216 - Make low-memory detection use per-process stats to avoid janking the main thread r=dmajor
This reverts the available memory tracker back to its old implementation that
relied on GlobalMemoryStatusEx() instead of the potentially expensive
K32GetPerformanceInfo(). In spite of its name GlobalMemoryStatusEx() may return
per-process values instead of global ones which might lead to underestimating
the actual memory pressure. Because of this limitation this change is a
stop-gap while we replace this code with a non-polling implementation based on
QueryMemoryResourceNotification().

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

--HG--
extra : moz-landing-system : lando
2019-09-12 15:34:13 +00:00
Coroiu Cristina
b7a3c598ec Backed out changeset 0a227ecdcca5 (bug 1580485) for debugger failure on a CLOSED TREE 2019-09-12 21:20:32 +03:00
Edouard Oger
a6c404619f Bug 1570569 p2 - Add Sync Disabled state to Synced Tabs sidebar. r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D44485

--HG--
extra : moz-landing-system : lando
2019-09-10 18:23:31 +00:00
Edouard Oger
926c5d067c Bug 1570569 p1 - Add Sync Disabled state to Synced Tabs menu. r=vbudhram,fluent-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D44484

--HG--
extra : moz-landing-system : lando
2019-09-11 01:17:46 +00:00
alwu
654898b3ab Bug 1580015 - part2 : add test 'test_webvtt_infinite_processing_loop.html'. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D45567

--HG--
extra : moz-landing-system : lando
2019-09-12 08:13:48 +00:00
alwu
104f98fb8c Bug 1580015 - part1 : do not reentry function 'processCues()'. r=heycam
Accessing `offsetXXX` attributes of element, it would trigger reflow, and sometime it would result in a re-entry of `processCue()` because we would call `processCue()` when `resizecaption` occurs.

One specifical case is that, assigning CSS properties `min-width` and `max-width` at the same video element, in thise case, when we re-enter the `processCues()` and access `offsetXXX`. It seems that the layout system would reprocess those properites again and again and dispatch `resizecaption` when we access `offsetXXX`, which causes an infinite loop, starting from receving `resizecaption`, then calling `processCue()`, accessing `offSetXXX`, triggering reflow, sending `resizecaption` event again.

Therefore, we should stop revisiting `processCues()` if we're already running a processing, we should run a processing once at a time.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:13:46 +00:00
Ryan VanderMeulen
95fbf0abf7 Bug 1580661 - Update pdf.js to version 2.3.164. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D45617

--HG--
extra : moz-landing-system : lando
2019-09-12 16:31:56 +00:00
Sorin Davidoi
f783c40e10 Bug 1579990 - Start pretty print worker lazily. r=jlast,Honza
Start pretty print worker only when pretty printing for the first time.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 16:40:36 +00:00
Sorin Davidoi
c9a76c17f4 Bug 1580485 - Start search worker on lazily. r=jlast
Took care to only call .task once. Maybe it would be nice to move this functionality inside `WorkerDispatcher`?

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

--HG--
extra : moz-landing-system : lando
2019-09-12 16:31:38 +00:00
championshuttler
7141b73975 Bug 1552317 - Fix codespell errors for image/. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D45553

--HG--
extra : moz-landing-system : lando
2019-09-12 09:00:52 +00:00
Zibi Braniecki
8aee81540e Bug 1578370 - Refactor TriggerInitialDocumentTranslation for readability. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45589

--HG--
extra : moz-landing-system : lando
2019-09-12 16:07:49 +00:00
Kershaw Chang
de860c0a83 Bug 1580046 - Introduce new trr pref: builtin-excluded-domains r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D45518

--HG--
extra : moz-landing-system : lando
2019-09-12 12:44:16 +00:00
Tom Tung
c960a1a6b6 Bug 1580238 - Extend the release for the prob of initialization time on QM and add another one to catch the longest time; r=janv,sg
Differential Revision: https://phabricator.services.mozilla.com/D45501

--HG--
extra : moz-landing-system : lando
2019-09-11 13:55:50 +00:00
YUKI "Piro" Hiroshi
18076b6f51 Bug 1476195 - Allow invoking drag sessions outside of mouseDragged. r=mstange,spohl
The parent process usually starts a native drag session during the processing
of a Gecko mouse move event while the mouse is down. Usually, these Gecko mouse
move events are processed synchronously during -[ChildView mouseDragged:]. But
in some cases, the Gecko mouse move event can be a synthetic mouse move event
that was generated in response to a reflow. Those get processed during refresh
driver ticks, which run at a time that's completely unrelated to when
mouseDragged is invoked.
So the widget should just assume that drags can be started at any time between
mouseDown and mouseUp.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 14:13:14 +00:00
Daniel Holbert
785fe64f03 Bug 1573631: Let "text-decoration-skip-ink", "text-decoration-thickness", and "text-underline-offset" ride the trains to release. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D45233

--HG--
extra : moz-landing-system : lando
2019-09-12 07:24:57 +00:00
Mike Conley
59ef387149 Bug 1536011 - Add title to Picture-in-Picture player window. r=JSON_voorhees,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D45605

--HG--
extra : moz-landing-system : lando
2019-09-12 15:26:12 +00:00
Logan Smyth
62539da15f Bug 1580645 - Ensure that node removal only removes mutation BPs in subtree. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D44296

--HG--
extra : moz-landing-system : lando
2019-09-12 15:33:51 +00:00
Gurzau Raul
4793791015 Backed out changeset 84302aebbe43 (bug 1573813) for failing mochitest jobs on a CLOSED TREE. 2019-09-12 18:35:47 +03:00
Gurzau Raul
fe4bb6d539 Backed out 6 changesets (bug 1574493) for wrench failures at stacking-context-clip.yaml on a CLOSED TREE.
Backed out changeset 8a8736ac4e25 (bug 1574493)
Backed out changeset 4a3294e88823 (bug 1574493)
Backed out changeset 0c26ecdc1ddc (bug 1574493)
Backed out changeset 11257f7b3ad3 (bug 1574493)
Backed out changeset dcedc286ad9d (bug 1574493)
Backed out changeset 87f216e0753d (bug 1574493)
2019-09-12 18:34:07 +03:00
Junior Hsu
fcaa80da0d Bug 1579012 - use COOP in top-levl browsing context of opener for iframe r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D45582

--HG--
extra : moz-landing-system : lando
2019-09-12 14:44:16 +00:00
Kris Maglione
f261e424d2 Bug 1580377: Re-disable test_reloadInFreshProcess under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45670

--HG--
extra : moz-landing-system : lando
2019-09-12 14:17:49 +00:00
Junior Hsu
9a29f4d19b Bug 1574690 - P3 longer timeout to ease intermittent COEP test r=annevk
This might be necessary since we fail to load the second blank page in 500 ms all the times

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

--HG--
extra : moz-landing-system : lando
2019-09-11 17:32:05 +00:00
Junior Hsu
7471d215c9 Bug 1574690 - P2 COOP intermittent timeout adjustment r=valentin
We fail to release component manager in content process, which should has nothing to do with COOP implemetation

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

--HG--
extra : moz-landing-system : lando
2019-09-12 14:33:17 +00:00
Junior Hsu
b5c25c47c4 Bug 1574690 - P1 Adjust wpt metadata for COOP and COEP tests r=annevk
Note that sandbox and sw are not supported at this moment

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

--HG--
extra : moz-landing-system : lando
2019-09-12 14:33:17 +00:00
David Walsh
d8814e5764 Bug 1580636 - Set inline preview left before injection r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D45606

--HG--
extra : moz-landing-system : lando
2019-09-12 14:29:31 +00:00
Jan Horak
9f70c0454a Bug 1573813 - use parent window scale factor for the popup/tooltips; r=stransky
For popup windows with parent we need to get scale factor of the parent
window. Because when the windows are hidden they're not receiving updates
about changing scaling factor. So when moving from normal dpi to
the hidpi monitor the newly opened popup windows will have the same scale.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 13:29:03 +00:00
Andrew Halberstadt
1b4d182145 Bug 1567642 - [mozharness] Fix missed print statement in 'test_base_script.py', r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D45666

--HG--
extra : moz-landing-system : lando
2019-09-12 14:09:23 +00:00
Razvan Maries
197ecba57e Backed out changeset c7e276985276 (bug 1580636) for ES Lint failure. CLOSED TREE 2019-09-12 17:08:46 +03:00
Vlad Baicu
0d2e8f845e Bug 1576170 - Onboarding Sign up strings. r=delphine
Differential Revision: https://phabricator.services.mozilla.com/D45528

--HG--
extra : moz-landing-system : lando
2019-09-11 21:21:52 +00:00
David Walsh
8f28239f59 Bug 1580636 - Set inline preview left before injection r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D45606

--HG--
extra : moz-landing-system : lando
2019-09-12 02:52:27 +00:00
ffxbld
5af1f73d04 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D45662

--HG--
extra : moz-landing-system : lando
2019-09-12 13:37:51 +00:00
Andrew Osmond
ff567c5ddb Bug 1574493 - Part 6. Add reftest annotations for newly failing/passing tests. r=jrmuizel,kvark
Differential Revision: https://phabricator.services.mozilla.com/D45539

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:52 +00:00
Andrew Osmond
fbb941e1dd Bug 1574493 - Part 5. Snap scroll offsets and pictures during frame building. r=kvark
The snapping during scene building is unable to take into account scroll
offsets. Since we have already snapped the primitive rects in the raster
space, we know that this can only result in a translation rather than a
size change, and thus is safe to do during frame building.

When we update the transform tree, we now snap the scroll offset in
device space to ensure that scroll offsets should primarily be integer
offsets and not have snapping implications.

The local rect of a picture is calculated during the first picture
traversel. It is composed of already snapped primitives, however the
picture itself may inflate itself, and thus is now snapped again as part
of inflation.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:50 +00:00
Andrew Osmond
fba00abf09 Bug 1574493 - Part 4. Snap primitives during scene building. r=kvark
Now that rounding has been removed from Gecko, we need to start snapping
properly in WebRender. Snapping can change the size of a primitive, and
thus it is problematic to do any later than scene building due to the
GPU caching and sharing of data between clips and such that only differ
in their positioning.

This patch produces a snapping transform which allows any primitive to
snap using information known during scene building. This excludes
animated tranforms which are assumed to be the identity. This allows for
primitives that are marked as will-change: transform but given no
initial transform to render the same as primitives that are not. This
also excludes scroll positioning because that is not known until frame
building. A follow up patch will deal with that.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:48 +00:00