Commit Graph

7966 Commits

Author SHA1 Message Date
Ishigaki
abd61e92e8 Bug 1339895 - Improve error message for unexpected token. r=arai 2017-11-02 13:15:27 +09:00
Sebastian Hengst
2582bd4c33 Backed out changeset 8c9886e3e68e (bug 1408708) for eslint failure at devtools/server/actors/stylesheets.js:157: use .ownerGlobal instead of .ownerDocument.defaultView. r=backout
--HG--
extra : amend_source : 5262c467c3bf7662d29de1c4c0e9999b5b307d55
2017-10-29 23:05:01 +01:00
Sebastian Hengst
3adb0917e1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-29 23:02:20 +01:00
Alexandre Poirot
210e82ed33 Bug 1408708 - Fetch stylesheet content via stylesheet window instead of top level content window. r=pbro 2017-10-29 17:40:45 -04:00
Julian Descottes
60ad2e8979 Bug 1412050 - session restore should not initialize devtools when unnecessary;r=bgrins
MozReview-Commit-ID: BEQBZsXREoQ

--HG--
extra : rebase_source : 137ffca2e8ebdee6056e6746f54afa3e0c4539aa
2017-10-27 10:13:27 +02:00
Julian Descottes
0ce2bfb273 Bug 1412050 - avoid devtools onboarding flow when restoring session;r=ochameau
MozReview-Commit-ID: 8fJOPaOnkQe

--HG--
extra : rebase_source : 533d576fc094290e89feb7a4feb77b83054d458c
2017-10-26 20:16:05 +02:00
Daisuke Akatsuka
59e80b6a95 Bug 1404801 - Part 6: Add mochitests. r=gl,pbro
MozReview-Commit-ID: 6iskCXC4Fa8

--HG--
extra : rebase_source : 0f21ea5f4eb808a098963c405e12e19154ba118d
2017-10-26 16:59:55 +09:00
Daisuke Akatsuka
2fa3256051 Bug 1404801 - Part 5: Show error message in case of no animations. r=gl
MozReview-Commit-ID: 538oUjKMsnT

--HG--
extra : rebase_source : 36d3ee2d9bffa90a0ea0428722b7751c9b620a1b
2017-10-26 16:59:48 +09:00
Daisuke Akatsuka
6a3bc35dec Bug 1404801 - Part 4: Apply styles for animation list. r=gl
MozReview-Commit-ID: Drys4ZKrNW

--HG--
extra : rebase_source : 759647b1c562e2e77143682a87b02419e9e8c5c0
2017-10-26 16:56:29 +09:00
Daisuke Akatsuka
8168a25be2 Bug 1404801 - Part 3: Avoid applying old animationinspector.css in inspector.xhtml. r=gl
Accompanied by React-ify, although we will change the CSS as well, the selector
may be conflicted if old animationinspector.css is in inspector.xhtml.
Therefore, we will make the CSS to impact within only animation-inspector.xhtml.

MozReview-Commit-ID: HnYDaasssf4

--HG--
extra : rebase_source : f785ebd1445d407043f43911ac8fd4a5a55c39da
2017-10-26 16:55:41 +09:00
Daisuke Akatsuka
0850d9e3bc Bug 1404801 - Part 2: Implement DOM for animation list. r=gl
MozReview-Commit-ID: 8iYTuFlkcSr

--HG--
extra : rebase_source : e498da9623614ca627f92b6e5116d9b9dec75b49
2017-10-26 16:55:27 +09:00
Daisuke Akatsuka
b702434dd9 Bug 1404801 - Part 1: Implement basic flow for animation list. r=gl
MozReview-Commit-ID: 88qdmj2oIoZ

--HG--
extra : rebase_source : 0682be5a4402dfca590f5d33c66c5581ba3c3bd9
2017-10-26 16:55:23 +09:00
Daisuke Akatsuka
bede9383fd Bug 1400115 - Part 3: Add test. r=gl,pbro
MozReview-Commit-ID: LIpkVybR8GA

--HG--
extra : rebase_source : 37dc9efb348af08e15e3fce8c550767fcbca973d
2017-10-26 16:55:14 +09:00
Daisuke Akatsuka
0622583679 Bug 1400115 - Part 2: Introduce a pref to implement the new Animation panel behind. r=gl,pbro
MozReview-Commit-ID: LgEW8w1CyhU

--HG--
extra : rebase_source : defd17422269103076c5f45cdf10a7a3d4248ed6
2017-10-26 16:55:10 +09:00
Daisuke Akatsuka
c4d3e3827e Bug 1400115 - Part 1: Create a base pane. r=gl
MozReview-Commit-ID: Af3lI8gO3sl

--HG--
extra : rebase_source : fd2280d9d706e4fdb061f5b6057a053f350e4f61
2017-10-26 16:54:49 +09:00
Mark Banner
e5c84c43e2 Bug 1411368 - Automatically fix space-unary-ops issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: 5VJZgNjOuX9

--HG--
extra : rebase_source : 0c0b5ae58ef677ba49333e71333fb1bcd896e895
2017-10-26 13:14:13 +01:00
Mark Banner
00b488c118 Bug 1411368 - Automatically fix padded-blocks issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: 7GvGbTjz0pe

--HG--
extra : rebase_source : 964c8372b792b26c4d86b2cafc640e0df7998681
2017-10-26 12:27:04 +01:00
Mark Banner
2f2b926bc0 Bug 1411368 - Automatically fix indent-legacy issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: BaQ8GXIGV5v

--HG--
extra : rebase_source : 0be52046d11133a54e961d770572d81e5c0dd7f7
2017-10-26 12:20:08 +01:00
Mark Banner
60e4a05b0d Bug 1411368 - Automatically fix spaced-comment issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: AOFFadV3JrV

--HG--
extra : rebase_source : e06da861796c79f118ac734ceebee22253c0485f
2017-10-26 12:00:05 +01:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Alexandre Poirot
326ecd9cce Bug 1399465 - Document DAMP. r=nchevobbe
MozReview-Commit-ID: 8kYYaSC7DuQ

--HG--
extra : rebase_source : 7f6bebac9c487fe4f6b17d919344b8ba23f203e0
2017-10-10 16:08:22 +02:00
Sebastian Hengst
5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Sebastian Hengst
d10e26c913 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-27 00:00:25 +02:00
Gabriel Luong
da3c8393e4 Bug 1411161 - Adds an initial react/redux template for loading an Events View in the inspector sidebar. r=pbro 2017-10-26 12:38:09 -04:00
Gabriel Luong
c50ffac88e Bug 1411160 - Adds an initial react/redux template for loading a Changes View in the inspector sidebar. r=pbro
--HG--
rename : devtools/client/inspector/fonts/components/App.js => devtools/client/inspector/fonts/components/FontsApp.js
rename : devtools/client/inspector/layout/components/App.js => devtools/client/inspector/layout/components/LayoutApp.js
2017-10-26 11:32:46 -04:00
Sebastian Hengst
ae14b9899c Backed out changeset 8e4cadda2d01 (bug 1411160) for build bustage due to duplicate files. r=backout
--HG--
rename : devtools/client/inspector/fonts/components/FontsApp.js => devtools/client/inspector/fonts/components/App.js
rename : devtools/client/inspector/layout/components/LayoutApp.js => devtools/client/inspector/layout/components/App.js
extra : amend_source : a4d4aaed2a6c13bc79830df4e91d9c36167fe7be
2017-10-26 22:31:00 +02:00
Sebastian Hengst
73c42c6cf7 Backed out changeset 2db16a02d6d1 (bug 1411161) 2017-10-26 22:30:55 +02:00
Nicolas Chevobbe
f72a32763e Bug 1411863 - Cleanup new console tests; r=bgrins.
Move clear jsterm history to openNewTabAndConsole.
Switch openNewTabAndConsole to an async function (instead of using Task.async).
Switch openNewTabAndConsole consumers to async as well.

MozReview-Commit-ID: KgMXowGYIJ5

--HG--
extra : rebase_source : 1406adc1e0afca07f92118370b402e314cb51fc1
2017-10-26 10:21:45 +02:00
Nicolas Chevobbe
020b588ced Bug 1408921 - Split browser_webconsole_autocomplete_keys.js in the new console frontend; r=bgrins.
The test was very long and tested different bugs.
Splitting it make all the test case clearer.


MozReview-Commit-ID: 4z45RE3eJoC

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_keys.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_array_no_index.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_keys.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_escape_key.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_keys.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_inside_text.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_keys.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_nav_and_tab_key.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_keys.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_return_key.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_keys.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_return_key_no_selection.js
extra : rebase_source : c9c12ee909d843bf5f3b9c1312057c5552e23df8
2017-10-25 11:59:02 +02:00
Oriol Brufau
3df49e38ba Bug 1388335 - Load JSON Viewer for all application/*+json content types. r=Honza
MozReview-Commit-ID: CPKRDm6q6yw

--HG--
extra : rebase_source : e33ecab98fdf002d4bb1186760944bd995162c6d
2017-10-23 01:11:22 +02:00
Oriol Brufau
540f476007 Bug 1377677 - Remember expanded objects when switching panel in JSON Viewer r=Honza
MozReview-Commit-ID: AB9SUV2FY8s

--HG--
extra : rebase_source : 3391bc5bb59451a4a66ecad355bd6ea7ce9a045a
2017-10-24 03:55:07 +02:00
Alexandre Poirot
684ddd9233 Bug 1405585 - Add telemetry to watch inspector delay between new-root event and full update. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: 5cWcTxPvDKF

--HG--
extra : rebase_source : 7b6cc502051904228d625d379c5805b9007670be
2017-10-23 11:04:52 -07:00
Alexandre Poirot
edd4019d3c Bug 1405585 - Add telemetry to track inspector refresh time when reload a page. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: BetryDSSRC2

--HG--
extra : rebase_source : 3b4f7ce885f44058e78c320a8ebff9d4ca68e329
2017-10-18 14:41:07 -07:00
Ricky Chien
ba3ed5556d Bug 1410782 - Fix props.connector is undefined when running launchpad r=Honza
MozReview-Commit-ID: L0UbcaLfrOS

--HG--
extra : rebase_source : de350aba1587a28e363b024be0f9ce00b32755af
2017-10-23 15:39:47 +08:00
Sebastian Hengst
a5064a01cb Backed out 2 changesets (bug 1405585) for failing browser-chrome's browser/components/extensions/test/browser/browser_ext_devtools_panels_elements.js. r=backout on a CLOSED TREE
Backed out changeset d2f7f0e9554d (bug 1405585)
Backed out changeset a049959544f2 (bug 1405585)
2017-10-26 12:32:20 +02:00
Attila Craciun
252daa8e0a Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-26 12:32:58 +03:00
Attila Craciun
0cab95ab0f Merge inbound to mozilla-central r=merge a=merge 2017-10-26 12:20:45 +03:00
Alexandre Poirot
d147923f5d Bug 1405585 - Add telemetry to watch inspector delay between new-root event and full update. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: 5cWcTxPvDKF

--HG--
extra : rebase_source : 9e1a2c4b6aa6eee200c4d653b951f4e5e9cd0e9a
2017-10-23 11:04:52 -07:00
Rofael Aleezada
626c4563b7 Bug 818634 - Remove support for Date.prototype.toLocaleFormat. r=gandalf, r=anba 2017-10-18 21:51:32 -05:00
Sebastian Hengst
68e0f7c499 Backed out changeset 574b5b042c3c (bug 1400655)
--HG--
extra : rebase_source : 1c84cbb87257ebb968142a3640641b8875763ffb
2017-10-26 00:24:51 +02:00
Ben Kelly
a8b8c6f790 Bug 1400655 P2 Add a mochitest to verify the json viewer is shown for json intercepted by a service worker. r=jryans 2017-10-25 17:32:04 -04:00
Gabriel Luong
c1bd2fc838 Bug 1409967 - Adds an initial react/redux template for loading a flexbox accordion in the Layout panel. r=pbro 2017-10-25 16:12:28 -04:00
Alexandre Poirot
661494c527 Bug 1405585 - Add telemetry to track inspector refresh time when reload a page. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: BetryDSSRC2

--HG--
extra : rebase_source : f750cfc351d1447b8345e83a1f25a0a56b3db065
2017-10-18 14:41:07 -07:00
Sebastian Hengst
443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Michael Ratcliffe
9637659f6e Bug 1411531 - Web Console to ES6 classes r=nchevobbe
MozReview-Commit-ID: BBtCmeyMBaH

--HG--
extra : rebase_source : ff1f3d3085d345694a1380353bff0b667e0b5a4b
2017-10-25 13:33:15 +01:00
Michael Ratcliffe
5c75212853 Bug 1409064 - Network Monitor to ES6 classes r=Honza
MozReview-Commit-ID: FBuucEQ8Zhs

--HG--
extra : rebase_source : 858b118df3ce44c8da5794c405d9b8f029f6c7e8
2017-10-24 12:41:04 +01:00
Nicolas Chevobbe
183ca1cdf2 Bug 1403458 - Convert browser_webconsole_assert.js to a backend test; r=bgrins.
The test ensures that packet are sent for falsy console.assert calls,
and that no packet are sent for truthy console.assert.calls, using a timeout.
Mochitest and support files are removed from the new frontend.

MozReview-Commit-ID: C9QpXfBySLo

--HG--
extra : rebase_source : 10101ebd0f300e6794b37db7f19c41c936683d7d
2017-10-24 10:45:29 +02:00
Nicolas Chevobbe
aaaad9dd6d Bug 1408918 - Rename and enable browser_webconsole_autocomplete_accessibility.js in new console frontend; r=Honza
MozReview-Commit-ID: CknvP7M1rVJ

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_accessibility.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_accessibility.js
extra : rebase_source : 4e755ebedb6360991b820a61a53544c604def4c4
2017-10-23 09:07:14 +02:00
Nicolas Chevobbe
827151f951 Bug 1411502 - Enable browser_jsterm_copy_command.js in new frontend; r=Honza.
MozReview-Commit-ID: EsQsov5y7cD

--HG--
extra : rebase_source : e2af7cc3bda73052b14c8c6a5450b184b734860a
2017-10-25 10:00:47 +02:00
Nicolas Chevobbe
3ce4a01fb7 Bug 1408917 - Rename, refactor and enable browser_webconsole_autocomplete_JSTerm_helpers.js in new console frontend; r=Honza.
MozReview-Commit-ID: 3TN6q63mnHp

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_JSTerm_helpers.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_helpers.js
extra : rebase_source : 66a63445a74d1a069340c6be678408327b44d25d
2017-10-20 09:40:54 +02:00
abhinav
9500e6c3b6 Bug 1251836 - Request URL should not include URL fragment identifier. r=gasolin
MozReview-Commit-ID: HeCSPcrQN2x

--HG--
extra : rebase_source : c4ed04ab730a219629b81df22a825db9189d2864
2017-10-24 23:37:25 +05:30
Sebastian Hengst
24b7b2eb7c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 23:59:14 +02:00
Tom Schuster
d3b457113a Bug 638054 - Remove or fix tests outside JS using watch/unwatch. r=bz,fitzgen 2017-10-24 20:48:14 +02:00
Michael Ratcliffe
40c838a5e7 Bug 1411231 - Disable react/prefer-es6-class eslint option r=pbro
MozReview-Commit-ID: GR2fujyjw5j

--HG--
extra : rebase_source : f883d5bfcf03ef750a00ef4c7bd961fbda87f807
2017-10-24 12:50:31 +01:00
Patrick Brosset
68ff442920 Bug 1409428 - Cast inject urls from URL object to Strings; r=miker
MozReview-Commit-ID: GPHRMaJj6Zq

--HG--
extra : rebase_source : 099b371f4f9d7a89bd32f5a16a7d93352a325a8a
2017-10-18 09:49:38 +02:00
abhinav
92ef99f5a5 Bug 1400615 - Hide search icon in the search field of Storage Inspector. r=bgrins
MozReview-Commit-ID: HaguRMVPptx

--HG--
extra : rebase_source : 3930fc3b38cea18738e69dee98502e2125485595
2017-10-18 12:16:46 +05:30
Francois Marier
7f48d0bdd3 Bug 1385461 - Upgrade to the latest version of the protobuf library. r=dimi,fitzgen,glandium,mattwoodrow,mossop
The tarball that was imported is the 3.4.1 release:

  https://github.com/google/protobuf/releases/tag/v3.4.1
  https://github.com/google/protobuf/releases/download/v3.4.1/protobuf-cpp-3.4.1.tar.gz

This drops all of the customizations that are no longer needed,
which includes a few issues that were fixed upstream:

- r512.patch from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/r512.patch
    b04e5cba35/src/google/protobuf/io/zero_copy_stream_impl.cc (L43)

- vs2013.patch, also from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/vs2013.patch
    b04e5cba35/src/google/protobuf/wire_format_lite_inl.h (L39)

- sparc64 fixes in m-c-changes.patch from bug 1275204:

    https://hg.mozilla.org/integration/mozilla-inbound/rev/21d692e82582
    b04e5cba35/src/google/protobuf/stubs/platform_macros.h (L68)

The LOGLEVEL_ERROR hack in m-c-changes.patch from bug 1024774 and
bug 1320179 was replaced by a NOGDI define in moz.build as suggested
by upstream:

    https://github.com/google/protobuf/pull/3745/files#r144915445

The other customizations that were dropped came from bug 1024774.

The patch for OpenBSD/32-bit will likely be fixed upstream in a
future release:

    https://github.com/google/protobuf/pull/3747#issuecomment-336581244

Upgrading the protobuf library also required re-generating all
of the existing .pb.h and pb.cc files (they are neither forward
nor backward-compatible) and making adjustments to the build
config to make it compile (and silence warnings).

text_format.cc can now be compiled as part of UNIFIED_SOURCES.

MozReview-Commit-ID: 7F2IqFmwQnN

--HG--
extra : rebase_source : b907a28a8063ecd82bb38530d309faafc7b83175
2017-10-18 15:02:05 -07:00
Maxime Vaillancourt
68de1114a3 Bug 1411199 - CamelCase all aboutdebugging component files. r=jdescottes
--HG--
rename : devtools/client/aboutdebugging/components/aboutdebugging.js => devtools/client/aboutdebugging/components/Aboutdebugging.js
rename : devtools/client/aboutdebugging/components/panel-header.js => devtools/client/aboutdebugging/components/PanelHeader.js
rename : devtools/client/aboutdebugging/components/panel-menu.js => devtools/client/aboutdebugging/components/PanelMenu.js
rename : devtools/client/aboutdebugging/components/panel-menu-entry.js => devtools/client/aboutdebugging/components/PanelMenuEntry.js
rename : devtools/client/aboutdebugging/components/target-list.js => devtools/client/aboutdebugging/components/TargetList.js
rename : devtools/client/aboutdebugging/components/addons/controls.js => devtools/client/aboutdebugging/components/addons/Controls.js
rename : devtools/client/aboutdebugging/components/addons/install-error.js => devtools/client/aboutdebugging/components/addons/InstallError.js
rename : devtools/client/aboutdebugging/components/addons/panel.js => devtools/client/aboutdebugging/components/addons/Panel.js
rename : devtools/client/aboutdebugging/components/addons/target.js => devtools/client/aboutdebugging/components/addons/Target.js
rename : devtools/client/aboutdebugging/components/tabs/panel.js => devtools/client/aboutdebugging/components/tabs/Panel.js
rename : devtools/client/aboutdebugging/components/tabs/target.js => devtools/client/aboutdebugging/components/tabs/Target.js
rename : devtools/client/aboutdebugging/components/workers/multi-e10s-warning.js => devtools/client/aboutdebugging/components/workers/MultiE10sWarning.js
rename : devtools/client/aboutdebugging/components/workers/panel.js => devtools/client/aboutdebugging/components/workers/Panel.js
rename : devtools/client/aboutdebugging/components/workers/service-worker-target.js => devtools/client/aboutdebugging/components/workers/ServiceWorkerTarget.js
rename : devtools/client/aboutdebugging/components/workers/target.js => devtools/client/aboutdebugging/components/workers/Target.js
2017-10-24 22:59:21 -04:00
Michael Ratcliffe
d4b29e27fe Bug 1410119 - Inspector: Switch to ES6 classes r=gl
MozReview-Commit-ID: 6GDY1MloCAd
2017-10-24 13:33:42 +01:00
Ruturaj K. Vartak
7ad7830d76 Bug 1411202 - Broken Launchpad for linux developer enviornment. r=rickychien 2017-10-24 02:56:00 -04:00
Sebastian Hengst
ab30e4a6f8 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-25 13:07:21 +02:00
Attila Craciun
a323e78c2b Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-10-25 12:36:59 +03:00
Gabriel Luong
294c5fd86d Bug 1409970 - Part 2: Adds an initial FlexboxHighlighter boilerplate. r=pbro 2017-10-24 22:04:10 -04:00
Gabriel Luong
8b103875f0 Bug 1409970 - Part 1: Refactor the canvas position utility code to a separate file. r=pbro 2017-10-24 22:03:59 -04:00
Shane Caraveo
b6c4b89a2e Bug 1291399 remove references to getExtensionUUID, r=aswan
MozReview-Commit-ID: BMJSjCbk6iU

--HG--
extra : rebase_source : a88473703cf95353ec803f381daac25090800a88
2017-10-17 17:02:06 -07:00
Margareta Eliza Balazs
fe45ae3748 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-08 00:08:26 +02:00
Julian Descottes
692bf7d21f Bug 1408334 - add form to subscribe to mozilla developer newsletter in about:devtools;r=nchevobbe
MozReview-Commit-ID: JuJqNS3r6NH

--HG--
extra : rebase_source : 61c19cadbff27365ba62d8afd000a78974ac67bc
2017-10-31 10:19:00 +01:00
Mike Park
8ecb745b70 Bug 1412273 - Adjust CSS shapes highlighter toggle to be visible in dark theme. r=jdescottes
MozReview-Commit-ID: GilM6JKDpMF

--HG--
extra : rebase_source : c671b3ddc0876c054b295dbd0b1f16a250b2b888
2017-11-01 12:25:50 -04:00
Mike Park
4ad079896b Bug 1282721 - Add unit tests for shapes highlighter translate/scale for all shapes. r=pbro
MozReview-Commit-ID: JJg0zFtvi9s

--HG--
extra : rebase_source : ec44826d7cc58a6df797a340912644ff6f9ed222
2017-10-12 15:54:45 -04:00
Mike Park
f5bef41c46 Bug 1282721 - Add transform mode to shapes highlighter with translation/scaling for all shapes. r=pbro
MozReview-Commit-ID: HhWY1pT7Mqu

--HG--
extra : rebase_source : 4c4eb2b4a14abc7bfa8d106562c7274ab75a7f4d
2017-10-10 14:05:50 -04:00
Julian Descottes
2c5cda8646 Bug 1411906 - add close button to about:devtools if devtools are disabled;r=nchevobbe
A close button on the starting page of the devtools onboarding flow
will be helpful for users who triggered the shortcut by mistake and
would like to escape the flow.

MozReview-Commit-ID: 7rZ50jFepJ3

--HG--
extra : rebase_source : 9f0dadf3a68f084d05e9f0098a8a7ac90becf964
2017-11-02 21:56:26 +01:00
J. Ryan Stinnett
b746489c0b Bug 1412359 - Filter to matching device on remove. r=gl
The local device removal path used by RDM had a bug in its `findIndex` call
which caused it to always return `true` for the first device.

Effectively this meant that each separate device removal button always removed
the first device!  This would lead to all sorts of user confusion and UI
divergence.

Here we clean this up by allowing the caller (RDM in this case) to specify via a
callback which device is intended for removal.

MozReview-Commit-ID: 22VwEDZAXOa

--HG--
extra : rebase_source : a48b314090a321aa13cf8ca436e2beefa3dcc392
2017-10-30 11:00:55 -05:00
J. Ryan Stinnett
943c4df618 Bug 1412359 - Clarify test event as device-association-removed. r=gl
MozReview-Commit-ID: 6GXTO4rtIQL

--HG--
extra : rebase_source : 0e2e1c4ceb62b40f7f25d14f319eb83e572ad49e
2017-10-27 18:52:31 -05:00
J.C. Jones
52564edf40 Bug 1409259 - Add browser console test for the distrust console message r=keeler,ttaubert
There are xpcshell tests to verify that the appropriate distrust flag is set
upon reaching an affected end entity certificate; this test checks that the
distrust flag prints a warning to console.

MozReview-Commit-ID: OMG246WOOT

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_certificate_messages.js => devtools/client/webconsole/test/browser_console_certificate_imminent_distrust.js
extra : rebase_source : a5fed5457e7789e742ee461b988463b81cd2c214
2017-11-01 20:59:33 -07:00
Jan Odvarko
a779dd4b2d Bug 1408964 - The Network panel should be auto resumed on reload; r=rickychien
MozReview-Commit-ID: L6gTBekWeHz

--HG--
extra : rebase_source : 21f967fc976d575ce978b2f3575e0a1faa37ac57
2017-11-03 11:41:33 +01:00
Nicolas Chevobbe
fe5dcebe17 Bug 1404850 - Fix self-XSS protection in new console and enable test; r=Honza.
The self-XSS protection was broken since the switch to an HTML document. We
went from using the XUL <notificationbox> tag to a simple div.
But notificationbox has method that a simple div has not, and when trying
to display the warning message, there was an error in terminal.
This patch uses the NotificationBox React component and create it when needed.
It also rename and enable the test that ensures that XSS is working.

MozReview-Commit-ID: BhxIqf7gzAG

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_and_selfxss.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_selfxss.js
extra : rebase_source : ca6af7ae77bc5a6d86581096eafcb7424f21d51c
extra : source : 42734fcb0276ee0e395cb4a35ce790644ea2efc8
2017-10-24 11:08:02 +02:00
abhinav
d6e8ccb310 Bug 1407561 - Lazy loading of tooltip text when user hovers the status column. r=gasolin
MozReview-Commit-ID: BXP8B10Q5LT

--HG--
extra : rebase_source : 9a5d9b5bb0333246c18dc525255bea571d8b5016
2017-10-31 08:27:21 +05:30
Ricky Chien
53d3eb8a74 Bug 1413829 - RequestListContent scroll to bottom should avoid sync reflow r=Honza
MozReview-Commit-ID: KwPVFJfRQQK

--HG--
extra : rebase_source : e38057b60118d3c9fd275d60be701c7fd300c638
2017-11-02 16:56:53 +08:00
Ricky Chien
9fded4e150 Bug 1413941 - Fix broken netmonitor launchpad regression from bug 1360457 r=Honza
MozReview-Commit-ID: 6EzLlNfQ4FX

--HG--
extra : rebase_source : 4d75ce403d100692bfe8be947dca5e1f37f47330
2017-11-02 22:40:44 +08:00
Oriol Brufau
fc26dedf33 Bug 1415919 - Improve how JSON Viewer scrolls selected row into view. r=Honza
MozReview-Commit-ID: 2OV9IU6dmcp

--HG--
extra : rebase_source : 887be7a5e096a340d864ad4a7682e7a62dae953b
2017-11-09 19:23:16 +01:00
Noemi Erli
bfebc90a29 Backed out 3 changesets (bug 1404917)for failing clipboard in devtools/client/netmonitor/src/har/test/browser_net_har_copy_all_as_har.js r=backout on a CLOSED TREE
Backed out changeset 3e7a6e920c6b (bug 1404917)
Backed out changeset 7dcfe8d12d6f (bug 1404917)
Backed out changeset 3d8a6d24cec9 (bug 1404917)
2017-11-10 16:56:35 +02:00
shindli
6ebfbdadf1 Backed out 1 changeset (bug 1381648) on request from flod for wrong placeholders r=backout
Backed out changeset bad9f2a1be21 (bug 1381648)

--HG--
extra : amend_source : 5af6c3875245618cc66b3abd43488eca02c6f621
2017-11-10 16:07:56 +02:00
Alexandre Poirot
89baf4a860 Bug 1404917 - Move image preview tooltip to file name and remove preview icon. r=Honza
MozReview-Commit-ID: 86YPdHZhCmo

--HG--
extra : rebase_source : b3af953c53f37226e4ca2af9631c95febfc56911
2017-11-06 06:31:40 -08:00
Alexandre Poirot
55cb9f12e9 Bug 1404917 - Fetch response content only on-demand. r=Honza
Response content should only be fetched whenever it is strictly needed
as it is the response body. A possibly very large string.
So, netmonitor UI should only retrieve it when users select the Response Panel
or do any other action that require having access to it (like "Copy response"
context menu).

MozReview-Commit-ID: CtpJ8PKsCsm

--HG--
extra : rebase_source : f3d7aea2b752377891bef6ea466e140e93fe8b8b
2017-10-26 09:03:40 -07:00
Alexandre Poirot
1a2053042a Bug 1404917 - Use request.mimeType instead of request.responseContent.content.mimeType. r=Honza
MozReview-Commit-ID: EIaS1CFKzVn

--HG--
extra : rebase_source : 5a8955b15e7ee2e0483e7c04baacdba8deeac5c8
2017-10-05 17:42:51 +02:00
Gabriel Luong
0a18a22e63 Bug 1412608 - Fix comment selection color in markup view. r=jdescottes
MozReview-Commit-ID: 9G5efQSPHCf

--HG--
extra : rebase_source : 66daf5352bacc1f2479d7e67dc1341c9ca049822
2017-11-09 23:06:37 -05:00
Gabriel Luong
8a335bf583 Bug 1411161 - Adds an initial react/redux template for loading an Events View in the inspector sidebar. r=pbro 2017-10-26 12:38:09 -04:00
Gabriel Luong
1915a9ad44 Bug 1411160 - Adds an initial react/redux template for loading a Changes View in the inspector sidebar. r=pbro
--HG--
rename : devtools/client/inspector/fonts/components/App.js => devtools/client/inspector/fonts/components/FontsApp.js
rename : devtools/client/inspector/layout/components/App.js => devtools/client/inspector/layout/components/LayoutApp.js
2017-10-26 11:32:46 -04:00
Sebastian Hengst
d01ea418fc Backed out changeset b44af7ae9208 (bug 1411160) for build bustage (duplicate files). r=backout on a CLOSED TREE
--HG--
rename : devtools/client/inspector/fonts/components/FontsApp.js => devtools/client/inspector/fonts/components/App.js
rename : devtools/client/inspector/layout/components/LayoutApp.js => devtools/client/inspector/layout/components/App.js
extra : amend_source : 6ad46575740bd1b7fe04197c1a2d6d00438113da
2017-10-26 19:12:18 +02:00
Sebastian Hengst
70e0477c6e Backed out changeset 044aef4aae23 (bug 1411161) for depending on also backed out bug 1411160. r=backout on a CLOSED TREE
--HG--
extra : amend_source : e560259dc54b1014795ef022ab96473acf4a42be
2017-10-26 19:10:44 +02:00
Gabriel Luong
16a5505473 Bug 1411161 - Adds an initial react/redux template for loading an Events View in the inspector sidebar. r=pbro 2017-10-26 12:38:09 -04:00
Gabriel Luong
d1e0f887e4 Bug 1411160 - Adds an initial react/redux template for loading a Changes View in the inspector sidebar. r=pbro
--HG--
rename : devtools/client/inspector/fonts/components/App.js => devtools/client/inspector/fonts/components/FontsApp.js
rename : devtools/client/inspector/layout/components/App.js => devtools/client/inspector/layout/components/LayoutApp.js
2017-10-26 11:32:46 -04:00
Ben Kelly
2e83d9fd9f Bug 1400655 P2 Add a mochitest to verify the json viewer is shown for json intercepted by a service worker. r=jryans 2017-10-26 11:08:26 -04:00
Geoff Brown
8d40965a08 Bug 1413442 - Disable test browser_inspector_highlighter-eyedropper-events.js on Windows for on-going frequent intermittent failures; r=me,test-only 2017-11-09 09:33:00 -07:00
Jason Laster
3214f9fa6f Bug 1415300 - Update Debugger frontend (11-7). r=jdescottes
MozReview-Commit-ID: HdGGdN5Efw8

--HG--
extra : rebase_source : 416a1198f631e4b701c7ac93e2fd8f8c8dac667d
2017-11-09 12:28:56 +01:00
Luca Greco
5072843150 Bug 1416105 - devtools/server/child.js should call DebuggerServer.addBrowserActorsadd when initializes a DebuggerServer running in the main process. r=ochameau
When web-ext (the nodejs CLI tool which is often used to develop a WebExtension)
starts Firefox with the --start-debugger-server CLI parameter,
devtools/shims/devtools-startup.js creates a DebuggerServer instance in an
isolated separate module loader, marked invisible to the debugger so that
we can use it to debug the regular DebuggerServer instance (loaded internally
when the user is going to open one of the developer tools for the first time).

Right after this "debugger invisible" DebuggerServer instance is started,
web-ext connects to the debugger server and interacts with the RDP actors
(e.g. to list the addons actors, install the extensions temporarily, reload
the extensions etc.), and as a side-effect of connecting to the WebExtensions
RDP actor, the "devtools/server/child.js" module is going to be loaded,
and it will be loaded in the main process if the webextensions are not
configured to run in a separate extension child process
(on the contrary it would be loaded in a child process when the
the extensions are running in oop mode).

If the regular developer tools have been already opened by the user (e.g.
when --jsconsole has been passed to the Firefox command line, which
is what happens when web-ext is executed with the --bc command line option),
the DebuggerServer is initialized and the browser actors added to it,
on the contrary when the "devtools/server/child.js" module initializes
the DebuggerServer module for the first time, it doesn't add the browser actors
to it and so the DebuggerServer instance is going initialized but it will be
missing the createRootActor attribute (which is expected if the DebuggerServer
instance is initialized in a child process, but it is unexpected when the DebuggerServer
instance is the one that serves the main process).

MozReview-Commit-ID: GE51X14HfHJ

--HG--
extra : rebase_source : 65e3a0c02f8a419dc8588184dff56d3c07e430a9
2017-11-12 16:20:16 +01:00
Jan Odvarko
a336f0ee60 Bug 1410351 - Make it more obvious when requests are paused in the netmonitor; r=rickychien
MozReview-Commit-ID: FlHVxePSbqg

--HG--
extra : rebase_source : 4e0dc2016c3c9f0fa0a5b29941d42bd80961787d
2017-11-09 14:01:59 +01:00
abhinav
ef7c3ef9fa Bug 1353716 - Netmonitor header context menu should appear even by right clicking a blank area of the header. r=Honza
MozReview-Commit-ID: GT3MFn4Xloa

--HG--
extra : rebase_source : b1919493e1bb67801eb45f9e51ec163be6660448
2017-11-11 16:09:10 +05:30
Nicolas Chevobbe
d61115bca4 Bug 1417501 - Add devtools/client/netmonitor/test/shared-head.js in console browser.ini; r=ochameau.
In Bug 1404917, we introduced loading the
/devtools/client/netmonitor/test/shared-head.js
file in devtools/client/webconsole/new-console-output/test/mochitest/head.js.
But, the shared file is not declared in browser.ini,
which ends up making variabled from head.js inaccessible,
and some tests that relies on them to fail.

This was not picked up by TRY because the netmonitor tests
are ran before the console's one, which loads
devtools/client/netmonitor/test/shared-head.js .

MozReview-Commit-ID: 80OOUHwjnWL

--HG--
extra : rebase_source : 70a21db32ab3aee38946cc962bede9689a86045b
2017-11-15 17:22:10 +01:00
Julian Descottes
c987281ee8 Bug 1171482 - throttle new-mutations events in inspector actor;r=bgrins
MozReview-Commit-ID: KaXW7UeNQny

--HG--
extra : rebase_source : 2b0308a141c1f5d0a6b0e8889c0968a146274308
extra : source : c40f41e3f68393a8d1aff7c231986bee035edcff
2017-10-09 13:20:25 +02:00
Julian Descottes
6a65c81de6 Bug 1171482 - wait for 2 distinct mutations in markup test;r=pbro
MozReview-Commit-ID: Jn0dEr4qe6U

--HG--
extra : rebase_source : de0bf26aff7c8c5ea70efe0d11e9afa963218717
2017-10-18 13:07:45 +02:00
Julian Descottes
28cdc89976 Bug 1171482 - extract throttle to dedicated util;r=bgrins
MozReview-Commit-ID: L0CVtw2w03a

--HG--
extra : rebase_source : d5633baf56d6afefbb2a0d7cd631a8c7cb5b898b
2017-10-18 13:05:32 +02:00
Julian Descottes
a38697372f Bug 1410659 - add context-fill to devtools reload icon;r=ntim
MozReview-Commit-ID: 8DZv2HOVKga

--HG--
extra : rebase_source : fd38c03eb0a9d76b423e5b01cf72684505bf2049
2017-10-23 10:21:29 +02:00
Nicolas Chevobbe
56aee668af Bug 1410071 - Remove space between user styled messages parts; r=bgrins.
The %c marker is only valid for the first argument, so if we find ourselves
between two parameters with user-styled messages, it means we should respect
the original formatting.

MozReview-Commit-ID: 4GORZyvvxRN

--HG--
extra : rebase_source : 11adda5e3a18a7e52a02bdbcf1a18a5bfee6ee2c
2017-10-19 16:03:03 +02:00
Simon Van Accoleyen
dedbda00a2 Bug 1406193 - Remove last remaining SocialAPI bits. r=dao
MozReview-Commit-ID: E5GKq2CYclF
2017-10-21 18:38:17 +02:00
Nicolas Chevobbe
7e81e50df6 Bug 1405652 - Enable browser_webconsole_view_source.js in new console frontend; r=bgrins.
MozReview-Commit-ID: DctteBfNgtC

--HG--
extra : rebase_source : cbe235b44e9aefed6e1cdb96b037b80f63709cd9
2017-10-20 08:58:07 +02:00
Tom Tromey
42097bd9cb Bug 1384463 - only trim CSS-allowed whitespace in declaration parser; r=gl
MozReview-Commit-ID: 7bnu2a9G1uq

--HG--
extra : rebase_source : 32fc701fe10f44e36c88aa73d4b234b94f9990f1
2017-10-19 11:04:30 -06:00
Nicolas Chevobbe
9bf7d76660 Bug 1409836 - Fix setting filters prefs when filters are reset or cleared; r=bgrins.
We were getting the filter state after dispatching the action, which made
all the filters to have an enabled state. Getting the state before dispatching
fixes the issue.
This patch enhance the Service mock in order to have a better idea of what is going on
with prefs. This allow us to introduce some tests to make sure prefs are updated in
reaction to given actions.

MozReview-Commit-ID: Byay0TwF25I

--HG--
extra : rebase_source : fd9e022c872783e2c6baa6ee0be5bf98f7eced78
2017-10-19 10:07:54 +02:00
Julian Descottes
b6c8ab7cc9 Bug 1408330 - remove mentions about styleeditor, webaudio and scratchpad;r=nchevobbe
MozReview-Commit-ID: 5QZDZb39cYV

--HG--
extra : rebase_source : c88f33d768101fd7825b26fd5d513e7b32e4f630
2017-10-18 12:33:32 +02:00
Julian Descottes
325c347f6c Bug 1408330 - UI polish on DevTools onboarding page;r=nchevobbe
MozReview-Commit-ID: 5JE7ZErxCxG

--HG--
extra : rebase_source : 448dbd30a273169685880362622ab27985ef7e7b
2017-10-16 16:53:55 +02:00
Sebastian Hengst
2592ce224a merge mozilla-central to autoland. r=merge a=merge 2017-10-20 11:45:03 +02:00
Sebastian Hengst
bc6dddb88b merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BY4c5BIOF81
2017-10-20 11:37:54 +02:00
Sebastian Hengst
24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Sebastian Hengst
20d769ea9c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gc5JIILUrPi
2017-10-20 00:05:39 +02:00
Patrick Brosset
714264d3e8 Bug 1406061 - Remove the unused Jsbeautify.jsm module; r=jdescottes
MozReview-Commit-ID: KF39qXJ2s11

--HG--
extra : rebase_source : 29394e085bf80d394dd4e1c6013082c0ebe94069
2017-10-19 09:58:19 +02:00
Sebastian Hengst
3148182768 Backed out changeset 6b88d856e00f (bug 1403927) for failing mochitest-clipboard's devtools/client/netmonitor/test/browser_net_copy_params.js. r=backout
--HG--
extra : amend_source : 8381b242fb5d6625f922413d1255157c3887d178
2017-10-19 11:40:42 +02:00
Sebastian Hengst
3b72f7b75f Backed out changeset ac5ebd3c7e82 (bug 1403927) 2017-10-19 11:40:36 +02:00
Jan Odvarko
e14412541c Bug 1403927 - Test for HTTPi Params panel; r=nchevobbe
MozReview-Commit-ID: 4k4kF3cGSTh

--HG--
extra : rebase_source : e1888f036624557015a72f15e45100067099ae4b
2017-10-18 20:45:54 +02:00
Jan Odvarko
7e514e201b Bug 1403927 - Fix Params panel in HTTPi; r=nchevobbe
MozReview-Commit-ID: 16djEqkEJMj

--HG--
extra : rebase_source : b717fd9fbdba85739d847269503788f686faca60
2017-10-18 18:58:38 +02:00
Sebastian Hengst
6ed80345bb merge mozilla-central to autoland. r=merge a=merge 2017-10-19 09:49:52 +02:00
Sebastian Hengst
c6b9718eb1 Bug 1408468 - Shapes highlighter handles for shapes in iframe cannot be clicked outside iframe. Follow-up: Add new line at end to make eslint happy. r=eslint-fix a=eslint-fix
MozReview-Commit-ID: AdlX5ArtKeg
2017-10-19 09:48:19 +02:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Mike Park
c304a07e7a Bug 1408468 - Shapes highlighter handles for shapes in iframe cannot be clicked outside iframe. r=gl
MozReview-Commit-ID: 3J4J6vM96sj
2017-10-13 13:19:50 -04:00
Ryan VanderMeulen
9c3824dc0c Merge m-c to autoland. a=merge 2017-10-18 21:02:15 -04:00
Mark Banner
d4ad271c61 Bug 1230373 - Fix an issue with eslint-plugin-mozilla not detecting the global scope properly when arrow functions are used. r=mossop
MozReview-Commit-ID: IOCM8Fjl0xQ

--HG--
extra : rebase_source : 63face219569f50bdfb00bcd7384f334ec6113c2
2017-10-16 15:08:26 +01:00
Julian Descottes
4db2619112 Bug 1406375 - update animation inspector test to support formatted numbers;r=pbro
Integers used to skip localization & formatting.
We used to have (for 2 decimals formatting)
1000   -> 1000
1000.1 -> 1,000.10

With the other patches attached here, the behavior is now consistent
1000   -> 1,000
1000.1 -> 1,000.10

This changeset updates some regexp in an animation inspector test to be
compatible with the new format.

MozReview-Commit-ID: 4YUNGlKp98z

--HG--
extra : rebase_source : 638fced7a884a01c5fcd41e0df68e7c8d39c2e8c
2017-10-19 17:00:43 +02:00
Julian Descottes
4980535bfe Bug 1406375 - always localize numbers in l10n::numbersWithDecimals;r=Honza
With the previous implementation, zeros and integers passed to
numberWithDecimals would not be formatted according to the
locale.

This updates the method to make the formatting consistent,
regardless of the number argument.

MozReview-Commit-ID: KvU1AjhzXAf

--HG--
extra : rebase_source : 551faa5318c4b38b80ee4858e0dd473e6f0617c5
2017-10-06 15:14:56 +02:00
Julian Descottes
3ec8ed626a Bug 1406375 - test integers in browser_num-l10n.js;r=Honza
MozReview-Commit-ID: 49UwLBMZTiv

--HG--
extra : rebase_source : 983c1dd7194c5d702f92686b3507861fb8a1e861
2017-10-18 12:16:30 +02:00
Tim Nguyen
91e239073d Bug 1409684 - Polish d3 graphs style. r=bgrins
MozReview-Commit-ID: FUaRBk9knBW

--HG--
extra : rebase_source : f9b1adb7923e985b13b607d755813f926bd48eab
2017-10-18 18:43:11 +01:00
Miguel Useche
cdc677c157 Bug 1402390 - CamelCase all React component files in \devtools\client\netmonitor\src\components\. r=pbro
MozReview-Commit-ID: LseEecjdU7I

--HG--
rename : devtools/client/netmonitor/src/components/app.js => devtools/client/netmonitor/src/components/App.js
rename : devtools/client/netmonitor/src/components/cookies-panel.js => devtools/client/netmonitor/src/components/CookiesPanel.js
rename : devtools/client/netmonitor/src/components/custom-request-panel.js => devtools/client/netmonitor/src/components/CustomRequestPanel.js
rename : devtools/client/netmonitor/src/components/headers-panel.js => devtools/client/netmonitor/src/components/HeadersPanel.js
rename : devtools/client/netmonitor/src/components/mdn-link.js => devtools/client/netmonitor/src/components/MdnLink.js
rename : devtools/client/netmonitor/src/components/monitor-panel.js => devtools/client/netmonitor/src/components/MonitorPanel.js
rename : devtools/client/netmonitor/src/components/network-details-panel.js => devtools/client/netmonitor/src/components/NetworkDetailsPanel.js
rename : devtools/client/netmonitor/src/components/params-panel.js => devtools/client/netmonitor/src/components/ParamsPanel.js
rename : devtools/client/netmonitor/src/components/properties-view.js => devtools/client/netmonitor/src/components/PropertiesView.js
rename : devtools/client/netmonitor/src/components/request-list.js => devtools/client/netmonitor/src/components/RequestList.js
rename : devtools/client/netmonitor/src/components/request-list-column-cause.js => devtools/client/netmonitor/src/components/RequestListColumnCause.js
rename : devtools/client/netmonitor/src/components/request-list-column-content-size.js => devtools/client/netmonitor/src/components/RequestListColumnContentSize.js
rename : devtools/client/netmonitor/src/components/request-list-column-cookies.js => devtools/client/netmonitor/src/components/RequestListColumnCookies.js
rename : devtools/client/netmonitor/src/components/request-list-column-domain.js => devtools/client/netmonitor/src/components/RequestListColumnDomain.js
rename : devtools/client/netmonitor/src/components/request-list-column-duration.js => devtools/client/netmonitor/src/components/RequestListColumnDuration.js
rename : devtools/client/netmonitor/src/components/request-list-column-end-time.js => devtools/client/netmonitor/src/components/RequestListColumnEndTime.js
rename : devtools/client/netmonitor/src/components/request-list-column-file.js => devtools/client/netmonitor/src/components/RequestListColumnFile.js
rename : devtools/client/netmonitor/src/components/request-list-column-latency.js => devtools/client/netmonitor/src/components/RequestListColumnLatency.js
rename : devtools/client/netmonitor/src/components/request-list-column-method.js => devtools/client/netmonitor/src/components/RequestListColumnMethod.js
rename : devtools/client/netmonitor/src/components/request-list-column-protocol.js => devtools/client/netmonitor/src/components/RequestListColumnProtocol.js
rename : devtools/client/netmonitor/src/components/request-list-column-remote-ip.js => devtools/client/netmonitor/src/components/RequestListColumnRemoteIp.js
rename : devtools/client/netmonitor/src/components/request-list-column-response-header.js => devtools/client/netmonitor/src/components/RequestListColumnResponseHeader.js
rename : devtools/client/netmonitor/src/components/request-list-column-response-time.js => devtools/client/netmonitor/src/components/RequestListColumnResponseTime.js
rename : devtools/client/netmonitor/src/components/request-list-column-scheme.js => devtools/client/netmonitor/src/components/RequestListColumnScheme.js
rename : devtools/client/netmonitor/src/components/request-list-column-set-cookies.js => devtools/client/netmonitor/src/components/RequestListColumnSetCookies.js
rename : devtools/client/netmonitor/src/components/request-list-column-start-time.js => devtools/client/netmonitor/src/components/RequestListColumnStartTime.js
rename : devtools/client/netmonitor/src/components/request-list-column-status.js => devtools/client/netmonitor/src/components/RequestListColumnStatus.js
rename : devtools/client/netmonitor/src/components/request-list-column-transferred-size.js => devtools/client/netmonitor/src/components/RequestListColumnTransferredSize.js
rename : devtools/client/netmonitor/src/components/request-list-column-type.js => devtools/client/netmonitor/src/components/RequestListColumnType.js
rename : devtools/client/netmonitor/src/components/request-list-column-waterfall.js => devtools/client/netmonitor/src/components/RequestListColumnWaterfall.js
rename : devtools/client/netmonitor/src/components/request-list-content.js => devtools/client/netmonitor/src/components/RequestListContent.js
rename : devtools/client/netmonitor/src/components/request-list-empty-notice.js => devtools/client/netmonitor/src/components/RequestListEmptyNotice.js
rename : devtools/client/netmonitor/src/components/request-list-header.js => devtools/client/netmonitor/src/components/RequestListHeader.js
rename : devtools/client/netmonitor/src/components/request-list-item.js => devtools/client/netmonitor/src/components/RequestListItem.js
rename : devtools/client/netmonitor/src/components/response-panel.js => devtools/client/netmonitor/src/components/ResponsePanel.js
rename : devtools/client/netmonitor/src/components/security-panel.js => devtools/client/netmonitor/src/components/SecurityPanel.js
rename : devtools/client/netmonitor/src/components/source-editor.js => devtools/client/netmonitor/src/components/SourceEditor.js
rename : devtools/client/netmonitor/src/components/stack-trace-panel.js => devtools/client/netmonitor/src/components/StackTracePanel.js
rename : devtools/client/netmonitor/src/components/statistics-panel.js => devtools/client/netmonitor/src/components/StatisticsPanel.js
rename : devtools/client/netmonitor/src/components/status-bar.js => devtools/client/netmonitor/src/components/StatusBar.js
rename : devtools/client/netmonitor/src/components/tabbox-panel.js => devtools/client/netmonitor/src/components/TabboxPanel.js
rename : devtools/client/netmonitor/src/components/timings-panel.js => devtools/client/netmonitor/src/components/TimingsPanel.js
rename : devtools/client/netmonitor/src/components/toolbar.js => devtools/client/netmonitor/src/components/Toolbar.js
2017-10-15 22:46:03 -04:00
Aleksander Gurin
0485f5a283 Bug 1408143 - JSON Viewer: navigable (clickable) links (enhancement proposal). r=Honza 2017-10-12 23:05:46 +03:00
Sebastian Hengst
7beb660397 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-19 11:54:07 +02:00
Sebastian Hengst
c2ab267f86 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7BbAIKxBpcI
2017-10-19 11:22:55 +02:00
Jason Laster
ebfefa4a4c Bug 1408562 - Update Debugger frontend (10-13). r=jdescottes
MozReview-Commit-ID: 6qEViJ9Z2Nw

--HG--
extra : rebase_source : cc99bd7f7f369588023e3c84e35b5253e4fbb6b5
2017-10-19 11:05:49 +02:00
Sebastian Hengst
94111c6b58 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-20 01:17:40 +02:00
Brian Grinstead
46fd998eb4 Bug 1408387 - Only run browser_webconsole_view_source.js task in the new debugger r=jmaher
MozReview-Commit-ID: HjzJsTLUD0O

--HG--
extra : rebase_source : 9bb0ef5c9a31fdc171fb594038b5ea1482506e1e
2017-10-19 09:36:33 -07:00
Nicolas Chevobbe
cc3e3b19aa Bug 1408916 - Rename and enable browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js in the new console frontend; r=bgrins.
MozReview-Commit-ID: DCFWNLGhCSM

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete-properties-with-non-alphanumeric-names.js
extra : rebase_source : 9c6a4e51bcfa323105778ccfe8705f71d37e347f
2017-10-19 09:16:39 +02:00
Jan Odvarko
75159e0ad3 Bug 1403927 - Test for HTTPi Params panel; r=nchevobbe
MozReview-Commit-ID: 1DzpCgxlrQg

--HG--
extra : rebase_source : de3a5e16f136d42bfc1197c64c12fc50608bb9b0
2017-10-19 14:53:23 +02:00
Jan Odvarko
17a67c84d7 Bug 1403927 - Fix Params panel in HTTPi; r=nchevobbe
MozReview-Commit-ID: 8KIWYs5sDoG

--HG--
extra : rebase_source : 87d364ab98dca9ffb275fa979050e062a00daf65
2017-10-19 14:49:05 +02:00
Tom Tromey
a018db05a1 Bug 1409606 - use full URL in rule view's source tooltip; r=gl
MozReview-Commit-ID: E704sOJV4wp

--HG--
extra : rebase_source : 64a3ae2a0781e9003235e9dc8d933d0537311c63
2017-10-18 13:03:11 -06:00
Brian Grinstead
25d7f09a0e Bug 1400176 - Prevent extra reflows by resetting html and body to display:block;r=nchevobbe
MozReview-Commit-ID: 38cBYjNgVZo

--HG--
extra : rebase_source : 3aebceafaedfd0fc58f549761c8dab04d1a8fa04
2017-10-18 13:18:48 -07:00
Nicolas Chevobbe
760e1f9ef7 Bug 1409436 - Fix jsterm font-size warning; r=Honza.
The font-size property was trying to retrieve a non existing variable, which
was spamming the terminal with warning messages. Putting the property to
inherit since it was defaulted to that.

MozReview-Commit-ID: nMWUOvOTIt

--HG--
extra : rebase_source : 35b07bccdb7fd2da89957393c01d68268e6b99fe
2017-10-17 17:50:49 +02:00
Nicolas Chevobbe
cde551eee9 Bug 1408915 - Enable and rename browser_webconsole_add_edited_input_to_history.js in the new console frontend; r=Honza.
MozReview-Commit-ID: 41xj6osEFOM

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_add_edited_input_to_history.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_add_edited_input_to_history.js
extra : rebase_source : c088eb951b44fce1f5a17c12e7f1554ff759c913
2017-10-19 08:59:32 +02:00
Nicolas Chevobbe
4d400dcd9d Bug 1404829 - Test the repeat mechanism with different category in mocha;r=Honza.
Also, remove the useless mochitest that was doing the same thing.

MozReview-Commit-ID: AiSXglrcRfa

--HG--
extra : rebase_source : 3d311901937d2d440397e9f5576237ea548a217b
2017-10-18 10:05:20 +02:00
Sebastian Hengst
fea24c0daf merge mozilla-central to autoland. r=merge a=merge
--HG--
extra : rebase_source : 819bdfcc5e3f50cb5a3d8d76ce1f88ceeb0dd5a9
2017-10-17 23:54:52 +02:00
Sebastian Hengst
34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Sebastian Hengst
c01c54ce55 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: FppFukd8eis
2017-10-17 23:49:39 +02:00
Dragana Damjanovic
39172d5b1b Bug 1384679 - Fix network-monitor.js. 2017-10-17 17:08:42 +02:00
Ryan VanderMeulen
e8cd5f653b Backed out 5 changesets (bug 1407351) for causing bug 1409395 and breaking nightlies.
Backed out changeset e6ee25ad6a9f (bug 1407351)
Backed out changeset 8e04412824b5 (bug 1407351)
Backed out changeset effeee94316e (bug 1407351)
Backed out changeset a53f34a45f9b (bug 1407351)
Backed out changeset 86a360e12b8a (bug 1407351)
2017-10-17 10:07:55 -04:00
Sebastian Hengst
32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Felipe Gomes
a26b26c9a0 Bug 1407351 - Remove E10S_TESTING_ONLY from devtools. r=gregtatum
E10s is always supported now, so there's no need for the unsupported notice anymore

MozReview-Commit-ID: DtXWa9zCq6w

--HG--
extra : rebase_source : 3e1df72422514d06a264dfb5b7f778d2c26557af
2017-10-17 13:39:59 -02:00
Ryan VanderMeulen
1e72d17cb8 Merge m-c to inbound. a=merge 2017-10-17 10:08:56 -04:00
Dragana Damjanovic
ea3c619848 Bug 1384679 - Fix timing for TFO. r=mcmanus r=honza 2017-10-17 15:28:33 +02:00
Sebastian Hengst
05889a48b5 Backed out changeset 3df6520e217f (bug 1408468) for failing shape highlighter related tests, e.g. xpcshell's devtools/server/tests/unit/test_shapes_highlighter_helpers.js. r=backout
--HG--
extra : amend_source : 7de8f44cf8e6efd015cfd9c21f0a817fdaeaf962
2017-10-17 00:34:11 +02:00
Sebastian Hengst
a32d6e8b12 Backed out changeset d9ab5b748c99 (bug 1408468) 2017-10-17 00:33:53 +02:00
Sebastian Hengst
379eb7d3d6 Backed out changeset a52945a497c8 (bug 1408562) for leak in dt1 job on Linux x64 asan. r=backout on a CLOSED TREE
--HG--
extra : amend_source : de81f48b29a820fb46ace77295911344902ed202
2017-10-17 00:05:09 +02:00
Gabriel Luong
45b8022b6e Bug 1408468 - Part 2: Fix eslint errors in shapes.js and doc_inspector_highlighter_csshapes_iframes.html. r=me CLOSED TREE 2017-10-16 17:38:40 -04:00
Julian Descottes
ad080b4f63 Bug 1406311 - sprintfjs: optimise string-format for %S patterns;r=bgrins
MozReview-Commit-ID: AOi3cUTedX9

--HG--
extra : rebase_source : 2e469aa4ee4cb2df867e3eb328454aad3dc26a2e
2017-10-17 21:11:48 +02:00
Julian Descottes
000d298b5c Bug 1406311 - sprintfjs: remove getType;r=bgrins
MozReview-Commit-ID: Ar1iSbqew2L

--HG--
extra : rebase_source : 9c249323612995278007b2ecfc9a3ca991dcd81b
2017-10-17 21:04:58 +02:00
Nicolas Chevobbe
3867f9768c Bug 1408845 - Release longString actors;r=bgrins.
MozReview-Commit-ID: H3Z1pp5vgUm

--HG--
extra : rebase_source : 6fa120a8f3c6837f7b7877d5a873bae6790e8b1d
2017-10-16 09:55:50 +02:00
Cameron McCormack
8f935136a2 Bug 1408322 - Remove inDOMUtils.cssPropertyIsValid() and use CSS.supports() instead. r=jryans
MozReview-Commit-ID: HNYVb31PZus

--HG--
extra : rebase_source : 8419a14bc21e9cf7f405a2c3091e5dc7d1676da1
2017-10-17 13:00:42 +08:00
Julian Descottes
3ec0b0ad0d Bug 1406311 - add unit test to cover sprintfjs;r=bgrins
We would like to optimize sprintfjs for performances.
To avoid regressions, add a basic unit test taken from the original
sprintfjs repository.

MozReview-Commit-ID: IKkDHpYfL4I

--HG--
extra : rebase_source : 39837c4c6039e77c189ce9db2e12d4b7b26171c7
extra : intermediate-source : 10683284fa0d1d7cbe4c10628b7ab90eb034c8de
extra : source : d7028aeaf4fbf8cd06285746269799a7a9cc7af5
2017-10-12 13:08:08 +02:00
Mike Park
e1f01572eb Bug 1408468 - Shapes highlighter handles for shapes in iframe cannot be clicked outside iframe. r=gl
MozReview-Commit-ID: 3J4J6vM96sj
2017-10-13 13:19:50 -04:00
Julian Descottes
03fe9f57c9 Bug 1406311 - more tests for devtools l10n numbers method;r=ochameau
MozReview-Commit-ID: EwJxfER0qyV

--HG--
extra : rebase_source : e9cb0cbb6bedd29a506f36fe35eb37772a82ce3c
extra : source : 002176cb97a90f1019ae71486d9c19409d5ad2c7
2017-10-06 15:18:32 +02:00
Julian Descottes
f2ae08a103 Bug 1406311 - memoize number formatters in devtools l10n.js;r=ochameau
MozReview-Commit-ID: 7YIeimLREGg

--HG--
extra : rebase_source : 4f27feffb8fe6c2206354051406b8ca3cc693dca
extra : source : b029551ea60509c35392bccab9d1e854de13d058
2017-10-06 14:59:39 +02:00
Joel Maher
b5c9bf0e08 Bug 1387827 - Disable 2 devtools tests on coverage builds for frequent timeouts. r=gbrown, a=test-only 2017-10-16 11:42:23 -04:00
Jason Laster
ec2b8dcbf8 Bug 1408562 - Update Debugger frontend (10-13). r=jdescottes
MozReview-Commit-ID: K8MnQctGfsO

--HG--
extra : rebase_source : 19b8644b6be1428f5f91ab8d63939cc8a68f7081
2017-10-16 11:23:12 +02:00
abhinav
395e318aaa Bug 1407552 - Caching L10N values in netmonitor toolbar. r=gasolin
MozReview-Commit-ID: GP20ERnX6xG

--HG--
extra : rebase_source : 90059f0fa6b0f697d36dbaca7fb5ae99e5bdd40f
2017-10-12 01:16:20 +05:30
Pradeep
6c43d57fdc Bug 1407548- Cache L10N values in request-list-empty-notice; r=gasolin
MozReview-Commit-ID: 6V4MNg8LWwS
***
Bug 1407548- Cache L10N values in request-list-empty-notice; r=gasolin

MozReview-Commit-ID: FfojJJ6uBdI

--HG--
extra : rebase_source : d8867d50a9fd5abda02111707fd77d7e799febe0
2017-10-12 16:36:28 +05:30
Sebastian Hengst
87626a0ece merge mozilla-central to autoland. r=merge a=merge 2017-10-14 00:02:17 +02:00
Sebastian Hengst
373bdd8602 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9adaYBJ4tlo
2017-10-13 23:37:41 +02:00
Gabriel Luong
14c3320daf Bug 1355747 - Disable and remove layout panel promotion code in release 58. r=jdescottes 2017-10-13 10:42:32 -04:00
Sebastian Hengst
97d6d2c4a3 Backed out changeset 508179b0dad5 (bug 1355747) for linting failure at devtools/client/inspector/layout/layout.js:7: 'Services' is assigned a value but never used. r=backout
--HG--
extra : amend_source : 5bb79fd7f5c4d55500536d65ef46d5b60afc9a6c
2017-10-13 17:18:00 +02:00
Gabriel Luong
1227230888 Bug 1355747 - Disable and remove layout panel promotion code in release 58. r=jdescottes 2017-10-13 10:42:32 -04:00
Hiroyuki Ikezoe
a70fdbfb6e Bug 1399314 - Introdue CssLogic.getCSSStyleRules to get style rules for ::before and ::after pseudo elements handy. r=bgrins
For pseudo elements, inIDOMUtils.getCSSStyleRules needs to take the parent
element of the pseudo element and pseudo name. This new function wraps
inIDOMUtils.getCSSStyleRules so that we can get style rules for pseudo elements
handy.

MozReview-Commit-ID: LRQBdiizoL7

--HG--
extra : rebase_source : ca409443da52d25630f52052aabf508ee79a6bd1
2017-10-13 07:19:54 +09:00
Hiroyuki Ikezoe
9b8c1dff66 Bug 1399314 - Move getBindingElementAndPseudo into shared/inspector/css-logic.js. r=ochameau
MozReview-Commit-ID: 4Ka61REglh

--HG--
extra : rebase_source : a48319dd7614ae79cdda1ba1b06d1558cc371fe4
2017-10-13 07:19:54 +09:00
Jason Laster
c03ee529f8 Bug 1407840 - Update Debugger frontend (10-12). r=jdescottes
MozReview-Commit-ID: J6xJ6RGbnkZ

--HG--
extra : rebase_source : b7ee8b8b76d80e5e5609c1264ec74bce3e60cd8f
2017-10-13 10:27:47 +02:00
Sebastian Hengst
1c1a5cef77 Merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
Gabriel Luong
2c011f5096 Bug 1406778 - Lazily load the font inspector. r=ochameau 2017-10-12 23:19:29 -04:00
Phil Ringnalda
12ae8e07c1 Backed out changeset bb6f23916cb1 (bug 1406778) for eslint failure
MozReview-Commit-ID: GDreMjtv7yO
2017-10-12 21:02:19 -07:00
Gabriel Luong
d8e3624639 Bug 1406778 - Lazily load the font inspector. r=ochameau 2017-10-12 23:19:29 -04:00
Felipe Gomes
782fcdbd30 Bug 1407351 - Back out to avoid a merge conflict with bug 1406212. I'll reland tomorrow
MozReview-Commit-ID: 612TlR0MgR4
2017-10-12 21:59:18 -03:00
Felipe Gomes
8d67452c0a Bug 1407351 - Remove E10S_TESTING_ONLY from devtools. r=gregtatum
E10s is always supported now, so there's no need for the unsupported notice anymore

MozReview-Commit-ID: 6Omdvj6SbaV
2017-10-12 21:44:59 -03:00
Jan Odvarko
7887a7fd5d Bug 1395759 - Properly wait on payload ready in tests; r=nchevobbe
MozReview-Commit-ID: Mvhwoihk53

--HG--
extra : rebase_source : 794cc6387ad0ede48cc52140da6f84aeb06a5187
2017-10-12 13:27:22 +02:00
Oriol Brufau
67cde17efe Bug 1405456 - Update JSON Viewer theme when the devtools theme changes. r=Honza
MozReview-Commit-ID: F4tJRCDGfQn

--HG--
extra : rebase_source : bc89deda4c022a1e92f78d11268b157e254ec22a
2017-10-15 18:45:41 +02:00
gasolin
b2ae79ac91 Bug 1408085 - resizeWaterfall via requestIdleCallback;r=Honza
MozReview-Commit-ID: Fws5LrQGhlv

--HG--
extra : rebase_source : 58764c4157dd7c7f47c50970f0d6bb0effe3c8d1
2017-10-16 10:05:59 +08:00
Jan Odvarko
3777fc65c9 Bug 1395759 - Properly declare request payload as ready; r=nchevobbe
MozReview-Commit-ID: FQJpWYjBWmq

--HG--
extra : rebase_source : 80c3bf2a62adab41a8ec411792daba069ecfd1d8
2017-09-19 09:47:20 +02:00
Oriol Brufau
b8394ce023 Bug 1407026 - Fix CPOW class mistake in the console. r=nchevobbe
MozReview-Commit-ID: 3Mk2kclTReX

--HG--
extra : rebase_source : a52bdf1d1c56f53f6723fe5465958adb81e0cc35
2017-10-10 22:37:29 +02:00
Nicolas Chevobbe
6a7851cf21 Bug 1404843 - Enable and rename browser_jsterm_dollar.js; r=Honza
MozReview-Commit-ID: 81tYed0VL0K

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm_dollar.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-621644-jsterm-dollar.html => devtools/client/webconsole/new-console-output/test/mochitest/test-jsterm-dollar.html
extra : rebase_source : 1e71c7882cf8aa956c1733e08861dc05b2a6baa6
2017-10-11 16:52:01 +02:00
Mike Hommey
b1f7830bc2 Bug 1407838 - Replace UniquePtr<T, NSFreePolicy> with UniqueFreePtr. r=njn
--HG--
extra : rebase_source : 0d356b71443896579dedd98cbd08dfe1acb4a34d
2017-10-12 11:22:05 +09:00
Mike Hommey
404ef7af3e Bug 1407838 - Remove the remains of NS_Alloc/NS_Realloc/NS_Free. r=njn
Bug 1134923 removed the use of those functions in gecko, and left some
for the XPCOM standalone glue. The XPCOM standalone glue was severely
stripped down in bug 1306327, with the effect of removing the
implementation for those functions.

The remains in nsXPCOM.h are:
XPCOM_API(void*) NS_Alloc(size_t aSize);
XPCOM_API(void*) NS_Realloc(void* aPtr, size_t aSize);
XPCOM_API(void) NS_Free(void* aPtr);

With no implementation left, the first arm is never actually used, and
the second arm means every remaining use of those functions in the tree
is a macro expansion to one of moz_xmalloc, moz_xrealloc or free.

--HG--
extra : rebase_source : fd1669abc5a25d8edbd5c3a8522e22a5c3f558e2
2017-10-12 11:08:44 +09:00
J. Ryan Stinnett
88c55f4a2c Bug 1342549 - Trim RDM DPR to ~3 decimal places. r=gl
MozReview-Commit-ID: 9xRV2OvOtuW

--HG--
extra : rebase_source : 784107362e89bfc3e19f3a5e6367e563d8b74f81
2017-10-05 22:30:03 -07:00
abhinav
bc9ef2d072 Bug 1406312 - Lazy loading of tooltip text on hover in Waterfall Timing boxes. r=gasolin
MozReview-Commit-ID: 5y4EPkpqcBr

--HG--
extra : rebase_source : 174fcf52494b1dc16e85855ee2a0fabbf22e49ea
2017-10-09 13:10:47 +05:30
Tom Tromey
a13df2c4ac Bug 833747 - recognize "debugger eval" as eval source; r=jlast
isEvalSource was missing one introduction type, so evaluating
  function(){...}
  //# sourceURL=blah
in the console would fail -- but wrapping the whole thing in
eval("...") would work.

MozReview-Commit-ID: 13oRnbs1eyF

--HG--
extra : rebase_source : d2360bd3698f4ce20064397aab075d29449dfdcd
2017-09-18 12:23:43 -06:00
Nicolas Chevobbe
695f76a1ae Bug 1408870 - Enable browser_jsterm_history_persist.js on the new console frontend; r=bgrins.
Cleaning jsterm history from previous test so it does not interfere with this one.
Also clearing history at the beginning of the test so we are future-proof.

MozReview-Commit-ID: 33OCfaSiskw

--HG--
extra : rebase_source : 4af9df28f45455c341c11f4c8f87e4d735d52d30
2017-10-16 18:18:32 +02:00
abhinav
bb4bdb1eb0 Bug 1407550 - Cache L10N values in security-panel. r=gasolin
MozReview-Commit-ID: KX13NiOg6WI

--HG--
extra : rebase_source : 72da99ce55abc5d048486be2f2d3b6f4a3542fab
2017-10-11 23:51:51 +05:30
Julian Descottes
86e29220a8 Bug 1361080 - add unit test for aboutdevtools page;r=ochameau
MozReview-Commit-ID: CZV1MIj80Zf

--HG--
extra : rebase_source : e806c2cf1301eec1510f6d5476941ba100affd04
2017-10-03 23:34:44 +02:00
Oriol Brufau
d43e9a7123 Bug 1281875 - Allow console to inspect logged cross-origin functions r=nchevobbe
MozReview-Commit-ID: AtLUHvExZa8

--HG--
extra : rebase_source : 7c34e6da16a1b64dfe99bcfaea0fe79a3cf17b2a
2017-10-15 14:56:24 +02:00
Nicolas Chevobbe
18a5a37eb6 Bug 1408872 - Enable browser_jsterm_no_autocompletion_on_defined_variables.js on the new console frontend; r=Honza.
MozReview-Commit-ID: BrGniln0AB5

--HG--
extra : rebase_source : 88e635cc71b4d870b1430fd9284e643b27969e41
2017-10-17 09:32:25 +02:00
Ryan VanderMeulen
3860203ada Merge m-c to autoland. a=merge 2017-10-17 10:08:29 -04:00
Julian Descottes
21c8547fe5 Bug 1361080 - Add "Enable DevTools..." menu item if devtools.enabled is false;r=ochameau
MozReview-Commit-ID: IL09o4xve64

--HG--
extra : rebase_source : b1dd8e4163fb6cbec236f8a1e3b64ab65b15577c
2017-08-29 23:09:21 +02:00
Julian Descottes
4b682362c2 Bug 1361080 - display devtools onboarding screen if devtools.enabled if false;r=ochameau
MozReview-Commit-ID: 6TtOAGc9Zzl

--HG--
extra : rebase_source : 29b9149cecfc6c1087bce42b3afdd6b88c82e62e
2017-08-28 15:12:03 +02:00
Julian Descottes
59e766b047 Bug 1361080 - add aboutdevtools component;r=ochameau
MozReview-Commit-ID: GuyQfXRKFpb

--HG--
extra : rebase_source : 808377154712b98c1bab76ee83ecbd72cb0ddc47
2017-10-04 15:16:37 +02:00
Julian Descottes
9c81a6382f Bug 1408368 - move aboutdevtools.dtd out of localized folder;r=nchevobbe,Pike
MozReview-Commit-ID: 6jHqNcqONh3

--HG--
rename : devtools/shim/locales/en-US/aboutdevtools.dtd => devtools/shim/aboutdevtools/tmp-locale/aboutdevtools.dtd
extra : rebase_source : 0f83692849147d3f68404fea8a808fa3ddc1f561
2017-10-13 14:21:31 +02:00
Alexandre Poirot
9b47b7dc68 Bug 1405584 - Add telemetry to track toolbox open time. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: EuaYQBx8rbE

--HG--
extra : rebase_source : deabc16b5b2df1f5d9767eaa0b83874d48306953
2017-10-11 11:43:25 +02:00
Sebastian Hengst
847d86fda7 merge mozilla-central to autoland. r=merge a=merge 2017-10-13 11:51:55 +02:00
Nicolas Chevobbe
8a9b5fcc94 Bug 1403910 - Enable and rename browser_webconsole_No_input_and_Tab_key_pressed.js on the new console frontend; r=Honza
MozReview-Commit-ID: 1lq4QJ9JWb8

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_No_input_and_Tab_key_pressed.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_no_input_and_tab_key_pressed.js
extra : rebase_source : 049172d5ee87f16d585f6b01dfeb231eed8091f6
2017-10-12 16:03:04 +02:00
Nicolas Chevobbe
c6b5efc2fb Bug 1405070 - Bypass React to clear console on destroy; r=bgrins
Previously we were using the regular clearOutput function, which
was doing too much when we only want to destroy the console. It was:
- dispatching an action so React did the update
- focusing the JSTerm.

By simply clearing the outputNode things are much snappier. Also, we tried
to not clear the console at all, but while destroying there was too much
repaint events happening that it would take the same time as doing it the
old way.

MozReview-Commit-ID: FrFqToG3nRg

--HG--
extra : rebase_source : 8788a9bfe624c6ca1879873b4a438f082a8394a9
2017-10-05 08:40:34 +02:00
Mike Park
b6fc5f9b30 Bug 1383870 - CSS shapes highlighter incorrectly handles mouse events on elements in iframe. r=gl
MozReview-Commit-ID: HAHop7hSPxs
2017-07-25 10:33:51 -04:00
Sebastian Hengst
ed86a2c11f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AgDEPuT8DNK
2017-10-11 11:41:04 +02:00
Sebastian Hengst
044775ad49 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 00:01:28 +02:00
Pradeep
237c13489c Bug 1404130- Cache L10N values in status bar; r=gasolin
MozReview-Commit-ID: 23sm6hux6mf
***
Bug 1404130- Cache L10N values in status bar; r=gasolin

MozReview-Commit-ID: ECs1Td12ajW

--HG--
extra : rebase_source : 20cf9ef88cad04555b970d5316c3e58d02d6fbbd
2017-10-09 20:21:37 +05:30
Jason Laster
3cb6f71dec Bug 1406551 - Update Debugger frontend (10-8). r=jdescottes
MozReview-Commit-ID: GRBFwFsL8Cs

--HG--
extra : rebase_source : e2504eccc3915ec4de469157ea9b6a699956aa1a
2017-10-10 10:31:00 -04:00
Simon Sapin
f23c797cc7 Bug 1378861 - Update test expectations for Servo PR #18808 r=emilio
Note: `cssMessages.js` changes were generated by running
`mach test devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_css_message.js`

MozReview-Commit-ID: 4UHmHcC5eWm

--HG--
extra : rebase_source : 9ff1f1966f46968865084a24a00dd3a69b52e73b
2017-10-06 15:41:57 +02:00
Tom Tromey
0892e733f3 Bug 1407230 - Don't set devtools.debugger.client-source-maps-enabled pref; r=jdescottes
This removes the last spot that sets the obsolete
devtools.debugger.client-source-maps-enabled pref.  Note that the
definition of the pref remains; it will be deleted upstream once this
lands, and then removed from M-C by the next debugger bundle landing.

MozReview-Commit-ID: DTd2iDJI1y0

--HG--
extra : rebase_source : f7ac30f2ef707c11ad3d717ea49d13e1e883bd95
2017-10-10 07:35:49 -06:00
Julian Descottes
18b14bf9ff Bug 1407322 - use currentColor for selected stylesheet icon in styleeditor;r=ntim
MozReview-Commit-ID: HysqhWk4y4G

--HG--
extra : rebase_source : d1a9416336dc53e05890c11e95a73c77e8450696
2017-10-10 19:44:27 +02:00
Sebastian Hengst
5171c16eb0 Backed out changeset 804b3282f778 (bug 1407026) for failing devtools/client/webconsole/test/browser_console.js on Windows 7 debug without e10s. r=backout
--HG--
extra : amend_source : 969438fbe7623611a02be5d05fa776269bbd7adc
2017-10-10 19:11:17 +02:00
Miguel Useche
da46f0c3cf Bug 1402391 - CamelCase all React component files in \devtools\client\responsive.html\src\components\. r=jdescottes
MozReview-Commit-ID: Am14gw4EugN

--HG--
rename : devtools/client/responsive.html/components/browser.js => devtools/client/responsive.html/components/Browser.js
rename : devtools/client/responsive.html/components/device-adder.js => devtools/client/responsive.html/components/DeviceAdder.js
rename : devtools/client/responsive.html/components/device-modal.js => devtools/client/responsive.html/components/DeviceModal.js
rename : devtools/client/responsive.html/components/device-selector.js => devtools/client/responsive.html/components/DeviceSelector.js
rename : devtools/client/responsive.html/components/dpr-selector.js => devtools/client/responsive.html/components/DprSelector.js
rename : devtools/client/responsive.html/components/global-toolbar.js => devtools/client/responsive.html/components/GlobalToolbar.js
rename : devtools/client/responsive.html/components/network-throttling-selector.js => devtools/client/responsive.html/components/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/components/resizable-viewport.js => devtools/client/responsive.html/components/ResizableViewport.js
rename : devtools/client/responsive.html/components/viewport.js => devtools/client/responsive.html/components/Viewport.js
rename : devtools/client/responsive.html/components/viewport-dimension.js => devtools/client/responsive.html/components/ViewportDimension.js
rename : devtools/client/responsive.html/components/viewport-toolbar.js => devtools/client/responsive.html/components/ViewportToolbar.js
rename : devtools/client/responsive.html/components/viewports.js => devtools/client/responsive.html/components/Viewports.js
extra : rebase_source : cc84e61c907200af8e99c5b59cb6d705270305c8
extra : amend_source : 5f0bc9ca7d1abb107d451d57d0c76291340f8fc8
2017-10-09 22:56:20 -04:00
sole
799345fd87 Bug 1391738 - Screenshot with filename fails with unknown error in Linux. r=jwalker
MozReview-Commit-ID: 7XLXyNkL4Le

--HG--
extra : rebase_source : 3acb676de8ae1b5393dc66a9b8aea092efde75b6
2017-10-09 16:57:06 +01:00
Julian Descottes
38de8f751a Bug 1407077 - remove background color for highlighted devtools tabs;r=gl
MozReview-Commit-ID: 7r2tCtFiTuA

--HG--
extra : rebase_source : 500e836f9415ef60501e76452af531f56b532f0b
2017-10-10 01:05:35 +02:00
Julian Descottes
5459fdb30e Bug 1407077 - use photon colors for highlighted devtools toolbar icons;r=gl
MozReview-Commit-ID: LCEArSoizyk

--HG--
extra : rebase_source : 944a57f9aa0c3ebec7e2f7d8f9c66f9c22ce36af
2017-10-05 17:07:24 +02:00
Patrick Brosset
3705a46373 Bug 1402389 - CamelCase all React components oin devtools/client/memory/components; r=ystartsev+600802
MozReview-Commit-ID: 7xYrykIkLIv

--HG--
rename : devtools/client/memory/components/census.js => devtools/client/memory/components/Census.js
rename : devtools/client/memory/components/census-header.js => devtools/client/memory/components/CensusHeader.js
rename : devtools/client/memory/components/census-tree-item.js => devtools/client/memory/components/CensusTreeItem.js
rename : devtools/client/memory/components/dominator-tree.js => devtools/client/memory/components/DominatorTree.js
rename : devtools/client/memory/components/dominator-tree-header.js => devtools/client/memory/components/DominatorTreeHeader.js
rename : devtools/client/memory/components/dominator-tree-item.js => devtools/client/memory/components/DominatorTreeItem.js
rename : devtools/client/memory/components/heap.js => devtools/client/memory/components/Heap.js
rename : devtools/client/memory/components/individuals.js => devtools/client/memory/components/Individuals.js
rename : devtools/client/memory/components/individuals-header.js => devtools/client/memory/components/IndividualsHeader.js
rename : devtools/client/memory/components/list.js => devtools/client/memory/components/List.js
rename : devtools/client/memory/components/shortest-paths.js => devtools/client/memory/components/ShortestPaths.js
rename : devtools/client/memory/components/snapshot-list-item.js => devtools/client/memory/components/SnapshotListItem.js
rename : devtools/client/memory/components/toolbar.js => devtools/client/memory/components/Toolbar.js
rename : devtools/client/memory/components/tree-map.js => devtools/client/memory/components/TreeMap.js
extra : rebase_source : 03964042473cbad89e83578b9dcf664f1b2f99ea
2017-10-09 11:05:34 +02:00
Oriol Brufau
5a9cffd40a Bug 1407026 - Fix CPOW class mistake in the console. r=nchevobbe
MozReview-Commit-ID: LDmbQEuU3JE

--HG--
extra : rebase_source : c1293c2780a22953a8783795a82d4db2e1b34540
2017-10-09 22:03:18 +02:00
abhinav
f0c8fb3d09 Bug 1168092 - Introduce defaultIncrement property in InplaceEditor so that css properties like opacity can increment by 0.1 instead of 1. r=jdescottes
MozReview-Commit-ID: KvCJ1HCQxIJ

--HG--
extra : rebase_source : 9688ebdd443944781cff30deed0e682ec27f790c
2017-10-06 00:18:05 +05:30
Daisuke Akatsuka
7451333ace Bug 1405983 - Part 2: Modify tests for delay. r=pbro
MozReview-Commit-ID: 6ByuW2Q33Vf

--HG--
extra : rebase_source : d5418ba73272ab9e42095f3a52b10f49d1eb9c69
2017-10-10 10:51:27 +09:00
Daisuke Akatsuka
56b1da1cfb Bug 1405983 - Part 1: Display delay area in summary graph as 0 if fill is none or forwards. r=pbro
MozReview-Commit-ID: 6PRlPThxRw8

--HG--
extra : rebase_source : afe01b042e7b181975c13fcfb8d0e53d796848c5
2017-10-10 10:51:22 +09:00
Peter Van der Beken
c705293c1c Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Sebastian Hengst
4189a905a3 Backed out changeset 656d53c7fd81 (bug 1406551) as requested by jdescottes. r=backout
--HG--
extra : amend_source : 53d113046a1be659e4ba6b79e69f3799a99a0980
2017-10-10 19:22:37 +02:00
Jason Laster
0f3cc56815 Bug 1406551 - Update Debugger frontend (10-8). r=jdescottes
MozReview-Commit-ID: GKTM3rLKlTX

--HG--
extra : rebase_source : d29dcda06f672c578fe1c3853312f056c9f7629e
2017-10-10 18:45:40 +02:00
Michael Ratcliffe
b447b85ab8 Bug 1399493 - Upgrade to React 15.6.1 and include dev & prod version r=jdescottes,jlast
- Removed devtools.react.dev pref
- Changed condition that cause react dev files to be loaded (back to what they were before my change):
  - .mozconfig contains `ac_add_options --enable-debug-js-modules`
  - .mozconfig contains ac_add_options --enable-debug
- Successful try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6182dd41e4d611b6e32a7d6efd16991acd256a2f

MozReview-Commit-ID: JpvL8cRxPcL

--HG--
rename : devtools/client/shared/vendor/REACT_UPGRADING => devtools/client/shared/vendor/REACT_UPGRADING.md
extra : rebase_source : 0fbd71ce502e69b0621c1d7edbac2c2a336d483f
2017-09-14 13:32:06 +01:00
Patrick Brosset
0ee9d0a686 Bug 1339800 - Toggle the highlighter between each test case; r=gl
MozReview-Commit-ID: 4TS7JovMaJI

--HG--
extra : rebase_source : 41d4d297fb97ba917a042228e24620477fc87074
2017-10-16 15:39:45 +02:00
Gabriel Luong
6e7d4d688b Bug 1409968 - Follow up: Add a semicolon to fix eslint error. r=me 2017-10-19 15:43:59 -04:00
Gabriel Luong
1d950732d8 Bug 1409968 - Implement FlexboxActor for fetching all flexbox containers. r=pbro 2017-10-19 15:24:57 -04:00
J. Ryan Stinnett
84e8579a24 Bug 1407830 - Wait for browser during RDM startup. r=ochameau
Before the browser is mounted, listen for `remote-browser-shown` so that we know
when the browser is fully ready.  Without waiting for an event such as this, we
don't know whether all frame state for the browser is fully initialized (since
some happens async after the element is added), and swapping browsers can fail
if this state is not ready.

MozReview-Commit-ID: Ltd7mjdt7ox

--HG--
extra : rebase_source : 1cebc140c8f68d9daab7f8a0916be68f209d0f36
2017-10-13 20:38:18 -05:00
J. Ryan Stinnett
31887d40f0 Bug 1407830 - Verify that RDM swaps take place. r=ochameau
It is possible for the frame loader swap within `gBrowser._swapBrowserDocShells`
to fail when various frame state is either not ready yet or doesn't match
between the two browsers you're trying to swap.  However, such errors are
currently caught and silenced in the browser, because they are apparently
expected in certain cases.  So, here we do our own check to verify that the swap
actually did in fact take place, making it much easier to track such errors when
they happen.

MozReview-Commit-ID: LwuCXJQRRVW

--HG--
extra : rebase_source : f2e523ec3a5fc14306881dd823190dfcfe7cdd7a
2017-10-13 20:19:49 -05:00
J. Ryan Stinnett
c1c62750e7 Bug 1407830 - Add diagnostics to RDM swap. r=ochameau
Add some (disabled by default) logging to the RDM swap process to speed up
future investigations.

MozReview-Commit-ID: ICuH7i5Nsq5

--HG--
extra : rebase_source : 9d20a69965572020e7a98dbfe56bbcc57df0dad1
2017-10-13 20:07:24 -05:00
Felipe Gomes
65635c92d0 Bug 1407351 - Remove E10S_TESTING_ONLY from devtools. r=gregtatum
E10s is always supported now, so there's no need for the unsupported notice anymore

MozReview-Commit-ID: B9Re8bkD80t

--HG--
extra : rebase_source : 85c2754f92b3f4cf530f25ed6b5776eb345e3e08
2017-10-16 14:00:48 -02:00
Tom Tromey
aec735d6be Bug 1179820 - Remove source map handling from stylesheets actor; r=gl
MozReview-Commit-ID: 88Sw3TSx5yL

--HG--
extra : rebase_source : 802c54aece7174c5449d29b2c3a8fbef9826f15e
2017-09-29 10:00:36 -06:00
Tom Tromey
c43bfd93a0 Bug 1179820 - Convert style editor to client-side source maps; r=gl
MozReview-Commit-ID: CV53VKKZz4A

--HG--
extra : rebase_source : d140eb449a1a3197ea7d9cc6484a9267e2bb64af
2017-09-29 07:36:30 -06:00
Tom Tromey
92ad510c94 Bug 1179820 - Log some exceptions caught in the style editor; r=gl
This has been handy for debugging, and it seems fine to simply leave it
in.

MozReview-Commit-ID: 6nm0RxPm4Zq

--HG--
extra : rebase_source : eef8b01de79272c877af1024cff27c0dba2ec672
2017-09-29 11:23:58 -06:00
Tom Tromey
59f931466e Bug 1179820 - Convert the rule view to client-side source maps; r=gl
MozReview-Commit-ID: 7GISO1wGTVo

--HG--
extra : rebase_source : 6ace476bb300600f4f00d7113d370402c89375d4
2017-09-06 12:16:38 -06:00
Tom Tromey
30458bf57c Bug 1179820 - Convert the computed view to client-side source maps; r=gl
MozReview-Commit-ID: 2l8zIPnXeHY

--HG--
extra : rebase_source : c09c0fb8b30357c8fc8b3b4413137ba89ba5c13c
2017-09-05 17:42:00 -06:00
Nicolas Chevobbe
9dbbc9873f Bug 1408958 - Put correct bug number next to the skip-if in browser.ini for old tests migration; r=Honza.
MozReview-Commit-ID: 4ZgCCs9rwIV

--HG--
extra : rebase_source : 5939b5f4b990f4daf7ca76381f164c75c2628315
2017-10-16 12:16:46 +02:00
Julian Descottes
b550d4ee5e Bug 1407426 - add smoke test for debugger in browser content toolbox;r=jlast
This test is a simpler version of the breakpoints test, but runs from the
browser content toolbox. We don't particularly assess that the debugger can
see more sources than the web content sources, but at least this ensures that
the debugger is correctly initialized.

MozReview-Commit-ID: 5rSb7z3HP4F

--HG--
extra : rebase_source : 41df3e98ee7c153aa69313ad557717a55abbb0b4
2017-10-10 10:43:32 +02:00
Julian Descottes
13a5e182b4 Bug 1407426 - return the toolbox created when opening BrowserContentToolbox;r=jlast
We need to retrieve the toolbox object created in openContentProcessToolbox in order
to use it in tests;

MozReview-Commit-ID: BC8bWaiYAnS

--HG--
extra : rebase_source : 50d135beac736720aebce587d69ea59281152db4
2017-10-10 23:21:20 +02:00
Jan Odvarko
8e93b00cfd Bug 1005755 - Test for pause/stop button; r=nchevobbe
MozReview-Commit-ID: Hbg6hnmgNgF

--HG--
extra : rebase_source : f434b3d8cc583bebec567e195d4d23711b01ea4e
2017-10-16 15:13:13 +02:00
Jan Odvarko
3c1c3573f8 Bug 1005755 - Update Net logging in the Console; r=nchevobbe
MozReview-Commit-ID: 6lLjifqV2sQ

--HG--
extra : rebase_source : 2ef0ba75c4dfe95f76ab52532ebc01cab9be7a30
2017-10-16 15:13:03 +02:00
Jan Odvarko
e1b1499d2d Bug 1005755 - Update tests; r=rickychien
MozReview-Commit-ID: Gh18dxgAnUL

--HG--
extra : rebase_source : e5bf4ae910ccd0a7d50c83d297a5852373fd5559
2017-10-16 15:12:46 +02:00
Jan Odvarko
b27a14a02a Bug 1005755 - Stop using Connector as a singleton; r=rickychien
MozReview-Commit-ID: tQKFiKDozA

--HG--
extra : rebase_source : f1392a9c909464d812e868dc3760e2f0d69fc8ae
2017-10-16 14:42:25 +02:00
Jan Odvarko
2b9694966e Bug 1005755 - Introduce pause/resume button; r=rickychien
MozReview-Commit-ID: 3ZsW0y6LW7w

--HG--
extra : rebase_source : 69bcf8ba90b96408bee68ddddb74c2b347110831
2017-10-16 14:42:13 +02:00