Commit Graph

553 Commits

Author SHA1 Message Date
Luca Greco
5e6bb687e5 Bug 1285557 - Fix eslint errors on webbrowser devtools actor. r=jryans
MozReview-Commit-ID: 5TdmJHqqsn2

--HG--
extra : rebase_source : 11eb21043566f0899814a339d7bbcd61823f5609
2016-07-25 12:18:33 +02:00
Luca Greco
d01ad0fefd Bug 1285557 - Create a WebExtensionAddonActor based on ChromeActor and TabActor. r=jryans
MozReview-Commit-ID: 70sLUzqHHsl

--HG--
rename : devtools/server/actors/chrome.js => devtools/server/actors/webextension.js
extra : rebase_source : 4e15cd90658dcc28e8cb90414c55cd66865c711e
2016-07-25 16:28:49 +02:00
Carsten "Tomcat" Book
1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Luca Greco
08fdde48aa Bug 1287889 - Adopt webconsole _lastConsoleInputEvaluation when the debugger changes. r=bgrins
MozReview-Commit-ID: 8ujphVlekIL

--HG--
extra : rebase_source : 72a1bc22c87ef2f8d0d848f103880b41e66fe83d
2016-07-25 10:09:14 +02:00
Luca Greco
065bec7ddc Bug 1268773 - Test addon wrapper updated in cached addon actor on reload and upgrade. r=ochameau
MozReview-Commit-ID: Fsdptohp22c

--HG--
extra : rebase_source : 0ca1399280eece985b634cf700116ecdbe766894
2016-07-07 14:55:31 +02:00
Luca Greco
7ce3851ef3 Bug 1268773 - Update the Addon Wrapper for cached addon actors on reload. r=ochameau
MozReview-Commit-ID: AWNPTyIuzCX

--HG--
extra : rebase_source : c736731c2daa322dda16eca9ce8afbdba6ea1bb6
2016-07-06 16:18:58 +02:00
Oriol
3e28f15238 Bug 1274657 - When inspecting a proxy, show the [[ProxyHandler]] and [[ProxyTarget]] instead of executing traps. r=jlong 2016-07-23 17:39:00 +02:00
Fischer.json
d814fd47e3 Bug 1264582 - Table headers are not removed when selecting an empty storage. r=mratcliffe
MozReview-Commit-ID: Hcfw7dyrDpV

--HG--
extra : transplant_source : %DDH%D0%22%A8%96%C0%F6%EAW%A6%8B%CF%CAA%3Cy%26m%E4
2016-07-01 17:42:07 +08:00
Wes Kocher
6517ee3462 Backed out 6 changesets (bug 1244227) for m(cl) failures
Backed out changeset 0cf1259b7073 (bug 1244227)
Backed out changeset d5866b9dd3d9 (bug 1244227)
Backed out changeset 49b5309e3415 (bug 1244227)
Backed out changeset 33bc49f015a7 (bug 1244227)
Backed out changeset f680f6460f07 (bug 1244227)
Backed out changeset 5a4bb3258978 (bug 1244227)
2016-07-22 13:32:37 -07:00
Tom Tromey
ea95071431 Bug 1288147 - move event-parsers.js to devtools/server; r=bgrins
MozReview-Commit-ID: 9ijC0wAinMs

--HG--
rename : devtools/shared/event-parsers.js => devtools/server/event-parsers.js
extra : rebase_source : 6e865cad2f70ca99824ccab77e95c6f001386606
2016-07-26 09:32:21 -06:00
Tom Tromey
4f245dd44f Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : J%98f%AD%0C%80%3B%0D%23%89%5D/%F2He%CC%B95Np
2016-03-01 11:13:41 -07:00
Patrick Brosset
f9d2dc2d7d Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD

--HG--
extra : rebase_source : 47c2effe193f4d1a64a8d16ea3609ff5ae1f793b
2016-07-20 16:06:42 +02:00
Patrick Brosset
4b2d233450 Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue

--HG--
extra : rebase_source : fb6b4feec4be295cb4494be66d0b188d6b538579
2016-06-06 15:11:27 +02:00
Patrick Brosset
968dc79025 Bug 1262439 - 2 - Add a new pickColor inspector method to use the new eye-dropper highlighter; r=bgrins
The inspector actor now has a new method that can be used to pick a
color from the page. This method just instantiates the eye-dropper
highlighter and shows it on the page.
The method doesn't return the color because this requires user interaction.
Instead, it returns immediately and an event is sent later, when the user
has selected a color or escaped.

MozReview-Commit-ID: cjadLyNXQd

--HG--
extra : rebase_source : 392a3cbfce7b81518cd7e4c90a44bae17d96e8de
2016-07-20 16:07:04 +02:00
Patrick Brosset
d2cc90ec24 Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7

--HG--
rename : devtools/client/shared/css-color-db.js => devtools/shared/css-color-db.js
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
extra : rebase_source : 72431a9148d1c688987a5693a619769837c774c7
2016-07-21 14:35:14 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book
53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Greg Tatum
03144dabc5 Bug 1286232 - Add scripts and tests to automate the css-properties-db. r=pbro
--HG--
extra : rebase_source : b24ee31a2563e25ef46cb8068255f4e8ae4ffb13
2016-07-21 06:54:00 -04:00
Carsten "Tomcat" Book
4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Carsten "Tomcat" Book
ac018ea603 merge fx-team to mozilla-central a=merge 2016-07-21 16:23:11 +02:00
Eddy Bruel
34cdf87c79 Bug 1265727 - Decouple EventLoopLagFront from EventLoopActor. r=fitzgen 2016-07-21 12:52:30 +02:00
Tim Huang
2107711fca Bug 1287607 - Making the stylesheets editor using the system principal to load CSS files from 'chrome://' URL. r=gl 2016-07-19 17:39:00 +02:00
Jaideep Bhoosreddy
55e61dc998 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 19:09:00 +02:00
Wes Kocher
b79af22444 Backed out changeset aab8baf2c5f5 (bug 670002) for eslint failures
--HG--
rename : devtools/client/framework/source-map-service.js => devtools/client/framework/source-location.js
2016-07-20 12:56:46 -07:00
James Long
6ab69d6827 Bug 1238173 - remove ScriptStore in use findScripts in debugger r=fitzgen 2016-07-20 14:57:13 -04:00
Jaideep Bhoosreddy
8f73e01607 Bug 670002 - Use source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 00:40:00 -04:00
Patrick Brosset
f4f658ae9a Bug 1287042 - Always before/after CSS rules in rule-view; r=bgrins
::before and ::after pseudo-elements are visible in the markup-view today
but if, for some reason, they aren't generated, we still want to know that
the CSS rule exists.
This may happen if you use display:none on the pseudo-element CSS rule itself.
When that happens, the pseudo-element won't be generated and therefore there
will be no possibility to see the rule in the rule-view (you'd have to go to
the style-editor for that).
This change keeps the pseudo-elements in the markup-view, but also adds the
corresponding CSS rules in the rule-view.

MozReview-Commit-ID: tx5IpmtE7b

--HG--
extra : rebase_source : 19979672561e55fc5713900b83dd6d40ac33d2a3
2016-07-18 17:15:05 +02:00
Joseph Yeh
711bee9e8d Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster
MozReview-Commit-ID: 1OeiMaVZ7tm

--HG--
extra : rebase_source : ed4d3809d97fd1c1a6661ad30b9f9d0d868fbea2
2016-07-11 20:28:00 +02:00
Carsten "Tomcat" Book
ca457776f8 merge mozilla-inbound to mozilla-central a=merge 2016-07-18 17:07:59 +02:00
Carsten "Tomcat" Book
779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Carsten "Tomcat" Book
a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Till Schneidereit
3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Jason Laster
ae5b9e5663 Bug 1286390 - Add sourceMapURL to source actor form. r=jlongster 2016-07-12 14:40:00 -04:00
Dalimil Hajek
fa37099930 Bug 1220388 - Element highlighter tooltip doesn't display element's size if it has long ID / firefox window is narrow. r=zer0
MozReview-Commit-ID: AzKGhr9BssN
2016-07-05 12:38:00 +02:00
Greg Tatum
180f6e66ec Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
Alexandre Poirot
a3822bd122 Bug 1281726 - Emit TabActor.tabDetached whenever the actor is detached. r=jryans 2016-07-13 23:34:17 -07:00
Alexandre Poirot
213ad20a2e Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Till Schneidereit
f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Tim Huang
d0bc82231f Bug 1282660 - Part 1 : Make the devtools uses nodePrincipal instead of the system principal when fetching stylesheets. r=gl 2016-07-13 02:37:00 +02:00
Jarda Snajdr
3a9649172e Bug 1285638 - Network monitor leaks window when a parent-side tab is closed. r=ochameau 2016-07-10 10:37:00 +02:00
Ian Moody
02176c6da3 Bug 1285253 - Change incorrect "text-anchor: left" to "start". r=jdescottes
Also fix a typo in a comment, "Rules" -> "Rulers"

MozReview-Commit-ID: Gy5k3TR9JDM

--HG--
extra : transplant_source : i%15%1B%A1L%F9%B9%23%CC%F70u%0AT%0C%B4%27m%B2%DF
2016-07-07 13:48:16 +01:00
Joseph Yeh
2c7f0d073f Bug 1236283 - Don't mistake <embed> and <object> as having 1 child node when they don't contain anything. r=pbro
MozReview-Commit-ID: B7bEOP63yxT

--HG--
extra : source : 3468f546b0858d798b57d2bb020fcd309c154c48
2016-07-05 00:52:00 +02:00
Ian Moody
86d55a0b62 Bug 1171614 - Add a test for data-URI images to test_inspector_getImageData.html, and check that the server is being truthful about resizing. r=jdescottes
Also tidy up the HTML a bit by removing errant <img> close tags

MozReview-Commit-ID: 4cmtW1S2BI8

--HG--
extra : transplant_source : %26%E6%FE%BB%FE%2A%CCG%E0%27%3B%3DYK%2BP%E7%9D%C7%C9
2016-07-01 18:31:22 +01:00
Ian Moody
93ef07dcad Bug 1171614 - Make server inspector actor only return data-URIs as-is if they are smaller than maxDim. r=jdescottes
MozReview-Commit-ID: Hw0K8ZA79eG

--HG--
extra : transplant_source : %CA%F1T%00%23%F9%FC%A6b%BB%D7%E3%E8%E9%26%2A%F3.%02%12
2016-07-07 12:13:49 +01:00
Rex Lee
d807a8a63e Bug 1261133 - Use pseudoClass for style editor transition. r=dbaron, r=pbro
MozReview-Commit-ID: Ck5JTXRR0mp

--HG--
extra : transplant_source : %95%0CQ%14%20%F0f%B84%E2%82%82%AB%F51%87%29%9EqL
2016-05-23 19:55:54 +08:00
Carsten "Tomcat" Book
2f13468501 Backed out changeset 52434d177be3 (bug 1171614) for test failures in clipboard tests 2016-07-07 08:39:18 +02:00
Carsten "Tomcat" Book
6f0f8498d5 Backed out changeset 0dafaad484d4 (bug 1171614) 2016-07-07 08:39:01 +02:00
Carsten "Tomcat" Book
14d35809ca Backed out changeset 3468f546b085 (bug 1236283) 2016-07-07 08:39:00 +02:00
Joseph Yeh
00e7b0da9e Bug 1236283 - Don't mistake <embed> and <object> as having 1 child node when they don't contain anything; r=pbro
MozReview-Commit-ID: B7bEOP63yxT
2016-07-05 00:52:00 +02:00
Ian Moody
aa6717f177 Bug 1171614 - Add a test for data-URI images to test_inspector_getImageData.html, and check that the server is being truthful about resizing r=jdescottes
Also tidy up the HTML a bit by removing errant <img> close tags

MozReview-Commit-ID: 4cmtW1S2BI8

--HG--
extra : transplant_source : %D3g%9B%CD%16%98E%18%F0%7F%2C%B9%09%19%EB%88L%E4%18%07
2016-07-01 18:31:22 +01:00