Commit Graph

8884 Commits

Author SHA1 Message Date
Nicolas Chevobbe
905b05a8b6 Bug 1438442 - Fix styled console.log issue with empty style; r=Honza.
It is totally valid to declare an empty style in styled console.log.
But we were appending a space after a string with empty style because
we were checking that the style wasn't falsy, and empty string is falsy.
We fix that by checking against undefined.
A test is added to make sure we don't regress that.

MozReview-Commit-ID: EOQ49Gt0Cr9

--HG--
extra : rebase_source : bf711afa76dd784d3cf1f973c47e4aa139d5bc5e
2018-02-15 09:09:36 +01:00
Alexandre Poirot
fe1bc77e9b Bug 1438531 - Remove leftovers of mocha test from netmonitor. r=Honza
MozReview-Commit-ID: qea532Kc7Q

--HG--
extra : rebase_source : c901b37c0709dc70b1380d1764951f3aa209f399
2018-02-19 06:58:51 -08:00
Nicolas Chevobbe
6d26e58243 Bug 1436670 - Devtools Reps: update bundle to v0.20.0; r=nchevobbe.
MozReview-Commit-ID: 75lSnYTx0Ql

--HG--
extra : rebase_source : 3ac041dd55e06c5ab6d7c313a7b5d2b275d8fb09
2018-02-19 11:05:06 +01:00
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