Commit Graph

636563 Commits

Author SHA1 Message Date
Henrik Skupin
93fa5a2367 Bug 1398095 - [wdspec] Use "script timeout" instead of "timeout error" for promise tests. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D19751

--HG--
extra : moz-landing-system : lando
2019-02-14 13:37:58 +00:00
Nicolas Chevobbe
e402e63b4e Bug 1527854 - Remove unnecessary waitForTime in browser_markup_shadowdom_open_debugger.js; r=jdescottes.
Since https://github.com/devtools-html/debugger.html/pull/6189 landed,
I think it's safe to remove the waitForTime we had in the test.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 13:01:43 +00:00
ffxbld
fbafc28707 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D19770

--HG--
extra : moz-landing-system : lando
2019-02-14 13:34:56 +00:00
Julian Descottes
3d08c9edc0 Bug 1518581 - Silence worker updates if they are not required by the test;r=daisuke,ochameau
Depends on D18236
Worker updates are very hard to predict and we have many intermittents caused by pending requests
for workers while we destroy the client.

Discussed with @ochameau about the potential solutions, and disabling worker updates in tests that don't need them seems a good option. A complementary solution can be to wait for debugger-client waitForRequestsToSettle (different from our current helper in head.js).

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

--HG--
extra : moz-landing-system : lando
2019-02-14 09:59:11 +00:00
Julian Descottes
07a72acf15 Bug 1518581 - Remove unused parameters from openAboutDebugging;r=daisuke
Depends on D18235

The two parameters in the openAboutDebugging are a leftover from the original helper of the old about:debugging.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 09:58:39 +00:00
Julian Descottes
0c83128a87 Bug 1518581 - Require mocks helper in aboutdebugging head.js;r=daisuke
Depends on D18234
Most tests will now need to use the mocks helper to avoid loading the regular client-wrapper.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 09:58:11 +00:00
Julian Descottes
84fd41e80c Bug 1518581 - Move worker listening logic to client wrapper;r=ladybenko,daisuke
This will make it easier to mock the behavior

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

--HG--
extra : moz-landing-system : lando
2019-02-14 09:57:49 +00:00
Gurzau Raul
372cd785ae Bug 1349892 Disable browser_ext_sidebarAction_context.js on all platforms. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D19769

--HG--
extra : moz-landing-system : lando
2019-02-14 12:12:39 +00:00
Gurzau Raul
38801b5e8d Bug 1519868 Disable browser_CTP_iframe.js on Windows opt and pgo builds. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D19768

--HG--
extra : moz-landing-system : lando
2019-02-14 12:01:41 +00:00
Jan de Mooij
df63df0282 Bug 1526947 - Simplify aliased var code in the JITs. r=tcampbell
Environment shapes always use the max number of fixed slots before using
dynamic slots (see EmptyEnvironmentShape). We can take advantage of this in
the JITs and eliminate the calls to EnvironmentCoordinateToEnvironmentShape.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 12:00:30 +00:00
Alex Chronopoulos
16529fa15f Bug 1525278 - Assert AudioStream is not errored when SetVolume is called. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D18682

--HG--
extra : moz-landing-system : lando
2019-02-14 11:13:38 +00:00
Tooru Fujisawa
6dd524af5b Bug 1524507 - Remove sum interface and typedef from BinToken.h. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D19726

--HG--
extra : moz-landing-system : lando
2019-02-14 08:46:52 +00:00
Nicolas Chevobbe
ba67293ef7 Bug 1527830 - Remove unused _filterPrefsPrefix in browser-console.js; r=yulia.
This property isn't used anymore, let's delete it.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 11:01:36 +00:00
Florian Quèze
2872ea9752 Bug 1526998 - Show markers for nsObserverService notifications, r=mstange.
Differential Revision: https://phabricator.services.mozilla.com/D19379

--HG--
extra : moz-landing-system : lando
2019-02-14 05:10:14 +00:00
Florian Quèze
5de09797c0 Bug 1526508 - add profiler markers for importing a JS module, loading a JS XPCOM component or a subscript r=mstange
Bug 1526508 - add profiler markers for importing a JS module, loading a JS XPCOM component or a subscript

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

--HG--
extra : moz-landing-system : lando
2019-02-11 17:53:22 +00:00
Edgar Chen
8a104d860e Bug 1518121 - Part 3: Add tests for scrollable frame in Shadow DOM; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19652

--HG--
extra : moz-landing-system : lando
2019-02-13 20:39:08 +00:00
Edgar Chen
89cf3fb922 Bug 1518121 - Part 2: Update ExplicitChildIterator correctly when we are at the end of child list of a slot parent; r=smaug
The mIndexInInserted keeps pointing to the last assigned node of a slot parent
when we are at the end of child list. So when we calles GetPreviousChild when we
are at the end of child list, ExplicitChildIterator will skip last assigned node.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 10:14:33 +00:00
Edgar Chen
d2d97dd768 Bug 1518121 - Part 1: Check isFocusable from frame first if content has frame; r=smaug
This is for the scrollable frame, because nsIFrame::IsFocusable of a scrollable
frame returns true with tabIndex = 0 even if the content has no tabIndex
attribute.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 19:11:43 +00:00
Bogdan Tara
e8d5e8fa11 Backed out changeset 70c5f8576e43 (bug 1525887) for PLDHashTable failures CLOSED TREE 2019-02-14 12:30:34 +02:00
Bogdan Tara
4e1e106f39 Backed out 4 changesets (bug 1518581) for devtools failures CLOSED TREE
Backed out changeset 4858ed100ad4 (bug 1518581)
Backed out changeset 64aafe3fc812 (bug 1518581)
Backed out changeset 19db6496398d (bug 1518581)
Backed out changeset 8471b0838846 (bug 1518581)
2019-02-14 11:50:29 +02:00
Andreas Farre
4a8d21430f Bug 1525887 - Add set of ContentParent subscribed to BrowsingContextGroup. r=nika
Add the origin ContentParent to a CanonicalBrowsingContext's group
when a CanonicalBrowsingContext is created from IPC. With this it is
possible to keep track of all child processes associated with a
BrowsingContextGroup.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:55:22 +00:00
Alex Chronopoulos
f26917afec Bug 1527659 - Update cubeb from upstream to 3afc335. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D19676

--HG--
extra : moz-landing-system : lando
2019-02-13 21:50:03 +00:00
Julian Descottes
f4f8bbfb4a Bug 1518581 - Silence worker updates if they are not required by the test;r=daisuke,ochameau
Depends on D18236
Worker updates are very hard to predict and we have many intermittents caused by pending requests
for workers while we destroy the client.

Discussed with @ochameau about the potential solutions, and disabling worker updates in tests that don't need them seems a good option. A complementary solution can be to wait for debugger-client waitForRequestsToSettle (different from our current helper in head.js).

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:27:36 +00:00
Julian Descottes
d4fa20bd7b Bug 1518581 - Remove unused parameters from openAboutDebugging;r=daisuke
Depends on D18235

The two parameters in the openAboutDebugging are a leftover from the original helper of the old about:debugging.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:27:23 +00:00
Julian Descottes
1f69b3872b Bug 1518581 - Require mocks helper in aboutdebugging head.js;r=daisuke
Depends on D18234
Most tests will now need to use the mocks helper to avoid loading the regular client-wrapper.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:20:21 +00:00
Julian Descottes
254bfe6ca2 Bug 1518581 - Move worker listening logic to client wrapper;r=ladybenko,daisuke
This will make it easier to mock the behavior

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:19:17 +00:00
Belén Albeza
225505778f Bug 1509121 [part 2]: Add test for about:devtools-toolbox error page. r=daisuke,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D19531

--HG--
extra : moz-landing-system : lando
2019-02-13 10:32:03 +00:00
Belén Albeza
1c698bcc3a Bug 1509121 - Display error screen if about:devtools-toolbox fails to start. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D18842

--HG--
extra : moz-landing-system : lando
2019-02-14 08:13:16 +00:00
Eitan Isaacson
bb5af5a481 Bug 1527254 - Don't rely on tabpanels xul element in Android for offcreen state. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D19710

--HG--
extra : moz-landing-system : lando
2019-02-14 08:01:36 +00:00
Bogdan Tara
c5dfc53d7d Backed out changeset 885272c243c8 (bug 1524507) for BinToken related bustages CLOSED TREE 2019-02-14 09:21:26 +02:00
Tooru Fujisawa
1c0f0892fa Bug 1524507 - Remove sum interface and typedef from BinToken.h. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D19726

--HG--
extra : moz-landing-system : lando
2019-02-14 06:20:07 +00:00
Markus Stange
59eaae38a1 Bug 1515209 - Add a text marker for <script> evaluation. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D19189

--HG--
extra : moz-landing-system : lando
2019-02-14 05:25:13 +00:00
Markus Stange
2121a26024 Bug 1515209 - Add profiler_add_text_marker and AUTO_PROFILER_TEXT_MARKER_DOCSHELL for convenience, and add the ability to specify cause stacks. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D19188

--HG--
extra : moz-landing-system : lando
2019-02-14 05:25:45 +00:00
shindli
040ff3d2c4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-14 06:56:00 +02:00
shindli
38035ee924 Merge inbound to mozilla-central. a=merge 2019-02-14 06:40:41 +02:00
Brindusan Cristian
0b12a8c3cb Backed out changeset 43baecd33ce6 (bug 1527225) for jsreftest at [@ js::Nursery::maybeResizeNursery(JS::GCReason)]. CLOSED TREE 2019-02-14 02:07:32 +02:00
Hiroyuki Ikezoe
ff820309e3 Bug 1525075 - Use the ICB size for Element.{clientWidth, clientHeight} instead of expanded the layout viewport size. r=botond
This is what Chrome does.

documentElement-clientWidth-on-minimum-scale-size.tentative.html was the test
case for this but unfortunately it was disabled in bug 1515043. And it seems
that the test case failed on Android in the first place.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 23:47:32 +00:00
Kris Maglione
258bee16d9 Bug 1489496: Add diagnostics for strange failures. r=me,test-only 2019-02-13 15:31:40 -08:00
shindli
54aa04bfd1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-13 23:36:24 +02:00
Markus Stange
5030ae1b0e Bug 1491445 - Make the ChildView always non-opaque and let NSVisualEffectView handle clearing of vibrant areas. r=spohl
This is a clearer implementation that achieves the same thing.

Moreover, disabling the clearing by overriding drawRect wouldn't work in
CoreAnimation windows because in CoreAnimation windows, the clearing happens
through a property of the NSVisualEffectView's CALayer, and not through the
view's drawRect implementation - drawRect probably isn't even called in that
context.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 18:51:20 +00:00
Markus Stange
7023a7ce58 Bug 1491445 - Move any drawing from the ChildView into a new subview called PixelHostingView. r=spohl
This has two advantages:
 - The drawing will now correctly be placed "on top" of the vibrancy views.
 - We can turn this new view into a layer-hosting view. Layer-hosting views are
   supposed to be leaf NSViews; they shouldn't have any children.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 17:50:41 +00:00
Markus Stange
01ea2d7bed Bug 1491445 - Don't return YES from allowsVibrancy for the contentView of context menu windows. r=spohl
Otherwise, any views inside the contentView are imbued with a vibrant effect, and
even non-NSVisualEffectView NSViews subtract from the vibrant region of any actual
vibrant views they overlap. This would cause the PixelHostingView to 'erase' the
blue context menu item highlighting.

This behavior is documented on NSVisualEffectView:

> It is recommended that you enable vibrancy only in the leaf views of your view
> hierarchy. Subviews inherit the vibrancy of their parent. Once enabled in a
> parent view, a subview cannot turn off vibrancy. As a result, enabling
> vibrancy in a parent view can lead to subviews that look incorrect if they are
> not designed to take advantage of the vibrancy effect.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 17:50:27 +00:00
Markus Stange
5adfba9115 Bug 1491445 - Wrap vibrancy and nondraggable views inside container views. r=spohl
NSView hierarchy before:

 - window contentView
   - ChildView
     - NonDraggableView 1
     - NonDraggableView 2
     - EffectViewWithoutForegroundVibrancy 1
     - EffectViewWithoutForegroundVibrancy 2

NSView hierarchy after:

 - window contentView
   - ChildView
     - ViewRegionContainerView
       - NonDraggableView 1
       - NonDraggableView 2
     - ViewRegionContainerView
       - EffectViewWithoutForegroundVibrancy 1
       - EffectViewWithoutForegroundVibrancy 2

This allows us to give those container views a new sibling view which stays
fixed in z-order with respect to the NSViews that get created by
mNonDraggableRegion and mVibrancyManager. More specifically, I'm going to add a
view for the drawing of our ChildView ("PixelHostingView") which is going to be
a direct child of the Gecko "ChildView" and a sibling of the
ViewRegionContainerViews; the PixelHostingView needs to always stay on top of
the vibrancy views.
Without the wrapper around the vibrancy views, whenever the vibrant region
changes, a vibrant view would be placed on top of the PixelHostingView and the
order would be wrong.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 17:50:12 +00:00
Byron Campen [:bwc]
6c3be1079f Bug 1524642 - Part 2: In getReceivers/Senders, do not include stopped transceivers. r=jib
Depends on D19548

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

--HG--
extra : moz-landing-system : lando
2019-02-13 19:09:59 +00:00
Byron Campen [:bwc]
2ca464bba8 Bug 1524642 - Part 1: Re-enable/fix some webrtc wpt. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19548

--HG--
extra : moz-landing-system : lando
2019-02-13 19:30:06 +00:00
Randall Barker
0ded0d1e19 Bug 1522324 - Update GeckoView API to match current Gecko autoplay implementation r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D19209

--HG--
extra : moz-landing-system : lando
2019-02-14 01:38:54 +00:00
Brindusan Cristian
44cac3f90f Backed out changeset eac52dd0d152 (bug 1525846) for mochitest failures at test_chrome_ext_permissions.html and bc failures at browser_webext_incognito.js. 2019-02-14 03:29:33 +02:00
Kartikaya Gupta
d8b8a6e9e3 Bug 1523956 - Add a null check against mRefreshTimerVsyncDispatcher getting nulled concurrently. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19703

--HG--
extra : moz-landing-system : lando
2019-02-13 22:46:19 +00:00
Shane Caraveo
1e955787e8 Bug 1525846 ensure ExtensionPermissions is fully initialized prior to changing r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D19199

--HG--
extra : moz-landing-system : lando
2019-02-14 00:34:19 +00:00
Michael Kaply
468a045fe5 Bug 1527630 - Query icons based on device pixel ratio. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D19668

--HG--
extra : moz-landing-system : lando
2019-02-13 23:19:23 +00:00