Граф коммитов

91 Коммитов

Автор SHA1 Сообщение Дата
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
Michael Ratcliffe 58528fe5ca Backed out changeset e2360d41bd66 (bug 1033387) for loader test failures 2014-07-14 01:00:35 +01:00
Michael Ratcliffe c4652cfb8b 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-13 23:25:19 +01:00
Michael Ratcliffe 4ad570d579 Backed out changeset 0ba8be1413f7 (bug 1033387) for xpc test failures 2014-07-13 23:12:50 +01:00
Michael Ratcliffe 69cd749120 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-13 21:46:14 +01:00
Joe Walker 2eeb960310 Bug 1036449 - Introduce a noreload flag for csscoverage start. r=harth 2014-07-11 07:57:00 -04:00
Joe Walker a671a0a954 Bug 1032789 - Pull together the various GCLI plugin points; r=mratcliffe 2014-07-10 14:37:09 +01:00
Simonas Kazlauskas 381737f521 Bug 936380 - Fix gcli screenshot size calculations. r=jwalker 2014-07-08 21:24:54 +03:00
Sébastien Blin 6fb617b5bb Bug 1034619 - Add a comment to the screenshot gcli command. r=pbrosset 2014-07-03 17:54:29 +02:00
Joe Walker c37de17485 Bug 1003761 - Fix clicking on shortcuts in GCLI output. r=robcee 2014-06-27 11:44:00 +02:00
Sébastien Blin 418bbcb24a Bug 961832 - GCLI screenshot shows fixed position element in wrong position. r=pbrosset. 2014-06-30 17:46:20 +02:00
Joe Walker 4db1d190fe Bug 1025044 - CSS coverage actor should have started and stopped events; r=harth 2014-06-27 08:31:20 +01:00
Patrick Brosset 6893913e52 Bug 971662 - part 1 - GCLI command that highlights all nodes that match a selector; r=jwalker 2014-06-25 16:40:43 +02:00
Joe Walker 0e06175e6e Bug 1028234 - Allow command buttons to use target; r=bgrins 2014-06-25 11:21:07 +01:00
Joe Walker 19227363e4 Bug 1023233 - Add getSpec to union type; f=gl, r=mratcliffe 2014-06-25 11:21:02 +01:00
Gabriel Luong 17c242ecef Bug 803831 - GCLI Command to open Profile Directory. r=jwalker 2014-06-15 22:57:00 -04:00
Joe Walker fedfd377af Bug 1025017 - Fix l10n issues with the GCLI help command and sync with web GCLI; r=mratcliffe 2014-06-17 09:12:17 +01:00