Commit Graph

6773 Commits

Author SHA1 Message Date
Julian Descottes
346099c99a 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

--HG--
extra : rebase_source : 86bfef7e13ecf52b9b8c761fbf7352af42a6bced
2017-07-21 16:05:19 +02:00
Julian Descottes
b001b4a3ea Bug 1369801 - dt-addon: simplify devtools addon bootstrap and extract prefs loading;r=ochameau
MozReview-Commit-ID: 13SxWssW0Xr

--HG--
extra : rebase_source : c443ebb6b65f8b340255978062e113cc95ebaee9
2017-07-20 18:31:46 +02:00
Julian Descottes
5a907e49b4 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

--HG--
extra : rebase_source : 18b13c0d6d1065e141650edb5a3a0b1e7b09a5f8
2017-07-11 14:35:44 +02:00
Alexandre Poirot
7f5d400ac4 Bug 1369801 - DevTools as system add-on;r=jdescottes
MozReview-Commit-ID: EUjkQtEUy4V

--HG--
extra : rebase_source : 1d3920a73e082cb3efd9ceb3af6104fb54951b9b
2017-05-30 17:34:38 +02:00
Brian Grinstead
9c23cdfee2 Bug 1382833 - Add regression test for CPOWs in the Browser Console;r=jimb
MozReview-Commit-ID: 6OEnLdOpg4Q

--HG--
extra : rebase_source : 16229930e92c2ab69f6dc46a634551e3a962f57d
2017-07-26 11:22:59 -07:00
Brian Grinstead
46cc553a7c Bug 1382833 - Don't throw when dealing with CPOWs in the Object Actor;r=jimb
MozReview-Commit-ID: CaIS2IpaQme

--HG--
extra : rebase_source : 75b4fe1abd460978039d7f1085d56e64b9dd2765
2017-07-26 11:22:56 -07:00
Brian Grinstead
23bebfb386 Bug 1381630 - Enable the new console frontend by default in dev edition;r=nchevobbe
MozReview-Commit-ID: BgzsHk9qSix

--HG--
extra : rebase_source : 472928f7495ed2c0970db99dc5ef409acf9a2274
2017-07-26 09:41:42 -07:00
Alexandre Poirot
d84a56121d Bug 1353656 - Remove WebIDE build step for local apps. r=jryans
MozReview-Commit-ID: 2YA2tBynD7g

--HG--
extra : rebase_source : 10ef9ff454e52fccbb089d60bed39f4b57f349c6
2017-07-24 18:50:26 +02:00
Alexandre Poirot
5ef02128e0 Bug 1353656 - Use SubProcess.jsm from WebIDE instead of SDK equivalent. r=jryans
MozReview-Commit-ID: Lu0Ptuhopxh

--HG--
extra : rebase_source : fefa75b9b74f20d795c63a5b3fbdf18da2f5f9b3
2017-07-24 19:23:09 +02:00
Nicolas Chevobbe
4d97701185 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

--HG--
extra : rebase_source : 7f482505647eedbe984f6e2c9efed8c26254fc07
2017-07-25 17:52:38 +02:00
Andrew Halberstadt
21a03ad73c Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM

--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Andrew Halberstadt
baddb0a4e7 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

--HG--
extra : rebase_source : 6e3c886e28af2c406e86288d99482d59cf6d1852
2017-07-21 12:41:27 -04:00
Sebastian Hengst
e79746fcaa Bug 1381345 - Remove unused string boxmodel.position from file boxmodel.properties. r=pbro
MozReview-Commit-ID: BZhLfAjtdqH

--HG--
extra : rebase_source : 18658a0249b5707e5b995da1a3a6efa711b1c5d3
2017-07-16 22:41:02 +02:00
Carsten "Tomcat" Book
198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Wes Kocher
1c6b33b69a Merge m-c to inbound, a=merge
MozReview-Commit-ID: AwACQvl2e5g

--HG--
extra : rebase_source : e70812f9a96acf1d0747cb7ea57afa1e2152283b
2017-07-25 19:09:39 -07:00
Julian Descottes
b9ecd6f0f8 Bug 1378833 - use Environment service instead of sdk/system/environment in WebIDE;r=ochameau
MozReview-Commit-ID: 9Uc9HYImK6G

--HG--
extra : rebase_source : 5f4096492595f682dacad69d7c4da3368ebd878c
2017-07-24 23:11:17 +02:00
Julian Descottes
c5763272c7 Bug 1378835 - use Services.appinfo instead of sdk/system/runtime in WebIDE;r=ochameau
MozReview-Commit-ID: 6Z55YIPOcyN

--HG--
extra : rebase_source : c6f31e85af7e61ef2817b4acf01769c4fdf28674
2017-07-24 23:02:00 +02:00
Nicolas Chevobbe
6201ca9f26 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

--HG--
extra : rebase_source : dcd1189904b8f10ffb27df4c2290ac391a4f08ed
2017-07-24 15:25:46 +02:00
Nicolas Chevobbe
ca659ecb7e Bug 881480 - Add ownSymbols to onPrototypeAndProperties; r=ochameau
MozReview-Commit-ID: 7Mzg1UPOYcY

--HG--
extra : rebase_source : 088b23bc9481387b974e435540060d25bb5cfdea
2017-07-21 17:17:44 +01:00
Carsten "Tomcat" Book
679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Wes Kocher
fd09155f06 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Wes Kocher
2673406be5 Merge inbound to central, a=merge
MozReview-Commit-ID: 1oTeP8uycV2
2017-07-24 18:06:39 -07:00
Gabriel Luong
848a92a384 Bug 1383849 - Remove unused prop type 'showGridOutline'. r=micah 2017-07-24 20:04:29 -04:00
Julian Descottes
67db6723ce Bug 1383723 - enable mochitest browser_inspector_search-suggests-ids-and-classes.js;r=jdescottes
MozReview-Commit-ID: AUj2FIHjPlH

--HG--
extra : rebase_source : 9066f27f582035c306bea144e17e902db6081e9b
2017-07-21 23:47:44 +02:00
Julian Descottes
539433128b 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

--HG--
extra : rebase_source : 4f29fd794495e9ca71f0854b9c6e07d2ae6269d5
2017-07-21 23:18:39 +02:00
Carsten "Tomcat" Book
0c215343b0 merge mozilla-inbound to mozilla-central a=merge 2017-07-24 13:01:44 +02:00
Patrick Brosset
cb742fc530 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
fe3e3051bd 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
33d3eb642f Bug 1383803 - Update debugger frontend (v0.9.0). r=jdescottes 2017-07-24 14:30:00 -04:00
Wes Kocher
a1eadef812 Merge m-c to autoland, a=merge
MozReview-Commit-ID: B7oWq7qfpJ0
2017-07-24 18:13:05 -07:00
Carsten "Tomcat" Book
2023b2d8e5 Merge mozilla-central to inbound 2017-07-24 14:59:06 +02:00
Patrick Brosset
82f75e4a1a 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
ed40ba307a 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
7ea4601b8b Bug 1383745 - Upgrade to CodeMirror 5.28.0. r=bgrins 2017-07-24 14:11:26 -04:00
Yoshi Huang
03deed6724 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
ac1cdfa157 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
b05c674ceb Bug 1380499 - Prevent horizontal scrollbar from appearing in the console after vertical overflow. r=nchevobbe
MozReview-Commit-ID: zU3uHLLmef

--HG--
extra : rebase_source : 2f5ff292ca1308730203bd10b3475bdcb17c769c
extra : histedit_source : b657e2a41b4b130d2c2412c5090656dcdc5b9e13
2017-07-22 07:58:42 -07:00
Wes Kocher
d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher
051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen
f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Sebastian Hengst
367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Jan Odvarko
d9bbe6543d Bug 1326937 - Fix persistent logs; r=bgrins
MozReview-Commit-ID: BLsEmTwkrxK

--HG--
extra : rebase_source : 7a4c7f5541ac50ae6856ba6d70a23d4b2c46c120
2017-07-21 11:20:02 +02:00
Jan Odvarko
fbd3d7b794 Bug 1326937 - Fix CSS; r=bgrins
MozReview-Commit-ID: CKWZM1mG7YA

--HG--
extra : rebase_source : 656e84d2d82f6a29e7a31f395805b55c4d848270
2017-06-23 14:22:46 +02:00
Nicolas Chevobbe
21012ef14b Bug 1374680 - Retrieve indent property from the message in the messages types components; r=bgrins
We don't retrieve the indent from the MessageContainer anymore, but from the lowest-level
component where we have access to the full message data, i.e. the messages types components (e.g.
ConsoleApi, EvaluationResult, … ).

MozReview-Commit-ID: JkaIcxnyt3W

--HG--
extra : rebase_source : 3ebe764cae33348d8d807936f5dcad3f23a0aa31
2017-06-22 11:57:28 +02:00
Mike Park
dc60e7a8cf 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
384eea0c97 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
Jan Odvarko
73dc18b974 Bug 1326937 - Patch react-dom to avoid double load r=bgrins
MozReview-Commit-ID: CEMsI7CvqHS

--HG--
extra : rebase_source : ae1115dbf5ed3e706cad731d0fb0f495f19203b5
2017-06-15 16:43:47 +02:00
Mike Park
7c77ad7be9 Bug 1282719 - Make CSS shapes highlighter points editable. r=zer0
Click and drag markers, circle edges, and radius edges to move them.
Double click on a polygon edge to add a new point.
Double click on a polygon point to remove it.

MozReview-Commit-ID: EbPH1pVVBOT

--HG--
extra : rebase_source : 754d9f75e55f327f448d826123c0b522d0bbe7df
2017-06-14 17:18:57 -04:00
Mark Striemer
5f150a3d48 Bug 1381550 - Update font sizes in about:debugging r=jdescottes
MozReview-Commit-ID: 9fTtFH1DnGN

--HG--
extra : rebase_source : ae09412a3175ede65bebb6ba2a2dc2bc71811762
2017-07-19 11:57:05 -05:00
Jason Laster
31c337b3ae Bug 1382432 - Update debugger frontend (v0.8.0). r=jdescottes 2017-07-20 20:08:00 -04:00
Jan Odvarko
ec58c3b9cc Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: G2TzrRF0Vag

--HG--
extra : rebase_source : e7123e7ccee0ed940afa1ece98200ca389f0572e
2017-06-09 09:42:34 -07:00
Julian Descottes
e94cb483a1 Bug 1383014 - remove UI for option to enable old debugger worker debugging;r=bgrins,sole
MozReview-Commit-ID: AweGB4Hcmgf

--HG--
extra : rebase_source : 0b68838fda5d57b5412446627ba082ceffebb182
2017-07-21 13:00:06 +02:00
sole
b7601c1b53 Bug 1378817 - Stop using sdk/lang/functional in DevTools. r=jdescottes
MozReview-Commit-ID: CXMu5a0KNGT

--HG--
extra : rebase_source : acdb62a83a4f27c566ea6c9dabf0d0dce9b253e0
2017-07-20 17:57:28 +01:00
Johann Hofmann
3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Ryan VanderMeulen
d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Patrick Brosset
d3a01e0904 Bug 1378851 - Use ES classes in devtools highlighters rather than SDK heritage module; r=sole
MozReview-Commit-ID: 7ahFmbrMd8a

--HG--
extra : rebase_source : 084303bee8c0fad7385fb5767020b11797090c90
2017-07-21 13:00:04 +02:00
Stone Shih
7bfb2035ff Bug 1351148 Part6: Revise browser_toolbox_races.js to avoid jam content process by synthesized input events. f=jryans,pbro. r=ochameau.
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.

MozReview-Commit-ID: 1G3ggeaZ1Os
2017-06-05 13:00:44 +08:00
Julian Descottes
c24947b916 Bug 1374555 - import all tooltip widgets stylesheets in tooltips.css;r=gl
Now that scoped stylesheets are no longer supported, it doesn't make sense to
include a specific copy of an HTMLTooltip stylesheet in the tooltip container.

Nothing guarantees that a given stylesheet won't be loaded more than once so
having a single one-shot import in tooltips.css is more appropriate.

MozReview-Commit-ID: 690pGNQdnwy

--HG--
extra : rebase_source : 7d7fadebf0fb20984508cbc7643998c505ec2ffd
2017-07-18 23:41:41 +02:00
Julian Descottes
310427becc Bug 1374555 - update HTMLTooltip stylesheets to use more specific selectors;r=gl
Scoped stylesheets will stop being supported for chrome content per Bug 1345702.
Update the selectors in the stylesheets so that they can easily be loaded without the
scope attribute.

MozReview-Commit-ID: FV4tWD4SlYA

--HG--
extra : rebase_source : 63f2fce76cb6f1e7052e6e421a256c0ea8f77852
2017-07-18 23:41:03 +02:00
Nicolas Chevobbe
153e2d347d Bug 1382690 - Adapt extensions inspect() calls to the new frontend. r=bgrins
The inspect command in extension was directly calling jsterm.inspectObject and doing so bypassed
the code we implemented for the command on the new frontend (i.e. no more variable view).
This patch modifies the jsterm inspectObject function so it can do the expected behavior,
and also reverts some changes made in the original inspect command bug, so we only deal with
the new frontend code in jsterm.inspectObject.
This implied changing an extension test that was waiting for the variable view to boot-up.
The test was modified to match the tests we already have for the inspect command on the new
console frontend.

MozReview-Commit-ID: 8fZV20Mck8r

--HG--
extra : rebase_source : 59870c4bae3664aebf448acee439b918190591dc
2017-07-20 14:56:46 +02:00
Stone Shih
a5bccae405 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Gabriel Luong
ac99c20eef Bug 1381689 - Upgrade to CodeMirror 5.27.4. r=bgrins 2017-07-19 16:37:58 -04:00
Ehsan Akhgari
fb9c30f56a Bug 1382343 - Improve the hash function used in hashIdDerivedFromPtr() to rely on HashGeneric(); r=fitzgen 2017-07-19 20:39:17 -04:00
Wes Kocher
b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Patrick Brosset
6852376d0a Bug 1378306 - Force update in grid-inspector's reflow handler when nodes have been removed; r=gl
MozReview-Commit-ID: 45fHGmuKhkD

--HG--
extra : rebase_source : a18c47c41761bff4b74382128a9a0d86edead32a
2017-07-13 14:29:53 +02:00
sole
fd3207ec5d Bug 1378853 - Stop using sdk/core/heritage in DevTools reflow actor. r=jdescottes
MozReview-Commit-ID: IZr8qrCUdU8

--HG--
extra : rebase_source : 7a11888136f83f043d89facea70970a7f428f018
2017-07-19 10:51:19 +01:00
Towkir Ahmed
d4a1ddbd70 Bug 1304837 - Devtools notification box colors are now fixed for the texts to be readable. r=Honza 2017-07-18 16:13:00 -04:00
Ryan VanderMeulen
0cfb1d8460 Merge inbound to m-c. a=merge
CLOSED TREE
2017-07-19 10:00:35 -04:00
J. Ryan Stinnett
8b86f1ea44 Bug 1381800 - Remove location from RDM components. r=pbro
MozReview-Commit-ID: Cs7608E1sIR
2017-07-18 21:35:57 -04:00
Ryan VanderMeulen
366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Gabriel Luong
35445f0c8b Bug 1381692 - Reorder and rename the Grid display settings checkboxes. r=micah 2017-07-18 01:06:07 -04:00
Jan Odvarko
31dec8468a Bug 1380927 - Fix context menu alias; r=rickychien
MozReview-Commit-ID: LcJQiWF61rC

--HG--
extra : rebase_source : 796fe221d86654ac96df40a58b3dd1bbaa72c22c
2017-07-14 09:13:43 +02:00
Jan Odvarko
5ca5637750 Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr

--HG--
extra : rebase_source : 6a7bb4177977116b699bcd1775622fa81e47677c
2017-07-07 13:37:56 +02:00
Ryan VanderMeulen
83d18df973 Backed out changeset 68c5012ba344 (bug 1378850) for ESlint no-unused-vars failures on a CLOSED TREE. 2017-07-19 12:26:25 -04:00
Jan Odvarko
61b874e65a Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr

--HG--
extra : rebase_source : 18c62b347a8c86c3067c280475cc05dfaff7560c
2017-07-07 13:37:56 +02:00
Jan Odvarko
14bb8750cb Bug 1378821 - Stop using sdk/window/utils in DevTools; r=zer0
MozReview-Commit-ID: BD3EGMWtDv1

--HG--
extra : rebase_source : 08a8a66b6926c24e834e79f81b9fe44c4b0be863
2017-07-10 10:55:40 +02:00
Jan Odvarko
ded3464199 Bug 1378865 - Stop using sdk/core/heritage in DevTools shared webconsole server logger; r=zer0
MozReview-Commit-ID: ADFdvBWWMZL

--HG--
extra : rebase_source : 75e5aec30fe33ab1dfcab8837c9c853dee917ad1
2017-07-07 15:16:56 +02:00
Wes Kocher
74f8cf4b04 Merge m-c to autoland, a=merge
MozReview-Commit-ID: JZXw0y76rol
2017-07-17 17:38:19 -07:00
Micah Tigley
a8929d7b47 Bug 1379715 - Grid Inspector Area Names are giant when they overflow. r=gl
MozReview-Commit-ID: EFQkZ25Bf4w
2017-07-11 22:17:17 -06:00
Wes Kocher
62c33c7e36 Backed out changeset c676af6947ac (bug 1379570) for devtools failures in browser_webconsole_check_stubs_console_api.js a=backout
MozReview-Commit-ID: GMaDw6nXEwJ
2017-07-17 14:12:35 -07:00
Nicolas Chevobbe
15ea45ad09 Bug 1379570 - Adapt the inspect command to the new console frontend. r=bgrins
MozReview-Commit-ID: LsT12pOJhvV

--HG--
rename : devtools/client/webconsole/test/browser_jsterm_inspect.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_inspect.js
extra : rebase_source : b3e179be7528dd54a5c7b3250150fe311d47b88f
2017-07-11 13:50:59 +02:00
Sebastian Hengst
87783a64ad Backed out changeset 227ff88b9848 (bug 1326937) for timing out in browser_ext_devtools_inspectedWindow_eval_bindings.js. r=backout on A CLOSED TREE 2017-07-17 20:48:25 +02:00
Sebastian Hengst
18609808d4 Backed out changeset 57701c371c8d (bug 1326937) 2017-07-17 20:47:46 +02:00
Sebastian Hengst
14eb3f2b26 Backed out changeset d99559a7adc7 (bug 1326937) 2017-07-17 20:47:41 +02:00
Sebastian Hengst
27f7641802 Backed out changeset 1d1b993bfea6 (bug 1330732) for failing chrome's test_chrome_ext_contentscript_unrecognizedprop_warning.html and test_chrome_ext_eventpage_warning.html. r=backout 2017-07-17 20:46:06 +02:00
Andy McKay
dc2475042e bug 1380818 show the add-on id on about:debugging r=jdescottes
MozReview-Commit-ID: D1K0LgLX34S

--HG--
extra : rebase_source : dd6304091fb65e5bf211ab401d70bba0970cd03f
2017-07-15 07:47:05 -07:00
Mark Striemer
914c3765d8 Bug 1376941 - Retry install add-on button on error in about:debugging r=jdescottes
MozReview-Commit-ID: 2Lq40TPLMsZ

--HG--
extra : rebase_source : c668a7716027e1a4165b141f5c150ba9c872f81a
2017-07-04 12:53:19 -05:00
Mark Striemer
ad3bd63b56 Bug 1330732 - Show install warnings in about:debugging r=aswan,jdescottes
MozReview-Commit-ID: 8SFcYuln8w8

--HG--
extra : rebase_source : 4ea494040aa0a7163709ebeaf24bcadd313fddc1
2017-06-29 11:11:21 -07:00
Jan Odvarko
1e7b99d90f Bug 1326937 - Fix CSS; r=bgrins
MozReview-Commit-ID: BrQKy5Vgbed

--HG--
extra : rebase_source : 78dabe52063a07d3ba12b24d2dbed34bab67c93e
2017-06-23 14:22:46 +02:00
Jan Odvarko
cf194698ef Bug 1326937 - Patch react-dom to avoid double load r=bgrins
MozReview-Commit-ID: CEMsI7CvqHS

--HG--
extra : rebase_source : b270df65d77659c6a318ec13324d9bc5925f1df8
2017-06-15 16:43:47 +02:00
Sebastian Hengst
186c6d7165 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Kr2w3UdA0p9
2017-07-15 16:34:47 +02:00
Sebastian Hengst
f79c5fa84d Backed out changeset be24b3d04162 (bug 1378306) for eslint failures in devtools/client/inspector/grids/test/doc_iframe_reloaded.html. r=backout 2017-07-15 10:30:28 +02:00
Patrick Brosset
1471bd3660 Bug 1378306 - Force update in grid-inspector's reflow handler when nodes have been removed; r=gl
MozReview-Commit-ID: 45fHGmuKhkD
2017-07-13 14:29:53 +02:00
Wes Kocher
6d62b1970e Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4kiY84LofOi
2017-07-14 17:19:10 -07:00
Wes Kocher
e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Oriol
a555a196a6 Bug 1375254 - Make JSON Viewer display primitive values using Reps. r=Honza 2017-07-13 14:47:00 -04:00
Joel Maher
7c5ba8823f Bug 1368908 - Intermittent devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-01.js. disable test. r=jlast
MozReview-Commit-ID: 9Yy7fxBPvYD
2017-07-14 19:04:22 -04:00
Sebastian Hengst
8752435f4b Bug 1380867 - Add activeConsole to workerTargets: Add semicolon after return statement to make eslint happy. r=eslint-fix 2017-07-14 23:59:56 +02:00
Jason Laster
3bb1881719 Bug 1380867 - Add activeConsole to workerTargets. r=bgrins 2017-07-13 18:55:00 -04:00
Wes Kocher
ee45f814bb Merge m-c to autoland, a=merge
MozReview-Commit-ID: GOb2bgdUd36
2017-07-14 17:27:36 -07:00
Brian Grinstead
6bd6cffded Bug 1380827 - Use .client instead of ._client in the debugger panel to fix worker loading;r=jlast
MozReview-Commit-ID: IVGx1X9FoQT

--HG--
extra : rebase_source : 85d1a6b93cd48e2d8c33b6fcda887895a1198e07
2017-07-13 14:47:21 -07:00
Brian Grinstead
2e4a0585f7 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: 6Pxao2KmSb4

--HG--
extra : rebase_source : c8c4e43f8ea13caac773e07b76670b0e0e18e497
2017-06-09 09:42:34 -07:00
Alexandre Poirot
73bb3be2cc Bug 1359855 - Automatically initialize DevTools when accessing DevToolsShim.gDevTools. r=jdescottes
WebExtension tests expect DevTools to be automatically initialized,
they access DevToolsShim.gDevTools.getTargetForTab in order to open DevTools.

MozReview-Commit-ID: 3VQRlxgBkI0

--HG--
extra : rebase_source : 66fe8aeef5314fe06ac59ae025b1321fcc1195fc
2017-07-24 14:30:24 +02:00
Alexandre Poirot
53c9434795 Bug 1359855 - Prevent loading DevTools when saving session restore data. r=jdescottes,mossop
MozReview-Commit-ID: 1d7WmiGRSmp

--HG--
extra : rebase_source : 3bf708a25962a6ec4bbf1b24b89f1758468a0472
2017-07-20 12:38:09 +02:00
Alexandre Poirot
7b21d3d93c 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

--HG--
extra : rebase_source : d9cda8d4af63af795e8f66d3bee7e442bd78d939
2017-07-13 15:24:55 +02:00
Alexandre Poirot
7ab4ef2398 Bug 1359855 - Update key id reference if tests for responsive design. r=jdescottes
MozReview-Commit-ID: JJxo8R3mkOA

--HG--
extra : rebase_source : 1c0113a828f812eeacb146704bb06fbb8f6e661d
2017-07-13 15:28:03 +02:00
Alexandre Poirot
e810864fae Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI

--HG--
extra : rebase_source : 4135af713a11f1f96f00be92cd88b707627c22cd
2017-07-13 15:27:37 +02:00
Alexandre Poirot
0bd9663534 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E

--HG--
extra : rebase_source : 600e747ef6f902faee6c966e49d8cbbb304be873
2017-07-13 15:33:38 +02:00
Alexandre Poirot
5ebfef316e 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

--HG--
extra : rebase_source : 2625da986184d5a1f8b3ce293da4e16fdb5ed339
2017-07-13 15:43:50 +02:00
Alexandre Poirot
be18a2c0f1 Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY

--HG--
extra : rebase_source : c7b41b0adc65d7b6e2273fb577f6738fe9e010c7
2017-07-18 11:05:47 +02:00
Alexandre Poirot
7df29037ba Bug 1378133 - Fix the inspector when loading pages from bfcache. r=jdescottes
MozReview-Commit-ID: Ek2lw4Vh1km

--HG--
extra : rebase_source : 33e4fc84caab4c39b64744e972aa5dcb80103754
2017-07-24 15:55:42 +02:00
Julian Descottes
112b9f3ca9 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

--HG--
extra : rebase_source : 98a0506be5df5be56ef03f98162effbf0b1142fb
2017-07-21 12:27:27 +02:00
Julian Descottes
d6039195bd Bug 1384033 - initialize devtools.cache.disabled pref in netmonitor launchpad index;r=ntim
MozReview-Commit-ID: 4eSzHcg2VFo

--HG--
extra : rebase_source : 27d4e3a3eae3304199c11959d73250c6b8f1845f
2017-07-25 15:23:45 +02:00
J. Ryan Stinnett
835cab2d73 Bug 1380082 - Don't Stylo check pref directly in tests. r=xidorn
Stylo might be enabled by either env var or pref.  Use the existing
DOMWindowUtils method to test for Stylo instead of the pref to get an accurate
value.

MozReview-Commit-ID: 8p22xCBjHjo

--HG--
extra : rebase_source : 1a5524e22be07a712838ac5a2ac0bec0cc65dfa7
2017-07-12 13:03:15 -05:00
Ryan VanderMeulen
112cadfae3 Merge m-c to autoland. a=merge 2017-07-14 09:52:56 -04:00
Ryan VanderMeulen
019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Vangelis Katsikaros
c1fcf7f4af Bug 1366102 - Remove the DEVTOOLS_OS_* probes from our Telemetry. r=miker
MozReview-Commit-ID: IGjaTqiGoFz

--HG--
extra : rebase_source : 66b0be811cf20b022562445d71b0e8d968c3f5ad
2017-05-30 16:36:35 +03:00
Mark Striemer
cb7b08b51c Bug 1367485 - Improve formatting of Windows paths in about:debugging r=jdescottes
MozReview-Commit-ID: 1mKNvccF6nZ

--HG--
extra : rebase_source : 12b7079145db72269536a80a3343ae8ea255dd22
2017-06-28 13:49:05 -07:00
Carsten "Tomcat" Book
23670f34ad Merge mozilla-central to autoland 2017-07-13 16:39:36 +02:00
Carsten "Tomcat" Book
260b5f956f merge mozilla-inbound to mozilla-central a=merge 2017-07-13 16:35:22 +02:00
Jan Odvarko
4deb9d3aae Bug 1376291 - Use devtools-contextmenu module for Launchpad r=rickychien
MozReview-Commit-ID: 1V8vCP946tj

--HG--
extra : rebase_source : 7f11f826609bda378932aff9ca849a77f81b8350
2017-07-13 16:34:16 +02:00
Junior Hsu
cc8cc6b020 Bug 1373198 - Part 10: disable rcwn for devtools mochitest tests which require deterministic cache behavior, r=Honza 2017-07-12 02:03:00 +02:00
Junior Hsu
3202301d69 Bug 1373198 - Part 5: disable rcwn for devtools mochitest tests which require deterministic cache behavior, r=Honza 2017-07-12 02:02:00 +02:00
Jan Odvarko
69c01acb93 Bug 1378420 - Register new pref; r=rickychien
MozReview-Commit-ID: LCt8Dl9aC3E

--HG--
extra : rebase_source : 2e86b107c96b8357006a48f7b2bd85839b806830
2017-07-12 17:46:17 +02:00
Yoshi Huang
e198bf2729 Bug 1377523 - Part 6: fix in webconsole/. r=pbro
Use srcdoc for iframe.
2017-07-13 12:28:04 +08:00
Yoshi Huang
634e8ceb9a Bug 1377523 : Part 5: fix styleeditor/. r=pbro
Fixed browser_styleeditor_highlight-selector.js
2017-07-13 12:27:58 +08:00
Yoshi Huang
7363e22f81 Bug 1377523 - Part 4: fix devtools/client/shared/test. r=pbro
Move data: URIs in devtools/client/shared/test to seperate files.


--HG--
rename : devtools/client/shared/test/browser_layoutHelpers-getBoxQuads.html => devtools/client/shared/test/doc_layoutHelpers-getBoxQuads.html
rename : devtools/client/shared/test/browser_layoutHelpers.html => devtools/client/shared/test/doc_layoutHelpers.html
rename : devtools/client/shared/test/html-mdn-css-basic-testing.html => devtools/client/shared/test/doc_mdn-css-basic-testing.html
rename : devtools/client/shared/test/html-mdn-css-no-summary-or-syntax.html => devtools/client/shared/test/doc_mdn-css-no-summary-or-syntax.html
rename : devtools/client/shared/test/html-mdn-css-no-summary.html => devtools/client/shared/test/doc_mdn-css-no-summary.html
rename : devtools/client/shared/test/html-mdn-css-no-syntax.html => devtools/client/shared/test/doc_mdn-css-no-syntax.html
rename : devtools/client/shared/test/html-mdn-css-syntax-old-style.html => devtools/client/shared/test/doc_mdn-css-syntax-old-style.html
rename : devtools/client/shared/test/browser_templater_basic.html => devtools/client/shared/test/doc_templater_basic.html
rename : devtools/client/shared/test/browser_toolbar_basic.html => devtools/client/shared/test/doc_toolbar_basic.html
2017-07-13 12:27:52 +08:00
Yoshi Huang
d5b9d001f2 Bug 1377523 - Part 3: fix failure in sourceeditor/. r=pbro
Don't use data: URI in sourceeditor/
2017-07-13 12:27:45 +08:00
Yoshi Huang
e1bd58ddb6 Bug 1377523 - Part 2: fix for browser_toolbox_*. r=pbro
fixed the tests in devtools/client/framework/test/ to not to use data:
URI.
2017-07-13 12:27:38 +08:00
Nicolas Chevobbe
4207f54aef Bug 1307922 - Add support for console.dir(); r=Honza
MozReview-Commit-ID: 9TKWqF5FOWr

--HG--
extra : rebase_source : 931b654dc213ad38281051bc6e1b3abf4738771e
2017-07-12 14:57:00 +02:00
Brian Birtles
1fe4c641fc Bug 1379582 - Disable frames() timing function using a pref on release/beta channels; r=hiro
MozReview-Commit-ID: 4B8NwMAfyrS

--HG--
extra : rebase_source : 08becf963a57eda8e335b1c43672b25a25dbd81d
2017-07-12 08:41:58 +09:00
Mike Park
c7e8439a6c Bug 1363097 - Convert font inspector to React/Redux. r=gl
MozReview-Commit-ID: Du5ZqnnLaE1
2017-05-10 14:57:05 -04:00
Sebastian Hengst
4b1e562ea7 merge mozilla-central to autoland. r=merge a=merge 2017-07-20 10:57:40 +02:00
Julian Descottes
c0bf02c7c5 Bug 1382173 - devtools shim support initialized and installed states;r=ochameau
MozReview-Commit-ID: 4CmfzyLVrM4

--HG--
extra : rebase_source : 372e1f32746e4cc6e2686b9b92848d18ffde576b
extra : source : 8f7664516d49c6013e5fd1cc9e4efd1f0cbab84a
2017-07-19 13:40:53 +02:00
Swapnesh Kumar Sahoo
a19f2c13d1 Bug 1349561 - Add UI for disabling browser cache in Net panel; r=gasolin,Honza
MozReview-Commit-ID: 881Gy0jh20Z

--HG--
extra : rebase_source : e4a1911d75550e0c5fdcacbc6307ea057422e5ac
2017-07-19 17:37:44 +05:30
Patrick McManus
850582d8f3 Bug 772589 - Implement the secureConnectionStart property for the PerformanceTiming interface r=bkelly,dragana,francois,Honza
Implements PerformanceTiming, nsITimedChannel, and devtools 'tls setup'

Also captures telemetry on this as we do for all other attributes of timedChannel

Also propogates some null transaction timings onto first real
transaction of a connection

MozReview-Commit-ID: 47TQJYVHnKC

--HG--
extra : rebase_source : a7723962986de0c2ab00d479a22c3f5fd185c8b2
2017-07-10 15:01:35 -04:00
Tom Tromey
f3c29aa2eb Bug 1371852 - make Frame component listen for source-map pref changes; r=jryans
MozReview-Commit-ID: 51DTsRGogCh

--HG--
extra : rebase_source : fc40cb117e4d504066e11170c6cae546e419ab4f
2017-06-12 16:44:27 -06:00
Nicolas Chevobbe
127c1b7177 Bug 1308566 - Add a mochitest for the ObjectInspector in the console. r=bgrins
MozReview-Commit-ID: GDiZEo7xfPJ

--HG--
extra : rebase_source : 6b243e56dcae33339b4df040e6bc8305553fb70c
2017-07-11 09:55:40 +02:00
Nicolas Chevobbe
755fb280de Bug 1308566 - Fixes broken tests due to the ObjectInspector switch. r=bgrins
Some tests were failing after switching to ObjectInspector.
Here we remove the ones that are specific to the VariableView, and
fix the "store as global" one.

MozReview-Commit-ID: 4IhNp4MTC2k

--HG--
extra : rebase_source : 60286976e5fd6e7c68e022679effe5a43a5d3845
2017-06-29 09:15:16 -07:00
Nicolas Chevobbe
27dbcec68b Bug 1308566 - Release actors from loaded properties. r=bgrins,Honza
Because we need to check in an another property from the store for actors to release,
a little refactor of how we deal with actors to be released was needed.
So instead of tracking removed messages from the store, we directly track removed actors.
We can compute this list directly in the reducer, and it even allow us to simplify the enhancer a bit.
Some tests where added to make sure we do handle loaded properties in the store.

MozReview-Commit-ID: 72F2wl3UaLA

--HG--
extra : rebase_source : 974799ef52dd25e8b2d99eb98228190487cc91b2
2017-06-28 16:51:46 -07:00
Nicolas Chevobbe
94690d9772 Bug 1308566 - Use Object Inspector in Console. r=bgrins,Honza
MozReview-Commit-ID: 9jzXwHlBu3X

--HG--
extra : rebase_source : abf76bda4327d03684e81acdb2acbadadb3ee5ca
2017-07-11 16:29:41 +02:00
Nicolas Chevobbe
2211712d27 Bug 1308566 - Remove reps mochitests. r=bgrins
Remove tests since they were all migrated to jest in Github and will only
lives there now.

MozReview-Commit-ID: 7N8Wuq6sD2I

--HG--
extra : rebase_source : 3f3dba033ed48302094c62ec5f092f7bbf89fa26
2017-07-07 13:51:24 +02:00
Nicolas Chevobbe
60f9e16d34 Bug 1308566 - Fix Reps README. r=bgrins
Change the URL of the repository to the devtools-core one.

MozReview-Commit-ID: J0WStbVAZ5Z

--HG--
extra : rebase_source : b3fa6f7ae371432b53ba7daad30aa1fae45aecbe
2017-07-07 13:48:55 +02:00
Nicolas Chevobbe
2248e83f19 Bug 1308566 - Update reps bundle to v0.9. r=bgrins,Honza
MozReview-Commit-ID: EzmGxg2gMxO

--HG--
extra : rebase_source : 9f152535ac3ecf195760f8da306c8e58e482c4b9
2017-07-11 16:51:22 +02:00
Jan Odvarko
ef7a0ed1c8 Bug 1378325 - Append Architecture diagram into docs; r=sole
MozReview-Commit-ID: 4rd7qevWExy

--HG--
extra : rebase_source : 8bf0a532e6c9d752a05b33a74612fdf3290025a7
2017-07-05 12:32:47 +02:00
Wes Kocher
8e3be4c671 Merge inbound to central, a=merge 2017-07-10 18:43:02 -07:00
Micah Tigley
585c654fe0 Bug 1372745 - Add a pref for max rows/columns for grid outline to render. r=gl
MozReview-Commit-ID: HRlQdEdP5aV
2017-07-06 20:04:02 -06:00
Patrick Brosset
2be9e15604 Bug 1377326 - Don't assume targets are tabs in style-editor media sidebar; r=ntim
MozReview-Commit-ID: KJczS4aEAUS

--HG--
extra : rebase_source : e5ab4ed89a2d34a8eedb0b921852d0fa7c8e55cb
2017-07-03 17:38:02 +02:00
Wes Kocher
5dd57ee395 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IVwrN2VivZT
2017-07-07 17:30:32 -07:00
Wes Kocher
fd4857585c Merge autoland to central, a=merge
MozReview-Commit-ID: Lf7ROINgvql
2017-07-07 17:22:00 -07:00