Commit Graph
5547 Commits
Author SHA1 Message Date
Julian Descottes fe052d64cc Bug 1369801 - dt-addon: move devtools-startup to devtools shim folder r=ochameau
MozReview-Commit-ID: GNFAyfXHIa9
2017-07-20 18:56:39 +02:00
Julian Descottes 72ca589618 Bug 1369801 - dt-addon: clear extensions.lastAppVersion when creating browser toolbox profile;r=ochameau
This is needed to:
1. force the devtools system addon installation when starting the BT instance of FF
2. avoid the addon update prompt

Another approach is to create a separate user.js pref file to fix 1. However with this
approach there is currently no way to fix 2.

MozReview-Commit-ID: palK2hION0
2017-07-06 02:48:41 +02:00
Julian Descottes 5554fc2ba6 Bug 1369801 - dt-addon: use window object in webconsole/net/main to load stylesheets;r=jryans
From console/net/main.js we are calling loadSheet from sdk/stylesheet/utils.
This API needs a real window object to work, but now that devtools are loaded
as a system addon, by default the global object is a sandbox wrapper.

Use the window object which points to the actual Window instead.

MozReview-Commit-ID: LxDNfDiOso3
2017-07-12 19:26:33 +02:00
Julian Descottes 1bee4cd17e Bug 1369801 - dt-addon-tests: update specificity of selector in firebug-theme.css;r=ochameau
MozReview-Commit-ID: 7o6h5FPOa3I
2017-06-19 11:12:46 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
Julian Descottes 079fccf669 Bug 1369801 - dt-addon-prefs: move devtools.theme preference to devtools-startup-prefs.js;r=bgrins
MozReview-Commit-ID: GOWh7COmCSx
2017-07-25 16:45:08 +02:00
Julian Descottes 8d526d873e Bug 1369801 - dt-addon-prefs: move jsonview enabled pref outside of devtools addon;r=ochameau
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs().
We can not preload them when the addon starts, otherwise this will slow down the startup
of Firefox.

But jsonview's converter-observer needs to check preferences to check if jsonview is
enabled very early. Moving devtools.jsonview.enabled to a separate preferences file
that is still processed by firefox fixes the issue.

The downside is that this pref will keep following m-c's release cycle and not the addon's.
But it is so generic it should not be a big issue.


MozReview-Commit-ID: HrD5IVe54Ks
2017-07-21 12:27:35 +02:00
Julian Descottes 4101c8cd89 Bug 1369801 - dt-addon: simplify devtools addon bootstrap and extract prefs loading;r=ochameau
MozReview-Commit-ID: 13SxWssW0Xr
2017-07-20 18:31:46 +02:00
Julian Descottes d37f3dc519 Bug 1369801 - dt-addon-build: additional build fixes for system addon;r=ochameau
In this patch:
- register webide properly
- register localization
- add processing indicator in jar.mn for pref files (details below)

The preferences files still contain processing instructions, that we manually interpret when loading
prefs. Keeping the * processing indicator will avoid triggering warnings in tests scanning
javascript files for issues such as browser_parsable_script.js

MozReview-Commit-ID: 8WYUvbtMNn5
2017-07-11 14:35:44 +02:00
Alexandre Poirot 2ed2097751 Bug 1369801 - DevTools as system add-on;r=jdescottes
MozReview-Commit-ID: EUjkQtEUy4V
2017-05-30 17:34:38 +02:00
Brian Grinstead 01310e5ea5 Bug 1382833 - Add regression test for CPOWs in the Browser Console;r=jimb
MozReview-Commit-ID: 6OEnLdOpg4Q
2017-07-26 11:22:59 -07:00
Brian Grinstead 40dadee672 Bug 1381630 - Enable the new console frontend by default in dev edition;r=nchevobbe
MozReview-Commit-ID: BgzsHk9qSix
2017-07-26 09:41:42 -07:00
Alexandre Poirot 8cb9dda22e Bug 1353656 - Remove WebIDE build step for local apps. r=jryans
MozReview-Commit-ID: 2YA2tBynD7g
2017-07-24 18:50:26 +02:00
Alexandre Poirot 42bf43cddf Bug 1353656 - Use SubProcess.jsm from WebIDE instead of SDK equivalent. r=jryans
MozReview-Commit-ID: Lu0Ptuhopxh
2017-07-24 19:23:09 +02:00
Nicolas Chevobbe 97c62ce736 Bug 1380790 - devtools reps: update bundle to v0.10.0; r=bgrins
This also fixes a few tests that were failing due to changes
in how we now render arrays and objects in tiny mode.

MozReview-Commit-ID: 9JRjDQQ46FA
2017-07-25 17:52:38 +02:00
Sebastian Hengst 0e6409eea3 Bug 1381345 - Remove unused string boxmodel.position from file boxmodel.properties. r=pbro
MozReview-Commit-ID: BZhLfAjtdqH
2017-07-16 22:41:02 +02:00
Carsten "Tomcat" Book d81e194db5 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Wes Kocher 76048ac133 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AwACQvl2e5g
2017-07-25 19:09:39 -07:00
Julian Descottes 17fa1fbe5f Bug 1378833 - use Environment service instead of sdk/system/environment in WebIDE;r=ochameau
MozReview-Commit-ID: 9Uc9HYImK6G
2017-07-24 23:11:17 +02:00
Julian Descottes 58db6d65d1 Bug 1378835 - use Services.appinfo instead of sdk/system/runtime in WebIDE;r=ochameau
MozReview-Commit-ID: 6Z55YIPOcyN
2017-07-24 23:02:00 +02:00
Nicolas Chevobbe ee4a4c043c Bug 881480 - Add ownSymbols to object preview; r=ochameau
This adds an `ownSymbols` and an `ownSymbolsLength` properties to the
grip `preview` property so we can retrieve them in the frontend.
This also refactors the newly introduced test for symbols and add a
function which test the content of the preview property in the grip.
The console test packet stubs files were updated to take this into account.

MozReview-Commit-ID: 7rPxFcS5uXE
2017-07-24 15:25:46 +02:00
Carsten "Tomcat" Book 80abf444f0 merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Wes Kocher 9a60d18b76 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Gabriel Luong 066b6bc735 Bug 1383849 - Remove unused prop type 'showGridOutline'. r=micah 2017-07-24 20:04:29 -04:00
Julian Descottes c1fbf871ce Bug 1383723 - enable mochitest browser_inspector_search-suggests-ids-and-classes.js;r=jdescottes
MozReview-Commit-ID: AUj2FIHjPlH
2017-07-21 23:47:44 +02:00
Julian Descottes 79261a9394 Bug 1383723 - remove unused mdn docs mochitest;r=jdescottes
This mochitest was never added to browser.ini, and never ran on try.
I tested it locally and the test still seems to run. However the mdn
docs widget is now disabled by default and is actually not working
very well when enabled.

I propose to remove the file rather than slowing down our test suite
for this.

MozReview-Commit-ID: 4QEIdUQRgJZ
2017-07-21 23:18:39 +02:00
Joel Maher 1b87ed5225 Bug 1374187 - Intermittent devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-debugging.js. skip on deug. r=KWierso
MozReview-Commit-ID: DcGeJxgQ0Ft
2017-07-24 18:28:26 -04:00
Jason Laster ff761f729e Bug 1383803 - Update debugger frontend (v0.9.0). r=jdescottes 2017-07-24 14:30:00 -04:00
Carsten "Tomcat" Book c41fe0dd6f Backed out changeset a46ee323e1e7 (bug 1359855) for test failures in browser_ext_devtools_inspectedWindow.js 2017-07-24 12:07:39 +02:00
Carsten "Tomcat" Book 2c5f96e9a1 Backed out changeset 44726932185a (bug 1359855) 2017-07-24 12:07:21 +02:00
Carsten "Tomcat" Book 362f9cf026 Backed out changeset 354080a171dc (bug 1359855) 2017-07-24 12:07:18 +02:00
Carsten "Tomcat" Book 88cc560a7f Backed out changeset 8d68726f1c34 (bug 1359855) 2017-07-24 12:07:16 +02:00
Carsten "Tomcat" Book d3c4ec2468 Backed out changeset 061f66345448 (bug 1359855) 2017-07-24 12:07:14 +02:00
Carsten "Tomcat" Book a86648919d Backed out changeset dbd03e7e1bc5 (bug 1359855) 2017-07-24 12:07:11 +02:00
Mike Park 514b99db5e Bug 1282717 - Highlight CSS shapes points in the page from the rule-view and vice versa. r=pbro
MozReview-Commit-ID: 9pXkbAwgcXO
2017-07-05 10:57:42 -04:00
Gabriel Luong def0f978cd Bug 1383745 - Upgrade to CodeMirror 5.28.0. r=bgrins 2017-07-24 14:11:26 -04:00
Mike Park e44016fb2d Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl
Requires pref "devtools.inspector.shapesHighlighter.enabled" to be true.

MozReview-Commit-ID: Ispw7ulV5o6
2017-06-20 11:23:32 -04:00
Gabriel Luong fe9b2ee668 Bug 1379109 - Make x and y dimensions default to -x- instead of undefined x undefined. r=micah 2017-07-25 21:01:51 -04:00
Alexandre Poirot 149b64f367 Bug 1359855 - Remove assertion for dynamic key registration. r=jdescottes
Per definition of this bug/patch, key shortcuts can't be registered anymore.
It mostly means that add-on definition a key shortcut won't keep their key shortcut working.
This shouldn't be an issue on 57 as I don't think WebExtension addon can set a key shortcut via this DevTools API.

MozReview-Commit-ID: G5c8JzaUWoR
2017-07-13 15:24:55 +02:00
Alexandre Poirot 49b0b60b4a Bug 1359855 - Update key id reference if tests for responsive design. r=jdescottes
MozReview-Commit-ID: JJxo8R3mkOA
2017-07-13 15:28:03 +02:00
Alexandre Poirot 5c610c8eff Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI
2017-07-13 15:27:37 +02:00
Alexandre Poirot d44493c928 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E
2017-07-13 15:33:38 +02:00
Alexandre Poirot 76f0c99969 Bug 1359855 - Fix the developer toggle in customize widgets. r=jdescottes
Now that devtools-browser is lazily evaluated, we have to create the widget early in devtools-startup.

MozReview-Commit-ID: JanbAPalYE1
2017-07-13 15:43:50 +02:00
Alexandre Poirot 5d9fb27256 Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY
2017-07-18 11:05:47 +02:00
Alexandre Poirot b154e2f58e Bug 1378133 - Fix the inspector when loading pages from bfcache. r=jdescottes
MozReview-Commit-ID: Ek2lw4Vh1km
2017-07-24 15:55:42 +02:00
Julian Descottes 8d82a8cfd7 Bug 1383006 - remove devtools shim for services.js;r=tromey
The services.js shim has been moved to devtools-core repo on GitHub
and should be removed from mozilla central.

MozReview-Commit-ID: 3uolLWuU6Lh
2017-07-21 12:27:27 +02:00
Julian Descottes 839515c15c Bug 1384033 - initialize devtools.cache.disabled pref in netmonitor launchpad index;r=ntim
MozReview-Commit-ID: 4eSzHcg2VFo
2017-07-25 15:23:45 +02:00
Alexandre Poirot c800f15849 Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
MozReview-Commit-ID: L6k7SPf8czd
2017-07-20 13:52:57 +02:00
Brian Grinstead ef90612e82 Bug 1380499 - Prevent horizontal scrollbar from appearing in the console after vertical overflow. r=nchevobbe
MozReview-Commit-ID: zU3uHLLmef
2017-07-22 07:58:42 -07:00
Wes Kocher e93069274c Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00