Commit Graph

10901 Commits

Author SHA1 Message Date
Nicolas Chevobbe
d0c49b92d2 Bug 1243989 - Enable browser_webconsole_csp_ignore_reflected_xss_message.js in e10s and windows; r=bgrins
MozReview-Commit-ID: AOB362RyWY9

--HG--
extra : rebase_source : ff83449af9bfcf7bb963935191a6b4ae19a7b52b
2018-07-16 11:18:03 +02:00
Daisuke Akatsuka
890f5a905e Bug 1474972: Don't call scrollIntoView() when user select a node on animation inspector. r=gl
MozReview-Commit-ID: 8Qi5vTn129B

--HG--
extra : rebase_source : 4ebf6af1a35ded36abfc5ad3507d17458547a684
2018-07-17 12:39:31 +09:00
Nicolas Chevobbe
ab7d6e7707 Bug 1463674 - Run all jsterm test with both the old and the new version; r=bgrins.
This will allow us to avoid regression for both versions.
Also, the test were adapted to the codeMirror jsterm.

MozReview-Commit-ID: eZBvLv7JBH

--HG--
extra : rebase_source : 445a0a81607b85d2245fb81db6563b9023796932
2018-07-05 16:49:53 +02:00
Nicolas Chevobbe
2e04728654 Bug 1463674 - Add a missing test for hitting arrow keys when autocomplete popup is displayed; r=Honza.
When migrating the old code to codeMirror, I saw that two defined behaviors
were not tested:
- ArrowLeft when popup is displayed should hide the popup and the autocompletion test
- ArrowRight when popup is displayed should complete the input with the selected element.

This patch add a test for those two cases.

MozReview-Commit-ID: HZYtHssfB55

--HG--
extra : rebase_source : 77a333a7137b233f3280cddcfc81bc3008953530
2018-07-05 16:48:01 +02:00
Nicolas Chevobbe
6227906abb Bug 1463674 - Add new test helpers for JsTerm; r=bgrins.
Since we are dealing with 2 versions of this component, we
introduce new helpers that abtracts how we get or assert
some values.

MozReview-Commit-ID: 1XNPcmwwsBj

--HG--
extra : rebase_source : 5b916fe9ad953ce80c058be1ea2eb8894c625c8e
2018-07-05 16:52:38 +02:00
Nicolas Chevobbe
0f940f40b7 Bug 1463674 - Enable autocompletion popup in codeMirror JsTerm; r=bgrins.
This patch translates old key handlers to codeMirror ones.

MozReview-Commit-ID: FGJehgGaBGI

--HG--
extra : rebase_source : bf88130eb8e92b2bf29dac5024f0dc49f727e9c7
2018-07-05 16:22:45 +02:00
Nicolas Chevobbe
c09c80f824 Bug 1463674 - Refactor char and chevron width measurement; r=bgrins.
Create a separate function to measure the chevron width, and make
the function that measure the char width pure by only returning
the width.
The assignment to internal properties (_inputCharWidth, _chevronWidth),
is now done in componentDidMount which simplify reading this code.

MozReview-Commit-ID: FitY97Y03Sg

--HG--
extra : rebase_source : d35caaf19b14d9a5cfbddaf58d20bc6c7aeb4aaa
2018-07-05 16:40:03 +02:00
Nicolas Chevobbe
1ab949fecd Bug 1463674 - Add shadow autocompletion text capability to the source editor; r=bgrins.
This functionnality is used in the webconsole to display to the user
what will be inserted if they hit Tab.
Since CodeMirror does not provide such feature, we take advantage of
markText to put the autocompletion text in a title attribute and
then display it using a CSS after pseudo element.
This way, we don't have to run any complex computation for positioning
nor styling.

MozReview-Commit-ID: 1tFdlR51418

--HG--
extra : rebase_source : aa728e3ee3254e2ef7eb1768e3f8621decca0535
2018-07-05 16:18:53 +02:00
Nicolas Chevobbe
a47aba9281 Bug 1463674 - Allow sourceeditor consumer to have <kbd>Tab</kbd> handling; r=bgrins.
Since the source editor already defines its own extraKeys.Tab,
anything the consumer set was ignored.
This patch now also runs consumer extraKeys.Tab if defined.

MozReview-Commit-ID: 5FeMXoystAb

--HG--
extra : rebase_source : 4d57be89965691948609c9037ef60d8850cea8af
2018-07-05 16:15:35 +02:00
Julian Descottes
96e2cf4b96 Bug 1475474 - Fix broken link to Firefox Build page in devtools-docs;r=sole
MozReview-Commit-ID: 8xHvnLPU7DK

--HG--
extra : rebase_source : b368a7a45c5167a2ef1aee1504db37c84cb2fb14
2018-07-13 09:02:27 +02:00
Razvan Caliman
34ed9c55b8 Bug 1470375 - Set the font editor pref to true in Nightly builds. r=gl
MozReview-Commit-ID: 1SKpRcD9VBZ

--HG--
extra : rebase_source : 630feea2217929ec345db943053f5b1909d98d22
2018-07-11 13:36:48 +02:00
Csoregi Natalia
b220f0c0d3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-14 12:45:25 +03:00
Noemi Erli
e9d21cd259 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-14 01:22:25 +03:00
Noemi Erli
9793ca2da4 Merge inbound to mozilla-central. a=merge 2018-07-14 00:52:51 +03:00
Ian Moody
266d0a4703 Bug 1474379 - Match regex against the entire panel ID. r=miker,rpl
So panels provided by extensions with IDs that contain words like "inspector"
don't break.
Include test in existing panel creation test.

MozReview-Commit-ID: JerMCaKRgkl

--HG--
extra : rebase_source : 56c0262597c4070c7e16b32ebf824ef1fdd1fd8d
2018-07-10 17:38:35 +01:00
Gabriel Luong
d97da99c28 Bug 1473403 - Remove unused theme-fg-color classes. r=bgrins 2018-07-13 13:29:18 -04:00
Margareta Eliza Balazs
448f792f96 Merge inbound to mozilla-central. a=merge 2018-07-13 11:52:00 +03:00
Andreea Pavel
10f6df7c1f Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
2018-07-13 00:53:43 +03:00
Andreea Pavel
b0e30af17e Merge mozilla-inbound to mozilla-central. a=merge 2018-07-13 00:51:26 +03:00
Brian Grinstead
eafdeadedf Bug 1475305 - Remove document.width and document.height from XULDocument;r=bz
MozReview-Commit-ID: 8jWcMUYA25R

--HG--
extra : rebase_source : c23a2e647922882fc1ca3d7153ec95c5d8a2aa9d
2018-07-12 11:35:11 -07:00
Emma Malysz
ce8c74748f Bug 1454358, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
MozReview-Commit-ID: LBQ0RoS0ZVc

--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : 6a0de76dfdacbc29d261a4aea703a44f87ad7e12
2018-06-25 10:11:31 -07:00
Razvan Caliman
0646b123bd Bug 1459898 - (Part 2) Add test for font-size unit conversion. r=gl
MozReview-Commit-ID: JZl7igm6h6A

--HG--
extra : rebase_source : 9ec3c7bd38ccb6b90d281fc9abe1d111cdb8ca63
2018-07-12 12:34:34 +02:00
Razvan Caliman
cb406e307a Bug 1459898 - (Part 1) Convert between unit types for font-size in font editor. r=gl
MozReview-Commit-ID: ByLEczMEXlH

--HG--
extra : rebase_source : 0bdd3d0f3a7292b70309e36845a6592edbc3b6ff
2018-07-05 13:30:14 +02:00
Gurzau Raul
89da18a08a Backed out changeset d93abdc258e1 (bug 1474379) for failing at test/browser_toolbox_telemetry_enter.js on a CLOSED TREE 2018-07-13 18:43:14 +03:00
Alexandre Poirot
452829e172 Bug 1474980 - Stop exporting ActorPool/OriginalLocation from server/main.js. r=jryans
MozReview-Commit-ID: Gsef6U1g46r

--HG--
extra : rebase_source : 88211a36264a8f0191b0c8d2a22f3abf4df92183
2018-07-11 10:49:45 -07:00
Alexandre Poirot
09d08ff845 Bug 1474980 - Remove deprecated DebuggerServer.addActors(). r=jryans
MozReview-Commit-ID: 8J1wucp1G0p

--HG--
extra : rebase_source : 4a40b578808667ac45519172686e4237bb61423a
2018-07-11 10:41:27 -07:00
Ian Moody
028a470c86 Bug 1474379 - Match regex against the entire panel ID. r=miker,rpl
So panels provided by extensions with IDs that contain words like "inspector"
don't break.
Include test in existing panel creation test.

MozReview-Commit-ID: JerMCaKRgkl

--HG--
extra : rebase_source : 59a884cb616e22e3c6062d19d223b5670cf17225
2018-07-10 17:38:35 +01:00
sreeise
92950020b5 Bug 1366532 - Replaced uses of 'defer' with 'new Promise' in the devtools/client/performance directory. r=gregtatum
MozReview-Commit-ID: LniNQt7Jo6Z

--HG--
extra : rebase_source : f7c575e2f3c5be75591a961da9cb4f059989eae5
2018-07-06 04:30:53 -04:00
Alexandre Poirot
98f72acbf8 Bug 1000814 - Move WorkerDebuggerTransport to its own module. r=jryans
MozReview-Commit-ID: I1eFQCDLaDh

--HG--
extra : rebase_source : e3daaa5fa8e452b514a482addcedded86998ab9b
2018-07-11 08:44:55 -07:00
Alexandre Poirot
9e8c15b15c Bug 1000814 - Move ChildDebuggerTransport to its own module. r=jryans
MozReview-Commit-ID: FgTVee7NLyC

--HG--
rename : devtools/shared/transport/transport.js => devtools/shared/transport/child-transport.js
extra : rebase_source : a077c10f7a9ed0c8688db2f06bf10ab538f37c8a
2018-07-11 08:38:53 -07:00
Alexandre Poirot
8e96c01239 Bug 1000814 - Move LocalDebuggerTransport to its own module. r=jryans
MozReview-Commit-ID: 3rV5TGPPKq6

--HG--
rename : devtools/shared/transport/transport.js => devtools/shared/transport/local-transport.js
extra : rebase_source : 6474e754831785ffec0cc1e568744d86f148ab83
2018-07-11 08:35:44 -07:00
Alexandre Poirot
773955e709 Bug 1000814 - Use loader helpers to import symbols lazily. r=jryans
MozReview-Commit-ID: v20oLp5Azm

--HG--
extra : rebase_source : c0909285eadb9dcedd335721d79f7a2366fbf62a
2018-07-11 08:21:13 -07:00
Alexandre Poirot
751f409b3d Bug 1000814 - Remove loader boilerplate from transport.js. r=jryans
MozReview-Commit-ID: CLrKUnDBvPy

--HG--
extra : rebase_source : 96a5faf4441c93c66adf1ec498c4fc181dca886f
2018-07-11 08:25:26 -07:00
Razvan Caliman
ec56fa4e2d Bug 1463084 - Invoke the font editor on the parent node of a text node selection. r=gl
MozReview-Commit-ID: HTtJeEzDpwF

--HG--
extra : rebase_source : a48049c15eaaf2a9443c7d19097c90dce2985235
2018-07-10 13:33:34 +02:00
Gabriel Luong
5075420858 Bug 1475659 - Update Codemirror to 5.39.0. r=bgrins 2018-07-13 18:11:01 -04:00
Jason Laster
a10348a5ca Bug 1475045 - Update Debugger Frontend v71. r=dwalsh 2018-07-12 19:03:55 -04:00
Razvan Caliman
4746abbb8a Bug 1474836 - (Part 2) Show editor empty state with custom warning for pseudo-elements. r=gl
MozReview-Commit-ID: 5Zq7R7fzMID

--HG--
extra : rebase_source : 73bc0a60d8a5a77b3d548c8e45e713a4e42a79b3
2018-07-10 19:52:08 +02:00
Razvan Caliman
1f7a720648 Bug 1474836 - (Part 1) Externalize font editor empty state warning message to Redux store. r=gl
MozReview-Commit-ID: AsVkZz5x0VC

--HG--
extra : rebase_source : 9f009d3a872d811807a26e55ea2231dbcf0364ec
2018-07-11 11:19:34 +02:00
Mantaroh Yoshinaga
c244a652e0 Bug 1463357 - Add tooltip to the console button of split console and sidebar. r=nchevobbe
This patch add tooltip to close buttons of webconsole.

MozReview-Commit-ID: Elw0aGbn9k5

--HG--
extra : rebase_source : 26c661e0a08c6403eb1ff53bfcf6477d81f30245
2018-07-12 13:11:55 +09:00
Mantaroh Yoshinaga
5476dd3317 Bug 1468475 - Part 3. Add negative current time tests. r=daisuke
This patch will add tests which is related with negative current time.
 * Rewind the animations which has negative delay.
 * Replay the animations which has negative delay.
 * Inspect the negative current time animation.

MozReview-Commit-ID: JACPqc19FpZ

--HG--
extra : rebase_source : c244f54b8d83bdb6291e363dfb00d1aa56bf5efc
2018-07-12 09:30:08 +09:00
Mantaroh Yoshinaga
d12c454eef Bug 1468475 - Part 2. Display the zero graduation. r=daisuke
This patch will ensure that displaying the zero graduation into the timeline by
using shift the graduation with zeroBaseTime. If we shifted all of the
graduations, the graph might not have the first graduation. So this patch will
add the first graduation intentionally in this case.

MozReview-Commit-ID: HnLouXBja6L

--HG--
extra : rebase_source : bebfaca4b2414e7a3f1cc3db4a2ac476a0fc0b2b
2018-07-12 09:30:04 +09:00
Mantaroh Yoshinaga
3b17ead8bb Bug 1468475 - Part 1. Introduce zeroPositionTime in order to shift the graduation if animations have negative-delay. r=daisuke
This patch will introduce the zeroPositionTime, this value means the time that
current time of animation will be zero. In front-side, use this value for
shifting the graduation in order to display the zero.

If target server dones't support currentTimeAtCreated, this patch will use the
start time. As result of it, scrubber position will overlap to animation name
area if current time is negative.

MozReview-Commit-ID: H9n8bAj8mOW

--HG--
extra : rebase_source : 6e8e92007a2582fef984615a14d6b1876d8507fb
2018-07-12 09:29:08 +09:00
Bogdan Tara
6dbc2726d8 Backed out changeset b099e7e0b264 (bug 1454358) for build bustages on Element.h CLOSED TREE
--HG--
rename : dom/chrome-webidl/XULScrollElement.webidl => dom/webidl/ScrollBoxObject.webidl
rename : dom/xul/XULScrollElement.cpp => layout/xul/ScrollBoxObject.cpp
rename : dom/xul/XULScrollElement.h => layout/xul/ScrollBoxObject.h
2018-07-12 01:50:53 +03:00
Emma Malysz
c28a132d13 Bug 1454358, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
MozReview-Commit-ID: LBQ0RoS0ZVc

--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : ad00e7030e50229975b0bc0d3c622af4fe244a79
2018-06-25 10:11:31 -07:00
Gurzau Raul
cf965b1f59 Merge inbound to mozilla-central. a=merge 2018-07-12 01:04:09 +03:00
Belén Albeza
093db49ea0 Bug 1467256 - Temporarily disable the test. r=nchevobbe
MozReview-Commit-ID: sWZLg7PCvt

--HG--
extra : rebase_source : 47bf53b4ca4238aa2c2016a3dd58d779c4d999a8
2018-07-11 15:14:42 +02:00
Dão Gottwald
a0ee9ed37a Backed out changeset e711420b85f7 (bug 1461793) for causing bug 1474538 2018-07-11 12:14:26 +02:00
shindli
7c9476695a Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : tools/tryselect/vcs.py => tools/tryselect/push.py
extra : rebase_source : a9f669ebcc49d48fda0a4eb1eab4f3b9b185eae2
2018-07-11 12:46:51 +03:00
Jan de Mooij
70d45075c2 Bug 1468536 - Remove Debugger.Object.prototype.global. r=jimb
With same-compartment realms, cross-compartment wrappers don't have a meaningful global associated with them because CCWs are shared by all realms in the compartment.
2018-07-11 11:44:42 +02:00
Cameron McCormack
8d5efb0c93 Bug 1473450 - Remove angle values from image-orientation. r=emilio
MozReview-Commit-ID: FB74ILJM6Fm

--HG--
extra : rebase_source : 0902aff63e0db070d2fdda3568453975f752b988
2018-07-05 12:04:58 +10:00