Commit Graph

107 Commits

Author SHA1 Message Date
Matteo Ferretti
4840167c39 Bug 1189386 - Paint Flashing button on Developers Toolbar is checked on new tabs. r=pbrosset
--HG--
extra : rebase_source : 77ad4410d4f6dc3cc6c55ee37f97856808469539
2015-08-20 09:13:00 -04:00
Alexandre Poirot
9141c12711 Bug 1193313 - Make gcli use DOM Promise. r=jwalker 2015-08-13 10:57:16 -07:00
Alexandre Poirot
c1a7a7d35d Bug 1193313 - Cleanup promises. r=jryans 2015-08-13 10:57:15 -07:00
Alexandre Poirot
deb72f01ac Bug 1191874 - Fix typo if cookie gcli command. r=jwalker 2015-08-11 00:51:15 -07:00
Carsten "Tomcat" Book
19fce95294 Merge mozilla-central to fx-team 2015-08-07 13:21:30 +02:00
Matteo Ferretti
5360e22011 Bug 1185243 - Toggle for Rulers doesn't work correctly. r=mratcliffe 2015-07-30 08:28:00 +02:00
Alexandre Poirot
b9fc38483f Bug 1188401 - Expose require out of Loader.jsm and use it. r=jryans 2015-08-06 05:38:10 -07:00
Wes Kocher
83a7cbf448 Merge m-c to inbound, a=merge 2015-08-06 18:11:16 -07:00
Christoph Kerschbaumer
cea9d72479 Bug 1191113 - Add localizable string for security csp in gcli (r=jwalker) 2015-08-06 11:20:58 -07:00
Alexandre Poirot
f13d072c3f Bug 1188417 - Split gcli commands require path to match file system. r=jwalker 2015-08-03 03:01:35 -07:00
Alexandre Poirot
5f9afbc4de Bug 1182194 - Convert LayoutHelpers.jsm into a commonjs module. r=jwalker
--HG--
rename : toolkit/devtools/LayoutHelpers.jsm => toolkit/devtools/layout-helpers.js
2015-07-30 06:14:08 -07:00
Christoph Kerschbaumer
3514d6f6b8 Bug 1185072 - CSP devtool in GCLI does not show green icon for upgrade-insecure-requests. r=jwalker 2015-07-27 10:54:17 -07:00
Johan K. Jensen
d509b26b0b Bug 1164226 - Add option to restart into safemode from GCLI restart command. r=jryans 2015-07-12 02:41:00 +02:00
Johan K. Jensen
c579dd73b9 Bug 992386 - Change hidden property of imgur to true. r=jryans 2015-07-19 08:38:00 +02:00
Johan K. Jensen
d44acb8846 Bug 1173158 - Fixing imgur upload error. r=jryans 2015-07-10 10:28:00 +02:00
Johan K. Jensen
f0590c707a Bug 970618 - Scaled the canvas responsible for screenshots to accomodate for devicePixelRatio > 1. r=bgrinstead 2015-07-09 03:43:00 +02:00
Jeff Walden
8ebc2cc372 Bug 1146136 - Fix most in-tree tests that parenthesize destructuring pattern assignment targets, as ES6 forbids such parenthesization. (The patch making SpiderMonkey reject this syntax will follow shortly.) r=efaust, r=testingonlychange 2015-05-30 00:55:35 -07:00
Jarda Snajdr
47c69a34b7 Bug 1169667 - DevTools: Flashpainting icon has wrong color when toggled on/off. r=jwalker 2015-06-12 14:00:29 +02:00
Panos Astithas
3f8446cf0c Rename two gcli strings to ensure localizations are updated (bug 1173301). r=jwalker f=flod 2015-06-10 15:17:52 +03:00
Panos Astithas
bf1bedc229 Don't throw when reloading devtools if it succeeds (bug 1171870). r=jwalker 2015-06-08 18:13:06 +03:00
Patrick Brosset
a496f99b40 Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker
We used to rely on the TabActor a lot in
/toolkit/devtools/server/actors/highlighter.
This object was being passed around to various highlighter classes, helper
classes and functions.
It was a useful way to get access to the window the highlighters are shown,
listen to DOM events in that window, and also listen to tabActor's will-navigate
events.

Using this object isn't the best idea because it assumes the debugger server is
started and attached to a tab, which makes re-using highlighters outside of this
context impossible (or harder).
Plus we wanted to get rid of the tabActor reference in gcli command contexts.

This change introduces a HighlighterEnvironment that fulfills the requirements
above without relying on a tabActor.
It needs to be initialized either with a tabActor, when we have one (when using
the highlighter from the inspector panel), or with a window (which is what gcli
commands will use).

This change also fixes the highlight command and the rulers command (which
didn't work well with e10s either).

--HG--
extra : rebase_source : 461fbb722877479cbdeb1108dc7d2ca97ca68caa
2015-06-01 14:41:12 +02:00
Panos Astithas
e7ff4ad603 Let the debugger server started by GCLI debug chrome code (bug 1170495). r=ochameau,jwalker 2015-06-03 13:16:23 +03:00
Christoph Kerschbaumer
42bdcd7a1a Bug 1169722 - Flip CSP and CSP-RO when displaying polcies reports in GCLI. r=sstamm 2015-05-29 11:33:39 -07:00
Tom Tromey
64eb38d330 Bug 1168088 - Remove SpiderMonkey-specific syntax from toolkit/devtools. r=pbrosset 2015-05-28 11:54:00 -04:00
Panos Astithas
ddb5c21881 Add an unlisten command for stopping any active debugger server instaces (bug 976977). r=jwalker 2015-05-28 08:25:11 +03:00
Christoph Kerschbaumer
5b9f3415fc Bug 1129999 - Implement CSP devtool using GCLI; gcli part (r=jwalker) 2015-05-21 11:16:13 -07:00
J. Ryan Stinnett
782e16bede Bug 1160361 - Skip Telemetry calls for non-Firefox. r=bgrins 2015-05-06 12:34:28 -05:00
J. Ryan Stinnett
055a395833 Bug 1160361 - Load tilt commands from ToolboxButtons to avoid in non-Firefox. r=bgrins 2015-05-06 12:34:28 -05:00
J. Ryan Stinnett
42a9222680 Bug 1160361 - Move gcli.properties to toolkit. r=bgrins
--HG--
rename : browser/locales/en-US/chrome/browser/devtools/gcli.properties => toolkit/locales/en-US/chrome/global/devtools/gcli.properties
2015-05-06 12:34:27 -05:00
J. Ryan Stinnett
aed8488564 Bug 1160361 - Move gclicommands.properties to toolkit. r=bgrins
--HG--
rename : browser/locales/en-US/chrome/browser/devtools/gclicommands.properties => toolkit/locales/en-US/chrome/global/devtools/gclicommands.properties
2015-05-06 12:34:27 -05:00
J. Ryan Stinnett
7e32353b8f Bug 1160361 - Catch GCLI's load of definitions for non-Firefox. r=bgrins 2015-05-06 12:34:27 -05:00
J. Ryan Stinnett
cd62e1934e Bug 1160361 - Move commands-index to the server. r=bgrins
--HG--
rename : browser/devtools/commandline/commands-index.js => toolkit/devtools/gcli/commands/index.js
2015-05-06 12:34:27 -05:00
J. Ryan Stinnett
a4c067f55d Bug 1018619 - Feedback for screenshot button. r=bgrins
--HG--
extra : transplant_source : 9%BAu%E31%B8%BA%A5%18-%5E5%40%E8%0F6%C2%CA%90a
2015-04-24 15:26:55 -05:00
Joe Walker
9cc5a4d6b3 Bug 1128988 - runAt support for commands/converters; r=bgrins
--HG--
rename : browser/devtools/main.js => browser/devtools/definitions.js
2015-04-23 10:24:49 +01:00
Matteo Ferretti
91aca3f385 Bug 1144163 - Add a rulers highlighter; added gcli command and button. r=pbrosset 2015-04-01 19:28:57 +02:00
Geoffroy Planquart
e12da48d29 Bug 1042859 - Ignore host port when fetching cookies with the gcli cookie command. r=pbrosset
--HG--
extra : rebase_source : 6e89a0f024b225a343e567f1a8f9311900ccb063
2015-03-13 09:05:00 -04:00
Matteo Ferretti
b5fd939f60 Bug 1127238 - Remove the hard-coded list of highlighters; r=pbrosset CLOSED TREE
--HG--
extra : amend_source : cd57594cb3fae346e0d454920bc62475a0a3a9ec
2015-02-03 13:03:33 +01:00
Vikneshwar
66370ede37 Bug 1043896 - Use proper plural form for highlightOutputConfirm. r=pbrosset r=jwalker 2014-10-16 09:28:00 +02:00
Christoph Kerschbaumer
86f44c7f9e Bug 1124951: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/devtools (r=jryans) 2015-01-26 19:54:52 -08:00
Collin Richards
c4d91265cd Bug 1089201 - Change the referenced string to a valid identifier. r=jryans 2014-10-25 14:27:21 -04:00
J. Ryan Stinnett
ccf18a8ec4 Bug 1059001 - Part 3: Add encryption socket option. r=past 2014-12-10 20:55:52 -06:00
J. Ryan Stinnett
a0a3a60049 Bug 1059001 - Part 1b: Update openListener callsites. r=past 2014-12-10 20:55:51 -06:00
J. Ryan Stinnett
cc631c64d8 Bug 1058997 - Part 1: Extract socket connect and listen. r=past
Relocate the debugger client's connect and server's listen functionality in a
separate file.  This isolates the security-sensitive socket handling pieces, and
also enables easier extension to make room for TLS sockets.
2014-12-01 22:55:56 -08:00
Sid Stamm
63f8cd4e13 Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
Patrick Brosset
23e9947c95 Bug 985597 - Tests for the new highlighter implementation using the AnonymousContent API; r=miker r=jwalker
--HG--
rename : browser/devtools/markupview/test/browser_markupview_highlight_hover_01.js => browser/devtools/inspector/test/browser_inspector_highlighter-hover_01.js
rename : browser/devtools/markupview/test/browser_markupview_highlight_hover_02.js => browser/devtools/inspector/test/browser_inspector_highlighter-hover_02.js
rename : browser/devtools/markupview/test/browser_markupview_highlight_hover_03.js => browser/devtools/inspector/test/browser_inspector_highlighter-hover_03.js
rename : browser/devtools/inspector/test/browser_inspector_highlight_after_transition.html => browser/devtools/inspector/test/doc_inspector_highlight_after_transition.html
rename : browser/devtools/inspector/test/browser_inspector_infobar_01.html => browser/devtools/inspector/test/doc_inspector_infobar_01.html
rename : browser/devtools/inspector/test/browser_inspector_infobar_02.html => browser/devtools/inspector/test/doc_inspector_infobar_02.html
2014-11-06 13:04:37 +01:00
Brian Grinstead
68f9edf635 Bug 1058033 - Fix 'window is null' error on toolbox open in paintflashing.js. r=harth 2014-08-26 13:43:00 -04:00
J. Ryan Stinnett
659cf43155 Bug 1054338 - GCLI listen needs a separate loader. r=fitzgen 2014-08-19 15:04:00 -04:00
Joe Walker
3e6505c039 Bug 1035296 - Make protocol.js pass error messages for unknownError (part 2); r=past 2014-08-04 12:26:41 +01:00
Nathan Froyd
eacda44565 Bug 1045247 - move install rules in toolkit/devtools/*/Makefile.in to moz.build; r=mshal 2014-07-28 17:23:44 -04:00
Michael Ratcliffe
ea37e9901b Bug 1033387 - Update JSBeautify and move it into toolkit r=fitzgen
--HG--
rename : browser/devtools/shared/Jsbeautify.jsm => toolkit/devtools/jsbeautify/beautify.js
2014-07-14 14:25:22 +01:00