Commit Graph

646 Commits

Author SHA1 Message Date
Alexandre Poirot
cd8a9d4257 Bug 1303268 - Package acorn lib with same path as sources to fix hot reload. r=pbro
MozReview-Commit-ID: 32WuvqluuiU
2016-09-19 10:27:31 -07:00
Gabriel Luong
0515d3805c Bug 1302496 - Refactor LayoutView to a Box Model component r=jdescottes
--HG--
rename : devtools/client/inspector/layout/layout.js => devtools/client/inspector/components/box-model.js
rename : devtools/client/inspector/layout/test/.eslintrc => devtools/client/inspector/components/test/.eslintrc
rename : devtools/client/inspector/layout/test/browser.ini => devtools/client/inspector/components/test/browser.ini
rename : devtools/client/inspector/layout/test/browser_layout.js => devtools/client/inspector/components/test/browser_boxmodel.js
rename : devtools/client/inspector/layout/test/browser_layout_editablemodel.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel.js
rename : devtools/client/inspector/layout/test/browser_layout_editablemodel_allproperties.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_allproperties.js
rename : devtools/client/inspector/layout/test/browser_layout_editablemodel_bluronclick.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_bluronclick.js
rename : devtools/client/inspector/layout/test/browser_layout_editablemodel_border.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_border.js
rename : devtools/client/inspector/layout/test/browser_layout_editablemodel_stylerules.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_stylerules.js
rename : devtools/client/inspector/layout/test/browser_layout_guides.js => devtools/client/inspector/components/test/browser_boxmodel_guides.js
rename : devtools/client/inspector/layout/test/browser_layout_rotate-labels-on-sides.js => devtools/client/inspector/components/test/browser_boxmodel_rotate-labels-on-sides.js
rename : devtools/client/inspector/layout/test/browser_layout_sync.js => devtools/client/inspector/components/test/browser_boxmodel_sync.js
rename : devtools/client/inspector/layout/test/browser_layout_tooltips.js => devtools/client/inspector/components/test/browser_boxmodel_tooltips.js
rename : devtools/client/inspector/layout/test/browser_layout_update-after-navigation.js => devtools/client/inspector/components/test/browser_boxmodel_update-after-navigation.js
rename : devtools/client/inspector/layout/test/browser_layout_update-after-reload.js => devtools/client/inspector/components/test/browser_boxmodel_update-after-reload.js
rename : devtools/client/inspector/layout/test/browser_layout_update-in-iframes.js => devtools/client/inspector/components/test/browser_boxmodel_update-in-iframes.js
rename : devtools/client/inspector/layout/test/doc_layout_iframe1.html => devtools/client/inspector/components/test/doc_boxmodel_iframe1.html
rename : devtools/client/inspector/layout/test/doc_layout_iframe2.html => devtools/client/inspector/components/test/doc_boxmodel_iframe2.html
rename : devtools/client/inspector/layout/test/head.js => devtools/client/inspector/components/test/head.js
rename : devtools/client/themes/layout.css => devtools/client/themes/boxmodel.css
2016-09-13 16:35:16 -04:00
Gabriel Luong
7f3e013f27 Backed out changeset 4329f53c9f9f Bug 1291638 r=gl 2016-09-16 16:53:22 -04:00
Gabriel Luong
4a0bda31bf Bug 1282727 - Display grid gaps in the CSS Grids highlighter r=pbro 2016-09-16 16:32:33 -04:00
Greg Tatum
1e5a5a50e2 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8

--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : 51d8d92db0ae91a7368b109aae9a509ba8012b3f
extra : histedit_source : ee3409615461cba0c656b32fee7f80d4b72a09d1
2016-09-14 10:00:27 -05:00
Alexandre Poirot
9ad179d431 Bug 1300036 - Update the state correctly on the client side when the server reports a conflict on resume. r=ejpbruel
MozReview-Commit-ID: IK6LXEGXan

--HG--
extra : rebase_source : 7972c629f4e965f1ed1ebe98fcfb95b9bad84885
2016-09-05 10:42:05 -07:00
Carsten "Tomcat" Book
d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Oriol
a6d040a4cd Bug 1301999 - Stop hiding array indices of generic objects in console. r=fitzgen 2016-09-11 17:57:00 -04:00
Wes Kocher
5225afcd1a Merge m-c to fx-team, a=merge 2016-09-12 17:23:31 -07:00
Oriol
388d2d0e89 Bug 1301794 - Allow sparse pseudo-arrays in console r=fitzgen 2016-09-12 13:03:50 -07:00
Sebastian Hengst
9c8a34a6a8 Backed out changeset 4cba7ff88539 (bug 1301794) for timing out in devtools test browser_webconsole_output_05.js. r=backout 2016-09-10 22:29:12 +02:00
Oriol
eb51e3096c Bug 1301794 - Allow sparse pseudo-arrays in console. r=fitzgen 2016-09-09 14:59:00 +02:00
Florent Fayolle
b9699f810d Bug 1222586 - Don't assume document to be HTML when pasting markup into the markup-view; r=pbro 2016-09-10 00:59:00 +02:00
Matteo Ferretti
7d9ef479e9 Bug 1254385 - Apply dPR from selected device; r=jryans
- dPR and media queries are now reflecting the selected device's dppx
- added unit test

MozReview-Commit-ID: 9634mleTwkS
2016-08-31 09:58:26 +02:00
Carsten "Tomcat" Book
d98e95abb8 Merge mozilla-central to autoland 2016-09-08 12:51:52 +02:00
Alexandre Poirot
2570cbf350 Bug 1300822 - Fix tab load event wait in devtools test helpers. r=tromey
MozReview-Commit-ID: 8vSSaDloJND

--HG--
extra : rebase_source : 2a46f64396af58f88c5ab297f51bbf688f82598c
2016-09-06 07:05:32 -07:00
Sebastian Hengst
d11146270a Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout
--HG--
rename : devtools/shared/css/color-db.js => devtools/shared/css-color-db.js
rename : devtools/shared/css/lexer.js => devtools/shared/css-lexer.js
rename : devtools/shared/css/properties-db.js => devtools/shared/css-properties-db.js
2016-09-13 17:43:44 +02:00
Greg Tatum
da1990f19b Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8

--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : b73bbe7fcf8177a25b41ecdd6d6c760ed1472fb7
2016-08-29 11:02:34 -05:00
Fred Lin
b23ef220cd Bug 1291638 - Change color theme of box-model view. r=gl
MozReview-Commit-ID: AYhPUXV2tJZ

--HG--
extra : transplant_source : d%F7%8F%94%5E%8F%BB%C0%F7U%A0%C6%1D%AF%CA%FE%8B%CD%F6%DC
2016-08-17 13:12:37 +08:00
Alexandre Poirot
e97b175c50 Bug 1298113 - Remove devtools xpcshell test asserting for memory consumption. r=jryans
MozReview-Commit-ID: DSfqDRQYSE4
2016-09-07 13:46:57 -07:00
Gabriel Luong
99b821c100 Bug 1249558 - Part 2: Display the grid info bar for a grid area highlight r=pbro 2016-09-07 16:44:11 -04:00
Gabriel Luong
f482fa6e99 Backed out changeset f46da98e6edd (Bug 1249558) r=backout 2016-09-07 16:18:31 -04:00
Gabriel Luong
d0fec9eaf3 Bug 1249558 - Part 2: Display the grid info bar for a grid area highlight r=pbro 2016-09-07 15:41:51 -04:00
Gabriel Luong
f4feee83f8 Bug 1249558 - Part 1: Display the grid area highlight in the css grid overlay r=pbro 2016-09-07 15:41:48 -04:00
Ruturaj Vartak
f413b9b7dd Bug 1295010 - Don't move the eyedropper to the out of browser window by keyboard navigation. r=pbro
MozReview-Commit-ID: vBwmSxVNXK

--HG--
extra : rebase_source : b74df421630fc46dab6b6cc026bf3e0ae6b4a651
extra : amend_source : 6885024ef00cfa33d73c59dc03c48ebcda9ccbdd
extra : histedit_source : c43167f0a7cbe9f4c733b15da726e5150a9529ba
2016-09-03 00:07:00 +02:00
Oriol
4a071f812f Bug 1300336 - Allow pseudo-arrays to have a length property. r=fitzgen 2016-09-03 12:46:00 -04:00
Alexandre Poirot
0e07d87062 Bug 1298082 - Various cleanups to use helpers. r=jryans
MozReview-Commit-ID: EwtA2K00EaM

--HG--
extra : rebase_source : a97a380d413f1a84077ba7bb1250e49af3284825
2016-08-25 05:50:44 -07:00
Thomas Wisniewski
95c459ec9a Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Julian Descottes
ee8a150836 Bug 1291321 - Use system principal to download file:// stylesheets;r=gl
MozReview-Commit-ID: Fd8RoPGbZjz

--HG--
extra : rebase_source : 4e3a62c7cd883afd4b5f52721adab034c607b6f6
2016-09-02 15:38:48 +02:00
Wes Kocher
ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Tooru Fujisawa
92c0f188ea Bug 1293205 - Part 2: Link to MDN documentation from for-each warning. r=fscholz 2016-09-02 20:15:08 +09:00
Alexandre Poirot
2e41a3286f Bug 1299602 - Do not suspend navigation when navigating with a breakpoint. r=jlongster
MozReview-Commit-ID: L6WGZcL5eWL

--HG--
extra : rebase_source : e53f009535f2d5342681500524f8687812606466
2016-09-01 02:42:03 -07:00
Alexandre Poirot
3ccb636ac8 Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc

--HG--
extra : rebase_source : 77dbf9db6dd94a609708862eb59b962c7aaef82d
2016-08-31 09:39:42 -07:00
Eddy Bruel
7921f16339 Bug 1278562 - Split promiseState into promiseState/Value/Reason. r=jimb 2016-08-30 20:25:44 +02:00
André Bargull
96b7707bfe Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo 2016-08-11 09:31:22 -07:00
Sebastian Hengst
ae4deca30b Backed out changeset 115f3bbe634f (bug 1278562) for asserting in bug1091757.js of spidermonkey root analysis. r=backout 2016-08-29 19:44:34 +02:00
Eddy Bruel
41a918e72b Bug 1278562 - Split promiseState into promiseState/Value/Reason. r=jimb 2016-08-29 14:00:32 +02:00
Patrick Brosset
df364f3f56 Bug 1289543 - Disable the eyedropper on non-HTML documents; r=miker
The eyedropper code now bails out if the content window is XUL, since
highlighters cant be inserted into non-HTML documents.
And the inspector hides the eyedropper buttons in the toolbar and in the
color-picker if the document isn't HTML.

MozReview-Commit-ID: 7AgRV8Qu9gz

--HG--
extra : rebase_source : 04220a6057df9ced4b49c29e8b46557008e0d738
2016-08-22 14:59:08 +02:00
Ryan VanderMeulen
2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Shu-yu Guo
e2b6833e0a Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo) 2016-08-25 01:28:47 -07:00
Gabriel Luong
b5b7087d30 Bug 1249557 - Part 1: Display the line numbers in the css grid highlighter r=pbro 2016-08-24 09:08:17 -04:00
Patrick Brosset
fc07e38ecd Bug 1295008 - Hide the previous eyedropper when we request to show a new one; r=miker
The eyedropper can be shown in 2 distinct ways:
- the 'eyedropper' gcli command can be called (from the dev toolboar
  or from the browser devtools menu),
- or the inspector's 'pickColorFromPage' method can be called (from
  the inspector toolbar or from the color-picker in the ruleview).

Before this change, it was possible to show several eyedropper because
these 2 codepaths didn't know about each other.
Now, when executing the gcli command, the inspector's
'cancelPickColorFromPage' method is called to hide it first.
And, when the 'pickColorFromPage' method is called, the 'eyedropper --hide'
gcli command is called too.

This way, there's only one eyedropper shown.

There was also a problem where the gcli command would create a new
eyedropper everytime it was called. This was fixed too, by maintaining a
WeakMap of all eyedroppers opened so far.

MozReview-Commit-ID: F6fBP5R7ZTJ

--HG--
extra : rebase_source : f04bbf224ced7b93b4e5b0c42662731ecc58cb58
2016-08-24 10:29:49 +02:00
Tom Tromey
8cfae2d757 Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-08-23 07:36:52 -06:00
Gabriel Luong
fb0c04683f Bug 1249555 - Display edge of explicit grid and implicit grid differently in the css grid inspector r=pbro 2016-08-23 08:33:08 -04:00
Tim Nguyen
b120997df1 Bug 1254386 - Move custom UA emulation to emulation actor. r=jryans
MozReview-Commit-ID: 9005ktskEVk
2016-08-23 01:51:16 -07:00
Gabriel Luong
3a25a23ab5 Bug 1296912 - Fix the CSS grid highlighter size when zooming in and out by limiting the devicePixelRatio to 2 decimal places r=pbro 2016-08-22 14:57:27 -04:00
Eddy Bruel
f389d7ede3 Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00
Wes Kocher
622e92bcb5 Merge m-c to fx-team, a=merge 2016-08-19 18:41:03 -07:00
Gabriel Luong
48cab5785e Bug 1282726 - Simple CSS Grid highlighter that displays grid lines r=pbro
This adds a new highlighter in devtools/server/actors/highlighters.
For now this highlighter isn't used and can only display grid lines
as provided by node.getGridFragments().
2016-08-19 10:26:39 -07:00
Ryan VanderMeulen
ca004651b3 Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00