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

6853 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes a3b6311216 Bug 1386821 - add a separate flag to check if devtools entry point was recorded;r=ochameau
MozReview-Commit-ID: Ae1k097opw5

--HG--
extra : rebase_source : 3e1c4662c842f4767f8d2d4dd5128a3d24bc2e38
2017-08-03 12:55:26 +02:00
Julian Descottes 67391889ec Bug 1386821 - call initDevTools if devtools.toolbar.visible is true;r=ochameau
MozReview-Commit-ID: C1EFv9T0VKS

--HG--
extra : rebase_source : dc80edf968e75cfdbf3556c062901cbf9875c4a6
2017-08-03 08:57:38 +02:00
Vincent Lequertier 5a41a0dd63 Bug 1382025 - Include the headers size in the netmonitor 'Transferred' column; r=tromey
MozReview-Commit-ID: 4LfbqvxLsqi

--HG--
extra : rebase_source : 88c3381ba546c7afaa31df14cbde0d1c49c77d83
2017-07-30 11:42:26 +02:00
Alexandre Poirot 7fd76cec03 Bug 1387122 - Remove all useless Promise = require("promise"). r=tromey
Promise with a capital 'P' is already available in all DevTools sandboxes.

Still a couple of letfovers:
* Modules still using `Promise.defer()` (will be handled in bug 1387123)
* devtools/shared/defer, which introduces changes in Promise unhandled exception and stacks (bug 1388054)

MozReview-Commit-ID: PBaliHFa7u

--HG--
extra : rebase_source : d148a26e14e5eb34129f5d4c75c2087952ae596f
2017-08-07 17:53:29 +02:00
Wes Kocher 6211964f2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: FevzakV3RlU
2017-08-07 15:26:13 -07:00
Hossain Al Ikram b91c660165 Bug 1386545 - Edit comment to stop false-positiveing for sdk/ usages in debounce.js file. r=sole 2017-08-05 07:50:00 -04:00
Masatoshi Kimura b186427ed3 Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko

--HG--
extra : rebase_source : 1acfd1427a2d81294d6cbc6358b1d1070b4c2c12
2017-08-04 17:12:58 +09:00
Alexandre Poirot 9bf42dcb14 Bug 1078284 - Disable WebIDE tests on all but optimized builds. r=jryans
MozReview-Commit-ID: 7ORmJaJIrtD

--HG--
extra : rebase_source : 59de740a09959caca3eae41ee88983aac8edeb59
2017-08-03 12:26:44 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Cameron McCormack 3c2086d486 Bug 1384398 - Separate family names in font-family serialization with ", ". r=emilio
MozReview-Commit-ID: 9DBCXoy59g3

--HG--
extra : rebase_source : 2dbabd5e0e9426d1e5c943904d313e6e30dc62b6
2017-08-01 23:01:57 +08:00
Sebastian Hengst 39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Tom Tromey 6d4c7b0e3e Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp

--HG--
extra : rebase_source : d1b85ad6c11da44762a86248a51932b80562b9c3
2017-08-04 09:52:25 -06:00
Tom Tromey 8e8ac4d10b Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv

--HG--
extra : rebase_source : 8cfe3e3ec53beeeed8f1707d6d1e80e34f53e30f
2017-08-03 09:00:19 -06:00
Tom Tromey dd8e682c0f Bug 1345533 - display newlines in some console messages; r=nchevobbe
MozReview-Commit-ID: JPz5XUJFQek

--HG--
extra : rebase_source : be05494ce2857acebb8372ab40879a82598ab54f
2017-08-03 08:59:37 -06:00
Masatoshi Kimura 49e04cc095 Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y

--HG--
extra : rebase_source : 98ca14aa59a62309dcbe0c9ed3e961c730ff9db9
2017-08-03 15:50:07 +09:00
Brian Grinstead fbf0accf5f Bug 1383022 - Update helper loadDocument function to use the selectedBrowser as a default;r=nchevobbe
MozReview-Commit-ID: GfWsYn8yqUA

--HG--
extra : rebase_source : 9bb28b1cadfe2be6410ad996b7332a11fb5805c9
2017-08-04 08:32:46 -07:00
Brian Grinstead 229861b1c2 Bug 1383022 - Log a message in the new console frontend when the Console API has been replaced;r=nchevobbe
MozReview-Commit-ID: 56xyY04YM4S

--HG--
rename : devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_warn_about_replaced_api.js
extra : rebase_source : 32d28e3dbe97a64bfe489af9ad1c366120b39f53
2017-08-04 08:32:27 -07:00
Julian Descottes 1738a4ac42 Bug 1387359 - add developer toggle to CustomizableUI even if devtools already loaded;r=nchevobbe
After Bug 1359855, the developer toggle is added to CustomizableUI via devtools-startup.
It is added after browser-delayed-startup-finished is received. However when starting
devtools with --jsconsole, devtools will be initialized before we receive the event and
the toggle will never be added to the UI.

Introducing a new flag here dedicated to the developer toggle and adding a few comments
to the devtools-startup:hookWindow() method which becomes a bit complex now.

MozReview-Commit-ID: IhPFznt0O83

--HG--
extra : rebase_source : d282e39c0588fca29813305292e53e71f93814bd
2017-08-04 11:09:56 +02:00
Sebastian Hengst d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Sebastian Zartner c91335caa5 Bug 1360868 - Properly formatted data URLs in source links. r=gl
MozReview-Commit-ID: 7loVwUynHhw
2017-07-29 11:31:13 +02:00
Wes Kocher 2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Geoff Brown 42b9915f1a Bug 1307846 - Skip test browser_computed_style-editor-link.js for frequent intermittent failures; r=me,test-only 2017-08-03 09:20:55 -06:00
Geoff Brown fbf5d4e31c Bug 1309759 - Skip test browser_rules_style-editor-link.js for frequent intermittent falures; r=me,test-only 2017-08-03 09:20:55 -06:00
Geoff Brown 1ff7bef352 Bug 1368569 - Skip test browser_dbg_worker-console-01.js for very frequent intermittent failures; r=me,test-only 2017-08-03 09:20:55 -06:00
Tom Tromey 639b3c6efc Bug 1370648 - use final token as end location of statement list; r=jimb
This changes the parser to use the final token of a statement list as
it's end location.  This works around some confusing behavior, such as a
breakpoint firing on the marked line:

    <script>
      if (1 !== 1) {
        console.log("dead code!?"); // set breakpoint here
      }
    </script>

MozReview-Commit-ID: 3Sk1ERw5Q6z

--HG--
extra : rebase_source : 6c6338ca183518baec6ccfcb9ae17e24cf644c97
2017-07-14 13:29:52 -06:00
Tim Nguyen 355a783bae Bug 1385702 - Update and clean up close icon styling for photon. r=dao
MozReview-Commit-ID: IpM0Ampi9fE

--HG--
extra : rebase_source : cd7cda3cb86a86cb66113034ac6cb6f2a07b6882
2017-08-03 17:01:36 +00:00
Alexandre Poirot dbebe3ebb7 Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj

--HG--
extra : rebase_source : e34b781a628a8085bdeb8eba090d5d8102d50c76
2017-07-25 18:30:59 +02:00
J. Ryan Stinnett e1b749febc Bug 1386830 - Test profile dirs in Browser Toolbox. r=jdescottes
Before trying to migrate Browser Toolbox profile dirs, ensure the old and new
dirs are actually different.  This avoids an issue where we were constantly
"migrating" the profile to the same place, effectively deleting it on every run.

MozReview-Commit-ID: FUAb2G21nbV

--HG--
extra : rebase_source : 32c6425036196675322c6a5422a6edf8a8aa4498
2017-08-02 16:34:40 -05:00
Julian Descottes 2df26d3e9f Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau
MozReview-Commit-ID: 9ajEa09R0Nb

--HG--
extra : rebase_source : 09e6fd7b50b7319b18cd51ddcbc919de23c5ce49
2017-08-03 14:54:09 +02:00
Julian Descottes def4adbffc Bug 1386357 - remove usage of sdk/timers in DevTools;r=ochameau
MozReview-Commit-ID: 8rC2peDRBJW

--HG--
extra : rebase_source : 0c2636114a2a44017b0f8af749025d7465cfb906
2017-08-02 12:53:20 +02:00
Julian Descottes 17a7e39941 Bug 1387495 - dt-addon: use window object in webconsole/net/main to load stylesheets;r=jryans
From console/net/main.js we are calling loadSheet from sdk/stylesheet/utils.
This API needs a real window object to work, but now that devtools are loaded
as a system addon, by default the global object is a sandbox wrapper.

Use the window object which points to the actual Window instead.

MozReview-Commit-ID: LxDNfDiOso3

--HG--
extra : rebase_source : 375ad339788354a9787cbba648155319edf8b9be
extra : source : 7827d2406fc608386e13fbb0296b2136f4a0d355
2017-07-12 19:26:33 +02:00
Julian Descottes 9679ff0b5a Bug 1386584 - Remove JSM boilerplate in devtools/shared/platform/chrome/stack;r=ochameau
MozReview-Commit-ID: EgbKH70NsM9

--HG--
extra : rebase_source : 00cb0d2d0732b55ca39d22adc819d9aabb547a5a
2017-08-02 13:24:14 +02:00
Nicolas Chevobbe c80141a452 Bug 1386551 - Import component-frame.css in new frontend; r=bgrins.
This file takes care of the layout for stack traces, which can be displayed
in the console (for errors, console.trace, …).
The file was declared in webconsole.xul but not ported in webconsole.xhtml.

MozReview-Commit-ID: FFXAB14XZ6J

--HG--
extra : rebase_source : da956c54d130cd01553451da1d895b606bb4499f
2017-08-02 11:03:40 +02:00
Wes Kocher 5df77c43f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Wes Kocher baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Gabriel Luong c0b1c9a99e Bug 1386275 - Update the grid overlay color palette. r=jdescottes 2017-08-02 15:39:48 -04:00
Wes Kocher ae470990cc Backed out changeset 7cdd08ad685c (bug 1386275) for failures in browser_grids_grid-list-color-picker-on-ESC.js a=backout
MozReview-Commit-ID: HcNhUTPVveT
2017-08-02 10:30:27 -07:00
Gabriel Luong 1c25de30f8 Bug 1386275 - Update the grid overlay color palette. r=jdescottes 2017-08-02 11:12:06 -04:00
Micah Tigley 59d1881000 Bug 1385144 - Overlapping negative line numbers do not display as a stack. r=zer0
MozReview-Commit-ID: xlkj6OjL4n
2017-07-31 21:55:00 -06:00
Sebastian Hengst 82e3b22f18 Backed out changeset f85fbccf2c1f (bug 1380709) for failing devtools' browser_dynamic_tool_enabling.js on Windows 8 x64 debug with e10s. r=backout 2017-08-02 18:06:31 +02:00
Sebastian Hengst 97fa6ef57e Backed out changeset 306169f86028 (bug 1380709) 2017-08-02 18:05:21 +02:00
Sebastian Hengst 3f796be69d Backed out changeset 44cfd92f709c (bug 1380709) 2017-08-02 18:05:20 +02:00
Masatoshi Kimura f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Julian Descottes fa46e23606 Bug 1386412 - fix race conditions in browser_service_workers_multi_content_process.js;r=ochameau
MozReview-Commit-ID: JnvTkmDrbDo

--HG--
extra : rebase_source : 1f310ec7b7556451b65b973e1d6ae2368bb3aa43
2017-08-02 08:35:10 +02:00
Phil Ringnalda 5e2f9b194d Backed out changeset bd270d4fe4bc (bug 1385144) for eslint failures
CLOSED TREE

MozReview-Commit-ID: HnONZdDsG3v
2017-08-01 23:07:57 -07:00
Micah Tigley 17dd07bc88 Bug 1385144 - Overlapping negative line numbers do not display as a stack. r=zer0
MozReview-Commit-ID: xlkj6OjL4n
2017-07-31 21:55:00 -06:00
Gabriel Luong 1ebc47776f Bug 1386108 - Update Computed stylesheet to use more specific selectors. r=jdescottes 2017-08-01 20:56:57 -04:00
Nicolas Chevobbe 77e7cd424e Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF

--HG--
extra : rebase_source : 89e5216605f77fb3812b3297bb95b6d3fc10de49
2017-08-01 16:27:00 +02:00
Nicolas Chevobbe 11158c5406 Bug 1380709 - Fetch Map/Set entries when expanding the Object Inspector. r=bgrins
Add getObjectEntries and loadObjectEntries as props for the ObjectInspector so
we can display entries on Maps and Sets.

MozReview-Commit-ID: Cy6SjxwclHI

--HG--
extra : rebase_source : 02b4eb11f45f25eab9af7e640939177ab1c0f0fc
2017-08-01 16:17:00 +02:00
Nicolas Chevobbe 862e2bbb0b Bug 1380709 - reps v0.11.0: update reps bundle from GitHub; r=bgrins
MozReview-Commit-ID: 4s5c1wyABS7

--HG--
extra : rebase_source : 0f0e0d7a62e4d6e62ef8eae86dd622c86528373f
2017-08-01 14:45:32 +02:00
Julian Descottes 24713c26da Bug 1361333 - use a common Sandbox instance to retrieve devtools globals;r=ochameau
MozReview-Commit-ID: L7Xkh6KkFb4

--HG--
extra : rebase_source : 481eb2f173db9df0626bfe1fb66f2f2722d053d3
2017-08-01 14:52:23 +02:00
Julian Descottes dc05133f8b Bug 1361333 - move sdk/util/indexed-db to devtools;r=ochameau
MozReview-Commit-ID: Lt4V6kmQACq

--HG--
extra : rebase_source : 80bdaa517bdfa6863f963c7ed8a5275ba7415c18
2017-07-31 21:55:33 +02:00
Brian Grinstead b927e64748 Bug 1386724 - Force devtools-browser to be loaded in shared-head.js;r=jdescottes
If a devtools entry point isn't hit in a test (toolbox open, keyboard shortcut,
opening the web dev menu, etc), then things like the menu items aren't installed.
This is for performance reasons (Bug 1359855), but it means that some tests
may fail when run alone. Prevent that from happening by forcing devtools to start
up in shared-head.js.

This causes certain tests to fail when run alone if they don't open the tools

MozReview-Commit-ID: ANuUhYXIbSF

--HG--
extra : rebase_source : f8a20a7eabfdbbfe51ecaf2ea8c59a4fcf41e695
2017-08-02 10:08:16 -07:00
Nicolas Chevobbe f065ad2b7c Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF

--HG--
extra : rebase_source : 5aba016c0a231032dc411aa4bd01d059e07ebd79
2017-08-01 16:27:00 +02:00
Nicolas Chevobbe a9d80db97b Bug 1380709 - Fetch Map/Set entries when expanding the Object Inspector. r=bgrins
Add getObjectEntries and loadObjectEntries as props for the ObjectInspector so
we can display entries on Maps and Sets.

MozReview-Commit-ID: Cy6SjxwclHI

--HG--
extra : rebase_source : df3e2cd1c0be550322953cb6141948b5893a2370
2017-08-01 16:17:00 +02:00
Nicolas Chevobbe bd22ff789d Bug 1380709 - reps v0.11.0: update reps bundle from GitHub; r=bgrins
MozReview-Commit-ID: 4s5c1wyABS7

--HG--
extra : rebase_source : 2beca009183f64ead0be0935cb6bb40fd64d7b92
2017-08-01 14:45:32 +02:00
sole aa140b98ee Bug 1378864 - Stop using sdk/core/heritage in DevTools shared specs/string. r=zer0
MozReview-Commit-ID: Hm0BkzhFfkV

--HG--
extra : rebase_source : 841fce36c18c209ea5350e9e65f4e482add6442b
2017-08-01 10:03:58 +01:00
Julian Descottes 8f7083a841 Bug 1361332 - replace sdk/util/object by Object.assign in devtools;r=zer0
MozReview-Commit-ID: 3IREzyuAjAF

--HG--
extra : rebase_source : 758d431d809f0ac7bf70a1a39c2f38c83361e8f6
2017-07-31 19:53:37 +02:00
Xidorn Quan 7f38dbe964 Bug 1383075 part 2 - Update CSS lexer in devtools to match the change. r=jryans
MozReview-Commit-ID: LO7ZMeLgJdJ

--HG--
extra : rebase_source : 31f898bf70fa2c025dc0d8c7f744165a14450586
2017-07-31 09:23:01 +10:00
Wes Kocher db7d003ae0 Merge m-c to autoland a=merge CLOSED TREE
MozReview-Commit-ID: Ko3lhAvzMJN
2017-08-03 18:22:09 -07:00
Nicolas Ouellet-Payeur bb9bd5010d Bug 1368202 - convert uses of "defer" to "new Promise" in client/inspector r=tromey
MozReview-Commit-ID: lXAVyomDlV

--HG--
extra : rebase_source : 351d82404ec42169e24c7fc1b8a9aa6b2af02dc5
2017-08-03 00:28:05 -07:00
Tom Tromey 561885f375 Bug 1384943 - add initial implementation of SourceMapServiceWrapper; r=bgrins
This adds a simple wrapper for the source map service.  This wrapper
logs errors using console.error, preserving the status quo from before
this series.

MozReview-Commit-ID: 2ckUZaerrcJ

--HG--
extra : rebase_source : 9cffca5169be005c09899a581c0d6c0738df146a
2017-07-31 15:57:07 -06:00
Tom Tromey 7dd93ae9ca Bug 1384943 - import bundles from devtools-source-map 0.10.0; r=bgrins
MozReview-Commit-ID: HfnDfd15IPB

--HG--
extra : rebase_source : 6ff1641f89b2bba696552baa68f6e7623bfd9505
2017-07-28 10:55:43 -06:00
J. Ryan Stinnett 671f16eccd Bug 1386053 - Skip remaining DevTools Stylo failures. r=manishearth
MozReview-Commit-ID: TcexGI0JkG
2017-08-03 13:32:25 -05:00
Sebastian Hengst 5a6d56ddde Backed out changeset 17aff9906595 (bug 1386584) because bug 1386299 had to be backed out. r=backout on a CLOSED TREE 2017-08-03 14:02:17 +02:00
Sebastian Hengst 38d95114f2 Backed out changeset c7f4ecbc3658 (bug 1386299) for failing toolkit/components/extensions/test/browser/browser_ext_management_themes.js. r=backout 2017-08-03 12:36:46 +02:00
Julian Descottes 2bd1a276c8 Bug 1386584 - Remove JSM boilerplate in devtools/shared/platform/chrome/stack;r=ochameau
MozReview-Commit-ID: EgbKH70NsM9

--HG--
extra : rebase_source : 00cb0d2d0732b55ca39d22adc819d9aabb547a5a
2017-08-02 13:24:14 +02:00
Alexandre Poirot 6ebb3b93e8 Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj

--HG--
extra : rebase_source : dee867ac4fa7378e55d6e51e804953fdc051de3d
2017-07-25 18:30:59 +02:00
Julian Descottes c0c69ebef6 Bug 1386620 - dt-addon-prefs: move devtools.theme preference to devtools-startup-prefs.js;r=bgrins
MozReview-Commit-ID: GOWh7COmCSx

--HG--
extra : rebase_source : 72952b2f7373ac19144711e53342c37dfb2d050d
extra : source : 57dfefe7df235df85d083cca1b43479dc5af3f45
2017-07-25 16:45:08 +02:00
Julian Descottes 54c09394be Bug 1386620 - dt-addon-prefs: move jsonview enabled pref outside of devtools addon;r=ochameau
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs().
We can not preload them when the addon starts, otherwise this will slow down the startup
of Firefox.

But jsonview's converter-observer needs to check preferences to check if jsonview is
enabled very early. Moving devtools.jsonview.enabled to a separate preferences file
that is still processed by firefox fixes the issue.

The downside is that this pref will keep following m-c's release cycle and not the addon's.
But it is so generic it should not be a big issue.


MozReview-Commit-ID: HrD5IVe54Ks

--HG--
extra : rebase_source : bb85aa12ec92db7d11abdb002f0429123b173afd
extra : source : 9622410d90ad264933ee7d1147ed655615ac4a19
2017-07-21 12:27:35 +02:00
Julian Descottes c18173354b Bug 1386620 - dt-addon: move devtools-startup to devtools shim folder;r=ochameau
MozReview-Commit-ID: GNFAyfXHIa9

--HG--
rename : devtools/client/devtools-startup.js => devtools/shim/devtools-startup.js
rename : devtools/client/devtools-startup.manifest => devtools/shim/devtools-startup.manifest
extra : rebase_source : 32fda4768488b517399d6864c15aa5cbc2639fb6
extra : source : 8d2736d54513382969ba510186860486e66d8b1d
2017-07-20 18:56:39 +02:00
Brian Grinstead e159a1cd0a Bug 1385157 - Don't focus jsterm if the output region wasn't clicked;r=nchevobbe
MozReview-Commit-ID: Gv60PSFKErD

--HG--
extra : rebase_source : efbb9bcb6090517f80775326a65d955aba79b2fb
2017-07-31 11:57:47 -07:00
J. Ryan Stinnett 965f38d565 Bug 1384789 - Check ancestor URLs to avoid sheet cycles. r=bgrins
With Stylo, an import rule from a cycle _will_ have a `styleSheet` object, so we
need to also check the sheet's ancestors to see if the URL is unique.

MozReview-Commit-ID: B33REaSGGYU

--HG--
extra : rebase_source : d6113d802d5197c73510ac3fa3b6cfb31d29c609
2017-07-27 17:23:22 -05:00
Alexandre Poirot 5b40217789 Bug 1378863 - Add telemetry probe to track DevTools entry points. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: CvhK7Lvw5oP

--HG--
extra : rebase_source : f9025ba2980694b565e16a2712c37ce4091df4b5
2017-07-06 19:34:10 +02:00
Julian Descottes b7f1441589 Bug 1378820 - remove usage of sdk/clipboard in devtools clipboard helper;r=gl
Remove previous helper APIs:
- currentFlavors()
- getData()

The only consumer for both APIs was in devtools/cient/inspector/inspector.
The logic was:
- call currentFlavors()
- if clipboard contains:
  -  "text/unicode"
  or
  - "text/html" but not "image/png"
- then call getData()

But actually calling getData() without any argument means that unless "image/png"
flavor is available, we will always use the "text/unicode" flavor.
(see current code for sdk helper: http://searchfox.org/mozilla-central/rev/09c065976fd4f18d4ad764d7cb4bbc684bf56714/addon-sdk/source/lib/sdk/clipboard.js#204-209)

If the text/unicode flavor was available at the same time as image/png, the code
would have returned the image data, which is probably not what we expect in the
context of the inspector.

I think we should explicitly request for text/unicode. So this patch introduces
a new getText() api in the devtools clipboard helper, which is a simplified version
of the sdk get() helper. We could always extend it to also support text/html.


MozReview-Commit-ID: E3JVj9boVKe

--HG--
extra : rebase_source : 3f1aecd05dacba5cd1a3af6025bbf82d51d49821
2017-07-31 14:02:37 +02:00
Tom Tromey 9160711a92 Bug 1385032 - add logErrorInPage to tab target in devtools; r=bgrins
This adds a method that can be called by the toolbox to log something to
the web console.

MozReview-Commit-ID: GpZtWwNVVGO

--HG--
extra : rebase_source : 37d2336bc1dbf5a8fd35d280c349044f1d06cd4c
2017-07-07 12:53:32 -06:00
sole ef6bb0ce7d Bug 1378857 - Stop using sdk/core/heritage in DevTools server/primitive. r=jdescottes
MozReview-Commit-ID: 2NQ2iSQKB0g

--HG--
extra : rebase_source : 2ff0d303e81ac48c99c470585c17fb7d7a732e51
2017-07-28 17:03:32 +01:00
Alexandre Poirot 779816773e Bug 1385226 - Fix gcli Shift+F12 key shortcut. r=jdescottes
MozReview-Commit-ID: Bcs14MEyHXF

--HG--
extra : rebase_source : 6520d19e9e0bf42ac2dae5e078d212dfde55d289
2017-07-28 11:53:05 +02:00
Sebastian Hengst bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Gabriel Luong ccce97cfc9 Bug 1384976 - Remove the height transition from the pseudo class panel. r=micah 2017-07-30 00:09:50 -04:00
Jason Laster 5564648c76 Bug 1385421 - Upgrade Debugger Frontend 7/28 (0.11). r=gtatum 2017-07-29 13:07:22 -04:00
Luciano Italiani dd592719c1 Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
MozReview-Commit-ID: 4WkNg0YrgHx

--HG--
extra : rebase_source : 2c32028e81c388406455004c2adcdb4a01942b95
2017-07-27 23:01:13 -03:00
Wes Kocher 40c3480d89 Merge inbound to central, a=merge
MozReview-Commit-ID: JNxfwQh0cac

--HG--
rename : gfx/layers/wr/WebRenderCompositableHolder.h => gfx/layers/wr/AsyncImagePipelineManager.h
2017-07-28 17:40:43 -07:00
Ruturaj K. Vartak 199f0ac351 Bug 1364096 - Autocomplete for network monitor flag values. r=ntim, r=jdescottes 2017-07-28 03:11:00 -04:00
Carsten "Tomcat" Book 6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Carsten "Tomcat" Book 2ff6df9177 Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Carsten "Tomcat" Book 8645467dbf Backed out changeset 7adefc652d95 (bug 1351148) 2017-07-28 09:20:14 +02:00
Wes Kocher 7149e44594 Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
Sebastian Hengst c2192ec889 Backed out changeset c0f919689e48 (bug 1378824) for failing eslint at devtools/client/inspector/webpack.config.js:166:3 with: Newline required at end of file but not found. r=backout on a CLOSED TREE 2017-07-27 18:34:21 +02:00
Sebastian Hengst 7ea64bd7aa merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-07-27 18:18:54 +02:00
Sebastian Hengst 09c065976f Backed out changeset 8a8f5e718ddd (bug 1369801) for frequently breaking devtools menus (bug 1384967). r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: E0RLmP6mojT
2017-07-27 18:16:52 +02:00
Sebastian Hengst 122d6c2d24 Backed out changeset e2100bb65c97 (bug 1369801)
MozReview-Commit-ID: FuPL5W8IY7S
2017-07-27 18:15:03 +02:00
Sebastian Hengst 15f25453d9 Backed out changeset 1b1a7c913f13 (bug 1369801)
MozReview-Commit-ID: 2NsnAuV8hF3
2017-07-27 18:14:58 +02:00
Sebastian Hengst 2a5827b866 Backed out changeset ad2a532a50f0 (bug 1369801)
MozReview-Commit-ID: DXiSnLmo6zE
2017-07-27 18:14:53 +02:00
Sebastian Hengst 9d40682893 Backed out changeset d0ed0997f4e0 (bug 1369801)
MozReview-Commit-ID: P1ViGMmdnT
2017-07-27 18:14:48 +02:00
Sebastian Hengst 934f66df50 Backed out changeset a31f0c8450a8 (bug 1369801)
MozReview-Commit-ID: 6jOXOX1WfFy
2017-07-27 18:14:43 +02:00
Sebastian Hengst 205843f800 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Sebastian Hengst 31b6c003f8 Backed out changeset 98e6c8bf442e (bug 1369801)
MozReview-Commit-ID: YU31Ujz18C
2017-07-27 18:14:33 +02:00
Sebastian Hengst 11dcaa8720 Backed out changeset 898739a110fc (bug 1369801)
MozReview-Commit-ID: AFOT8Td2XXX
2017-07-27 18:14:28 +02:00
Sebastian Hengst 4ff4d8bc6d Backed out changeset 148d11a549ce (bug 1369801)
MozReview-Commit-ID: AIvxY8960pa
2017-07-27 18:14:23 +02:00