Commit Graph

636550 Commits

Author SHA1 Message Date
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
Jason Laster
395b694a1e Bug 1527629 - Enable Log Points. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D19667

--HG--
extra : moz-landing-system : lando
2019-02-13 17:14:13 +00:00
Paul Bone
719b50bee3 Bug 1527225 - Use mozilla::Clamp in maybeResizeNursery() r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D19473

--HG--
extra : moz-landing-system : lando
2019-02-13 14:48:31 +00:00
James Teh
3676e15738 Bug 1436086: Implement keyboard navigation for the main and Bookmarks toolbars. r=Gijs
Having separate tab stops for every toolbar control results in an unmanageable number of tab stops.
Therefore, we group several buttons under a single tab stop and allow movement between them using left/right arrows.
However, text inputs use the arrow keys for their own purposes, so they need their own tab stop.
There are also groups of buttons before and after the URL bar input which should get their own tab stop.
The subsequent buttons on the toolbar are then another tab stop after that.

Tab stops for groups of buttons are set using the <toolbartabstop/> element.
This element is invisible, but gets included in the tab order.
When one of these gets focus, it redirects focus to the appropriate button.
This avoids the need to continually manage the tabindex of toolbar buttons in response to toolbarchanges.

Navigation to for the View site information button and notification anchors is now managed by this new framework.
As such, they no longer need their own position in the tab order and the CSS has been tweaked accordingly.

For now, this new functionality is behind a pref (browser.toolbars.keyboard_navigation) which is currently disabled by default.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 22:51:06 +00:00
Jason Laster
e5c5dceda1 Bug 1527612 - Format displayName in the server. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D19666

--HG--
extra : moz-landing-system : lando
2019-02-13 22:32:00 +00:00
Edwin Gao
1f7bbb6dc2 Bug 1527469 - add necessary piping to enable windows10-aarch64 build and tests on try r=jmaher,gbrown
- makes changes to various configuration files, thanks jmaher
- for the time being, disable tests via `taskcluster/ci/test/test-platforms.yml` to prevent overwhelming the hardware at Bitbar

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

--HG--
extra : moz-landing-system : lando
2019-02-13 21:10:16 +00:00
Tooru Fujisawa
cd1eff2104 Bug 1526234 - Add --dump-bytecode to fuzz-flags.txt. r=gkw
Differential Revision: https://phabricator.services.mozilla.com/D19136

--HG--
extra : moz-landing-system : lando
2019-02-13 11:56:49 +00:00
Rob Wu
861487eec5 Bug 1522918 - Fully remove optional permission data upon uninstall r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D18217

--HG--
extra : moz-landing-system : lando
2019-02-12 14:04:39 +00:00
Dzmitry Malyshau
f8d9851e68 Bug 1527498 - WR texture cache code cleanup r=jrmuizel
This is a preparatory change that can be useful by itself:
  - use match on EntryKind to allow safe expansion
  - avoid code duplication in get()
  - fix some comments

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

--HG--
extra : moz-landing-system : lando
2019-02-13 21:49:55 +00:00
Glenn Watson
e44f3a225c Bug 1527522 - Add external hooks to WR to allow integration with the Gecko profiler. r=kvark,emilio
Differential Revision: https://phabricator.services.mozilla.com/D19611

--HG--
extra : moz-landing-system : lando
2019-02-13 21:46:32 +00:00
Nika Layzell
dbec7d4975 Bug 1526382 - Part 2: Make nsIClassInfo use Array<nsIIDRef> for 'interfaces', r=mccr8
This is a follow-up to the previous part, which actually changes one of
these callers to use Array<nsIIDRef> instead of [array] nsIIDPtr.

From doing this patch, it seems like we should consider changing
the type `nsIIDRef` to instead simply be `nsIID`, and treat it more like
the `AString` types from the POV of XPIDL. `nsIIDPtr` would then
continue to exist for backwards compatibility, but we can probably
remove almost all current consumers over time.

Depends on D19175

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

--HG--
extra : moz-landing-system : lando
2019-02-13 21:42:08 +00:00
Nika Layzell
1c2a9c2b07 Bug 1526382 - Part 1: Split nsID& and nsID* in xpconnect, r=mccr8
Currently the [ref] and [ptr] types share the same underlying
implementation. This is unfortunate, and can cause correctness problems
with outparam refs (as an example).

By using the same tools used to allow other larger objects (such as
jsid, nsTArray, and nsString) to be stored directly in the nsXPTCVariant
object, this patch directly stores the nsID in the nsXPTCVariant object
when calling from JS into C++.

Using this new strategy avoids an nsID* allocation every time we pass
one over XPConnect, and should also allow us to simplify callers.

In addition, some special casing is added to xpidl to make it possible
to use the nsid reference type objects directly inside of Array<T>,
which will allow us to remove `[array] nsIIDPtr` callers.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 21:42:00 +00:00
Brindusan Cristian
a98117f137 Backed out 12 changesets (bug 1460874) for geckoview failures at geckoview.test.RuntimeSettingsTest.automaticFontSize.
Backed out changeset 593a2316ac28 (bug 1460874)
Backed out changeset 3d4297e781cb (bug 1460874)
Backed out changeset 2020cb134d1f (bug 1460874)
Backed out changeset 9fc145133f20 (bug 1460874)
Backed out changeset 17fbff3da236 (bug 1460874)
Backed out changeset 1026b786e779 (bug 1460874)
Backed out changeset 78f59df737fc (bug 1460874)
Backed out changeset 81c4e88003a5 (bug 1460874)
Backed out changeset 02f24dec5ae4 (bug 1460874)
Backed out changeset c7fce6c79bef (bug 1460874)
Backed out changeset d42e39761eb8 (bug 1460874)
Backed out changeset 2d5e902b5b88 (bug 1460874)

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoFontScaleListener.java => mobile/android/base/java/org/mozilla/gecko/GeckoFontScaleListener.java
2019-02-13 23:37:14 +02:00
Dão Gottwald
dbefcef892 Bug 1527324 - Fix Quantumbar tag font-size. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D19660

--HG--
extra : moz-landing-system : lando
2019-02-13 20:20:09 +00:00