Граф коммитов

620550 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 0cc932a863 Bug 1501286 - Part 4: Remove the browser.contentblocking.ui.enabled pref from several tests which now set it needlessly r=johannh
Depends on D9521

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:24 +00:00
Ehsan Akhgari df7b68e39e Bug 1501286 - Part 3: Remove support for tracking protection UI in about:privatebrowsing r=johannh
Depends on D9520

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:22 +00:00
Ehsan Akhgari eb682c1609 Bug 1501286 - Part 2: Remove support for tracking protection UI from Control Centre r=johannh
Depends on D9519

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:20 +00:00
Ehsan Akhgari 6b3a2ee705 Bug 1501286 - Part 1: Remove support for the tracking protection UI from Preferences r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D9519

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:18 +00:00
Michael Ratcliffe 06c0296e50 Bug 1499668 - Highlighter canvas coordinates switch from 0,0 top left to 0,0 top right when inspecting RTL nodes r=gl
I tried all kinds of CSS changes and experiments to get to the bottom of this.

This is due to an incompatibility between the flexbox API and `devtools/shared/layout/dom-matrix-2d.js::getWritingModeMatrix()`.

Take the following flexbox item:

```
 ______________________________
| ___                          |
||   |                         |
||___|                         |
|______________________________|
```

In LTR mode the coordinates would be something like 5, 10, 25, 35 (x1, y1, x2, y2).

Now let's look at RTL mode:

```
 ______________________________
|                          ___ |
|                         |   ||
|                         |___||
|______________________________|

```
In RTL mode the coordinates would be something like 85, 10, 105, 35 (x1, y1, x2, y2).

getWritingModeMatrix() flips the canvas in RTL mode naively assuming that this will flip our overlay. This causes 2 problems:

1. 0,0 moves from the top left to the top right, complicating our calculations.
2. The flexbox API returns coordinates relative to the top left of the canvas and not the top right.

Similar issues are caused by setting writing modes that results in flipping and rotating the canvas in similar ways.

In a nutshell rotating the canvas actually complicates our calculations instead of simplifying them.

This patch adds two named parameters to allow opting out of writing mode and RTL calculations.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 16:52:00 +00:00
florin.strugariu e6070d471c Bug 1501788 - godot tweaks r=jmaher jmaher
Differential Revision: https://phabricator.services.mozilla.com/D9754

--HG--
extra : moz-landing-system : lando
2018-10-25 11:34:21 +00:00
Dorel Luca 2266740ca6 Backed out changeset 3db828b6494a (bug 1501734) for spidermonkey failures 2018-10-25 14:57:52 +03:00
Belén Albeza 9a1b78ba5c Bug 1494552 - Allow user to refresh USB devices. r=jdescottes,daisuke
Adds a "Refresh devices button". I was unsure on whether this button should use state for this or just plug directly into the adb module. In the end I opted for doing it via actions/state because it would also allow us to show somewhere else an indication of whether the scanner is running or not (in case we need it). But if you think this is overkill, I'll gladly change it.

To try it, with the device connected, open and close firefox. If you press Refresh you should see the list update.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 11:29:11 +00:00
Adrian Wielgosik e73a2f3566 Bug 1480245, part 5 - Clean up some uses of nsXPTInterfaceInfo::GetMethodInfo. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D9647

--HG--
extra : moz-landing-system : lando
2018-10-25 09:54:30 +00:00
Jason Orendorff 2c6280767e Bug 1501734 - Enable streams by default in the JS shell. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D9673

--HG--
extra : moz-landing-system : lando
2018-10-24 16:53:09 +00:00
Adrian Wielgosik d4785563da Bug 1480245, part 4 - Remove always-true nsXPTInterfaceInfo::IsScriptable(). r=nika
Differential Revision: https://phabricator.services.mozilla.com/D9646

--HG--
extra : moz-landing-system : lando
2018-10-25 09:55:05 +00:00
Adrian Wielgosik 3aae9fcc99 Bug 1480245, part 3 - Remove always-true nsXPTInterfaceInfo::EnsureResolved(). r=nika
Differential Revision: https://phabricator.services.mozilla.com/D9645

--HG--
extra : moz-landing-system : lando
2018-10-24 17:39:47 +00:00
Adrian Wielgosik d0b8c2be2e Bug 1480245, part 2 - Stop storing a copy of interface name in nsXPCWrappedJSClass. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D9644

--HG--
extra : moz-landing-system : lando
2018-10-24 17:39:17 +00:00
Adrian Wielgosik e6326985f3 Bug 1480245, part 1 - Remove compatibility methods from nsXPTInterfaceInfo. r=nika
I left GetMethodInfo, GetConstant as they are still useful as separate methods.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 09:56:26 +00:00
Gijs Kruitbosch fd6e0060d2 Bug 1501592 - remove remaining expired feed telemetry, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D9665

--HG--
extra : moz-landing-system : lando
2018-10-25 10:52:59 +00:00
Marco Zehe e67f242eb0 Bug 1501899 - Label the Identity popup with the Site information header for accessibility, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D9757

--HG--
extra : moz-landing-system : lando
2018-10-25 09:33:23 +00:00
Mike Hommey 3d7847dc20 Bug 1501885 - Switch hfsplus toolchain to clang 7. r=ted
And remove the clang-6 toolchain, which is now unused.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 10:35:59 +00:00
Tom Schuster 0959f0508c Bug 1499821 - Introduce the FindDataFlavor helper function to nsTransferable. r=froydnj
This combines some of your ideas from D8074, in which I think is quite a big improvement to the overall code.

The code for nsTransferable::GetTransferData, especially nsIFlavorDataProvider is a bit wonky, because I tried to preserve the current behavior.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 10:04:43 +00:00
Daniel Varga e714ee2384 Merge mozilla-central to autoland. a=merge 2018-10-25 12:57:24 +03:00
Daniel Varga e0c879c86b Merge mozilla-inbound to mozilla-central. a=merge 2018-10-25 12:53:20 +03:00
Daniel Varga 095b7cc387 Merge autoland to mozilla-central. a=merge 2018-10-25 12:51:12 +03:00
Julian Descottes 93027bfede Bug 1501918 - Restore tooltip size when updating Variable and BrokenImage content;r=pbro
Another regression linked to removing setContent API on HTMLTooltip.
The initial feedback to remove the method was from me, because we started seeing
two ways to set the content of the tooltip (DOM APIs or setContent) and I prefered
keeping only one. However the DOM approach still almost forces you to call setContentSize
in case your tooltip instance is shared for different content.

This is the case for the preview tooltip, which is used for CSS variables, fonts and image
previews. Maybe we should revisit the decision to remove this setContent API

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

--HG--
extra : moz-landing-system : lando
2018-10-25 09:44:18 +00:00
Marco Zehe d66ed81dfa Bug 1501595 - Return the correct region-specific role for named html:section elements, r=Jamie
Bug 1210630 introduced a mapping of the html:section element to roles::LANDMARK, however roles::REGION is more appropriate since that is also used by the WAI-ARIA role mapping and contains specific mappings for regions, e. g. on Mac.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 01:41:15 +00:00
Wes Kocher 23d13edfbb Bug 1499963 - Update metadata for wpt pointerevents tests r=jgraham
Pointerevents aren't turned on for android, so the tests are obviously failing.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 05:17:29 +00:00
Masayuki Nakano ede88b49c1 Bug 1501180 - Make TextEditRules::Notify() hide input characters via editor instance r=m_kato
TextEditRules::Notify() is callback of the timer.  Therefore, this won't be
in the stack while editor handles an edit action.  Then, TextEditRules
cannot access edit action data which will be put on the stack after fixing
bug 1465702.  So, it should do it after once calling a method of editor
instance (and editor instance should call back proper TextEditRules method).

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

--HG--
extra : moz-landing-system : lando
2018-10-25 03:35:26 +00:00
Wes Kocher 5e4d5b8202 Bug 1499904 - Followup to really mark these tests as failing on android a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D9751

--HG--
extra : moz-landing-system : lando
2018-10-25 04:49:39 +00:00
Masayuki Nakano 446538a446 Bug 1501177 - Create HTMLEditor::InsertAsCitedQuotationInternal() for internal use of nsIEditorMailSupport::InsertAsCitedQuotation() r=m_kato
HTMLEditor::InsertAsCitedQuotation() is an XPCOM method, so, it shouldn't be
used for internal use.  Instead, there should be non-virtual method and
InsertAsCitedQuotation() should use it.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 04:49:13 +00:00
Csoregi Natalia ad08e22419 Merge mozilla-central to autoland. CLOSED TREE 2018-10-25 07:47:13 +03:00
Csoregi Natalia 9fbc76ace6 Merge inbound to mozilla-central. a=merge 2018-10-25 07:45:08 +03:00
Csoregi Natalia 9cffb48501 Backed out 4 changesets (bug 1498235) for failures on devtools/client/. CLOSED TREE
Backed out changeset 8399e5224d69 (bug 1498235)
Backed out changeset 134717494734 (bug 1498235)
Backed out changeset 50d5e01b6dda (bug 1498235)
Backed out changeset 9e51e9847562 (bug 1498235)

--HG--
rename : devtools/server/actors/accessibility/accessibility-parent.js => devtools/server/actors/accessibility-parent.js
rename : devtools/server/actors/accessibility/walker.js => devtools/server/actors/accessibility.js
2018-10-25 06:59:22 +03:00
sotaro 2d27550851 Bug 1496825 - Add ShadowLayerForwarder nullptr check to SendLayersDependentApzcTargetConfirmation() r=kats 2018-10-25 11:23:29 +09:00
Tom Prince 2859637436 Bug 1501776: [taskgraph] Fix flake8 error; rs=bustage-fix a=fix
Differential Revision: https://phabricator.services.mozilla.com/D9745

--HG--
extra : source : 62d141436b6fe23e04086c2bd2ee5d371926ab67
2018-10-25 01:32:07 +00:00
Botond Ballo 44c897a308 Bug 1500565 - Avoid start a fling animation with infinite velocity. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9729

--HG--
extra : moz-landing-system : lando
2018-10-25 00:53:32 +00:00
Daisuke Akatsuka eb01f5fd2e Bug 1500833: Add a test which adds animation then immediately removes that. r=pbro
Depends on D9616

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

--HG--
extra : moz-landing-system : lando
2018-10-25 00:41:00 +00:00
Brad Werth 6d53b458a3 Bug 1498273 Part 4: Add tests of FlexItem clampState. r=dholbert
Depends on D9447

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

--HG--
extra : moz-landing-system : lando
2018-10-25 00:14:40 +00:00
Nika Layzell 1ec79f98ec Bug 1500926 - Part 3: Remove unused WebIDL Codegen items, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D9465
2018-10-24 20:11:01 -04:00
Nika Layzell 65b231b95c Bug 1500926 - Part 2: Support a test-only edgecase in Codegen.py, r=bzbarsky
When running tests, we can build a WebIDL environment with no interfaces
exposed on the primary global. Unfortunately, due to the perfecthash.py logic
not handling empty tables, this causes an assertion to be raised. 

We can work around this by generating some dummy code for that situation, as we
will never try to build it.

Differential Revision: https://phabricator.services.mozilla.com/D9407
2018-10-24 20:11:01 -04:00
Nika Layzell 23c990d165 Bug 1500926 - Part 1: Use a statically generated perfect hash in WebIDLGlobalNameHash, r=bzbarsky
This strategy allows us to dodge dynamic allocations in WebIDLGlobalNameHash.
This removes the Init() and Shutdown() methods, as well as Register. The
RegisterBindings.cpp file now only contains static data and one method
declaration for the WebIDLGlobalNameHash class.

This should also be faster by making the hashtable lookup infallible.

Differential Revision: https://phabricator.services.mozilla.com/D9406
2018-10-24 20:11:01 -04:00
Nika Layzell 5b24f801f7 Bug 1500927 - Add copy-free jsstring support to perfecthash.py, r=bzbarsky
This is needed for bug 1500926. It takes the approach of taking a JSFlatString
and using AutoAssertCannotGC to read the memory directly from the JS heap.
This lets us avoid re-encoding strings when performing lookups, which can be
advantageous.

Only ASCII strings are supported by this handler, and wide strings are hashed
as though they contain only values under 0x7f. This is OK as invalid keys to
perfecthash may return any hashtable entry.

Differential Revision: https://phabricator.services.mozilla.com/D9405
2018-10-24 20:11:01 -04:00
Brad Werth 1600580027 Bug 1498273 Part 3: Define and set ComputedFlexItemInfo::mClampState. r=dholbert
Depends on D9727

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

--HG--
extra : moz-landing-system : lando
2018-10-24 23:47:23 +00:00
Brad Werth 2eb1938e51 Bug 1498273 Part 2: Change mHasMinViolation and mHasMaxViolation to also track clamp state after item freeze. r=dholbert
Depends on D8769

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

--HG--
extra : moz-landing-system : lando
2018-10-24 23:46:39 +00:00
Brad Werth 23c8887384 Bug 1498273 Part 1: Updated Flex.webidl to add a per-item clamp state attribute. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D8769

--HG--
extra : moz-landing-system : lando
2018-10-24 23:46:16 +00:00
Tom Prince 6bbb4fce72 Bug 1501776: [taskgraph] Fix duplicated test name; rs=bustage-fix
Differential Revision: https://phabricator.services.mozilla.com/D9741

--HG--
extra : moz-landing-system : lando
2018-10-25 01:01:23 +00:00
Tom Prince af51107381 Bug 1501776: [taskgraph] Make `single_dep` use `primary-dependency` to match `multi_dep`; r=aki
To make switching between `single_dep` and `multi_dep` easier, change
the `dependent-task` to `primary-dependency`.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 22:41:38 +00:00
Tom Prince 3163ffe3fd Bug 1501776: [taskgraph] Don't duplicate definition of `multi_dep` schema; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D9721

--HG--
extra : moz-landing-system : lando
2018-10-24 22:16:49 +00:00
Tom Prince a3549b0a9c Bug 1501776: [taskgraph] Apply extra taskgraph checks to when extending schemas; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D9720

--HG--
extra : moz-landing-system : lando
2018-10-25 00:37:50 +00:00
David Keeler 7473c7494c bug 1499846 - implement user reauthentication on MacOS r=franziskus,spohl
Differential Revision: https://phabricator.services.mozilla.com/D9025

--HG--
extra : moz-landing-system : lando
2018-10-25 00:24:04 +00:00
Botond Ballo 4d499b8dbf Bug 1499941 - Fix spatial vs. scroll coordinate confusion around APZCTreeManager::ProcessDynamicToolbarMovement() and helpers. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9715

--HG--
extra : moz-landing-system : lando
2018-10-25 00:14:58 +00:00
Robert Bartlensky 6cf2bd98ec Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Now autotest does not require java to be installed, but
it will let the user know that infer is not being tested if java
is missing.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 21:54:34 +00:00
Ehsan Akhgari d7bcabf70a Bug 1501657 - Move early betas to use the strict list for the default cookie restrictions r=francois
Differential Revision: https://phabricator.services.mozilla.com/D9657

--HG--
extra : moz-landing-system : lando
2018-10-24 18:52:04 +00:00