Commit Graph

1268 Commits

Author SHA1 Message Date
Narcis Beleuzu
5e274d0743 Backed out changeset 9fb71b0692a6 (bug 1403536) for devtools-chrome failures on browser_console_dead_objects.js r=backout on a CLOSED TREE 2017-12-01 00:41:09 +02:00
Oriol Brufau
51b81fc070 Bug 1403536 - Protect all protocol request methods against unsafe objects r=ochameau
MozReview-Commit-ID: 4fDaap9QCdF

--HG--
extra : rebase_source : 7fbf01156e13c1e9d528d4bd063cd1ac818d203f
2017-10-18 04:38:13 +02:00
Bogdan Tara
bf712dca70 Backed out 1 changesets (bug 1403536) for failing ES Linting tests on /builds/worker/checkouts/gecko/devtools/server/tests/unit/test_objectgrips-21.js r=backout on a CLOSED TREE
Backed out changeset 897f029f8ef6 (bug 1403536)
2017-11-29 23:37:15 +02:00
Oriol Brufau
ba0ffccb08 Bug 1403536 - Protect all protocol request methods against unsafe objects r=ochameau
MozReview-Commit-ID: 4fDaap9QCdF

--HG--
extra : rebase_source : 0774e230ddc9b8fe1bc03be45cd5732d3a161e41
2017-10-18 04:38:13 +02:00
Greg Tatum
5912015212 Bug 1408124 - Create a new perf actor and recording panel; r=julienw
This patch adds a new performance recording panel that interfaes with
perf.html. It is enabled through the new preferences:

"devtools.performance.new-panel-enabled"

MozReview-Commit-ID: 1HBLsbREDPk

--HG--
extra : rebase_source : 22cc2826138c4891024c34947f145574f55b4541
2017-11-08 10:36:43 -06:00
Mike Park
6de17b66ff Bug 1418066 - Add rotation to CSS shapes editor transform mode. r=pbro
MozReview-Commit-ID: HJmdhTg5QjL

--HG--
extra : rebase_source : ee0c3e8f624d91cb4c9c71629599c201c89e7169
2017-11-16 15:58:23 -05:00
Michael Ratcliffe
96d918c2dd Bug 1298370 - Add SameSite attribute to Cookie Inspector r=pbro
MozReview-Commit-ID: C0n35vEaAdJ

--HG--
extra : rebase_source : 217b8eb13374fec057bf626cac586f41d25e44bb
2017-11-28 14:29:09 +00:00
Tiberius Oros
e8ada3a41a Backed out changeset 36b3f7fb7d31 (bug 1408124)for chrome failures in devtools test devtools/shared/security/tests/chrome/test_websocket-transport.html r=backout on a CLOSED TREE 2017-11-28 21:47:41 +02:00
Greg Tatum
bcab5cbfe4 Bug 1408124 - Create a new perf actor and recording panel; r=julienw
This patch adds a new performance recording panel that interfaes with
perf.html. It is enabled through the new preferences:

"devtools.performance.new-panel-enabled"

MozReview-Commit-ID: 1HBLsbREDPk

--HG--
extra : rebase_source : 4db73267d9868c4c62d2619111f875338c8e6171
2017-11-08 10:36:43 -06:00
Cosmin Sabou
09c96dbb89 Backed out changeset c3f707e1f455 (bug 1418066) for ESlint failure on devtools/client/inspector/test/browser_inspector_highlighter-cssshape_07.js:29:1 r=backout on a CLOSED TREE 2017-11-28 17:35:23 +02:00
Mike Park
d4fffe9ba5 Bug 1418066 - Add rotation to CSS shapes editor transform mode. r=pbro
MozReview-Commit-ID: HJmdhTg5QjL

--HG--
extra : rebase_source : 828235ca723fe3fa8b3e57eda2512ace002aabd3
2017-11-16 15:58:23 -05:00
shindli
e8c465c98f Backed out 1 changesets (bug 1418066) for failing in /builds/worker/checkouts/gecko/devtools/client/inspector/test/browser_inspector_highlighter-cssshape_06.js:63:1 r=backout on a CLOSED TREE
Backed out changeset 8e64f442e70d (bug 1418066)
2017-11-27 22:35:35 +02:00
Mike Park
b379311792 Bug 1418066 - Add rotation to CSS shapes editor transform mode. r=pbro
MozReview-Commit-ID: HJmdhTg5QjL

--HG--
extra : rebase_source : 5a39cbaf3fec5179fb69ce53daa6f4cc22260c1d
2017-11-16 15:58:23 -05:00
Luca Greco
f6c2f83ad4 Bug 1416928 - Ensure that cached ContentScript sources are not skipped by the ThreadActor.onNewScript. r=yulia
MozReview-Commit-ID: JJjcAvsI3Na

--HG--
extra : rebase_source : 399e1be616fc7eedd6d753aafa9af5e21fdc6b19
2017-11-14 16:24:12 +01:00
Geoff Brown
3556bc0ffe Bug 1294873 - Skip test_websocket-server.html on osx, to avoid intermittent leaks; r=me, a=test-only 2017-11-23 16:37:21 -07:00
Jan Odvarko
3bd627cefb Bug 1416201 - HTTP request stack trace should be lazy loaded;r=rickychien
MozReview-Commit-ID: 5SWLLcNqORz

--HG--
extra : rebase_source : 400e5d48848b087f8965652df6b9c37686fb4b40
2017-11-23 13:35:04 +01:00
Julian Descottes
af2e5d5dd1 Bug 1416711 - Add registerAllActors API;r=ochameau
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.

Define an additional method registerAllActors to do that.

By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.

MozReview-Commit-ID: F3sx71eGrdG

--HG--
extra : rebase_source : 7704264e84d96e03a0c789103ff466980913d4d2
2017-11-13 21:22:15 +01:00
Julian Descottes
c2cea9f242 Bug 1416711 - Remove windowType argument from registerActors;r=ochameau
The windowType option of registerActors has nothing to do with
registering actors. It is only used in one spot in the codebase, so
switch this one to DebuggerServer.chromeWindowType = "..."; and
remove the option from registerActors.

MozReview-Commit-ID: QH6GKmTbVq

--HG--
extra : rebase_source : 13d70ddc21cae2b43cab2899c0e4b6f597c4f3ec
2017-11-13 21:06:59 +01:00
Julian Descottes
7324ecc861 Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.

Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.

MozReview-Commit-ID: 4ONLlx9253i

--HG--
extra : rebase_source : a6fce209baf5e019b6a216761c01832a30332343
2017-11-13 21:04:43 +01:00
Julian Descottes
8938049a1b Bug 1416711 - Remove default values for registerActors;r=ochameau
The default values for registerActors are never used in the codebase
and feel counter intuitive as they set all booleans to true.

MozReview-Commit-ID: 25zaJss9E4R

--HG--
extra : rebase_source : 9cbbd8ea44d7cc64bb17ada5c06cc1b7b016067b
2017-11-13 20:35:00 +01:00
Julian Descottes
4cac7dcb25 Bug 1416711 - Migrate addBrowser/TabActors to registerActors;r=ochameau
DebuggerServer has old APIs addBrowserActors & addTabActors that can be
replaced by calls to registerActors.

MozReview-Commit-ID: KpYJpbSHM8I

--HG--
extra : rebase_source : c7f20edf503b944ef2582b5fe73bd6d899c0d1cc
2017-11-13 20:29:55 +01:00
Julian Descottes
ab38691d4f Bug 1416711 - Remove unused restrictPrivileges argument in addBrowserActors;r=ochameau
restrictPrivileges was used for FirefoxOS and can be removed now.

MozReview-Commit-ID: J5SYQ0OPTSk

--HG--
extra : rebase_source : 9c92fab26f867e39ebe0cd5e93994d6126374740
2017-11-13 16:41:23 +01:00
shindli
a2e65c617d Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-23 00:17:19 +02:00
shindli
82254ca1cf Merge inbound to mozilla-central r=merge a=merge 2017-11-22 23:29:44 +02:00
Mike Park
d426efd011 Bug 1419792 - Shapes highlighter drawn inaccurately for shape-outside with margins. r=gl
MozReview-Commit-ID: 1MGCvsDXJ6O
2017-11-22 12:05:55 -05:00
Oriol Brufau
aa52f83dde Bug 1419447 - Cleanup PseudoArray console previewer. r=nchevobbe
MozReview-Commit-ID: 6GqYgvGCMXS

--HG--
extra : rebase_source : 3bdd0e5c1f5bd08f944286ceedece241744e97f9
2017-11-20 01:26:30 +01:00
Ciure Andrei
c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Coroiu Cristina
9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00
Coroiu Cristina
b1140e3113 Backed out changeset f10d05c0b3d2 (bug 1408708) for failing devtools at devtools/client/styleeditor/test/browser_styleeditor_bug_1405342_serviceworker_iframes.js on a CLOSED TREE 2017-11-22 00:37:27 +02:00
Hiroyuki Ikezoe
b95b10c42e Bug 1419221 - Introduce a new argument for getUnanimatedComputedStyle to be able to flush pending styles. r=birtles
Even with this patch, in Gecko getUnanimatedComputedStyle flushes pendings
styles somehow.  Also in Stylo the function flushes pending styles if the
target element hasn't yet styled or Servo style data has cleared for some
reasons (e.g. the element is in display:none subtree).

MozReview-Commit-ID: HCizzM0JnFz

--HG--
extra : rebase_source : 81f130f35794d6ddcf6b7e7f70566d521ea63d31
2017-11-21 18:03:17 +09:00
Liam
0fc77839e5 Bug 1402633 - Display the window dimensions with the ruler tools r=pbro
MozReview-Commit-ID: 2jMvUu7JM8M
2017-09-23 13:44:43 -06:00
Nicolas Chevobbe
7c542cfde6 Bug 1371936 - Fix erroneous Object as ArrayLike grip; r=bgrins.
We only label Object as being ArrayLike if they have consecutive, numeric indexes, starting at 0,
and that could contain only a non-numeric length property that matches the actual number of numeric
keys in the object.
A test is added to make sure we don't regress this.
Fix old console frontend tests which relied on the bad implementation of ArrayLike (and delete
test cases now covered by the server test).

MozReview-Commit-ID: ATF7WypNVhh

--HG--
extra : rebase_source : 5e6a0ef0da84cf89518164f518a257bd1f0d5fd8
2017-11-16 16:04:42 +01:00
Ryan Leake
280baffc4c Bug 1333254 - Adjust variations of 'device pixel ratio' spelling. r=jryans
MozReview-Commit-ID: 9Fuc3pbX6Ey


--HG--
rename : devtools/client/responsive.html/components/DprSelector.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
2017-11-17 11:08:42 -06:00
Joel Maher
eb7c7c286f Bug 1417653 - clean up a few moz.build files that have typos. r=gbrown 2017-11-16 08:56:51 -05:00
Nicolas Chevobbe
923cfeaa4e Bug 1383711 - Make addOneTimeListener return a Promise; r=ochameau.
Switch some calls to addOneTimeListener from callback-style to Promise.

MozReview-Commit-ID: F9AlSvK0MAH

--HG--
extra : rebase_source : 076522e89004f8a4634b4f7732800a5ec14ce633
2017-11-06 08:40:39 +01:00
Noemi Erli
550148ab69 Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
Gabriel Luong
16731e0120 Bug 1387511 - Part 2: Format css-grid.js r=pbro 2017-11-14 22:02:51 -05:00
Gabriel Luong
f085fec318 Bug 1387511 - Part 1: Use the grid negative number platform API to render negative line numbers correctly in css grid inspector. r=pbro 2017-11-14 22:02:44 -05:00
Mike Park
47961d34b3 Bug 1411645 - Shapes highlighter: resize on one axis in transform mode for polygon and ellipse. r=pbro
MozReview-Commit-ID: 9Td88QCRPQg

--HG--
extra : rebase_source : b5aaa71335964aad5d60a3bd7b623d9ec64341e6
2017-11-01 11:19:13 -04:00
Mark Banner
0370057096 Bug 1371293 - Fix various devtools warnings after upgrading to ESLint 4. r=miker
ESLint 4 will turn on all rules after an eslint-enable with no arguments. Therefore be more specific about which rules are being disabled.

MozReview-Commit-ID: IoPBG72zySm

--HG--
extra : rebase_source : f0095f7a9bc3020c1a36387cd033d1b1238a61cf
2017-11-06 14:01:33 +00:00
Gabriel Luong
c9b7437500 Bug 1414362 - Outline the flex container and items in the flexbox highlighter. r=pbro 2017-11-13 10:00:39 -05:00
Bill McCloskey
51c04f774f Bug 1395029 - Use blockThreadedExecution for debugging (r=jimb)
MozReview-Commit-ID: 2KRXZrTulwU
2017-11-11 21:04:20 -08:00
Mike Park
e327bde121 Bug 1411402 - Change mouse cursor when hovering/clicking shapes highlighter markers. r=pbro
MozReview-Commit-ID: 9idXQmwatiW

--HG--
extra : rebase_source : b2aac18b3ce32c91523a9cf4328ec8bef82ef1f7
2017-10-25 14:36:03 -04:00
Boris Zbarsky
97828fce1d Bug 1415389. Make ChromeUtils a WebIDL namespace. Remove ThreadSafeChromeUtils. r=kmag
MozReview-Commit-ID: 9ysAeaBMNVt
2017-11-08 00:25:33 -05:00
Ishigaki
abd61e92e8 Bug 1339895 - Improve error message for unexpected token. r=arai 2017-11-02 13:15:27 +09:00
Mike Park
caef5991cb Bug 1412278 - Fix CSS shapes editing for shapes in iframes where points are outside the frame. r=gl
MozReview-Commit-ID: 8hO5GqJncMS

--HG--
extra : rebase_source : 1df9c44ffe780af963040f3a7c907b6bebcb1e08
2017-11-02 16:07:38 -04:00
Mike Park
4ad079896b Bug 1282721 - Add unit tests for shapes highlighter translate/scale for all shapes. r=pbro
MozReview-Commit-ID: JJg0zFtvi9s

--HG--
extra : rebase_source : ec44826d7cc58a6df797a340912644ff6f9ed222
2017-10-12 15:54:45 -04:00
Mike Park
f5bef41c46 Bug 1282721 - Add transform mode to shapes highlighter with translation/scaling for all shapes. r=pbro
MozReview-Commit-ID: HhWY1pT7Mqu

--HG--
extra : rebase_source : 4c4eb2b4a14abc7bfa8d106562c7274ab75a7f4d
2017-10-10 14:05:50 -04:00
Gabriel Luong
f32b543415 Bug 1412555 - Update canvas position on scroll in the css grid highlighter. r=pbro 2017-11-02 09:46:30 -04:00
Julian Descottes
740c32a7eb Bug 1403871 - rename getAllGrids to getGrids;r=gl
MozReview-Commit-ID: I9MZ2mrVMiT

--HG--
rename : devtools/server/tests/browser/browser_layout_getAllGrids.js => devtools/server/tests/browser/browser_layout_getGrids.js
extra : rebase_source : c1aaa0195adea95e1158edb6943060e73684a605
2017-11-21 17:31:50 +01:00