Commit Graph
6682 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 0bf8df6878 Bug 1369801 - dt-addon-fennec: skip xpcshell devtools tests on android;r=jryans
MozReview-Commit-ID: 9nkktpNhU0A
2017-06-22 21:33:15 +02:00
Julian Descottes 1aa8b444cd Bug 1369801 - dt-addon-fennec: package specific version of devtools addon for fennec;r=jryans
MozReview-Commit-ID: 50jh5spnHw6
2017-06-21 19:23:11 +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 fe1310e3cc Bug 1369801 - dt-addon-xpcshell: move child process memory test into separate test suite;r=bgrins
MozReview-Commit-ID: KXGhumyeReL
2017-07-11 16:16:18 +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 fe6e6017b7 Bug 1369801 - dt-addon-prefs: load DevTools prefs when starting Loader.jsm;r=ochameau
DevTools should not execute any code on the browser startup. Loading preferences takes
a non negligeable time and should be deferred to the devtools initialization.

For all devtools entry points, Loader.jsm is always loaded first, so it is safe to
load the preferences here.

MozReview-Commit-ID: Hg4VBj2LqPo
2017-07-21 16:05:19 +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 8548dee1e0 Bug 1382833 - Don't throw when dealing with CPOWs in the Object Actor;r=jimb
MozReview-Commit-ID: CaIS2IpaQme
2017-07-26 11:22:56 -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
Andrew Halberstadt 86f21296a2 Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM
2017-07-26 09:08:07 -04:00
Andrew Halberstadt a83470f2fd Bug 1383120 - [eslint-plugin-mozilla] Fix getTestType() helper so mochitests aren't treated as xpcshell tests, r=mossop
This also adds a11y as a test type.

MozReview-Commit-ID: D7y3uALzVQx
2017-07-21 12:41:27 -04: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
Nicolas Chevobbe ce80692f37 Bug 881480 - Add ownSymbols to onPrototypeAndProperties; r=ochameau
MozReview-Commit-ID: 7Mzg1UPOYcY
2017-07-21 17:17:44 +01: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
Wes Kocher ba63fbeb84 Merge inbound to central, a=merge
MozReview-Commit-ID: 1oTeP8uycV2
2017-07-24 18:06:39 -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
Carsten "Tomcat" Book 2c63d61534 merge mozilla-inbound to mozilla-central a=merge 2017-07-24 13:01:44 +02:00
Patrick Brosset 478825d78f Bug 1378860 - Use an ES class instead of an SDK class for RuleModificationList; r=gl
MozReview-Commit-ID: CFXcLPFbi0U
2017-07-21 14:36:10 +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
Wes Kocher c6d00f73af Merge m-c to autoland, a=merge
MozReview-Commit-ID: B7oWq7qfpJ0
2017-07-24 18:13:05 -07:00
Carsten "Tomcat" Book d3d486e38b Merge mozilla-central to inbound 2017-07-24 14:59:06 +02:00
Patrick Brosset 099b3832ae Bug 1378859 - Use an ES class instead of an SDK class in the inspector front; r=gl
MozReview-Commit-ID: 8lSSBTXsUqa
2017-07-21 14:14:48 +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
Yoshi Huang 55fbfd1425 Bug 1381771 - Part 2: use legacy data: URI behavior to run test. r=bgrins
These two tests just creates a dummy window, however it makes the test
more difficult to write if we just simply use a seperate file for them.

Because these are chrome: tests, and they are opening a content window,
for the chrome side, it won't receive the window.onload because they are
not the same origin.

For the content side, it cannot access 'postMessage' because it looks
there's some protection when trying to read chrome object.
2017-07-24 10:00:31 +08:00
Yoshi Huang 060a4c8958 Bug 1381771 - Part 1: fix mc1 failures in devtools/ when data: URI is unique origin. r=pbro 2017-07-24 10:00:07 +08: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
Wes Kocher c21f63d3ed Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen af0aa4cb17 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00