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

9868 Коммитов

Автор SHA1 Сообщение Дата
Razvan Caliman d265ff3a16 Bug 1449893 - Implementation for managing variation instances. r=gl
MozReview-Commit-ID: DoJig5FAMQn
2018-04-20 05:13:00 +03:00
Razvan Caliman 751e8102a2 Bug 1449893 - Redux setup for managing font variation instances. r=gl
MozReview-Commit-ID: G4xrAHypsyJ
2018-04-20 05:12:00 +03:00
Kris Maglione 882b43fb78 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs

--HG--
extra : rebase_source : f5460c6c7cb7dbd844c03edb6158cfdeb5e1dd9f
extra : absorb_source : d112aeea40576383a9acc7573cc4cde71b5150fb
extra : histedit_source : fb0ac000504068db820193823bcf1e6fac9fa3cf
2018-04-15 14:22:55 -07:00
Kris Maglione 4aca6ba34b Bug 1454202: Part 4 - Convert add-on providers to use promise-based methods. r=aswan
MozReview-Commit-ID: 9e4CtcxWSiM

--HG--
extra : rebase_source : a59906e79090adc6f14ec04420a4caadc3aa8054
extra : absorb_source : 63a34a639e3ea87fb52d6c68a85b5c0158ab3874
extra : histedit_source : ddb47d22ac82b78beac32883591126f37a9088ba
2018-04-21 15:30:40 -07:00
Kris Maglione 877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Andreea Pavel a217a02a9e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-21 18:26:31 +03:00
Jason Laster 85bba01ca2 Bug 1455345 - Update Debugger Frontend v42. r=jdescottes 2018-04-21 07:49:05 -04:00
Andreea Pavel 5743b5b700 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 12:31:28 +03:00
Boris Zbarsky 17995a441f Bug 1453869 part 9. Stop creating DOMParser by contract in devtools. r=tromey
There are some extra hoops here because devtools has a lint to prevent Cu.importGlobalProperties, which is the normal way one would import a WebIDL constructor.

MozReview-Commit-ID: 2mdNI6N1z5B
2018-04-20 23:04:40 -04:00
Dorel Luca 65669dae30 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 02:00:04 +03:00
Boris Zbarsky 45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Andreea Pavel 5bb0fde6e9 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-21 12:34:21 +03:00
Mark Banner 6e2b2b6f35 Bug 1455581 - Enable ESLint rules no-undef and no-unused-vars for devtools/client/framework/. r=jdescottes
MozReview-Commit-ID: IGwI0JkIDkf

--HG--
extra : rebase_source : 249c0dafab4bafca8a30c3c90fa2ebc266131722
2018-04-20 12:17:40 +01:00
Julian Descottes 4ca0c8f5e9 Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep

--HG--
extra : rebase_source : 835294eb76b49ee696030ab6fa6ba45c4bcdedef
2018-04-05 21:39:10 +02:00
Julian Descottes 2833977cbb Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW

--HG--
extra : rebase_source : ec559b332cc5cc5b563a8d122acbe3d139b64b00
2018-04-20 16:27:15 +02:00
Julian Descottes 20d06fef31 Bug 1445197 - part 2: Add a temporary icon for the application panel;r=sole
Basic icon to display something while we wait for a better icon to replace
it.

MozReview-Commit-ID: 2BT6jqLrd95

--HG--
extra : rebase_source : f51e5dff37694442becd83341fca03a94f5ccc15
2018-03-21 11:40:56 +01:00
Julian Descottes 302d577066 Bug 1454931 - Display help screen when no service worker is available;r=sole
MozReview-Commit-ID: JDPX45YIkrB

--HG--
extra : rebase_source : 73e5f73be441e11a160276344fcd14cc6b379149
2018-03-19 18:55:22 +01:00
Dorel Luca 3409e8f9fb Merge mozilla-central to autoland
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Nicolas Chevobbe 13c27bdca7 Bug 1310630 - Pass a createLongStringClient prop to the ObjectInspector; r=bgrins,Honza.
This will allow long strings to be expanded.
Tests will be added per Bug 1403448.

MozReview-Commit-ID: CUUN6uWTMDF

--HG--
extra : rebase_source : 4f27d63213e25f5a559225e2875a5794040bd554
extra : source : ddcfd0eb2d9ea20ddec56c9d8f25c6c0c4ec12e2
2018-04-16 11:32:29 +02:00
Julian Descottes ee27225940 Bug 1445197 - part 1: Create an application panel for DevTools;r=Honza,nchevobbe,sole
Register a new application panel, disabled by default, with no icon, no shortcut
and hidden from the devtools options.

Set devtools.application.enabled to true to enable it.

MozReview-Commit-ID: L5PXZVDCRlF

--HG--
extra : rebase_source : 0ec04569b6050cfb1f7549aa042551879a22a842
2018-03-14 21:21:02 +01:00
Gurzau Raul a49de7679a Backed out changeset 0ffcaeada9fc (bug 1454045) for devtools failures on browser_rules_edit-value-after-name_04.js on a CLOSED TREE
--HG--
extra : histedit_source : f98131a3bbea2c364e5e20037f4e17dfe8dde783
2018-04-20 18:14:32 +03:00
abhinav eb9675f500 Bug 1454045 - Downgrade `openTrustedLinkIn` for DevTools where pages don't need special powers. r=jryans
MozReview-Commit-ID: 50woQbADx79

--HG--
extra : rebase_source : 52408918f0653725cc407178b008392ff4b197b7
2018-04-19 22:33:12 +05:30
Xidorn Quan def50aae9b Bug 1448757 part 2 - Move longhand animation type table into devtools. r=daisuke
After switching to Stylo, animation is handled by Servo, and thus it no
longer relies on the animation type recorded in nsCSSPropList.h, and
devtools become the only consumer of that information.

This patch puts a map of longhands to animation types into devtools
instead. The map is extracted from nsCSSPropList.h by the script below
based on the logic of nsDOMWindowUtils::GetAnimationTypeForLonghand.

There are two reasons that I don't port this into Servo:

First, Servo doesn't have a concept of property-level animation type.
Animation change in Servo is directly encoded into value types. It means
porting this to Servo would require creating a new concept purely for
devtools. It's not great because that data doesn't reflect how animation
is handled in the engine, and people may keep forgetting to give proper
animation type to new animatable types they add.

Second, the handling of animation type in devtools also looks rather
arbitrary to me. For example, eStyleAnimType_Corner_* types are actually
two coordinate values, bug GetAnimationTypeForLonghand returns "coord"
for them, and devtools just parses the first value and uses it. This
means the animation type here is really more closely related to how
devtools handles the value, rather than how the style engine does so.

Given above, I decided to put the list into devtools rather than encode
the information into Servo code. To encourage people to think about
animation handling in devtools for new properties, there is also a new
test added to ensure every property has a devtools animation type.

The content of ANIMATION_TYPE_FOR_LONGHANDS is generated via running
the following script in layout/style:

```python
#!/usr/bin/env python3

import subprocess
from collections import defaultdict

ANIMTYPE_MAPPING = {
    "Custom": "custom",
    "Coord": "coord",
    "Sides_Top": "coord",
    "Sides_Right": "coord",
    "Sides_Bottom": "coord",
    "Sides_Left": "coord",
    "Corner_TopLeft": "coord",
    "Corner_TopRight": "coord",
    "Corner_BottomRight": "coord",
    "Corner_BottomLeft": "coord",
    "nscoord": "length",
    "float": "float",
    "Color": "color",
    "ComplexColor": "color",
    "PaintServer": "paintServer",
    "Shadow": "shadow",
    "Discrete": "discrete",
    "None": "none",
}

input = b"""
#define CSS_PROP(name, id, method, flags, pref, \\
                 variant, kwtable, animtype) name, flags, animtype
#include "nsCSSPropList.h"
"""
props = subprocess.check_output(["clang", "-E", "-P", "-"], input=input)
props = props.decode("ascii")
result = defaultdict(list)
for line in props.splitlines():
    line = line.strip()
    if not line:
        continue
    name, flags, animtype = line.split(", ")
    assert animtype.startswith("eStyleAnimType_")
    if "CSS_PROPERTY_PARSE_INACCESSIBLE" in flags:
        continue
    animtype = ANIMTYPE_MAPPING[animtype[15:]]
    result[animtype].append(name)
print("[")
for animtype, names in result.items():
    print('  ["{}", new Set(['.format(animtype))
    for name in names:
        print('    "{}",'.format(name))
    print("  ])],")
print("]")
```

MozReview-Commit-ID: BGiGq0jUgG5

--HG--
extra : rebase_source : 54fc15b9ccdb6c11d06160d63b8f4b911b754d5a
2018-04-20 14:06:47 +10:00
Nicolas Chevobbe 2a7ab5bc4d Bug 1452566 - Release: devtools-reps 0.23.0 bundle; r=nchevobbe.
Change disabledFocus to focusable as it changed in the ObjectInspector.

MozReview-Commit-ID: CDHotb0d4sL

--HG--
extra : rebase_source : 3390cf6aa1d79ef24f98b74cdece50cae36b937b
2018-04-17 15:16:44 +02:00
Daisuke Akatsuka 6aafb71029 Bug 1226272 - Part 5: Add test for reordering the tabs in toolbox. r=jdescottes
MozReview-Commit-ID: 563QluM2sGw

--HG--
extra : rebase_source : 897214e6882be7f0c5ce92c54eb4c15571648189
2018-04-19 18:49:02 +09:00
Daisuke Akatsuka a1056f191a Bug 1226272 - Part 4: Change the style which is for while dragging. r=jdescottes
MozReview-Commit-ID: 1JQ0bix8eZ

--HG--
extra : rebase_source : 24d2f411dd47382dac6897f1969d7632a496e13a
2018-04-19 18:48:58 +09:00
Daisuke Akatsuka 00f1e63edd Bug 1226272 - Part 3: Handle overflowed tabs. r=jdescottes
MozReview-Commit-ID: 77V2VIbIp0l

--HG--
extra : rebase_source : 22583399166915bd4eeb7fa22297a008824c5f1f
2018-04-19 18:48:53 +09:00
Daisuke Akatsuka 099d3af18c Bug 1226272 - Part 2: Implement saving and loading the tabs order preference. r=jdescottes
MozReview-Commit-ID: JoVcnPwvVW7

--HG--
extra : rebase_source : 4d8026100088525815cb1fdc64e4843f8405aafc
2018-04-19 18:46:55 +09:00
Daisuke Akatsuka 740415b61d Bug 1226272 - Part 1: Make devtools tab draggable and reorderable. r=jdescottes
MozReview-Commit-ID: 3EdbVvG69H8

--HG--
extra : rebase_source : 544d099fa8634cc82da8541d9ffe3544c8cc9569
2018-04-19 18:41:56 +09:00
Cosmin Sabou 5e9d16a446 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-20 01:37:07 +03:00
Cosmin Sabou 4595d43d3a Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
2018-04-20 01:29:10 +03:00
Mantaroh Yoshinaga 02fd8810a1 Bug 1455204 - Hide close button on browser console and browser toolbox. r=jdescottes
This patch will hide toolbar's close button if debug target is not local tab
like browser toolbox.

MozReview-Commit-ID: Guf6QhzkGIV

--HG--
extra : rebase_source : aa16b7cf2f540405f5bbd51584f6c8f747db27af
2018-04-19 14:56:42 +09:00
Johann Hofmann 29d2c4832d Bug 1451486 - Part 1 - Ignore the storage attribute on indexedDB.open() by default. r=asuth,baku
MozReview-Commit-ID: 844FRkx3rKZ

--HG--
extra : rebase_source : 962cd1ade83b34561ebd6cd70365b44b85a3aa95
2018-04-10 23:00:30 +02:00
Julian Descottes 2abcfa7fec Bug 1455226 - Load memory/initializer.js via browserRequire instead of a script tag;r=ochameau
"async" methods defined in scripts loaded via a <script> tag seem
to indirectly use the document's Promise, which is not usable after
the DOM of the document has been destroyed.

This is an issue if we invoke this code during the destroy of the
toolbox.

MozReview-Commit-ID: C8juQqJlVDN

--HG--
extra : rebase_source : 1d30dd878721119064081dfa33881488f7600a4b
2018-04-19 19:12:18 +02:00
Belén Albeza 21f04c4d9f Bug 1454895 - allow toolbox to call getProcess when debugging a local tab. r=jryans
MozReview-Commit-ID: 19bhk3Wn9qE

--HG--
extra : rebase_source : f0926cbe239059cfd45cd2527db94a7b2106e4a5
2018-04-19 17:56:02 +02:00
Belén Albeza 21708e7c70 Bug 1454350 - simplify devtools docs to use mercurial. r=sole
MozReview-Commit-ID: 4C65NdlGtzl

--HG--
extra : rebase_source : 331619d8250cdcc71c0a7316839055d1982551b2
2018-04-16 14:53:58 +02:00
Noemi Erli 7e6ef531b7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-19 12:58:43 +03:00
Noemi Erli 875e5ed0a1 Merge inbound to mozilla-central. a=merge 2018-04-19 12:53:30 +03:00
Mike Ratcliffe 38773abdb6 Bug 1451991 - Devtools: Localstorage didn't list item whose key names "key" r=nchevobbe
MozReview-Commit-ID: 3AQC47GKud0

--HG--
extra : rebase_source : 0bbcebab0aeb97b51f078673d151eab263080c62
2018-04-14 00:33:42 +01:00
Bogdan Tara 6cb59b5809 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-19 01:46:00 +03:00
Bogdan Tara 9bf1554768 Merge inbound to mozilla-central. a=merge 2018-04-19 01:36:28 +03:00
Razvan Caliman 1a12edd85d Bug 1450650 - Clamp x/y values to current viewport when dragging a marker in the shape editor. r=gl
- Compute constraints so that a dragged marker stays visible with the viewport.
- Constrain dragging of marker to the viewport of the node's host window.
- If the marker is visible outside of the node host's viewport (ex:
shapes within a smaller iframe nested in a larger document), do not
constrain that marker and allow dragging it outside the viewport.
If dragging starts while the marker is within its intended viewport,
do constrain it to that viewport.

MozReview-Commit-ID: 9JyEfseSLXW
2018-04-18 15:00:48 -04:00
Mantaroh Yoshinaga 80d5fe7c55 Bug 1444793 - Make focus style of tool tab to be same as hover style. r=nchevobbe
This patch removed the border and outline from focus style of tool tab and make
its style to be same as hover styles.

MozReview-Commit-ID: KD97vYiyUX2

--HG--
extra : rebase_source : 83fd2d5b743ac8488c711e98e316a39e9c8be30f
2018-04-18 17:37:48 +09:00
Ludovic Hirlimann c2504ec836 Bug 1371346 - Remove unused/dead Presentation API code. r=mconley
--HG--
extra : rebase_source : 9591f613d313de368f923c3754d590c670c25fe9
extra : source : 6046b79949c44c5cec26a22490bd695d4cdc7dcb
2018-04-14 13:39:56 -04:00
Andreea Pavel 465753992f Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-18 20:13:24 +03:00
Xidorn Quan a8cc0738f6 Bug 1452542 part 6 - Replace uses of PythonCSSProps.h with the data file generated from Servo. r=froydnj
Some content in Makefile.in is removed because after this change, the
scripts no longer invoke the preprocessor and thus don't have unknown
dependencies anymore outside what is provided in their inputs array.

The order of exports.PREFERENCES in properties-db changes because the
data file has shorthands placed after longhands. The only usage of it
is in test_css-properties-db.js which doesn't care about the order.

MozReview-Commit-ID: AMjzTRf2HYN

--HG--
extra : rebase_source : 7976e48e7c7bba467d77a34ab0d7709cde1ecdf4
2018-04-17 14:40:12 +10:00
Xidorn Quan 2eb6a2b317 Bug 1452542 part 2 - Sort nsCSSPropAliasList.h in alphabetic order so that we can list them in Servo side. r=dholbert,emilio
MozReview-Commit-ID: GmrjJHI8fqw

--HG--
extra : rebase_source : 4338bf73bd1b1da15324bf5687d418e087bda0c4
2018-04-11 13:42:13 +10:00
Xidorn Quan 3cffe7cfeb Bug 1452542 part 1 - Fix the order in nsCSSPropList.h. r=emilio
MozReview-Commit-ID: GnzDsJb7KlB

--HG--
extra : rebase_source : c5cad8adf0e866c334a0921904fefd41bb0126ac
2018-04-11 13:38:44 +10:00
Nicolas Chevobbe 9e1fe9b067 Bug 1451021 - Migrate PropertyIteratorActor to protocol.js; r=ochameau.
MozReview-Commit-ID: 1yTtcO92HWU

--HG--
extra : rebase_source : 0822c4d3033ab3cd97f7b4793f77565ea17f9706
2018-04-10 09:44:38 +02:00
Alexandre Poirot db050d4da5 Bug 1454792 - Prevent duplicating arrays in Array type's read/write methods. r=jryans
MozReview-Commit-ID: 82GYGZUs6TH

--HG--
extra : rebase_source : ba3b473ef5211cc0fa9901db5d193ef147035dcc
2018-04-05 09:23:09 -07:00