Commit Graph
641 Commits
Author SHA1 Message Date
Alexandre Poirot 055cbd96c1 Bug 1300036 - Update the state correctly on the client side when the server reports a conflict on resume. r=ejpbruel
MozReview-Commit-ID: IK6LXEGXan
2016-09-05 10:42:05 -07:00
Carsten "Tomcat" Book 72d88f75cc merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Oriol c470593a6c Bug 1301999 - Stop hiding array indices of generic objects in console. r=fitzgen 2016-09-11 17:57:00 -04:00
Wes Kocher ea66dbdfb8 Merge m-c to fx-team, a=merge 2016-09-12 17:23:31 -07:00
Oriol 2f2c0566d7 Bug 1301794 - Allow sparse pseudo-arrays in console r=fitzgen 2016-09-12 13:03:50 -07:00
Sebastian Hengst c2bae49046 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 4f7e77cbf6 Bug 1301794 - Allow sparse pseudo-arrays in console. r=fitzgen 2016-09-09 14:59:00 +02:00
Florent Fayolle 809fef90b2 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 23614cda77 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 35263f7cb9 Merge mozilla-central to autoland 2016-09-08 12:51:52 +02:00
Alexandre Poirot c1cbbf4f49 Bug 1300822 - Fix tab load event wait in devtools test helpers. r=tromey
MozReview-Commit-ID: 8vSSaDloJND
2016-09-06 07:05:32 -07:00
Sebastian Hengst 93c9c62451 Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout 2016-09-13 17:43:44 +02:00
Greg Tatum 36e0a1b1fa 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
2016-08-29 11:02:34 -05:00
Fred Lin d8f79c1561 Bug 1291638 - Change color theme of box-model view. r=gl
MozReview-Commit-ID: AYhPUXV2tJZ
2016-08-17 13:12:37 +08:00
Alexandre Poirot fb9d0991ed 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 7b4a75f392 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 26ce025ec3 Backed out changeset f46da98e6edd (Bug 1249558) r=backout 2016-09-07 16:18:31 -04:00
Gabriel Luong 91bf805cea 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 e8a577a6cb 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 928be8cc6b Bug 1295010 - Don't move the eyedropper to the out of browser window by keyboard navigation. r=pbro
MozReview-Commit-ID: vBwmSxVNXK
2016-09-03 00:07:00 +02:00
Oriol 211c45514c Bug 1300336 - Allow pseudo-arrays to have a length property. r=fitzgen 2016-09-03 12:46:00 -04:00
Alexandre Poirot 5a92c204eb Bug 1298082 - Various cleanups to use helpers. r=jryans
MozReview-Commit-ID: EwtA2K00EaM
2016-08-25 05:50:44 -07:00
Thomas Wisniewski a482d8a784 Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Julian Descottes fd1d811c09 Bug 1291321 - Use system principal to download file:// stylesheets;r=gl
MozReview-Commit-ID: Fd8RoPGbZjz
2016-09-02 15:38:48 +02:00
Wes Kocher eda25c5728 Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Tooru Fujisawa ca15cb5808 Bug 1293205 - Part 2: Link to MDN documentation from for-each warning. r=fscholz 2016-09-02 20:15:08 +09:00
Alexandre Poirot 1835b403d7 Bug 1299602 - Do not suspend navigation when navigating with a breakpoint. r=jlongster
MozReview-Commit-ID: L6WGZcL5eWL
2016-09-01 02:42:03 -07:00
Alexandre Poirot b38e2f3feb Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc
2016-08-31 09:39:42 -07:00
d860674999 Bug 1278562 - Split promiseState into promiseState/Value/Reason. r=jimb 2016-08-30 20:25:44 +02:00
André Bargull c2973badf4 Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo 2016-08-11 09:31:22 -07:00
Sebastian Hengst 287d4b9e2a 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
1610ff7f5a Bug 1278562 - Split promiseState into promiseState/Value/Reason. r=jimb 2016-08-29 14:00:32 +02:00
Patrick Brosset 5c93d45ee6 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
2016-08-22 14:59:08 +02:00
Ryan VanderMeulen 7049259c8a Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Shu-yu Guo 45f2e559d8 Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo) 2016-08-25 01:28:47 -07:00
Gabriel Luong 31e5f0cb7e 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 8f123f570d 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
2016-08-24 10:29:49 +02:00
Tom Tromey 070522efed Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-08-23 07:36:52 -06:00
Gabriel Luong 5790336ccb 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 98306db559 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 b4fc92a895 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
fbdb0dae94 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 bf639519bc Merge m-c to fx-team, a=merge 2016-08-19 18:41:03 -07:00
Gabriel Luong daf912f588 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 724c163f1c Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00
Patrick Brosset a080e97831 Bug 1295607 - Avoid CSP errors when drawing the window into the eyedropper; r=miker
Pages defining CSP response headers used to be a problem for the eyedropper.
Indeed, the eyedropper would take a screenshot of the window with
canvas.drawWindow and then load the resulting data as an Image. But in order
to access the Image() constructor, it would use the content window:
new window.Image(), and that wasn't possible with CSP headers.

With this change, the eyedropper creates an ImageBitmap with
window.createImageBitmap() and that doesn't cause CSP errors, and still works
fine because ImageBitmap are consumable by the eyedropper.

This change also adds a new test to prevent this bug from coming back.

MozReview-Commit-ID: 7f3HCXJtTiv
2016-08-18 14:37:04 +02:00
Patrick Brosset 98f15741fe Bug 1289553 - Move the eyedropper label so it's always visible; r=jdescottes
This adds a few new CSS selectors that are used to move the label to the
top and/or left/right of the eyedropper canvas.
The CSS rules use transform and a quick transition.
The eyedropper highlighter then just makes use of this by adding top, left,
right attributes to the DOM depending on its position.

This also adds a test for this, and while testing, I discovered a bug in
shared/layout/utils.js that I fixed here too. Sometimes, the node passed is
actually a DOCUMENT_NODE and so we must account for this in a couple of places
in this file to avoid JS errors.

MozReview-Commit-ID: H969k3mEDJE


MozReview-Commit-ID: 9qOCYVp4mld
2016-08-18 15:17:47 +02:00
Wes Kocher 41af310505 Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Oriol 9397545915 Bug 1295729 - Ensure that properties are array indices when the console checks if an object is a pseudo-array. r=fitzgen 2016-08-16 14:59:00 -04:00
Tom Tromey e23dc8b645 Bug 1278625 - move SimpleStringFront to specs/string.js; r=ejpbruel
MozReview-Commit-ID: Ib11CZwL4pP
2016-08-16 11:01:33 -06:00