Commit Graph

647007 Commits

Author SHA1 Message Date
Bogdan Tara
cc5870448a Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-13 01:07:23 +03:00
Tom Prince
e22fbe9a1b No bug: [taskgraph] Remove support for generating non-hook actions; r=dustin
Now that release promotion is using a hook, all the code for non-hook actions
can be removed.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 21:56:20 +00:00
Junior Hsu
598c828aa6 Bug 1542384 - reduce timeout of shutdown resolver threads and make it prefable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D27013

--HG--
extra : moz-landing-system : lando
2019-04-12 17:04:05 +00:00
Boris Chiou
9782f68abf Bug 1526847 - Let ComputeSuitableScaleForAnimation check other transform-like properties. r=hiro
Check all transform-like properties which may affect the scaling
factors when computing the suitable scale for animations.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 21:43:23 +00:00
Wes Kocher
a57c781b04 Bug 1543549 - Only switch_to_window() if we have a handle to it. r=jgraham
On android wpt reftests, the window handles list is empty, so we can't use it to switch to a window. Not doing this in that case doesn't seem to break anything, and not doing it in that case prevents the IndexError from being logged to the error log.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:59:43 +00:00
Csoregi Natalia
7af4153e81 Backed out 3 changesets (bug 1536170) for xpcshell failures on test_bookmark_repair.js. CLOSED TREE
Backed out changeset e41b319d7243 (bug 1536170)
Backed out changeset 0d8c58e90773 (bug 1536170)
Backed out changeset 19c23f03b471 (bug 1536170)
2019-04-13 00:39:14 +03:00
Mike Hommey
92d41d189e Bug 1543915 - Move installer_url and test_packages_url to EXTRA_MOZHARNESS_CONFIG. r=tomprince
This allows to stop using task-reference for mozharness_test commands.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 17:34:14 +00:00
sotaro
82cce30aea Bug 1543616 - Call TextureHost::PrepareForUse() when mCompositableCount becomes from 0 to 1 r=nical
By Bug 1529870, the PrepareForUse() is called in WebRenderImageHost::SetCurrentTextureHost(). It works with single buffer mode android SurfaceTexture for WebGL. But it does not work well with video's SurfaceTexture, since multiple TextureHosts are received and a TextureHost might be skipped. The timing of mCompositableCount becomes from 0 to 1 could be used for calling PrepareForUse().

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

--HG--
extra : moz-landing-system : lando
2019-04-12 17:00:05 +00:00
sotaro
1df1c7709c Bug 1507078 - Add mContinuousUpdate handling to RenderAndroidSurfaceTextureHostOGL r=nical
When mContinuousUpdate is true, UpdateTexImage() needs to be called for each rendering.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 16:58:36 +00:00
Jan Henning
96ef73cc3d Bug 1410749 - Start tab ID numbering from #1. r=geckoview-reviewers,esawin
It's easier this way than fixing who knows how many Webextension APIs that have
learned from Desktop that there is no tab #0 and that therefore refuse to work
in our first tab.

We'll also make a similar change to GeckoView's stub implementation of the tab
API because that affects Custom Tabs and PWAs in Fennec for now.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 20:47:32 +00:00
Dana Keeler
7c34defd31 bug 1524478 - don't create JS objects from WebAuthnManager or U2F destructors r=qdot
Before this patch, the WebAuthnManager/U2F destructors would call MaybeReject on
existing transaction promises. Doing this leaks JS objects. If
WebAuthnManager/U2F are being destructed, though, the window is going away, so
it shouldn't be necessary to reject any outstanding promises. This patch just
clears the transactions.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 18:18:57 +00:00
Ehsan Akhgari
abbca7fd7d Bug 1544004 - Rename nsIHttpChannelInternal::cancelByChannelClassifier() to cancelByURLClassifier(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27314

--HG--
extra : moz-landing-system : lando
2019-04-12 15:44:02 +00:00
Vincent Lequertier
b0f1f0a624 Bug 1483340 - Add CacheIR test case for HTMLDDA object;r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D27167

--HG--
extra : moz-landing-system : lando
2019-04-12 20:01:42 +00:00
Barret Rennie
f584c090db Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:26 +00:00
Barret Rennie
72551e1659 Bug 1536170 - Add unit tests for Async.yieldingForEach() r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26592

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:08 +00:00
Barret Rennie
27e15849d2 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:00 +00:00
Logan Smyth
46fb1ab6f9 Bug 1543754 - Part 7: Allow each source actor to have a unique index. r=jlast
Right now we can end up with Source objects with multiple source actors that
share the same ID, since nothing tries to make them unique. This patch
makes sources created in Jest tests each get an incrementing actor ID.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:06:23 +00:00
Logan Smyth
94937c6fcc Bug 1543754 - Part 6: Remove newSources action and rely entirely on newGenerated/newOriginalSources. r=jlast
With the previous commits done, the 'newSources' actions expose implementation details that we want
to keep private within the file. Nothing outside of these actions should be instantiating Source
objects anymore.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 18:56:07 +00:00
Logan Smyth
595ea2ea81 Bug 1543754 - Part 5: Move generated source creation into the newSources after debouncing. r=jlast
We move source creation into the action itself so that the action can inspect the current
state of the store in order to decide how to create the source, where previously we were
forced to insert the source and have the reducer itself handle cases where the source
already existed.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 18:55:41 +00:00
Logan Smyth
2bb523c30c Bug 1543754 - Part 4: Move creation of original source actors into a separate phase after debouncing. r=jlast
We want the source actions to be responsible for creating the Source objects rather than creating
them ahead of time. This means that the action itself can make decisions about how to handle new
sources appearing, where right now that decision is made too early by the logic queueing the items.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 18:55:16 +00:00
Logan Smyth
ff8c4164ce Bug 1543754 - Part 3: Distinguish original and generated source data in the source queue. r=jlast
We want the two types of queue items to have different datatypes, so we clearly distinguish the
two types of sources that are queued.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:06:15 +00:00
Logan Smyth
1e67481a7c Bug 1543754 - Part 2: Split the SET_WORKERS action into INSERT/REMOVE actions. r=jlast
Reducers should be able to use actions to tell what is happening to the workers, and
by combining them into one action they are unable to know what is being added and
what is being removed. Splitting them up means reducers have more information.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:06:19 +00:00
Logan Smyth
d074c1744a Bug 1543754 - Part 1: Update SourcePayload type to match response. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D27127

--HG--
extra : moz-landing-system : lando
2019-04-12 18:53:57 +00:00
Jan de Mooij
71fdc104a8 Bug 1541404 part 10 - Fix TypeMonitorResult to check for TypeScript instead of BaselineScript. r=tcampbell
The BaselineScript used to contain the bytecode type map but that's now stored
in TypeScript.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 13:22:10 +00:00
Jan de Mooij
c4b528b6f1 Bug 1541404 part 9 - Implement JSOP_DOUBLE in BaselineInterpreterCodeGen. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D27034

--HG--
extra : moz-landing-system : lando
2019-04-11 13:22:08 +00:00
Glenn Watson
6348da8082 Bug 1543844 - Fix incorrect max scale detection in WR border rendering. r=emilio
The local rect for border segments is not solely determined by
the widths and/or radius. Instead of determining the max scale
based on those parameters, use the calculated border segment
rects to determine an appropriate max scale factor.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 09:58:24 +00:00
Jan de Mooij
fa6b2a70f8 Bug 1543592 part 2 - Make JSOP_AFTERYIELD a jump target op. r=tcampbell
This will help the Baseline interpreter restore its interpreterICEntry field
without calling into C++.

Depends on D27032

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

--HG--
extra : moz-landing-system : lando
2019-04-11 16:50:47 +00:00
Jan de Mooij
f0e1533406 Bug 1543592 part 1 - Rename JSOP_DEBUGAFTERYIELD to JSOP_AFTERYIELD. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D27032

--HG--
extra : moz-landing-system : lando
2019-04-12 10:20:12 +00:00
Razvan Caliman
da3aba33df Bug 1543045 - Break strings for long CSS property names and values. r=gl
Introduce `overflow-wrap: break-word` to CSS declarations in Rules view and Changes panel to prevent long strings from causing unwanted horizontal scroll

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:58:09 +00:00
Emilio Cobos Álvarez
2986dda85d Bug 1543762 - Flush less in cross-document getComputedStyle situations. r=heycam
I wrote this while looking at bug 1537903, but actually it doesn't help there,
since all the extra time is spent actually computing styles.

I think this is still worth landing it though.

The reasoning for not caring of this case is that we mint an style anyway out of
the blue anyway. There's no point in restyling the whole document.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 10:04:33 +00:00
Emilio Cobos Álvarez
f9a2ae6278 Bug 1543398 - Don't pass unknown descriptors to Servo. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D26914

--HG--
extra : moz-landing-system : lando
2019-04-12 05:08:18 +00:00
Mirko Brodesser
ed491dbad1 Bug 1374045: add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method r=smaug
- Remove expectation that 'preventScroll.html' fails.

- Use '[NoInterfaceObject] interface' workaround to simulate missing 'mixin' support.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:16:47 +00:00
Gijs Kruitbosch
851325cbfe Bug 1543493 - ensure DOM localization in XUL docs can localize content that includes an <image>, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D26989

--HG--
extra : moz-landing-system : lando
2019-04-12 00:47:15 +00:00
Yoshi Cheng-Hao Huang
f9091c5b4b Bug 1542980 - fixed js shell compilation error. r=jonco
This is from Bug 1534967, and the code is wrapped with compiler option
`JS_MORE_DETERMINISTIC`, which is only enabled through
'--enable-more-deterministic' in shell configure.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:58:42 +00:00
Julian Descottes
cc0dfb6948 Bug 1532993 - Accept extra renders of WaterfallView in old perf panel test;r=julienw
Depends on D26920

See Bug 1532993#c12 for the analysis. The extra rendering is due to a window resize that
seems to always happen on ASAN but not on other platforms.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 07:35:02 +00:00
Julian Descottes
6540f8411f Bug 1532993 - Add test for perfomance panel when devtools are in frame type=content r=ochameau
Depends on D26919

This test also needs the fixes from Bug 1538731

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

--HG--
extra : moz-landing-system : lando
2019-04-12 07:34:13 +00:00
Julian Descottes
b57cba3581 Bug 1532993 - Use DOMHelpers to wait for iframe load in widgets/Graphs.js;r=ochameau
Depends on D26900
Fixes the blank chart and load issues for the old perf panel in about:devtools-toolbox (or type=content)

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

--HG--
extra : moz-landing-system : lando
2019-04-12 07:33:48 +00:00
Martin Stransky
32886489bf Bug 1535893 - Use SharedGL in RenderCompositorEGL on wayland, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D26800

--HG--
extra : moz-landing-system : lando
2019-04-12 08:08:03 +00:00
Florens Verschelde
e248e2626b Bug 1543348 - Create generic button background variables; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D26880

--HG--
extra : moz-landing-system : lando
2019-04-11 16:23:47 +00:00
Andrea Marchesini
a4a901bb22 Bug 1536411 - StoragePrincipal - part 9 - documentation, r=ckerschb,asuth
Differential Revision: https://phabricator.services.mozilla.com/D26479

--HG--
extra : moz-landing-system : lando
2019-04-12 05:29:09 +00:00
Andrea Marchesini
f51a81f6d6 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:19 +00:00
Andrea Marchesini
ad7d593761 Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:36 +00:00
Andrea Marchesini
a2db742a8c Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini
3ec4717c70 Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-12 05:30:56 +00:00
Andrea Marchesini
95eef322cb Bug 1536411 - StoragePrincipal - part 4 - BroadcastChannel, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24028

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:05 +00:00
Andrea Marchesini
bd74d6c75d Bug 1536411 - StoragePrincipal - part 3 - IDBFactory, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24027

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:13 +00:00
Andrea Marchesini
79ac7cee82 Bug 1536411 - StoragePrincipal - part 2 - Worker and StoragePrincipal, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24026

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:25 +00:00
Andrea Marchesini
a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Andrea Marchesini
57535d8c79 Bug 1536411 - StoragePrincipal - part 0 - WorkerPrivate::StorageAccess, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24024

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:40 +00:00
Andrea Marchesini
f694e77c24 Bug 1543898 - SharedWorker must release the MessagePortIdentifier if the creation fails, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D27230

--HG--
extra : moz-landing-system : lando
2019-04-12 08:02:29 +00:00