Commit Graph

9118 Commits

Author SHA1 Message Date
Nicolas Chevobbe
9186c1aed2 Bug 1438463 - Fix click on location in browser console with new frontend; r=nchevobbe.
To fix this, we fallback to viewSource when we don't have access to the toolbox,
which is what was done in the old frontend.

MozReview-Commit-ID: JCcprTlViMi

--HG--
extra : rebase_source : ab13b539938a6572ebd9ceaedc23f954f4cb2be2
2018-02-16 09:14:02 +01:00
Nicolas Chevobbe
5dc6ad75e7 Bug 1435092 - Fix mocha tests broken due to changes to prefs; r=bgrins.
The mocha test are broken because we mock Services.pref,
and the assumptions we make in the mock are no longer valid.
Since we do have a fully functional replacement for Services
in devtools-modules, let's use it in our test.
Which means we need to introduce a mock for localStorage,
since it's what the devtools-modules Services uses, and helper
functions to replace what was in the Services mock.

MozReview-Commit-ID: KLHERfSa1Il

--HG--
extra : rebase_source : b1b5bc2d35624677fc241194ab1a49502cafe31d
2018-02-14 12:11:12 +01:00
Nicolas Chevobbe
2d3e2bd1c9 Bug 1435092 - Add a util object to manage preferences; r=bgrins.
This allow us to manage different sets of preferences for
the console and the browser console. The util object is
passed to the actions through a custom thunk middleware.

MozReview-Commit-ID: 6IQLBqX7KMN

--HG--
extra : rebase_source : 9dc60df24d0514c8bd0aac7655483eb3d026a16a
2018-02-13 17:35:32 +01:00
Cosmin Sabou
6e3859bfa5 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-19 00:00:43 +02:00
Masayuki Nakano
cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Chris Peterson
fe5cd3d5d9 Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj
MozReview-Commit-ID: 8pjYjEvQF42

--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson
0129d900f3 Bug 1436263 - Part 2: Replace override final virtual function specifiers with just final. r=froydnj
MozReview-Commit-ID: 70gt5SUu4Dv

--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Chris Peterson
d09123f248 Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj
MozReview-Commit-ID: DE5HkIhsZ6D

--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08:00
Dorel Luca
07d2af4219 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-17 11:55:38 +02:00
Gurzau Raul
3daf5ac131 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-17 00:13:16 +02:00
Jason Laster
8d97ab038d Bug 1436151 - Breakpoints at the beginning of a line are missed. r=jimb 2018-02-16 16:24:08 -05:00
J. Ryan Stinnett
9f3541ff3f Bug 1439000 - Remove *-actor suffix from inspector actors. r=jdescottes
MozReview-Commit-ID: 9iOMZjmm9LR

--HG--
rename : devtools/server/actors/inspector/inspector-actor.js => devtools/server/actors/inspector/inspector.js
rename : devtools/server/actors/inspector/node-actor.js => devtools/server/actors/inspector/node.js
rename : devtools/server/actors/inspector/walker-actor.js => devtools/server/actors/inspector/walker.js
extra : rebase_source : 60d989ae565130c6182fadeb641ea064181e57e0
2018-02-16 15:47:32 -06:00
Brendan Dahl
40c81820ad Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf

--HG--
extra : rebase_source : 64677186122f74ab95912d5f3f173cf37472458a
2018-02-05 13:33:58 -08:00
Christoph Kerschbaumer
494f074b53 Bug 1432358: Allow certain top-level pages to be agnostic to CSP. r=smaug
--HG--
extra : source : 27527f95cccca4927d4fee56b0dab9af11c5733f
extra : intermediate-source : 2fa11c525da3d0c7ca58a593241c1902f2849528
2018-02-01 14:07:01 +01:00
Narcis Beleuzu
ae89126f89 Bug 1438797 -Disable on Win_CCOV Perma devtools/client/debugger/new/test/mochitest/browser_dbg-babel.js | This test exceeded the timeout threshold. r=jmaher 2018-02-16 12:25:30 -05:00
Gabriel Luong
40a4aca24a Bug 1438002 - Add title tooltips to the inspector sidebar tabs. r=Honza 2018-02-16 10:32:26 -05:00
Narcis Beleuzu
eeb962c7c9 Backed out changeset a8aa7e2af130 (bug 1436151) for xpcshell failures on /test_setBreakpoint-at-the-beginning-of-a-line.js. a=backout 2018-02-16 13:08:04 +02:00
Narcis Beleuzu
2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Margareta Eliza Balazs
55aa0e75d6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-15 22:43:18 +02:00
Margareta Eliza Balazs
54a8193a23 Backed out 3 changesets (bug 1429824) for frequently failing devtools/client/netmonitor/test/browser_net_autoscroll.js (bug 1438412) a=backout
Backed out changeset 500836846f62 (bug 1429824)
Backed out changeset e3d4ec2c18b5 (bug 1429824)
Backed out changeset cf796a41ff7d (bug 1429824)
2018-02-15 22:05:10 +02:00
Noemi Erli
656ee92d98 Merge inbound to mozilla-central. a=merge 2018-02-15 21:29:11 +02:00
Jason Laster
4af2f227c0 Bug 1438014 - Update Debugger Frontend v16. r=jdescottes
MozReview-Commit-ID: 6YntyDd1Eo0

--HG--
extra : rebase_source : dcf9f2d5602dcdd024c2ab02a6777377db605023
2018-02-15 15:36:31 +01:00
Cosmin Sabou
a37e19d5a9 Bug 1429361 - Disabled devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_expand.js for frequent failures. r=jmaher 2018-02-15 08:30:08 -05:00
Andreea Pavel
74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Yura Zenevich
7e286766a3 Bug 1428443 - allow panels to override picker functionality when they are active. r=pbro
MozReview-Commit-ID: 6VE4Y8FYfoN
2018-02-14 23:57:19 -05:00
Jan Odvarko
96233200ee Bug 1311171 - Implement the devtools.network.onRequestFinished API event; r=jdescottes,rpl
MozReview-Commit-ID: IymuzcUg0VN

--HG--
extra : rebase_source : 5c262babe60132c9a73acc7dadf3b38f30133ecc
2018-02-14 11:32:10 +01:00
Dorel Luca
011cfbabae Backed out changeset ab4aab822769 (bug 1426467) for Mochitest failure on dom/workers/test/test_suspend.html 2018-02-15 01:31:10 +02:00
Dorel Luca
75f385b6d6 Merge mozilla-centra to mozilla-inbound 2018-02-15 00:37:44 +02:00
Dorel Luca
4234703a53 Merge mozilla-inbound to mozilla-central a=merge 2018-02-15 00:23:02 +02:00
Gabriel Luong
5a130fd6b9 Bug 1438073 - String mixing plural and singular in markupView.display.contents.tooltiptext. r=pbro 2018-02-14 16:10:35 -05:00
Jason Laster
e0e5ef83af Bug 1437055 - Re-enable some debugger mochitests. r=jdescottes
MozReview-Commit-ID: ClYmlicq8gy

--HG--
rename : devtools/client/debugger/new/test/mochitest/browser_dbg_keyboard_navigation.js => devtools/client/debugger/new/test/mochitest/browser_dbg-keyboard-navigation.js
rename : devtools/client/debugger/new/test/mochitest/browser_dbg_keyboard-shortcuts.js => devtools/client/debugger/new/test/mochitest/browser_dbg-keyboard-shortcuts.js
2018-02-14 21:28:26 +01:00
J. Ryan Stinnett
37ccb191b8 Bug 1434155 - Remove extra container around RDM browser. r=gl
We can now remove the extra `.browser-container` element around the frame.  It
was only here as a way to invoke React's `innerHTML` for real content.

MozReview-Commit-ID: 1wnv7SJmjTd

--HG--
extra : rebase_source : 12435e53d069d23adc22de4b1ba0259912ad6027
2018-02-13 15:29:53 -06:00
J. Ryan Stinnett
885b58468b Bug 1434155 - Create RDM viewport as iframe component. r=gl
Now that we have React 16 (which includes support for custom attributes instead
of a fixed whitelist), we can create the browser frame in the "usual" way, as
opposed to this `innerHTML` workaround.

MozReview-Commit-ID: GwZVNIqF1QC

--HG--
extra : rebase_source : eec7a2c54638420b1a7adc27f25e1f0237eaa30e
2018-02-13 15:07:48 -06:00
Gurzau Raul
c550afcd80 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-14 12:49:32 +02:00
Michael Ratcliffe
7529efafe1 Bug 1437802 - Create selectNodeText(node) in new web console test head.js r=nchevobbe
MozReview-Commit-ID: LlgLPe2SMsO

--HG--
extra : rebase_source : be689869a627d03c05c78afc62af5473f670ae17
2018-02-13 12:07:24 +00:00
Brian Grinstead
e766cfc4fa Bug 1436765 - Include global.css in browserconsole.xul to restore window border;r=Honza
MozReview-Commit-ID: U5LSimaEhO

--HG--
extra : rebase_source : 166327b09ea1a761c4cf81d3e58458f7879a92aa
2018-02-13 10:27:43 -08:00
Michael Ratcliffe
a22ddebd79 Bug 1403454 - Migrate browser_webconsole_script_errordoc_urls.js to the new frontend r=jdescottes
MozReview-Commit-ID: 6BBCqrmRelw

--HG--
extra : rebase_source : 24259c7db492ed0a0ebbd100e6a21d5b29b6b2cb
2018-02-13 11:30:05 +00:00
Brian Birtles
22309e3203 Bug 1436659 - Use updatePlaybackRate in DevTools; r=daisuke
updatePlaybackRate provides a smoother update than setting playbackRate
directly.

MozReview-Commit-ID: 7AbJYuDADvg

--HG--
extra : rebase_source : cd9d23cec67ad9a1b523c8172f5d22eec9efbbaa
2018-02-13 15:04:18 +09:00
Jim Blandy
6f503001a3 Bug 1426467: Re-enqueue messages from workers when debugger pause ends; don't run them immediately. r=bkelly
MozReview-Commit-ID: 1Yyjqz5S6tZ
2018-01-18 11:49:34 -08:00
Noemi Erli
7699947685 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-13 11:52:53 +02:00
Noemi Erli
d03ad8843e Merge inbound to mozilla-central. a=merge 2018-02-13 11:39:36 +02:00
Yura Zenevich
9b1e6a5275 Bug 1428432 - Fix for mochitest chrome failures at devtools/client/shared/components/test/mochitest/test_tree_12.html. CLOSED TREE
MozReview-Commit-ID: 6G9M7fWUA9i
2018-02-12 23:51:13 -05:00
Yura Zenevich
b796f50892 Bug 1428431 - added accessible highlighter classes for content and chrome docs. r=pbro
MozReview-Commit-ID: JeBMoiCvENV
2018-02-12 22:33:37 -05:00
Yura Zenevich
7aa20a6274 Bug 1428432 - further improve keyboard accessibility for VirtualizedTree. r=nchevobbe
MozReview-Commit-ID: 8Es17Q5J87a
2018-02-12 22:33:20 -05:00
Yura Zenevich
e11cef8501 Bug 1428432 - prevent unnecessary VirtualizedTree render when the client height does not change. r=nchevobbe
MozReview-Commit-ID: FErkeNwUuGF
2018-02-12 22:33:07 -05:00
Yura Zenevich
7386f0d4b9 Bug 1428436 - further improving TreeView accessibility. r=Honza
MozReview-Commit-ID: 8plUv815ErP
2018-02-12 22:32:53 -05:00
Yura Zenevich
6cd058b4cd Bug 1428442 - enabling tab highlighting for more than one tool at a time. r=gregtatum
MozReview-Commit-ID: 7iMABzVuOYG
2018-02-12 22:32:42 -05:00
J. Ryan Stinnett
a17e3637e6 Bug 1430919 - Enable grid highlighter writing mode support. r=gl
As well as flipping the pref on, this also moves the pref to the common all.js
prefs file because the pref is used by DevTools server code.

MozReview-Commit-ID: GfkLfXg1EiR

--HG--
extra : rebase_source : 952dcc4bce3f9f2ae598a98be3b63a70ba4068b2
2018-02-12 12:49:22 -06:00
Ciure Andrei
72080bd73c Merge inbound to mozilla-central. a=merge 2018-02-13 00:08:37 +02:00
Tom Ritter
c4edd2fe5c Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.

MozReview-Commit-ID: LrsucEPdZIo

--HG--
extra : rebase_source : 8147c034f7dc93f678eebc80b0afabf55729d804
2018-02-12 11:41:38 -06:00
Julian Descottes
0e767ece17 Bug 1403196 - rename and enable browser_webconsole_object_inspector_key_sorting.js;r=bgrins
MozReview-Commit-ID: DfjO8aQqnsD

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_variables_view_dont_sort_non_sortable_classes_properties.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_object_inspector_key_sorting.js
extra : rebase_source : 75f3fba6f97207626eb39ba03cbf69c407c82147
2018-02-12 13:47:34 +01:00
Tom Ritter
8f07acf367 Bug 1435296 Clean 0ms durations in stub generation r=nchevobbe
If the duration was 0ms, it would not be cleaned; and thus lead to a mismatch and
ultimately test failure.

MozReview-Commit-ID: 1s9nMzlGT0e

--HG--
extra : rebase_source : 6c5dfe6dcc4fcf767d5b47878f09f3d1089d8dd2
2018-02-09 19:31:52 -06:00
Julian Descottes
4f4f2b02cd Bug 1403205 - rename and enable browser_webconsole_object_inspector_while_debugging_and_inspecting.js;r=bgrins
MozReview-Commit-ID: 571TaV6KZzl

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_variables_view_while_debugging_and_inspecting.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_object_inspector_while_debugging_and_inspecting.js
extra : rebase_source : b2535c48ace6ee73610d75bc88d098d61337dea7
2018-02-09 21:32:34 +01:00
Julian Descottes
aaf4c1e607 Bug 1403200 - remove browser_webconsole_variables_view_while_debugging.js;r=bgrins
This test is an exact duplicate of browser_webconsole_variables_view_while_debugging_and_inspecting.js
except it doesn't start the inspector before performing the test.
I don't think it's worth keeping and maintaining both tests.

MozReview-Commit-ID: 7EcdVmJjAfu

--HG--
extra : rebase_source : 3204d7c3f6c930330d3cb4d65f7b1dacac594dba
2018-02-09 21:37:45 +01:00
Tom Ritter
aa82f54ab6 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
There are a few different reasons why tests needed updating (not an exhaustive list):

- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.

In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648

An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)

In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : df8a03e76eaf9cdc9524dbb3eb9035af237e534b
2018-02-12 11:39:41 -06:00
Sebastian Hengst
a6cab8c4e8 Backed out 4 changesets (bug 1432358) for failing xpcshell's test_ext_contentscript_triggeringPrincipal.js
Backed out changeset ef7b8eef07c1 (bug 1432358)
Backed out changeset 2fa11c525da3 (bug 1432358)
Backed out changeset a67e95bd0ccf (bug 1432358)
Backed out changeset 91c948c94506 (bug 1432358)
2018-02-12 19:58:28 +02:00
Coroiu Cristina
0038490a71 Backed out changeset 42deb2563aa8 (bug 1426467) for ESlint failure at /devtools/server/tests/mochitest/suspendTimeouts_content.js on a CLOSED TREE 2018-02-12 18:14:49 +02:00
Jim Blandy
d4700814c9 Bug 1426467: Re-enqueue messages from workers when debugger pause ends; don't run them immediately. r=bkelly
MozReview-Commit-ID: 1Yyjqz5S6tZ

--HG--
extra : rebase_source : 4f54bd6a6a3385ba4e424ac5ffe4354db4592b45
2018-01-18 11:49:34 -08:00
Christoph Kerschbaumer
8c6aa97797 Bug 1432358: Allow certain top-level pages to be agnostic to CSP. r=smaug
--HG--
extra : source : 27527f95cccca4927d4fee56b0dab9af11c5733f
2018-02-01 14:07:01 +01:00
Zhenghong Qian
3b10fc3980 Bug 1432029 - Highlight the justify-content area in the flexbox highlighter. r=gl 2018-02-10 17:51:43 -05:00
Michael Ratcliffe
91fec06628 Bug 1405650 - Migrate browser_webconsole_trackingprotection_errors.js to the new frontend r=jdescottes
MozReview-Commit-ID: 2Et1H6ynnEL

--HG--
extra : rebase_source : 4556b4ea74a7ca1c323243a6a91fc5f202512bf8
2018-02-09 17:27:01 +00:00
Sebastian Hengst
f5e840425b merge mozilla-inbound to mozilla-central. a=merge 2018-02-10 00:26:50 +02:00
Boris Zbarsky
55a170b415 Bug 1436508 part 15. Remove nsIDOMTransitionEvent. r=masayuki
MozReview-Commit-ID: EWWqk9HAwqp
2018-02-09 11:17:10 -05:00
Boris Zbarsky
fce30e834b Bug 1436508 part 10. Remove use of nsIDOMKeyEvent in JS. r=masayuki
MozReview-Commit-ID: GGciORX62Yh
2018-02-09 11:17:09 -05:00
Boris Zbarsky
05de0574d2 Bug 1436508 part 1. Remove nsIDOMAnimationEvent. r=masayuki
MozReview-Commit-ID: GRZzt1xGGDc
2018-02-09 11:17:08 -05:00
Jason Laster
804b64fa9d Bug 1436893 - Update Debugger Frontend v15. r=jdescottes
MozReview-Commit-ID: Ak2U6WTntOi
2018-02-09 15:48:51 +01:00
Csoregi Natalia
fca056426a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-09 18:54:37 +02:00
Csoregi Natalia
7ed2a637dc Merge inbound to mozilla-central. a=merge 2018-02-09 18:52:22 +02:00
Michael Ratcliffe
05207f075a Bug 1416824 - Patch 4: Use react-test-renderer-shallow r=nchevobbe
MozReview-Commit-ID: GSaozwuAhVE

--HG--
extra : rebase_source : fc73fb4014b7b8b75a6ddddd7ddd45fe3b5bb5ab
2018-02-09 11:12:50 +00:00
Mike Ratcliffe
8be94a27b9 Bug 1416824 - Patch 3: React Upgrade Documentation r=nchevobbe
MozReview-Commit-ID: 2xbn0qTVTSC

--HG--
extra : rebase_source : 18e22b2ab5362c435848b77c4fed82c4ccfd8d1c
2018-02-07 16:34:35 +00:00
Mike Ratcliffe
9a9400e19c Bug 1416824 - Patch 2: React 16 Vendor Files r=nchevobbe
MozReview-Commit-ID: CLZTmy0irqG

--HG--
extra : rebase_source : 76c9268e7f2dc88b0873a4a639bc731e563aa50c
2018-02-07 16:33:43 +00:00
Mike Ratcliffe
dd3348993e Bug 1416824 - Patch 1: React 16 Require statements and paths r=nchevobbe
MozReview-Commit-ID: 7BDgpYfLZLH

--HG--
extra : rebase_source : 664f6cc8a95fdf15cfb64f7cdfc18feec2f53339
2018-02-07 16:31:57 +00:00
Julian Descottes
a4e2f783c1 Bug 1406022 - remove browser_webconsole_reflow.js;r=nchevobbe
MozReview-Commit-ID: GO2jdUugR58

--HG--
extra : rebase_source : 2c36a08c2c1b910a2849dce7634200d87dcc8bf8
2018-02-09 13:28:11 +01:00
Csoregi Natalia
7f21ecd2bf Backed out 4 changesets (bug 1435296) for for failing devtools' browser_webconsole_check_stubs_console_api.js and mochitest's dom/smil/test/test_smilTimeEvents.xhtml. CLOSED TREE
Backed out changeset 1f07c08daa41 (bug 1435296)
Backed out changeset 89c121b45b30 (bug 1435296)
Backed out changeset be9496eff7b8 (bug 1435296)
Backed out changeset 2f94f155318e (bug 1435296)
2018-02-09 17:20:53 +02:00
Tom Ritter
fa5021da77 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
This affects several tests, and in all but one case merely disables timer precision
reduction on those tests.

In the other singular test, it no longer requires the end time of an operation to
be strictly greater than the start time, and allows it to be equal to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : c82310ce0269798a9c5bfffaec1f63a24ddc98e5
2018-02-06 15:11:56 -06:00
Julian Descottes
21e2cc5783 Bug 1404886 - remove browser_webconsole_mixedcontent;r=nchevobbe
All the content from this test is already covered in
- browser_webconsole_allow_mixedcontent_securityerrors.js
- browser_webconsole_filters.js

MozReview-Commit-ID: LUVDI6DmJiB

--HG--
extra : rebase_source : 56e20155dd1569259cc1b40fc38a894de1e0c146
2018-02-08 18:55:28 +01:00
Nicolas Chevobbe
0844d2267b Bug 1404364 - Enable browser_webconsole_output_copy.js in new console frontend; r=jdescottes.
The part on the copy context menu was removed since we have a dedicated test
for that.
We also delete browser_webconsole_jsterm_copy.js which was doing the same thing.

MozReview-Commit-ID: BGPkeHWb2bL

--HG--
extra : rebase_source : 10fba3160c84af68f65f4bd3059f4b877f2d6051
2018-02-08 09:03:24 +01:00
Nicolas Chevobbe
836ef00597 Bug 1435090 - Hide the persist logs checkbox on the browser console; r=Honza.
MozReview-Commit-ID: 1fT5YtyRRaT

--HG--
extra : rebase_source : fadfded4c1f7f20e8df1da408b7d83d0bddb790b
2018-02-08 15:33:47 +01:00
Nicolas Chevobbe
46f692cb58 Bug 1435090 - Allow to pass a hidePersistLogsCheckbox prop to the FilterBar; r=Honza.
This will allow us to hide the input for the browser console.

MozReview-Commit-ID: AOltH7HakQE

--HG--
extra : rebase_source : 6f5f278ea69af479c8e1eda87f939ac30a8d6ae7
2018-02-08 15:15:00 +01:00
Jeff Walden
e904db9d68 Bug 1434429 - Use the current offset, not the offset of the start of the current token, when reporting errors for unterminated string/template literals. r=till 2018-01-18 11:34:26 -08:00
Jeff Walden
930d1cfb40 Bug 1436150 - Make debugger-controller.js properly handle watch expressions, containing syntax errors, where the error message for the syntax error contains U+0022 QUOTATION MARK within it. r=jimb
--HG--
extra : rebase_source : 451bbcb16d7d9c77e7121faa241985c27ab6d1c3
2018-02-06 02:08:55 -08:00
Julian Descottes
45fa41101e Bug 1405649 - enable browser_webconsole_split_persist.js;r=Honza
MozReview-Commit-ID: IISiwUya2x8

--HG--
extra : rebase_source : 32e8c7808ccdc8730dc11729804bb6c03610e0eb
2018-02-09 19:40:59 +01:00
Julian Descottes
43c0e86421 Bug 1405648 - enable browser_webconsole_split_focus.js;r=Honza
MozReview-Commit-ID: 6SLfByzAsFF

--HG--
extra : rebase_source : bf9d34dca74a5b7e843e5d0d4a28115f8b7232e0
2018-02-09 18:15:54 +01:00
Julian Descottes
68dda714a2 Bug 1405647 - enable browser_webconsole_split_escape_key.js;r=Honza
MozReview-Commit-ID: 2p5VNzKhwo2

--HG--
extra : rebase_source : 7f531efefe144c263fd3cdb32328ca291074e98b
2018-02-09 17:49:19 +01:00
Julian Descottes
d089325c36 Bug 1405245 - enable test-csp-violation.html for new webconsole;r=nchevobbe
MozReview-Commit-ID: IgONHkE3Pjk

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_violation.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_csp_violation.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug_1247459_violation.html => devtools/client/webconsole/new-console-output/test/mochitest/test-csp-violation.html
extra : rebase_source : fdb0cd8892eabe1b030b54ffc662912c143f2820
2018-02-05 11:49:37 +01:00
Julian Descottes
3429eb9b3f Bug 1405245 - webconsole PageError component read repeat from props;r=nchevobbe
MozReview-Commit-ID: C3Vs4Uv6gGv

--HG--
extra : rebase_source : 0950ad7770f944fceb10ec89dd9d4a765fe3e9b6
2018-02-05 11:49:03 +01:00
Andreea Pavel
2a7b1dfa56 Merge mozilla-central to autoland. on a CLOSED TREE 2018-02-15 12:34:12 +02:00
Daisuke Akatsuka
73e88fa686 Bug 1416106 - Part 13: Remove extra margin-bottom. r=gl
MozReview-Commit-ID: 4NjZ9HKegX1

--HG--
extra : rebase_source : 428734890d2888d36977a69f5374d57ca68f6147
2018-02-15 13:29:21 +09:00
Daisuke Akatsuka
801fcb9c81 Bug 1416106 - Part 12: Add tests. r=gl
MozReview-Commit-ID: 6kYdxqwPeKF

--HG--
extra : rebase_source : 022a46c49055db9526d7a534a4df787fac0bdc95
2018-02-15 13:29:12 +09:00
Daisuke Akatsuka
e5b9e892d6 Bug 1416106 - Part 11: Implement keyframe markers. r=gl
MozReview-Commit-ID: 2hN43aFN9Da

--HG--
extra : rebase_source : aaddd45ff99080a4b76279ef4b453adcc709a5cb
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka
4123eb227b Bug 1416106 - Part 10: Implement easing hit. r=gl
MozReview-Commit-ID: 5d6f1dysdxm

--HG--
extra : rebase_source : 85910c64ad2976f22cad4a7340abc46f97216b12
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka
94a0a128f3 Bug 1416106 - Part 9: Set styles to graph. r=gl
MozReview-Commit-ID: J44bKeKxdZN

--HG--
extra : rebase_source : 43496aeb14390ca287e08bd36c529cd5f278f12a
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka
6e804a1d94 Bug 1416106 - Part 8: Implement discrete graph. r=gl
MozReview-Commit-ID: HxPLpQTQTiS

--HG--
extra : rebase_source : f2fd21742949a8320220c2936c2e5c325765ba67
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka
77faaa1357 Bug 1416106 - Part 7: Implement color graph. r=gl
MozReview-Commit-ID: 4ek6LXtsmKc

--HG--
extra : rebase_source : 07d9957c5e93712f40c0229049b743222e7579e3
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka
be29184c93 Bug 1416106 - Part 6: Implement distance graph. r=gl
MozReview-Commit-ID: Hlws41Ex7jj

--HG--
extra : rebase_source : ff5b231221f77e1420ca36e614e0f4d3a27dbb39
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka
edbc0728ab Bug 1416106 - Part 5: Implement base of keyframes graph. r=gl
MozReview-Commit-ID: FpTZvREM35Y

--HG--
extra : rebase_source : 609e91a8f17d802934bc68a60dffd8ab32501136
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka
31055d414c Bug 1416106 - Part 4: Add test for property name component. r=gl
MozReview-Commit-ID: En70sbOhcsr

--HG--
extra : rebase_source : 824eaf1329e48804e800d15632b9d61a8a2b8cb7
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka
3adb8190da Bug 1416106 - Part 3: Implement compositor warning. r=gl
MozReview-Commit-ID: 18qQ1FydML4

--HG--
extra : rebase_source : 623637aaec06857f1f225f1fdfd28e062f08300b
2018-02-14 23:18:11 +09:00
Daisuke Akatsuka
050f7a0ef2 Bug 1416106 - Part 2: Implement compositor sign to property name. r=gl
MozReview-Commit-ID: v7c6rt6vpl

--HG--
extra : rebase_source : aba556b403270b71b33b2401b3d8de5f7806e141
2018-02-14 23:18:11 +09:00
Daisuke Akatsuka
5c3e21020f Bug 1416106 - Part 1: Implement base of property name. r=gl
MozReview-Commit-ID: GSPIZG31RhB

--HG--
extra : rebase_source : a8a6e6535fcda771eb0fdf249b08194bc5c430cb
2018-02-14 23:18:11 +09:00
Jan Odvarko
0cbe3f285a Bug 1429803 - Fix test; r=ochameau
MozReview-Commit-ID: 5O2N7xsMzyh

--HG--
extra : rebase_source : 87e34e4bb8cd74dec847b06adc5edae744854bb1
2018-02-14 18:41:36 +01:00
Jan Odvarko
237db8d1b6 Bug 1429803 - Properly populate response header columns; r=rickychien
MozReview-Commit-ID: 3FS6QtUS8yB

--HG--
extra : rebase_source : 17f27d2768d077564efbd092dfe3dce046fc28cb
2018-01-18 14:55:58 +01:00
ewhite7
7166c3c714 Bug 1393609 - Add a test for line-height in console.log custom style; r=nchevobbe.
MozReview-Commit-ID: BD2fjv6u4b2

--HG--
extra : rebase_source : 8943437bc2756334000ad7fe162dd8bdeeb6c72e
2018-01-05 21:33:53 -05:00
Nicolas Chevobbe
da3e572a83 Bug 1405352 - Split browser_webconsole_jsterm.js in multiple tests; r=Honza.
The test was doing a lot of things and was hard to follow.
Here we split it so we can have dedicated tests for each helpers.

MozReview-Commit-ID: 6YGR3aq6jYn

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_document_no_xray.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_error_docs.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_error_outside_valid_range.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar_x.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_help.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_keys_values.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_pprint.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_instance_of.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_null_undefined.js
extra : rebase_source : dafa772bcbc6b379fd6ec1137c07ba24e794fc71
2018-01-24 11:34:30 +01:00
Nicolas Chevobbe
eec262a2d8 Bug 1307899 - Remove renderComponent and switch consumers to using Enzyme instead; r=bgrins.
MozReview-Commit-ID: D88nlKJOSjk

--HG--
extra : rebase_source : df1287c1f012592d92579ac6397bd85a0e527b76
2018-02-08 16:43:50 +01:00
Mark Banner
21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
sole
a7c710f1f8 Bug 1404877 - Migrate browser_webconsole_bug_658368_time_methods.js to the new frontend. r=nchevobbe
MozReview-Commit-ID: 3Z6097zECDn

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-658368-time-methods.html => devtools/client/webconsole/new-console-output/test/mochitest/test-time-methods.html
extra : rebase_source : 5ad9c572ac391bafdc01605801cfb6928f5d87ef
2018-02-16 14:25:09 +00:00
Nicolas Chevobbe
95ed6cf8b9 Bug 1438476 - Fix launchpad configuration for console and netmonitor; r=jdescottes.
Since we don't run babel on the mocha tests anymore, we don't need to have a dedicated
env config in babelrc.
Also, bump min node version in both netmonitor and webconsole since we require async/await
to be supported.
Remove the "devDependencies" from netmonitor as we don't really have any use of it.

MozReview-Commit-ID: Ep4u59TZHAf

--HG--
extra : rebase_source : f3b184c83b063fdf1758b2ed4ecf57dd1b16641d
2018-02-16 14:59:51 +01:00
Nicolas Chevobbe
102570114c Bug 1438476 - Fix mocha tests broken due to React 16 update; r=ochameau.
MozReview-Commit-ID: 9v2sWMSA7pG

--HG--
extra : rebase_source : ace2d358cbcacd18e9eacdd6971cdf51975f118c
2018-02-15 12:27:52 +01:00
Nicolas Chevobbe
7a42afbdc7 Bug 1438476 - Fix and document webconsole test's package.json; r=jdescottes.
There was a few things wrong with new-console-output/test/package.json:
 - It had a dependency on the netmonitor folder, which means that we were
   pulling all the dependencies from netmonitor's package.json, including
   the launchpad, which we don't want. It was done so netmonitor's babelrc
   would find the plugins it needed. This is now fixed by not using babel at all.
   Removing babel allowed us to get rid of NODE_PATH hack which could have been
   harmful. This was doable by modifying the require-hacker callback to rewrite
   all mozilla-central require to absolute path.
 - The complex `test` script command wasn't documented. We now use the "//"
   key to add comments (we have to since we're in a json file), which is ignored
   by npm.
 - We were running some tests from the node_modules folder since our glob
   wasn't restrictive. We now only target folders where we do have mocha tests.
 - As a consequence, we were pulling dependencies that were needed for those
   tests, but not for ours.
 - The Enzyme configuration was done before declaring the require hook, which
   again forced us to pull dependencies that we don't need.

MozReview-Commit-ID: K7NXersnis8

--HG--
extra : rebase_source : 617b67921dd3bddaadc04b0901ece63581b98097
2018-02-16 08:34:53 +01:00
Sebastian Hengst
9ccfb5a21c Bug 792808 - switch to webidl XHR: add missing comma detected by eslint. r=eslint-fix on a CLOSED TREE 2018-02-16 17:19:20 +02:00
Jason Laster
2e8b477080 Bug 1436151 - Breakpoints at the beginning of a line are missed. r=jimb
--HG--
extra : rebase_source : 247b33c30e746b81edc78a8e3bdcb99ae97f598e
2018-02-14 12:02:00 +02:00
Nick Fitzgerald
6f0275ce7d Bug 1438040 - Remove unused PromiseDebugging builtin devtools module; r=jimb
--HG--
extra : rebase_source : e8712ce666e0b855a0d3f7a024a703e350cf357b
2018-02-14 09:23:00 +02:00
Dorel Luca
dabf7b41ee Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 021950f3661e3b1d96e768155c5754b7af039f84
2018-02-15 00:35:45 +02:00
arthur.iakab
4139c1f914 Backed out 14 changesets (bug 1436659) for Eslint failures on devtools/server/actors/animation.js:876:12 on a CLOSED TREE
Backed out changeset a2890507d13a (bug 1436659)
Backed out changeset c653d7a1b3ef (bug 1436659)
Backed out changeset 4ae911f19aee (bug 1436659)
Backed out changeset e9381081ab6a (bug 1436659)
Backed out changeset 7301bfeeb65c (bug 1436659)
Backed out changeset 607dccfa8387 (bug 1436659)
Backed out changeset 8f61bf3de90a (bug 1436659)
Backed out changeset 920aa51ae3a2 (bug 1436659)
Backed out changeset bfa0d1a4bf1c (bug 1436659)
Backed out changeset 467dd218d3d3 (bug 1436659)
Backed out changeset 737ff1676ff0 (bug 1436659)
Backed out changeset 071666b6c7e9 (bug 1436659)
Backed out changeset c2932cd4839f (bug 1436659)
Backed out changeset a9777027b7ad (bug 1436659)

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-playback-rate-of-an-animation.html => testing/web-platform/tests/web-animations/interfaces/Animation/playbackRate.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/the-current-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/current-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-start-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-animation-start-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-target-effect-of-an-animation.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-timeline-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-timeline-of-an-animation.html
2018-02-14 22:40:07 +02:00
Razvan Caliman
9ba28cabad Bug 1435368 - Implement precision when rounding polygon coordinates on Shapes editor. r=gl,pbro
--HG--
extra : rebase_source : 6103596ed117bb34c97aa6e0713deff56ae7342b
2018-02-06 11:35:55 -05:00
Nicolas Chevobbe
2b3f80a3b5 Bug 1403450 - Add test cases from browser_webconsole_repeated_messages_accuracy.js to mocha; r=jdescottes.
This test had some cases that weren't covered in our mocha tests,
so we add them. In order to do that, we added a stub.
We remove the mochitest and its support file.
Since the support file was used by another test, we modify it to
add the part that was used.

MozReview-Commit-ID: AL4qWcWHQiA

--HG--
extra : rebase_source : 632e10a25c724044979d2ef4a02648e95ff88bbb
2018-02-13 07:57:24 +01:00
Alexandre Poirot
8a23ea3661 Bug 1429824 - Try to prevent races in browser_net_autoscroll.js. r=Honza
MozReview-Commit-ID: 8xkCmd2TFhM

--HG--
extra : rebase_source : a6f6b6881265cd7592cb2ed0acfa342e944cb7b3
2018-02-09 02:39:45 -08:00
Alexandre Poirot
8416e403a2 Bug 1429824 - Always use a valid transformation against the waterwall. r=Honza
MozReview-Commit-ID: 2i697zR4FbM

--HG--
extra : rebase_source : 58bb3242981850929fa617da276566f583d2b755
2018-02-08 07:55:14 -08:00
Alexandre Poirot
068045ff30 Bug 1429824 - Prevent reflows related to scroll to bottom feature. r=Honza
MozReview-Commit-ID: Hnr5tIvTeUv

--HG--
extra : rebase_source : 1f5bd1b7f8d5e3d0e7545c26dbb64534b2f722ef
2018-01-11 07:05:20 -08:00
Jan Odvarko
d433394917 Bug 1435048 - Wait for async UI update; r=ochameau
MozReview-Commit-ID: Co3WyAIzOLg

--HG--
extra : rebase_source : f162c0bce3bb0fe92bd3044036b7888bed799887
2018-02-09 17:29:30 +01:00
Nicolas Chevobbe
1f4acf1a37 Bug 1436690 - Fix mocha tests due to React and Enzyme updates; r=bgrins.
MozReview-Commit-ID: JDyr9WNnEwU

--HG--
extra : rebase_source : 865a59b3dfbc6f8ec59a1bd7dfcd3683a0b3a8b7
2018-02-12 16:17:45 +01:00
Nicolas Chevobbe
a933f2d348 Bug 1436690 - Fix React 16 warning in NetworkMessage component; r=bgrins.
In this component we had an <a> element as a child of another <a> element,
which isn't valid. Furthermore, we didn't make use of this <a>, so switching
to a span brings us validity without any drawbacks.

MozReview-Commit-ID: 3EM8jkEtSKI

--HG--
extra : rebase_source : 9b585b7a0dfb251b80d7712ed8dd18169a474199
2018-02-12 16:17:00 +01:00
Nicolas Chevobbe
338ae4c4cc Bug 1436690 - Remove unecessary amd load for Reps in GripMessageBody; r=bgrins.
This is simply not needed anymore.

MozReview-Commit-ID: LcWlc05qX5k

--HG--
extra : rebase_source : e885564f81c9396ef12205dfdd10d09a7f5e13bc
2018-02-12 16:15:15 +01:00
Nicolas Chevobbe
21bfdaef07 Bug 1436690 - Switch react (et al.) to version 16.2, and update dependencies; r=bgrins.
Since React 16 landed in the toolbox, we should have it as well in the launchpad and in tests.
This forced us to do some changes:
 - Remove the Perf util hook in local-dev
 - Update Enzyme to version 3
 - Add an enzyme adapter for React.
 - Add react-prop-types dependency

The require-helper file is renamed into mocha-test-setup since it takes care of many things now.

MozReview-Commit-ID: 2tDRjrjc4Dh

--HG--
rename : devtools/client/webconsole/new-console-output/test/require-helper.js => devtools/client/webconsole/new-console-output/test/mocha-test-setup.js
extra : rebase_source : b46d2da643735c4f07238606f7c78c897fe13626
2018-02-12 16:13:59 +01:00
Nicolas Chevobbe
c4aebfce0b Bug 1436690 - Add a webconsole tests dedicated package.json file; r=bgrins.
This will free the tests of the devtools-launchpad dependency so we
have a more robust workflow. Also, this will facilitate running those
tests on CI.

MozReview-Commit-ID: JkF89YBxlO4

--HG--
rename : devtools/client/webconsole/package.json => devtools/client/webconsole/new-console-output/test/package.json
extra : rebase_source : 337c06ee4c0892bbc2fdbd750582ffb360a1f3e3
2018-02-12 16:11:55 +01:00
Brian Birtles
e923bbfcff Bug 1436659 - Use updatePlaybackRate in DevTools; r=daisuke
updatePlaybackRate provides a smoother update than setting playbackRate
directly.

MozReview-Commit-ID: 7AbJYuDADvg

--HG--
extra : rebase_source : 94125d751e73f82ecb973738d26f547405518d8b
2018-02-13 15:04:18 +09:00
Alexandre Poirot
793ced87e6 Bug 1436978 - Stop using Promise.jsm in devtools/server in favor of DOM Promises. r=jdescottes
MozReview-Commit-ID: Hv7uYZKZGIO

--HG--
extra : rebase_source : 95455a3c13b608d96f9a1f3c4a3071c04c7480f8
2018-02-13 02:31:14 -08:00
Michael Ratcliffe
9eed559d45 Bug 1404844 - Migrate browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js to the new frontend r=jdescottes
MozReview-Commit-ID: 6GbekLySWc9

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_ctrl_a_select_all.js
extra : rebase_source : 4b0f0899a127e939b44963a577fd39c856f6b423
2018-02-12 15:59:46 +00:00
Nicolas Chevobbe
ec298c820e Bug 1436110 - Add pageError and evaluationResult tests for thrown strings; r=bgrins.
MozReview-Commit-ID: E1HVY5fPwzV

--HG--
extra : rebase_source : ac9bed946c47f6afcdbe085de82530a9edfd52e6
2018-02-06 19:18:30 +01:00
Nicolas Chevobbe
cfb37562f8 Bug 1436110 - Fix stub generation and update existing stubs; r=bgrins.
MozReview-Commit-ID: KSzHxX3WNsz

--HG--
extra : rebase_source : 2eb0fc46eb2b44acb9c1d3794f38d89e4628cb75
2018-02-07 09:43:24 +01:00
Nicolas Chevobbe
d9a179c704 Bug 1436110 - Fix rendering of thrown string in evaluation results; r=bgrins.
If the user tried to evaluate `throw ""`, an "undefined" message was displayed
in the console output, which is wrong. Some changes needed to be made to the
messages util to better handle those cases.

MozReview-Commit-ID: Is5pJYB2N48

--HG--
extra : rebase_source : 90a95af6bf7f5046e652b02263ae118fc4156693
2018-02-07 09:42:13 +01:00
Michael Ratcliffe
41a0fa43ae Bug 1404359 - Migrate browser_webconsole_bug_586388_select_all.js to the new frontend r=jdescottes
MozReview-Commit-ID: 38FpS7RaSky

--HG--
extra : rebase_source : 20f3dab606b15b1b8f841f585201f6ca721c88b2
2018-02-12 22:55:51 +00:00
Tiberius Oros
3e0407d30b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-09 12:14:43 +02:00
Gabriel Luong
9f8c11489e Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Cosmin Sabou
2400be0754 Merge inbound to mozilla-central. a=merge 2018-02-09 02:29:56 +02:00
Narcis Beleuzu
d299fdd9b4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-08 21:36:33 +02:00
Geoff Brown
96b11899f4 Bug 1373558 - disable browser_net_statistics-01.js for intermittent failures r=gbrown 2018-02-08 11:48:54 -07:00
Jan Odvarko
268655eacf Bug 1435048 - Wait for timeline markers; r=ochameau
MozReview-Commit-ID: 3VajbmirQEX

--HG--
extra : rebase_source : 0350dc6276daf5f7a3a05a990b25993a13f4f0c0
2018-02-08 14:10:31 +01:00
shindli
0fcb667b73 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 12:13:08 +02:00
shindli
a5abf843f8 Merge inbound to mozilla-central. a=merge 2018-02-08 12:04:26 +02:00
Patrick Brosset
40fbce0fbf Bug 1436343 - Simplified the font inspector's CSS; r=gl
MozReview-Commit-ID: CcvkW8NGh9L

--HG--
extra : rebase_source : f8f2c4623c7503af9e8929ee81ed9106390ec897
2018-02-07 23:07:19 +01:00
Nicolas Chevobbe
4cb730f168 Bug 1434218 - Add a README.md file for the console; r=bgrins.
The README file provides information about the WebConsole, its architecture,
how to run it, how to run tests, …
The README file in new-console-output/test is updated.

MozReview-Commit-ID: LofromidTWl

--HG--
extra : rebase_source : 10c34941ded3d5f778be1f385f67ce3537487555
2018-02-06 11:58:53 +01:00
Ciure Andrei
8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Ciure Andrei
ddcf44b20a Backed out changeset a4ae1745e9d4 (bug 1432599) for mochitest devtools failures, a=backout on a CLOSED TREE 2018-02-08 00:24:44 +02:00
Ciure Andrei
cda04ea11e Merge inbound to mozilla-central. a=merge 2018-02-08 00:05:57 +02:00
Jason Laster
605269a01f Bug 1436210 - Update Debugger Frontend v14. r=jdescottes.
MozReview-Commit-ID: 7hHRQLx5DaZ

--HG--
extra : rebase_source : 7984fae7323c975b3d5586af5c988cf94f47057c
2018-02-07 18:04:07 +01:00
Dorel Luca
a539f8f7fe Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 17:05:03 +02:00
Alexandre Poirot
812a7d1f8c Bug 1434221 - Remove launchpad/npm workflow support from inspector. r=jdescottes
MozReview-Commit-ID: JmZUHOxqMam

--HG--
extra : rebase_source : 90be41ebc434edafeedfcf828a97d9f76d4dd12f
2018-02-01 07:10:41 -08:00
Alexandre Poirot
54ef877eee Bug 1435791 - Remove webapps actor front. r=jdescottes
MozReview-Commit-ID: A21zlETw5Iz

--HG--
extra : rebase_source : 7656d666d8d97add75ec7494b47878424b6028a8
2018-02-05 10:25:25 -08:00
Alexandre Poirot
c1196409cb Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 84269b1282c822e21747a7196d0fa8482418aaa4
2018-02-06 01:05:59 -08:00
Alexandre Poirot
7b5702c3b8 Bug 1434374 - Remove useless Cu imports. r=jdescottes
MozReview-Commit-ID: FUeBcCrmHPL

--HG--
extra : rebase_source : bfd8ad108c7859f7271f91572e63ecf625004166
2018-02-06 11:08:31 -08:00
Alexandre Poirot
e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Alexandre Poirot
30e8a847a0 Bug 1434374 - Replace usages of Cu.import in modules (where ChromeUtils isn't defined) r=jdescottes
MozReview-Commit-ID: 8kw2H4R2VIZ

--HG--
extra : rebase_source : 7e870c31249a28dc97069c61ac73687e6ad1d98b
2018-02-05 08:43:50 -08:00
Alexandre Poirot
cb1c1fdaed Bug 1434374 - Always import deprecated-sync-promises as a module. r=jdescottes
MozReview-Commit-ID: B97O55CxD8T

--HG--
extra : rebase_source : 5fcaf98188d5f58278e2c7aaec7ebc6560417523
2018-02-05 08:11:30 -08:00
Dorel Luca
a844f3b4b3 Backed out changeset ed63734c2be4 (bug 1431900) for Browser-Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js 2018-02-07 11:40:18 +02:00
Julian Descottes
032a249e6f Bug 1403334 - followup: remove leftover comment from 1afdba933156;r=me
MozReview-Commit-ID: 3JRvyATgpAz

--HG--
extra : rebase_source : 29dc25ee880244d024280c8143665f92f98b9116
extra : amend_source : 20a898b928c29439ed4494063773fcd04feb7004
2018-02-07 10:19:50 +01:00
Gabriel Luong
e653874a84 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Gurzau Raul
772c8edfef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 02:29:42 +02:00
Andrew McCreight
4a583a2b25 Bug 1432992, part 3 - Adjust some line numbers in tests. r=florian
Deleting lines in part 1 caused two tests to break, because they check
the line numbers for source files. The devtools part of the patch was
automatically generated.

MozReview-Commit-ID: DrDZeyVnpE0

--HG--
extra : rebase_source : 72c1623015f029a5adef20669cc102c568d3b67e
2018-02-01 13:35:20 -08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Oriol Brufau
62eb995d90 Bug 1433655 - Allow JSON Viewer to change expandedNodes state. r=Honza
MozReview-Commit-ID: C2Db2U2KQKp

--HG--
extra : rebase_source : 2fd1d921bd8726afdc1c416ca2ab6a8b16b49434
2018-01-28 22:50:16 +01:00
Brian Grinstead
5e5bd21b2f Bug 1435084 - Create a pref to enable the new console UI in the browser console;r=nchevobbe
MozReview-Commit-ID: FUgk7Omk4V1

--HG--
extra : rebase_source : 98579d5ce256fa60c84716a9f3bd3dd51f187c3a
2018-02-01 14:44:00 -08:00
Gabriel Luong
a2a3d02cd4 Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Gabriel Luong
756195eb25 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Julien Wajsberg
802e65eed8 Bug 1436185 - Fix indentation in the rules subpanel in the inspector r=gl
On some platforms with some fonts, some floated element takes too much
space and we need to clear it.

MozReview-Commit-ID: Lbm1bVkPnl4
2018-02-07 16:08:28 +01:00
Dorel Luca
890eb016d9 Merge mozilla-central to autoland. r=merge
--HG--
extra : rebase_source : f28e015c1411d7185cd69a272fea28620af062d9
2018-02-07 12:18:35 +02:00
Coroiu Cristina
1ecbdba719 Backed out 2 changesets (bug 1435791) for bustage at /tests/test_mozbuild_reading.py on a CLOSED TREE
Backed out changeset 88c8ba0ee51d (bug 1435791)
Backed out changeset 3d7cea225c57 (bug 1435791)
2018-02-07 12:04:33 +02:00
Alexandre Poirot
61355e5dd1 Bug 1435791 - Remove webapps actor front. r=jdescottes
MozReview-Commit-ID: A21zlETw5Iz

--HG--
extra : rebase_source : c7653bb64707fb3c0501b2bf21be3d838d3f78f3
2018-02-05 10:25:25 -08:00
Alexandre Poirot
dc9ab39924 Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 9d4a66356f4da9d76b9579b803e6d4259f1db962
2018-02-06 01:05:59 -08:00
Cameron McCormack
234b89c117 Bug 1435666 - Part 3: Remove nsIDOMXPathResult. r=bz
MozReview-Commit-ID: 9j6dUlanNTi

--HG--
extra : rebase_source : 9a790516379441d4e048009bcacdd26e93fde6ae
2018-02-05 11:39:18 +08:00
Gurzau Raul
3a5264e71b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 00:00:20 +02:00
Jason Orendorff
cfd968f58d Bug 1431202 - Part 2: Fix weird debugger stepping behavior with nested functions. r=nbp, r=jlast.
FunctionDeclarations are instantiated when we enter a scope, before any of the
code in that block/script/function is evaluated. The spec calls this phase
"declaration instantiation"; sometimes it's informally called "hoisting".

Before this patch, stepping would show this. You would step into a function,
and hitting the Step Over button a few times would visit all the nested functions
in that function. Then you would jump back to the top of the outer function and
actually start running the statements. This is so confusing that we are
changing it; now opcodes that instantiate functions don't have location
information, so stepping doesn't stop on those opcodes.

--HG--
extra : rebase_source : d8de1fc50573b82bf76dc7464355bfba068eaa30
extra : source : b94db3c0c2c0752915e2f4401269a0d24cbef882
2018-02-06 10:58:03 -06:00
Boris Zbarsky
bf4f2a0bac Bug 1435483 part 1. Stop using nsIXPCException in devtools code. r=ochameau
This code has never worked correctly.  Bug 911258 landed on 2013-09-09 and
removed the initialize() method from XPConnect exceptions.  This code landed
two days after that.  If it's ever reached, it will just throw when calling the
nonexistent initialize() method.

MozReview-Commit-ID: FWpP1fLBIPW
2018-02-05 16:34:03 -05:00
Gabriel Luong
86b49a3834 Bug 1432599 - Part 1: Refactor translateNodeFrontToGrip function to inspector shared utils. r=pbro 2018-02-05 13:47:10 -05:00
Noemi Erli
3d09e55d55 Merge inbound to mozilla-central. a=merge 2018-02-03 11:52:03 +02:00
Masayuki Nakano
dfd6ae6c4b Bug 1435180 - Make existing tests aware of strict keypress event dispatch r=smaug
We'll stop dispatching keypress events on web contents for conforming to spec of
UI Events.  Some existing tests assumes that keypress events are fired even
when non-printable keys are pressed.

This patch makes them check the pref,
"dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content"
and only listen to keydown event instead of keypress even if the pref is true
and expected key event is not a printable key press.

MozReview-Commit-ID: 6bKoK7dsB0l

--HG--
extra : rebase_source : b3705b0814d5690e00208d0d3315f09f886c6f26
2018-02-02 18:10:22 +09:00
Jason Laster
f805944739 Bug 1435187 - Refactor the script actor. r=jdescottes
- Extract paused scoped objects.
 - Extract event loop stack. r=jdescottes
 - Extract actor stores. r=jdescottes
 - Move script.js to actor.js. r=jdescottes

--HG--
rename : devtools/server/actors/script.js => devtools/server/actors/thread.js
2018-02-02 10:57:00 +02:00
Coroiu Cristina
e06af9c36a Merge inbound to mozilla-central a=merge 2018-02-02 19:38:23 +02:00
Jason Laster
6bbb5aa1c6 Bug 1434769 - Update Debugger Frontend v13. r=jdescottes
MozReview-Commit-ID: 9lClQD2RWSK
2018-02-02 16:06:44 +01:00
Alexandre Poirot
9b02438d02 Bug 1434225 - Move codemirror build steps README to devtools/client/sourceeditor/. r=gl
MozReview-Commit-ID: K2aKnNopC7Y

--HG--
rename : devtools/client/sourceeditor/codemirror/README => devtools/client/sourceeditor/README
extra : rebase_source : b7318cdad63c76458bca7b63be71ac71969cf0d7
2018-02-01 07:15:42 -08:00
J. Ryan Stinnett
c8aee8f9ba Bug 1430916 - Rotate grid line numbers for writing mode. r=pbro
Adjust grid highlighter line numbers to rotate to the expected position outside
the grid container even in the presence of writing mode and text direction.

This is also refactors and preserves the recently added behavior to flip line
numbers inside the container if they are near the viewport edge.

MozReview-Commit-ID: 4zFjJY4Iqdz

--HG--
extra : rebase_source : 131af55ca55c7ae7b3c42fbd6b77f68236259009
2018-01-30 23:31:42 -05:00
Patrick Brosset
e548c28977 Bug 1434981 - Display fonts for text nodes too; r=gl
MozReview-Commit-ID: 4hzEowvZWk

--HG--
extra : rebase_source : 3820f76d37728d57a0a7ae9df594fcd2f3b8d7c2
2018-02-01 21:40:21 -05:00
Jonathan Kingston
53c9c480b7 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
Gurzau Raul
1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Gabriel Luong
a87c1eea8d Bug 1434295 - Update CodeMirror to 5.34.0. r=bgrins 2018-02-01 10:19:28 -05:00
Csoregi Natalia
d8b0109aae Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 20:13:43 +02:00
Jan Odvarko
da4956859b Bug 1174091 - Output 'load' and 'DOMContentLoaded' event to HAR; r=ochameau
MozReview-Commit-ID: 9bWXf9At2DC

--HG--
extra : rebase_source : a87efc202c76dbe4e7bb307a524ae39ab691038c
2018-02-01 16:37:06 +01:00
Narcis Beleuzu
eeb7190f9a Merge inbound to mozilla-central. a=merge 2018-02-01 12:05:39 +02:00
Liam Hodgins
19eedbc5e6 Bug 1403334 - Make sure the property value overflow is indented. r=gl 2018-01-31 22:50:51 -05:00
Tom Tromey
3b8e63c66a Bug 1255369 - fix getCSSValuesForProperty for line-style-type; r=xidorn
This fixes InspectorUtils::getCSSValuesForProperty to return the
correct values for line-style-type.

MozReview-Commit-ID: 72Tes6y15j8

--HG--
extra : rebase_source : fa893f59cafc433f554353cf42d0f9495cdd5b23
2018-01-31 08:50:27 -07:00
Cosmin Sabou
7092b51729 Merge mozilla-central to autoland. a=merge on CLOSED TREE 2018-02-01 01:19:48 +02:00
Cosmin Sabou
cbddf62d14 Merge inbound to mozilla-central. a=merge 2018-02-01 01:14:44 +02:00
shindli
a9ac1e44cc Merge inbound to mozilla-central. a=merge 2018-02-01 00:32:39 +02:00
Boris Zbarsky
2c472fbf65 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Cosmin Sabou
94617f91cf Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Gabriel Luong
aa4c03aafa Bug 1434514 - Move the rule property expander next to the property value. r=pbro 2018-01-31 10:06:55 -05:00
Boris Zbarsky
05b8447eb6 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Andreea Pavel
7c471ab23e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-31 19:43:15 +02:00
Julian Descottes
ebc768d323 Bug 1403902 - migrate browser_webconsole_bug_580454_timestamp_l10n to xpcshell test;r=nchevobbe
MozReview-Commit-ID: 6uMMrzMSJB6

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js => devtools/client/webconsole/new-console-output/test/unit/test_webconsole_l10n.js
extra : rebase_source : d299dc9973edea6ce1fc3899b3c8a1cc13bf47f3
2018-01-31 08:56:21 +01:00
Jason Laster
ae8b90234b Bug 1434025 - Update Debugger Frontend v12. r=jdescottes
MozReview-Commit-ID: H7ti3ZopbZC

--HG--
rename : devtools/client/debugger/new/test/mochitest/examples/reload/doc_reload.html => devtools/client/debugger/new/test/mochitest/examples/reload/doc-reload.html
extra : rebase_source : 2c79781fa31664ccc793b14c097411d12335f6dc
2018-01-31 16:32:18 +01:00
shindli
f713c5d75e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 00:37:57 +02:00
Alexandre Poirot
a23ef8c95c Bug 1426906 - Fix intermittent leak from test_websocket-server.html. r=jryans
MozReview-Commit-ID: HlPgPjCnA1q

--HG--
extra : rebase_source : 9201d146e757411e8cc6d795136ea0227eb75439
2018-01-30 07:10:26 -08:00
Alexandre Poirot
49d12768bc Bug 1432803 - Convert browser_keybindings_01.js to use async/await. r=Honza
MozReview-Commit-ID: LSQAQaiQI7l

--HG--
extra : rebase_source : 4b534b4e7b437b310977cbf4e16ce87f4fc93138
2018-01-25 08:32:02 -08:00
Alexandre Poirot
a273cd43a5 Bug 1432803 - Prevent using timeline actor to get DOMContentLoaded and load timings. r=Honza
MozReview-Commit-ID: Kkn36gDFTKN

--HG--
extra : rebase_source : e52861432f5651b864cada0c70568d504d883c6c
2018-01-24 08:48:26 -08:00
shindli
f0168929ca Backed out changeset e401076359c6 (bug 1354175) for M(8) failures on a CLOSED TREE 2018-01-31 21:26:42 +02:00
Julian Descottes
86302f330b Bug 1434217 - remove deprecated frontForRawNode from inspector front;r=bgrins
MozReview-Commit-ID: GvK2lGDq8ea

--HG--
extra : rebase_source : 7e90754cf83406f08d82b50d79704912c39dca7d
2018-01-30 14:30:14 +01:00
Julian Descottes
7cb0ab74fe Bug 1434217 - remove walker actor methods deprecated in FF29;r=bgrins
MozReview-Commit-ID: 6ZxGTFNvOj4

--HG--
extra : rebase_source : 3dfdb2e40c95b0eb093f95cf4957343b4a993129
2018-01-30 11:58:30 +01:00
Julian Descottes
6683646ba1 Bug 1434217 - Remove unused inspector actor traits;r=bgrins
Inspector actor traits were used for backward compatibility, with
versions of Firefox older than 45. Our policy is to support servers
up to the last ESR version, which is 52 at the moment so these
should be safe to remove.

MozReview-Commit-ID: 6MwUp8vbW29

--HG--
extra : rebase_source : b36799130e66e4abdaee628d48ad1b056bc1afcd
2018-01-30 10:49:24 +01:00
Julian Descottes
7342f5b695 Bug 1269527 - stop showing incorrect closing tagline for #document;r=bgrins
MozReview-Commit-ID: 9htiEEWlCTG

--HG--
extra : rebase_source : ae19efe422f255a08dc18f8a9044ea85c7a6bba3
2018-01-25 23:07:11 +01:00
Julian Descottes
8cfe81bd3d Bug 1434543 - removed unused getElementFromPoint from devtools layout/utils;r=ochameau
MozReview-Commit-ID: FHy6Dv5Q5l3

--HG--
extra : rebase_source : e30cd11b98f09842d35cc955d3145fba751a7296
2018-01-31 13:12:10 +01:00
Julian Descottes
ed1461df41 Bug 1434543 - use require to load DevToolsLoader in gcli/listen.js;r=ochameau
MozReview-Commit-ID: dASj33Dqda

--HG--
extra : rebase_source : 4b61de018aae6ae16a6ed4931592a1fd2fcb8855
2018-01-31 10:34:07 +01:00
Jonathan Kingston
8e24b20ae1 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 19e2663304c582fdb20a45efc3e9b55fd43fa286
2018-01-12 19:09:30 +00:00
Tom Tromey
12c8602c30 Bug 1255380 - fix getCSSValuesForProperty for "content" property; r=xidorn
This changes getCSSValuesForProperty to return the correct values for
the "content" property.

MozReview-Commit-ID: 2F5LQPbSIFs

--HG--
extra : rebase_source : 290df953c8234888801b7a8a6ef5668a11a59bea
2018-01-25 16:55:28 -07:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione
19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Kris Maglione
6425ff4f8d Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
extra : intermediate-source : e2674287e57fbf6835729f42b8491359c2c4bfd5
2018-01-18 12:53:01 -08:00
Csoregi Natalia
c56f656feb Merge inbound to mozilla-central. a=merge 2018-01-30 18:18:04 +02:00
Jason Laster
766822476f Bug 1433117 - Update Debugger Frontend v11. r=jdescottes
MozReview-Commit-ID: AONFm7SSUSr
2018-01-30 09:44:38 +01:00
Boris Zbarsky
b9771573b3 Bug 1418085 part 4. Stop using nsIDOMHTMLElement in JS code. r=mystor
MozReview-Commit-ID: GsSnXNXGrHg
2018-01-30 00:25:36 -05:00
Boris Zbarsky
5d7b053f45 Bug 1418076 part 10. Get rid of JS uses of Ci.nsIDOMHTMLDocument. r=mystor
MozReview-Commit-ID: IT2OEbCODTX
2018-01-26 01:01:38 -05:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Kris Maglione
43040e2d2f Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
extra : intermediate-source : 8e4dcdb0f429003100e2727dad4108ab57087da2
2018-01-18 12:53:01 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Brindusan Cristian
d423a1aef8 Backed out changeset 8e4dcdb0f429 (bug 1431533) for ESlint failure on test-no-single-arg-cu-import.js on a CLOSED TREE 2018-01-30 02:05:25 +02:00
Kris Maglione
e70d01a9e9 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : 6286dcfd1a7c970272ac6befaccd3e47e90d2f6b
extra : intermediate-source : d48657228a0b84cf3a37a35227ca3b3d0bd2a017
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
2018-01-18 16:27:26 -08:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Kris Maglione
66060a27cc Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : rebase_source : 4be020e5c28d8e72ff0aa9e66051fe493bfcce7c
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
2018-01-18 12:53:01 -08:00
Gabriel Luong
49de74e595 Bug 1407347 - Prevent iframes in the inspector sidebar from rerendering when a sidebar tab is removed. r=Honza 2018-01-29 13:01:54 -05:00
Julian Descottes
27a469d6a8 Bug 1102240 - rename actors/inspector/inspector.js to inspector-actor.js;r=pbro
MozReview-Commit-ID: dfzTyhZXez

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/inspector-actor.js
extra : rebase_source : d316a0490cc68ac3ad342af5fbcb64f24f8d01dd
2018-01-26 13:15:06 +01:00
Julian Descottes
8cca58077e Bug 1102240 - split inspector actor in smaller files;r=ochameau,pbro
MozReview-Commit-ID: LgZav4dMQRR

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/document-walker.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/node-actor.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/utils.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/walker-actor.js
extra : rebase_source : b57466d2e2dfb6f332dec3a38a03b12506eb4a30
2018-01-26 13:11:58 +01:00
Julian Descottes
8eb0574c63 Bug 1102240 - Move inspector actor to dedicated folder;r=pbro
MozReview-Commit-ID: LNgHweYJXcB

--HG--
rename : devtools/server/actors/inspector.js => devtools/server/actors/inspector/inspector.js
extra : rebase_source : 5f35db40dda61e7e476fae1153f10b3d580a6929
2018-01-26 11:49:48 +01:00
abhinav
f60bc551a5 Bug 1413314 - Change precise increment to Ctrl instead of Alt for Linux compat; r=jryans
MozReview-Commit-ID: ErTw1XnmWV5

--HG--
extra : rebase_source : 536e23ebbe54a4d5649c26d703b8b7f86a956af9
2018-01-26 23:36:21 +05:30
Csoregi Natalia
32df3a47a8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-30 18:22:51 +02:00
Tom Tromey
3728debffe Bug 1255379 - fix getCSSValuesForProperty for clip and clip-path; r=xidorn
This fixes getCSSValuesForProperty for clip and clip-path.

Although clip is deprecated, it seemed harmless to fix it as well;
when it is removed this code will also be readily found and removed.

It wasn't clear to me if setting the keyword table for clip-path in
nsCSSPropList.h would be ok, so I added a special case in
InspectorUtils.

MozReview-Commit-ID: Ghawr17HjKk

--HG--
extra : rebase_source : 29c094afd678019b4f3f49ac55493ef0d7d6848f
2018-01-22 13:26:14 -07:00
abhinav
b4415868a6 Bug 1428996 - Fix text wrap of boxmodel-editable; r=pbro
MozReview-Commit-ID: I9TDulHyxMY

--HG--
extra : rebase_source : 7f6e4e49cb54d525813833f4e236a09e2b63afbd
2018-01-26 22:13:23 +05:30
shindli
8bf605352e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 00:38:55 +02:00
Peter Van der Beken
ab910ec03f Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 05d1b150ffa84931ace6dbd66385d1d014a03afe
2017-11-23 16:27:27 +01:00
Ciure Andrei
c536f2de2c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 00:32:12 +02:00
Mark Banner
2fd2fd7199 Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop
MozReview-Commit-ID: 1LlfamNvBEM

--HG--
extra : rebase_source : 8e41e5a5f67bfd43444fde25287cb3709452a349
2018-02-07 16:16:09 +00:00
Tiberius Oros
5bf13b301a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-27 00:22:22 +02:00
Julian Descottes
611ba35e84 Bug 1429185 - Add test for DevTools disabled by policy;r=ochameau
MozReview-Commit-ID: It3jD5oDZxt

--HG--
extra : rebase_source : 1ceab46ff89f0330aa4a492b6b064501d74da180
2018-02-23 17:49:37 +01:00
Julian Descottes
9096c5617c Bug 1429185 - Disable all devtools entry points with devtools.policy.disabled;r=ochameau
MozReview-Commit-ID: 9ObZc8my1mE

--HG--
extra : rebase_source : 0b4564987831d28f68308927ca60a9cff0818d4a
2018-02-22 17:44:03 +01:00
Julian Descottes
8697ea8d48 Bug 1432416 - Add comments and documentation about adding new DAMP tests;r=ochameau
MozReview-Commit-ID: LxFbX0AzJfX

--HG--
extra : rebase_source : 2b78c3a617f54f46d9583a8f99c8b919fb3381d7
2018-02-22 10:54:28 +01:00
Nicolas Chevobbe
4d5651404b Bug 1382607 - Use new EventEmitter in webide; r=jryans.
MozReview-Commit-ID: 6BGUTw5RNke

--HG--
extra : rebase_source : fe8ffed6ccf0451c4d91f513b2f18b1ec7042fe8
2018-02-26 14:06:47 +01:00
hemant
64d45d0cb9 Bug 1417937 - Remove unnecessary LoadContextInfo.jsm r=standard8
MozReview-Commit-ID: EnY0uKD4UD1

--HG--
extra : rebase_source : c968b273a8a05fb211e0fb1e1601ac1b968ca045
2018-01-31 23:16:46 +05:30