Commit Graph

3179 Commits

Author SHA1 Message Date
Eddy Bruel
34cdf87c79 Bug 1265727 - Decouple EventLoopLagFront from EventLoopActor. r=fitzgen 2016-07-21 12:52:30 +02:00
Tim Huang
2107711fca Bug 1287607 - Making the stylesheets editor using the system principal to load CSS files from 'chrome://' URL. r=gl 2016-07-19 17:39:00 +02:00
Jaideep Bhoosreddy
55e61dc998 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 19:09:00 +02:00
Jaideep Bhoosreddy
02353bc27a Bug 670002 - Tests for source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/test/browser_source-location-01.js => devtools/client/framework/test/browser_source_map-01.js
rename : devtools/client/framework/test/browser_source-location-02.js => devtools/client/framework/test/browser_source_map-02.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.coffee => devtools/client/framework/test/code_binary_search.coffee
rename : devtools/client/debugger/test/mochitest/code_binary_search.js => devtools/client/framework/test/code_binary_search.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.map => devtools/client/framework/test/code_binary_search.map
rename : devtools/client/debugger/test/mochitest/doc_empty-tab-01.html => devtools/client/framework/test/doc_empty-tab-01.html
2016-07-19 14:42:00 +02:00
Wes Kocher
6b345a6cc2 Backed out changeset b9c789ba01a0 (bug 1286186) for test_reps_array.html failures CLOSED TREE 2016-07-20 15:19:45 -07:00
Wes Kocher
2f6e5ed95c Backed out changeset c6a1177a17e4 (bug 670002) because it should have been backed out with the other patch from this bug CLOSED TREE
--HG--
rename : devtools/client/framework/test/browser_source_map-01.js => devtools/client/framework/test/browser_source-location-01.js
rename : devtools/client/framework/test/browser_source_map-02.js => devtools/client/framework/test/browser_source-location-02.js
2016-07-20 15:15:33 -07:00
Wes Kocher
b79af22444 Backed out changeset aab8baf2c5f5 (bug 670002) for eslint failures
--HG--
rename : devtools/client/framework/source-map-service.js => devtools/client/framework/source-location.js
2016-07-20 12:56:46 -07:00
Wes Kocher
e4dedccacf Backed out changeset a6c528c3fe72 (bug 1287413) for ESLint failures 2016-07-20 12:56:39 -07:00
Jennifer Fong
5efe427a53 Bug 1113825 - Nowrap content in console.table(). r=bgrins 2016-07-20 15:19:11 -04:00
Brian Grinstead
e5d3a69c4e Bug 1113825 - Provide option to always wrap table contents into elements;r=gl 2016-07-20 15:19:07 -04:00
James Long
6ab69d6827 Bug 1238173 - remove ScriptStore in use findScripts in debugger r=fitzgen 2016-07-20 14:57:13 -04:00
Sami Jaktholm
f88f710018 Bug 1237492 - Hold a strong reference to the Worker used in webconsole tests. r=ejpbruel
If a reference is not kept, the Worker might be GCd before the test
compteles. If that happens, the test times out as it tries to detach
a worker that has already been destroyed.

The state object is kept around for the duration of the tests so
keeping a reference in the state object ensures the worker
lifetime matches that of the test.

MozReview-Commit-ID: 31F54vHlm3z

--HG--
extra : transplant_source : %C1%97%D86%09Bd%AB%E8%08%98%D4%29%25S%A3%B8%2C%8E%11
2016-07-17 10:10:08 +03:00
Greg Tatum
6f1a0a43ef Bug 1284735 - Fix intermittents in browser_markup_dragdrop_autoscroll_02.js. r=pbro 2016-07-18 10:30:00 -04:00
Dalimil Hajek
806745713c Bug 1244916 - JSON Viewer: empty arrays should hide the zero count. r=odvarko 2016-07-15 07:52:00 -04:00
Dalimil Hajek
adfcd55bb8 Bug 1266549 - Move Pretty Print After Copy Button. r=dwalsh 2016-07-12 08:44:00 -04:00
Dalimil Hajek
4c90223e56 Bug 1244919 - JSON Viewer: show the colon for object attributes. r=odvarko 2016-07-18 09:16:00 -04:00
Michael Ratcliffe
64deb1d13a Bug 1286186 - Reps: Test that array indexes are sorted as numbers. r=honza 2016-07-20 09:30:16 +01:00
Jan Odvarko
9119ba5c03 Bug 1287413 - Avoid blank area in the Sidebar. r=pbro 2016-07-20 10:08:19 +02:00
Jaideep Bhoosreddy
5b25587f88 Bug 670002 - Tests for source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/test/browser_source-location-01.js => devtools/client/framework/test/browser_source_map-01.js
rename : devtools/client/framework/test/browser_source-location-02.js => devtools/client/framework/test/browser_source_map-02.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.coffee => devtools/client/framework/test/code_binary_search.coffee
rename : devtools/client/debugger/test/mochitest/code_binary_search.js => devtools/client/framework/test/code_binary_search.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.map => devtools/client/framework/test/code_binary_search.map
rename : devtools/client/debugger/test/mochitest/doc_empty-tab-01.html => devtools/client/framework/test/doc_empty-tab-01.html
2016-07-19 14:42:00 -04:00
Jaideep Bhoosreddy
8f73e01607 Bug 670002 - Use source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 00:40:00 -04:00
Carsten "Tomcat" Book
8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Carsten "Tomcat" Book
ac3f25cbe3 merge fx-team to mozilla-central a=merge 2016-07-20 11:17:45 +02:00
Carsten "Tomcat" Book
3f3470615b Backed out changeset 081628fb2043 (bug 1287368) for dt tests failures
--HG--
extra : rebase_source : e1023b71be71a2d611ee90bdaa33db3edd9d1ac6
2016-07-20 10:08:28 +02:00
Carsten "Tomcat" Book
868b17897f merge fx-team to mozilla-central a=merge 2016-07-19 16:09:20 +02:00
Thomas Wisniewski
051c21928e Bug 843579 - Unprefix -moz-any-link. r=bz
--HG--
extra : rebase_source : d5ad8227cc118491f130e1fef01829c594cc9477
2016-07-19 23:13:13 -04:00
Julian Descottes
0858404198 Bug 1287438 - html-tooltip: use level=top for xul panel wrapper;r=bgrins
Using level=float seems buggy when the window to which the XUL panel is attached
changes.

MozReview-Commit-ID: HuOnMDGo38l

--HG--
extra : rebase_source : 1445dc225e2ed5b29b187aa918980f7ffeb227b4
2016-07-18 17:19:24 +02:00
Carsten "Tomcat" Book
ca457776f8 merge mozilla-inbound to mozilla-central a=merge 2016-07-18 17:07:59 +02:00
Carsten "Tomcat" Book
c1adcb3fe5 merge fx-team to mozilla-central a=merge 2016-07-18 17:07:00 +02:00
Carsten "Tomcat" Book
779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Carsten "Tomcat" Book
a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Julian Descottes
9c2f3797e2 Bug 1286523 - fix autocomplete popup position in RTL locales;r=bgrins
MozReview-Commit-ID: HRC1ialFBVj

--HG--
extra : rebase_source : f5cd74d94ca82ed7bc2bcb93eacf279c4385ba00
2016-07-13 18:52:37 +02:00
Julian Descottes
50a256422a Bug 1286523 - fix HTML autocomplete overflow issue;r=bgrins
When the autocomplete popup has a scrollbar, the rightmost part
of the suggestions is hidden when using RTL locale.

XUL autocompletes (using the richlistbox) were always displaying the
suggestions using LTR. I couldn't find any CSS rule enforcing this, so
I assume this was a default behavior of the richlist box.
This patch restores the same behavior as before.

MozReview-Commit-ID: 9AcMxEe6tuL

--HG--
extra : rebase_source : 9329892b3d387739ffc9c53d3c89b3a30e8833ff
2016-07-13 19:19:12 +02:00
Julian Descottes
50dbb87670 Bug 1286553 - HTMLTooltip: consume only left click events;r=bgrins
MozReview-Commit-ID: Hr0Lwv8Zx5C

--HG--
extra : rebase_source : 5464c3881db5ad0413cb3ca3a8103c88d970d851
2016-07-14 16:13:11 +02:00
Wes Kocher
f1c8c320a4 Merge m-c to fx-team a=merge CLOSED TREE 2016-07-15 17:00:50 -07:00
Carsten "Tomcat" Book
0f6e33eb43 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2016-07-15 16:16:45 +02:00
Carsten "Tomcat" Book
9ba6fd1d48 merge fx-team to mozilla-central on a CLOSED TREE 2016-07-15 16:13:58 +02:00
Wes Kocher
6672e5c1f9 Backed out changeset 453c308dcab1 (bug 1259819) for devtools bustage CLOSED TREE 2016-07-14 12:54:41 -07:00
Tim Nguyen
0fba68f1dc Bug 1286872 - followup: move back --tool-options-image to toolbars.css to avoid disappearing icons. r=me
MozReview-Commit-ID: 8PKDa7BO5v4
2016-07-14 19:29:27 +02:00
Ruturaj Vartak
cb9820838f Bug 1285747 - Replace magnifying-glass-*.png with search.svg r=ntim
MozReview-Commit-ID: 8Mpolesv2XU
2016-07-13 21:53:00 +02:00
Till Schneidereit
3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Hemanth Kumar Veeranki
9645dd1d36 Bug 1284844 - Reps: use quotes around text in ObjectWithText. r=me
MozReview-Commit-ID: ECn7bF3jnzK

--HG--
extra : rebase_source : fab00828cfec159145c02eb474ad8ce71987bf3d
2016-07-11 14:09:10 -04:00
Steve Chung
451e3bbbcb Bug 1283522 - Reps: support -0 grip in number rep. r=linclark
MozReview-Commit-ID: BWvMlbNdckG

--HG--
extra : rebase_source : fe9efa84f88e82cb5c0383ef87f071cf34abd85b
2016-07-13 11:37:27 +08:00
Carsten "Tomcat" Book
bfcc10319e merge mozilla-inbound to mozilla-central a=merge 2016-07-14 11:45:54 +02:00
Carsten "Tomcat" Book
42c9a619ec merge fx-team to mozilla-central a=merge 2016-07-14 11:44:21 +02:00
Iris Hsiao
aeb367f736 Backed out changeset bb5d09eec5ee (bug 1285053) for failures in test_evaluation-result.html 2016-07-14 15:18:12 +08:00
Alexandre Poirot
d63a3adedf Bug 1285229 - Prevent duplicated context menu in the Inspector on Windows. r=jdescottes 2016-07-13 15:44:20 -07:00
Boris Zbarsky
63c6b08058 Bug 790997. Align our tokenization of CSS bad-url-token with the CSS Syntax Level 3 CR. r=heycam,tromey
The main change is that once we discover we have a bad-url-token we consume
everything up to, but not including, the next ')' character.  While we do this
we can cross line boundaries and don't bother about matching braces or quotes.
We just keep going until we find the ')' or hit EOF.
2016-07-13 22:54:20 -04:00
Carsten "Tomcat" Book
d50eba7171 merge fx-team to mozilla-central a=merge 2016-07-13 17:24:54 +02:00
Ricky Chien
c68666cebd Bug 1280791 - Don't apply min-width to the command-button-frames checkbox in firebug theme r=Honza
MozReview-Commit-ID: 1BrYfWKqwsP
2016-07-08 16:44:21 +08:00
Wes Kocher
9f14454fd8 Backed out changeset a097b61f5810 (bug 1247729) for timeouts in browser_layout_update-after-reload.js a=backout 2016-07-13 14:26:06 -07:00
"Helen V. Holmes"
a69c6d47a0 Bug 1247331: Make import snapshot an icon,r=ntim
MozReview-Commit-ID: 4p73KYag0sT
2016-07-12 20:26:00 +02:00
"Helen V. Holmes"
1f0ac93255 Bug 1260523, pixelsnap more toolbar icons and use thin style, r=ntim
MozReview-Commit-ID: 5jOCtKVuhSR
2016-07-13 10:42:00 +02:00
Gabriel Luong
5b057c4044 Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-13 12:20:57 -07:00
Kris Maglione
5421efdfa0 Bug 1284020: Treat window.fetch/window.XMLHttpRequest the same as the global variants in content scripts. r=aswan
MozReview-Commit-ID: Cuz6CiNZdrd

--HG--
extra : source : 56d636b5d961f3accab65064e7f81be1f78ad81e
extra : amend_source : cdf3359ed7c3e77ba21c942d2fc0280c8146648a
2016-07-12 15:45:07 -07:00
Julian Descottes
029b4e9398 Bug 1284259 - store eventEditors map on EventTooltip instance to fix destroy failures;r=ochameau
MozReview-Commit-ID: XbahMTzqUA

--HG--
extra : rebase_source : 13b5881c998a4a6b4f6b6b016a11bbf08a5b21ae
2016-07-13 15:52:07 +02:00
Alexandre Poirot
40b35eb1d4 Bug 1284259 - Prevent exception while dismissing event tooltip details. r=jdescottes
MozReview-Commit-ID: 4BjCwSv8QdB

--HG--
extra : rebase_source : edb30ed54f56df4e86f07de92f37657263d3ced0
2016-07-13 13:15:01 +02:00
Julian Descottes
14cb1ca969 Bug 1268178 - fix browser_addons_debug_bootstrapped.js intermittent;r=ochameau
MozReview-Commit-ID: C3yoZnnBjkV

--HG--
extra : rebase_source : f534effa63536d9de485e9ce24af003f80563881
2016-07-13 13:11:11 +02:00
Lin Clark
c12ffe35ae Bug 1285549 - New console frontend: display console commands in console output. r=me
--HG--
extra : rebase_source : 7430bbdb843a79aba0beaba2013bc1ae5bacf6d2
2016-07-12 18:57:00 -04:00
Lin Clark
3eecfb03d8 Bug 1285549 - Part 1: Add an Immutable.Record type for ConsoleMessages. r=me
MozReview-Commit-ID: HxlrNypyFn8

--HG--
extra : rebase_source : adc8697a5af2e2bb4d80956a8fde167c5254ffa1
2016-07-08 10:29:41 -04:00
Wes Kocher
85c761efaa Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -07:00
Lin Clark
abca42c746 Bug 1285053 - New console frontend: use variables view link for object inspection. r=bgrins
--HG--
extra : rebase_source : 83611d0790c1052404d1c321e2b91103a8f98ba6
2016-07-12 13:19:49 -04:00
Nicolas Chevobbe
ce9ee8dc43 Bug 1286710 - Reps: Use correct ellipsis character "…" . r=Honza
MozReview-Commit-ID: 6mpNrWhX6vc

--HG--
extra : transplant_source : %F6F%98hGo%F2%F2%F6%14%BC%8C%CC%24%DA%A3%CAt%945
2016-07-14 11:53:10 +02:00
Sebastian Hengst
66bdd9abc3 Backed out changeset 0845f945173f (bug 1266414) for still failing browser_device_modal_exit.js. r=backout 2016-07-13 11:23:34 +02:00
Helen V. Holmes
f652f6f6da Bug 1266414 - Device modal fades in/out. r=jryans
MozReview-Commit-ID: 90oZoGDlRDt
2016-07-12 07:28:00 -04:00
Helen V. Holmes
ffba5133a4 Back everything out from bug 1266414 to fix bustage. r=backout 2016-07-13 10:02:08 +02:00
Wes Kocher
95686f8aa2 Backed out changeset 8c882ca5b996 (bug 1266414) because the test is still failing 2016-07-12 16:08:51 -07:00
Helen V. Holmes
51ae650d57 Reland with fixup Bug 1266414 - Device modal fades in/out. r=jryans
--HG--
extra : amend_source : 416e58ff7e1ff28ca7521e273714de9aadf55c71
extra : histedit_source : 2c1bbfce832ff2f6605fcf3d9b4bd69930ba035e%2C2085d6494520aecf4563821b870af70facc2d668
2016-07-12 14:27:10 -07:00
Tim Nguyen
1d3d814327 Bug 1266414 - Fix dt6 browser_modal_device_exit|submit.js failure. r=bustage
MozReview-Commit-ID: 90oZoGDlRDt
2016-07-12 23:24:07 +02:00
Wes Kocher
b30d0a6ed9 Backed out changeset b9cd9d6a4abe (bug 1266414) for browser_device_modal_exit.js failures a=backout 2016-07-12 14:20:24 -07:00
Julian Descottes
6bc3c91358 Bug 1283454 - migrate MDN docs tooltip to use HTML;r=ochameau
MozReview-Commit-ID: 50DceNmgGAQ

--HG--
extra : rebase_source : 669214f693c863eab72c24d3be9936fc049dd365
2016-07-05 14:39:52 +02:00
Carsten "Tomcat" Book
9c84360118 Merge mozilla-central to fx-team 2016-07-13 17:28:49 +02:00
Patrick Brosset
95fad96712 Bug 1254814 - Synthesize the key to inspect the element in the right process; r=testonly
In browser_markup_load_01.js, the browser context menu is opened and then the
Q key is pressed in order to choose the "inspect" menu item.
However this key is simulated in the content process, using the testActor.
Since the menu itself lives in the parent process, the key event should instead
be simulated in the parent process for it to work properly.

I suspect that this was sometimes causing the menu to stay open in subsequent
tests.

MozReview-Commit-ID: 1cOF7CSk7sm

--HG--
extra : rebase_source : d179968ff4521a291bf3f9ce7a6a71834bfa69bd
extra : histedit_source : 31957490cb17c5e873787578c09c9e628c267a7a
2016-07-11 15:19:46 +02:00
Julian Descottes
4dfbce99ed Bug 1280729 - split intermittent test browser_markup_tag_edit_04.js;r=bgrins
MozReview-Commit-ID: LrWkO2IEH37

--HG--
rename : devtools/client/inspector/markup/test/browser_markup_tag_edit_04.js => devtools/client/inspector/markup/test/browser_markup_tag_edit_04-delete.js
extra : rebase_source : 0824eba94a5fe5286f14729f9d7ba416deeada1e
2016-07-05 13:50:14 +02:00
Matthew Wein
2c1bc5a119 Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm. r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : 2%A8%08%DA%95%C5%1E%97%06%C8%C7b%8A%DD%0E%95E%E1%1E%DB
2016-07-07 16:17:43 -07:00
Nancy Pang
6c2a980a72 Bug 1273211 - Add side panel enter and return controls, added keyboard space selection for controls in netmonitor and console key. r=pbro
MozReview-Commit-ID: HGGTeshLBDs

--HG--
extra : transplant_source : e%0A%19%0B%96%8F%11%8B%E8%3A%DA%7B%06%C0n%9C%09-TU
2016-07-12 14:10:57 -04:00
Dalimil Hajek
fa37099930 Bug 1220388 - Element highlighter tooltip doesn't display element's size if it has long ID / firefox window is narrow. r=zer0
MozReview-Commit-ID: AzKGhr9BssN
2016-07-05 12:38:00 +02:00
Sebastin Santy
ed4558f67f Bug 1275546 - Use CSS lexer to parse angle values in css-angle.js . r=nchevobbe
MozReview-Commit-ID: DVqlbrruf2b
2016-07-08 06:29:00 +02:00
Jan Odvarko
dbf7715579 Bug 1259819 - HTML Sidebar component; r=pbro
MozReview-Commit-ID: ABPOx2gRZpb
2016-07-14 13:26:02 +02:00
Tim Nguyen
03791602e6 Bug 1286872 - followup: move some leftover command-button styles to toolbox.css. r=me
MozReview-Commit-ID: DonbdYPHGVs
2016-07-14 18:53:20 +02:00
Tim Nguyen
69fefc241d Bug 1286872 - Split out toolbox styles from toolbars.css. r=bgrins
MozReview-Commit-ID: 9AFP1nC8in6
2016-07-14 18:26:28 +02:00
Julian Descottes
f5eec4fa1e Bug 1285540 - HTML Tooltip: always use LTR direction to position arrow;r=bgrins
MozReview-Commit-ID: EGMCAZBu1x5

--HG--
extra : rebase_source : cfdcb0287724176165e7cd4b8bdcea8c61503f30
2016-07-13 18:52:51 +02:00
Jan Odvarko
42d6998ea0 Bug 1259819 - HTML Sidebar component. r=pbro 2016-07-15 09:59:21 +02:00
Lin Clark
c2f6635800 Bug 1285053 - New console frontend: use variables view link for object inspection. r=bgrins
MozReview-Commit-ID: I59OZXI2Qks
2016-07-14 06:21:00 -04:00
Nicolas Chevobbe
0b022f36d2 Bug 1286700 - Reps: Fix function import in text-node.js. r=Honza
Import `cropMultipleLines` function from the correct file.
Add a test for the TextNode Rep.

MozReview-Commit-ID: 8dk1EHgkKwK

--HG--
extra : transplant_source : %E1%B9%07%D5%D6FU%C4%B4%ED%EF%7E%DA%C4q%A7%C3%D9%21%A7
2016-07-14 11:40:30 +02:00
Jason Laster
ae5b9e5663 Bug 1286390 - Add sourceMapURL to source actor form. r=jlongster 2016-07-12 14:40:00 -04:00
Lin Clark
3a79cf448f Bug 1264693 - [rep tests] Add tests for object rep. r=Honza
--HG--
extra : transplant_source : %E6V%7Cf%09%26%5C0%90%E3%FCx%88%C5%C2%CC%A5%19T%19
2016-06-27 14:28:28 -04:00
Helen V. Holmes
a56fed0d97 Bug 1266414 - Device modal fades in/out. r=jryans
Device modal can be closed with escape and outside click

--HG--
extra : amend_source : 4e49c78b31b29e2176a722f67b27d2e95781ca33
2016-07-12 07:28:00 -04:00
Julian Descottes
d1025c9eea Bug 1285206 - Enable xul panel for some devtools tooltips;r=bgrins
Set useXulWrapper to true for markup view image previews and rule view
tooltips.

Also slightly changed the logic in HTMLTooltip.js so that useXulWrapper is only
true when we are in a XUL context.

MozReview-Commit-ID: 9EkQYLLAn7C

--HG--
extra : rebase_source : 5b096345c087a85f3c66fdca639287196e22775c
2016-07-08 15:46:42 +02:00
Julian Descottes
6dbdb73654 Bug 1285206 - Use type=arrow for xul panel wrapper in HTMLTooltip;r=bgrins
MozReview-Commit-ID: I1DCXbl05b6

--HG--
extra : rebase_source : cda1c15be67a09fb4be3a11f8b2967de031eb122
2016-07-12 17:24:53 +02:00
Julian Descottes
5330514c42 Bug 1284461 - HTMLTooltip: use variable height only if height==Infinity;r=bgrins
MozReview-Commit-ID: LTraHLeEEp4
2016-07-05 14:35:15 +02:00
Lin Clark
2f43f4c15f Bug 1264676 - [rep tests] Add tests for array rep. r=Honza
--HG--
extra : transplant_source : FH8%D6%7B%AF%1E%DC%96%8D%F8%AD%87%D6%F9%0D%B7%EE%EBW
2016-06-27 12:15:46 -04:00
Carsten "Tomcat" Book
c0124de8f8 Backed out changeset b798e05334be (bug 1275330) for causing crashes and dt test failures
--HG--
extra : rebase_source : 66c19eb8abe5c8c55097b706bd03a89a0e0897be
2016-07-12 14:40:29 +02:00
Carsten "Tomcat" Book
eccfafb334 Backed out changeset d192030869ef (bug 1266414) for eslint failures 2016-07-12 13:11:26 +02:00
Nicolas Chevobbe
dcb23a03bd Bug 1285672 - New console frontend: introduce message limit. r=linclark
MozReview-Commit-ID: 1tdWAce9Q7U

--HG--
extra : transplant_source : %3D%B2%04o%11%06%96k%B8%FD%60y2%FC8%A5u%24%B3%D5
2016-07-09 12:00:59 +02:00
Ricky Chien
f8e036af7c Bug 1285455 - Firebug theme - element-picker button is too tall in Animation Inspector. r=Honza
MozReview-Commit-ID: EDmgDU2vJ3V

--HG--
extra : transplant_source : %CA%81w%BD%00G%89%C4%B7%D7%87%0AhtM%16%90T%8C%D1
2016-07-11 16:40:14 +08:00
gasolin
4ece307f63 Bug 1284673 - Reps: add a cropLimit property to string rep; r=linclark
MozReview-Commit-ID: GCVISe8zhyD

--HG--
extra : transplant_source : %CD8%3E%9B%A6%B6%000%BFMc%E5%B5%8E%E0Rj%1A%AC%88
2016-07-11 17:56:41 +08:00
moby
5b7c407889 Bug 1283730 - Do not disable 'expand all' option in inspector context menu if a node is selected; r=bgrins 2016-07-08 14:42:00 +02:00
Michael Ratcliffe
3e3392e6b3 Bug 1281047 - Properly sort array indexes; r=honza
MozReview-Commit-ID: BWQMkPiMkM7
2016-07-12 09:33:07 +01:00
Nicolas Chevobbe
ed609be9a0 Bug 1283123 - Reps: make it possible to pass in a component to handle object links. r=linclark,honza
MozReview-Commit-ID: 20xvwUua4WA

--HG--
extra : transplant_source : %EC%13%B8%CB%FF%7BQ%ADY%29%94%120%12%C8%0E%1D.%F6_
2016-06-21 22:56:10 +02:00
Matthew Wein
fbcca5fe45 Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : u%EF%BA%C8%12%89%92%CB%FC%A2%9F%CF%2B%04V%13%87%A0x%E6
2016-07-07 16:17:43 -07:00
Dalimil Hajek
717b6d148b Bug 1275614 - aboutdebugging: Add localization comments to aboutdebugging.properties. r=jdescottes 2016-07-12 00:10:00 +02:00
"Helen V. Holmes"
58456e4356 Bug 1266414 - device modal fades in/out, r=jryans
Device modal can be closed with escape and outside click
2016-07-07 06:32:00 +02:00
Greg Tatum
d5b8bff9fd Bug 1259228 - Fix shortcut bug in performance tools r=jsantell 2016-07-08 08:07:00 +02:00
Julian Descottes
acedf8891b Bug 1279703 - use theme body-color for devtools font-preview;r=pbro
MozReview-Commit-ID: 23KqLhfpWuj

--HG--
extra : rebase_source : 7ae625e90dd32f858c1e36d7bfc6ad2842f9c433
extra : source : 5b110e44f7a649a7b98d202ae36750a37efd95e1
extra : histedit_source : 85770e8d5e2d06a75b9b4db70c534fa802b9942a%2Cc4e8a7c39c502c1f1553cfc386a9b3bda623eb2f
2016-07-11 15:21:15 +02:00
Wes Kocher
bacab7c0f8 Merge m-c to autoland, a=merge 2016-07-12 16:54:34 -07:00
Andy McKay
37cdc5fcf2 bug 1282868 re-sign devtools test addon r=me a=test-only
MozReview-Commit-ID: K1QGUvssesA

--HG--
extra : rebase_source : d3225fb7e0c99f318558e13e1b854fab788ec599
extra : source : a3f1f7a73a5502e365c59677ca57a88ccab02ae0
2016-06-27 14:52:57 -07:00
gasolin
835ed75cb9 Bug 1282427 - Reps: handle userDisplayName property on Function grips. r=linclark
MozReview-Commit-ID: 2DPfSuHeFo9

--HG--
extra : rebase_source : 2dbefb94dfdf0339bc1a63342c8e4d6c7ac1e5fb
2016-07-13 14:44:01 +08:00
Greg Tatum
180f6e66ec Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
gasolin
711ad5eab1 Bug 1264701 - combine url utils to rep-utils.js; r=linclark
MozReview-Commit-ID: Gdtg6Nf1Spj

--HG--
extra : transplant_source : 2j%91%13%E2H%E1%02%89%8A%26%B8%9A%FD%EBF%20%3Cu%F5
2016-07-12 11:53:24 +08:00
Carsten "Tomcat" Book
710a62630f Merge mozilla-central to fx-team 2016-07-14 12:07:22 +02:00
Steve Chung
333763a3d3 Bug 1287391 - Wrong sidebar tabs direction in RTL locales with Firebug theme. r=pbro
MozReview-Commit-ID: BhemDYlh703

--HG--
extra : rebase_source : 2ea23ff03574f1fcefbdd39b0316402460a203c2
2016-07-20 11:47:04 +08:00
Patrick Brosset
f4f658ae9a Bug 1287042 - Always before/after CSS rules in rule-view; r=bgrins
::before and ::after pseudo-elements are visible in the markup-view today
but if, for some reason, they aren't generated, we still want to know that
the CSS rule exists.
This may happen if you use display:none on the pseudo-element CSS rule itself.
When that happens, the pseudo-element won't be generated and therefore there
will be no possibility to see the rule in the rule-view (you'd have to go to
the style-editor for that).
This change keeps the pseudo-elements in the markup-view, but also adds the
corresponding CSS rules in the rule-view.

MozReview-Commit-ID: tx5IpmtE7b

--HG--
extra : rebase_source : 19979672561e55fc5713900b83dd6d40ac33d2a3
2016-07-18 17:15:05 +02:00
Ricky Chien
47316715df Bug 1229340 - Move animation inspector scrollbar to timeline container r=pbro
MozReview-Commit-ID: DT37WGBXTiS

--HG--
extra : transplant_source : %86F%D2%2C%17n%B9K%5D%06%9FMjZ%B5%20%06%87%F1%E8
2016-05-27 18:01:19 +08:00
Alexandre Poirot
a4a6cbfec2 Bug 1281726 - Test about:devtools-toolbox?target r=jryans 2016-07-13 23:34:18 -07:00
Alexandre Poirot
a3822bd122 Bug 1281726 - Emit TabActor.tabDetached whenever the actor is detached. r=jryans 2016-07-13 23:34:17 -07:00
Alexandre Poirot
213ad20a2e Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Jan Odvarko
7ea3330190 Bug 1287368 - Fix inspector sidebar portrait mode; r=pbro 2016-07-19 09:57:59 +02:00
gasolin
9adbc517d5 Bug 1285449 - Firebug theme - Don't apply inverted filter to sidebar-toggle, rewind-timeline, pause-resume-timeline in Inspector; r=Honza
MozReview-Commit-ID: KPB4dfRjzrD
2016-07-14 01:40:00 +02:00
Steve Chung
146f454ff5 Bug 1285530 - Reps: Off by one error in grip-array max length. r=Honza
MozReview-Commit-ID: 3rBiraUWiY0

--HG--
extra : transplant_source : %82s%1F%11%92%FCY%A1%82%89%AC%AB%E5%95up%80%1A%DC%1E
2016-07-13 16:44:31 +08:00
gasolin
f1be82c16d Bug 1279526 - Firebug theme: fix CSS for rule view property; r=Honza
MozReview-Commit-ID: FaXCBK7gi7J

--HG--
extra : transplant_source : %87%CC%DB%FC%3F%2B%093%E6%B9%3E%04%03%8F%B6%F1/%01%C6H
2016-07-13 10:58:29 +08:00
Tom Tromey
c1f4e8a225 Bug 1266839 - replace uses of nsIXULAppInfo in devtools; r=gregtatum
MozReview-Commit-ID: KIsffqE99hA

--HG--
extra : rebase_source : 6513acf886bef3192445ae003f413acc0143f658
2016-07-15 14:04:02 -06:00
Tom Tromey
f3688e87f4 Bug 1265802 - Add Services.appinfo.OS shim for devtools; r=jryans
MozReview-Commit-ID: L41zmBEyqPH

--HG--
extra : rebase_source : 45d478bf4b60a869490b12b1e2cd1e8f2d204a9f
2016-07-14 12:48:47 -06:00
Luke Chang
cee31bc485 Bug 1265686 - Add PageUp/PageDown/Home/End navigation in AbstractTreeItem; r=gregtatum
MozReview-Commit-ID: 1LkKblI5ghz

--HG--
extra : rebase_source : 60fc6c0852d0e193b2de27a07dc49124540a4da6
2016-07-13 19:12:31 +08:00
Joseph Yeh
711bee9e8d Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster
MozReview-Commit-ID: 1OeiMaVZ7tm

--HG--
extra : rebase_source : ed4d3809d97fd1c1a6661ad30b9f9d0d868fbea2
2016-07-11 20:28:00 +02:00
Greg Tatum
e119f38a8d Bug 1261048 - Fix shortcut modifier bug with Flame Graph. r=jsantell
--HG--
extra : rebase_source : 582274ab347a66197c953c0d896b184fbf5f2978
2016-07-18 07:33:00 +02:00
Julian Descottes
c0a152512a Bug 1280360 - markupview: a11y fix tabindex when modifying attributes;r=pbro
Modify the template for markup view attributes to accept a tabindex attribute.
The markup for attributes might be generated and inserted in an already focused
markup view line. In this case the DOM element should be created with a tabindex
of 0 instead of -1.

MozReview-Commit-ID: AaMUS1h1o0C

--HG--
extra : rebase_source : e03f187326b6b42f7e575712137118e3adcb6a6f
2016-07-01 23:34:21 +02:00
Carsten "Tomcat" Book
499b4b2166 Backed out changeset 4fb8d384921e (bug 1281125) for failing on own tests 2016-07-19 14:28:16 +02:00
Julian Descottes
5fb6669098 Bug 1287090 - HTMLTooltip: support host changes by retrieving top window dynamically;r=bgrins
MozReview-Commit-ID: 9RcM2h41DdV

--HG--
extra : rebase_source : 7990bd4ef4c519495231fc71a2176847c2dfd3cf
2016-07-15 16:30:54 +02:00
Gabriel Luong
8db07dfbc4 Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-19 04:30:13 -04:00
Gabriel Luong
c26bfa1c50 Bug 1281125 - Split up browser_layout_update-after-navigation.js test r=jdescottes 2016-07-19 04:30:10 -04:00
Ryan VanderMeulen
a12698a23e Bug 1277274 - Skip browser_responsiveui_window_close.js on Linux debug e10s for being permafail. 2016-07-15 12:55:26 -04:00
Till Schneidereit
f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Tim Huang
5a832efcfb Bug 1282660 - Part 2 : Add a test cast to test that style editor can load stylesheets correctly with containers. r=gl 2016-07-14 04:13:00 +02:00
Tim Huang
d0bc82231f Bug 1282660 - Part 1 : Make the devtools uses nodePrincipal instead of the system principal when fetching stylesheets. r=gl 2016-07-13 02:37:00 +02:00
Sebastian Hengst
c9b2e89a26 Backed out changeset 5b110e44f7a6 (bug 1279703) for failing browser_styleinspector_tooltip-longhand-fontfamily.js. r=backout 2016-07-11 13:37:21 +02:00
Carsten "Tomcat" Book
8604ef5140 Backed out changeset 31765c4f5ea4 (bug 1275330) for ESlint failures 2016-07-11 11:42:01 +02:00
Lin Clark
bcfaeeffb2 Bug 1286676 - New console frontend: use new taxonomy for RDP packet types. r=me
--HG--
extra : rebase_source : d993104d714fd7d9048d6cc4fa8154a0658deeef
2016-07-11 18:50:25 -04:00
Lin Clark
fffe5181d0 Bug 1286676 - Part 1: Match current markup in pageError. r=me
--HG--
extra : rebase_source : a3c2542e638da12426a1e263e4cc1208619932d4
2016-06-29 21:10:50 -04:00
Tom Tromey
9c45a35cf2 Bug 1266832 - add dummy telemetry object to Services shim; r=gregtatum
MozReview-Commit-ID: Cg6ciWVNbEx

--HG--
extra : rebase_source : 019115aff8dc6e0329559510a8df00814452222a
2016-07-20 13:53:50 -06:00
Tom Tromey
ee883aab7f Bug 1276341 - don't use Cu.import for event-emitter.js; r=jryans
MozReview-Commit-ID: BDvrMP8fRim

--HG--
extra : rebase_source : a40ac300ff98f302bfbf5ce978172904426fa152
2016-07-18 13:58:20 -06:00
Tom Tromey
c9840ff9af Bug 1276341 - remove some misleading import comments; r=jryans
MozReview-Commit-ID: 4ARx91saUtF

--HG--
extra : rebase_source : 8784a3e5b761980c53d9e8b0d928b3b71b3592a3
2016-07-12 08:39:53 -06:00
Jarda Snajdr
3a9649172e Bug 1285638 - Network monitor leaks window when a parent-side tab is closed. r=ochameau 2016-07-10 10:37:00 +02:00
Luca Greco
39fafd8999 Bug 1285289 - add Devtools test addons as Temporary Addons. r=ochameau
MozReview-Commit-ID: 1plXeerEAJp

--HG--
extra : transplant_source : UL%0D%BF%12%A5%BA%E8%84%1C%EE%03dv%05%CD%95%3B%27%12
2016-07-06 18:41:58 +02:00
Matthew Wein
5fd39e311a Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm. r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : %1E2%DD%D8%1F%A0%C5%8D%02oR%F4%A3%15%0Fo%C7%EC%5E%F0
2016-07-07 16:17:43 -07:00
Lin Clark
e23659c57a Bug 1264684 - [rep tests] Add tests for grip-array rep. r=Honza 2016-06-27 09:50:44 -04:00
Julian Descottes
8fffcab35f Bug 1279703 - font-preview should use white fillstyle only for dark theme;r=pbro
MozReview-Commit-ID: 23KqLhfpWuj

--HG--
extra : rebase_source : 1f08a034a73e90ebb1c0859f76c984099b831edd
2016-07-08 17:49:04 +02:00
Alexandre Poirot
c660dc1021 Bug 1267414 - Convert color picker, cubic bezier and filter widgets to HTML Tooltip. r=jdescottes
--HG--
rename : devtools/client/themes/spectrum.css => devtools/client/shared/widgets/spectrum.css
2016-07-11 01:26:02 -07:00
Alexandre Poirot
0f4f5e6448 Bug 1267414 - Apply scoped stylesheet to HTMLTooltip container. r=jdescottes 2016-07-11 01:26:02 -07:00
Julian Descottes
e1bf411118 Bug 1266456 - part10: fix tests for autocomplete-popup HTMLTooltip migration;r=bgrins
Most test modifications deal with listening to the proper events.
As mentioned in the parent commit, the keyboard navigation for the
inspector-search changed a bit with this change, so the related test
case is using a slightly different scenario.

MozReview-Commit-ID: BgSa69bSSFB

--HG--
extra : rebase_source : a1b565f6b54f2c8e3d641794aaa6aa43a2c75134
2016-07-10 19:10:21 +02:00
Julian Descottes
d03c3018a5 Bug 1266456 - part9: use HTMLTooltip for autocomplete-popup;r=bgrins
Modify the devtools autocomplete-popup to rely on a HTMLTooltip instance
instead of a XUL panel.

Other than the straightforward migration to HTML, the main difference with
the new implementation is that the richlistbox has now been replace with a
simple HTML list element. The former XUL widget used to be able to take the
focus from the input it was linked to.

This is no longer the case. Most autocomplete users were always keeping the
focus in the input, except for the inspector-search, which was moving the
focus back and forth between the input and the autocomplete's richlistbox.
Now the focus is always in the input. A practical example to illustrate how
this changes the UX: before when the user had the focus on the first element
of the list, pressing "DOWN" would keep the element selected but visually move
the focus in the input. Now the selection simply cycles to the next item.

Even though this introduces a difference in behaviour compared to the previous
implementation, it makes the inspector search UX consistent with the other
autocomplete widgets used in devtools.

Another difference is about the display for the inspector-search. The position
of the autocomplete popup used to be above the input. This is now impossible to
achieve because the search input is at the top of the toolbox and the HTML tooltip
can not exceed the limits of the toolbox.

For this #2 issue, either we manage to use XUL panel wrappers, in which case, the
autocomplete will be displayed as it used to. Or we can invert the order in which
items are inserted and explicitly ask for the autocomplete to be displayed below the
input. I prefered not to change this here in order to make the code change easier to
understand, but it should be addressed in a follow-up.

MozReview-Commit-ID: jH9aXm9Jvz

--HG--
extra : rebase_source : 57267be0d214ed807f3152838c4123400ab7b7e3
2016-07-07 16:32:42 +02:00
Julian Descottes
74d5a93a8f Bug 1266456 - part8: move HTML search autocomplete css to tooltips.css;r=bgrins
MozReview-Commit-ID: 56QVG5IPS97

--HG--
extra : rebase_source : 5e04aacd9d441ed19115805b7d4a7aff77816c2e
2016-06-20 15:18:47 +02:00
Phil Ringnalda
bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Tim Nguyen
f332c75bae Bug 1283998 - Fix Fonts panel 'Show all' position on RTL locales. r=bgrins
MozReview-Commit-ID: 3VupMtAhcbD
2016-07-09 10:29:31 +02:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky
5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Ruturaj
6a39600b18 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
Wes Kocher
4725525760 Merge m-c to fx-team, a=merge CLOSED TREE 2016-07-08 15:04:54 -07:00
Brian Grinstead
f3214d3c0b Bug 1285225 - Set accesskey and disabled properties on menuitems with submenus in Menu API;r=jdescottes
MozReview-Commit-ID: GN9j5pEn3cH
2016-07-08 07:24:09 -07:00
Carsten "Tomcat" Book
838f21f656 merge mozilla-inbound to mozilla-central a=merge 2016-07-08 11:58:46 +02:00
Carsten "Tomcat" Book
75e7b5bab2 merge fx-team to mozilla-central a=merge 2016-07-08 11:57:15 +02:00
Lin Clark
72d422fb86 Bug 1285348 - New console frontend: disable in browser toolbox. r=bgrins
--HG--
extra : rebase_source : cff98e95cd5b21480990f849569e7fbd2c63b329
2016-07-07 16:08:12 -04:00
Wes Kocher
86a74db006 Merge m-c to autoland, a=merge 2016-07-07 17:36:17 -07:00
Lin Clark
75503e8ad4 Bug 1283893 - New console frontend: required prop severity is sometimes undefined. r=bgrins
--HG--
extra : rebase_source : fb164f3f1b564b9c9bb7b0716275cc32a2f84843
2016-07-06 17:47:16 -04:00
Julian Descottes
7302908ebc Bug 1284851 - fix HTMLTooltip capturing events on invisible arrow container;r=bgrins
MozReview-Commit-ID: Ik85IPt7BIB

--HG--
extra : rebase_source : 011c428d3fd66410f599570af28e8a894e7ecf80
2016-07-06 22:03:57 +02:00
Julian Descottes
df13b10281 Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau
MozReview-Commit-ID: 4uEqkVbqcsC

--HG--
extra : rebase_source : 384969e88f8fb3ed23187c12d305acc113cf6a2c
2016-07-07 11:57:29 +02:00
Carsten "Tomcat" Book
1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Tom Tromey
6a91e5346c Bug 1276349 - Fix DAMP regression by speeding up _isURL. r=bgrins
MozReview-Commit-ID: C7khVe46Vjk

--HG--
extra : rebase_source : 991395b28fdc0bc6296af866a3e7b4ddd6eda9c2
2016-07-05 11:33:01 -06:00
Nicolas Chevobbe
eaa1f24d14 Bug 1261714 - Fix dead CPOW intermittent on browser_toolbox_options_disable_js.js. r=jryans
MozReview-Commit-ID: G2De93K0Tgv

--HG--
extra : rebase_source : 4b77cdad5f749555acd470b61ca9627c805f1ad5
2016-07-05 23:24:21 +02:00
Wes Kocher
cd35e4422c Merge m-c to inbound, a=merge 2016-07-07 17:35:43 -07:00
Jeff Walden
aaeb46f1ff Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : b552346c5b2b3a5d32ca513efd45356fe94f3abd
2016-07-05 17:41:12 -07:00
Nick Fitzgerald
7b0a1f6dee Bug 1261869 - Fix leaks in devtools; r=ejpbruel
There are two leaks addressed in this commit:

1. The thread actor's `_debuggerSourcesSeen` set was never cleared. This set
exists only as a performance optimization to speed up `_addSource` in cases
where we've already added the source. Unfortunately, this set wasn't getting
cleared when we cleared debuggees out and it ended up keeping the
`Debugger.Source`, its referent, and transitively its referent's global alive. I
figured it was simpler to make it a `WeakSet` than to add it as a special case
in `ThreadActor.prototype._clearDebuggees` and manage the lifetimes by hand. I
think this fits well with its intended use as an ephemeral performance
optimization.

2. Due to a logic error, we were not clearing debuggees in the memory actor's
`Debugger` instance on navigations. This isn't really a "proper" leak, in that
if you forced a GC, the old debuggees would go away as `Debugger` holds them
weakly, however if there was no GC between navigations, then you could still see
the old windows (and everything they "retained") as roots in the snapshot. This
issue is straightforward to fix once identified: ensure that `_clearDebuggees`
is actually called on navigation.

Finally, this commit adds a test that we don't leak Window objects when devtools
are open and we keep refreshing a tab. When it fails, it prints out the leaking
window's retaining paths.
2016-07-06 08:37:57 -07:00
Julian Descottes
d367c125c7 Bug 1267403 - HTMLTooltip tests: destroy tooltips at the end of tests;r=ochameau
MozReview-Commit-ID: 2jMKxlsWId2

--HG--
extra : source : 806822ced9a2a28b81a66180e25d2d204227a08b
extra : histedit_source : fc3122c6d332db121bedf494553bc9d6797babfc
2016-07-04 16:02:37 +02:00
Julian Descottes
3aa417586a Bug 1267403 - HTMLTooltip: add useXulWrapper option when displayed in a XUL document;r=ochameau
The HTMLTooltip supports an additional configuration parameter "useXulWrapper".
When set to true, if the tooltip is displayed in a XUL document, a XUL panel
will be used as an additional container for the tooltip.

This allows the tooltip to be displayed anywhere on the screen and can be
useful when displayed in small toolboxes.

MozReview-Commit-ID: 63kv4vAeW5R

--HG--
extra : source : fc4d902ff01ee92a5b6742d44286e5feaaba1500
extra : intermediate-source : 126f43ff3be5505920946a77ad82401c6bbaebef
extra : histedit_source : 863888c014723f7e95742079395497ba1a30aa36%2C13ba9aaf80acb96c587739c767c20a8f0f6a9a5a
2016-07-06 14:50:44 +02:00
Luke Chang
b5cb21ec6c Bug 1263104 - Ctrl+F in Storage Inspector should open search. r=mratcliffe 2016-07-05 20:21:00 +02:00
Sebastin Santy
a7c7bee82f Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro 2016-07-05 02:16:00 +02:00
Lin Clark
8674b1ac25 Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: 36TkWMPePIT
2016-07-05 17:38:05 -07:00
Wes Kocher
59c25d40ac Merge m-c to fx-team, a=merge 2016-07-05 17:13:25 -07:00
Brian Grinstead
c2b0564d87 Bug 1283641 - Dont use a missing localized string when changing context in webconsole;r=dolske
MozReview-Commit-ID: 90Wce7yMG8M
2016-07-05 16:21:26 -07:00
Carsten "Tomcat" Book
b8fa6c4b53 Merge mozilla-central to mozilla-inbound 2016-07-05 16:07:19 +02:00
Jan de Mooij
3e6263744c Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
Ian Moody
02176c6da3 Bug 1285253 - Change incorrect "text-anchor: left" to "start". r=jdescottes
Also fix a typo in a comment, "Rules" -> "Rulers"

MozReview-Commit-ID: Gy5k3TR9JDM

--HG--
extra : transplant_source : i%15%1B%A1L%F9%B9%23%CC%F70u%0AT%0C%B4%27m%B2%DF
2016-07-07 13:48:16 +01:00
Joseph Yeh
2c7f0d073f Bug 1236283 - Don't mistake <embed> and <object> as having 1 child node when they don't contain anything. r=pbro
MozReview-Commit-ID: B7bEOP63yxT

--HG--
extra : source : 3468f546b0858d798b57d2bb020fcd309c154c48
2016-07-05 00:52:00 +02:00
Ian Moody
86d55a0b62 Bug 1171614 - Add a test for data-URI images to test_inspector_getImageData.html, and check that the server is being truthful about resizing. r=jdescottes
Also tidy up the HTML a bit by removing errant <img> close tags

MozReview-Commit-ID: 4cmtW1S2BI8

--HG--
extra : transplant_source : %26%E6%FE%BB%FE%2A%CCG%E0%27%3B%3DYK%2BP%E7%9D%C7%C9
2016-07-01 18:31:22 +01:00
Ian Moody
93ef07dcad Bug 1171614 - Make server inspector actor only return data-URIs as-is if they are smaller than maxDim. r=jdescottes
MozReview-Commit-ID: Hw0K8ZA79eG

--HG--
extra : transplant_source : %CA%F1T%00%23%F9%FC%A6b%BB%D7%E3%E8%E9%26%2A%F3.%02%12
2016-07-07 12:13:49 +01:00
Ian Moody
327e597570 Bug 1260297 - Force LTR direction for the eydropper color value so the # character doesn't move depending on colour in RTL locales. r=jryans
MozReview-Commit-ID: 3T5kjXB3i8d

--HG--
extra : transplant_source : Gx%20%7FZ%06%93k%EF%D0%C9%C8%A7%0F%9Du9%8E%5E%B6
2016-07-02 22:49:52 +01:00
Greg Tatum
84f5e124c1 Bug 1226898 - Make autoscroll distance depend on the document height r=pbro
--HG--
rename : devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll.js => devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_01.js
rename : devtools/client/inspector/markup/test/doc_markup_dragdrop_autoscroll.html => devtools/client/inspector/markup/test/doc_markup_dragdrop_autoscroll_02.html
2016-07-05 11:52:25 -07:00
Gregory Szorc
021d3fdfc7 Merge mozilla-central to mozilla-inbound 2016-07-06 18:26:17 -07:00
Sebastian Hengst
cfa0d595fb Backed out changeset 2620e5ba1067 (bug 1282795) for 'Concrete' redeclaration in HeapSnapshot.h (static failure). r=backout 2016-07-07 19:26:27 +02:00
Jeff Walden
ccddc5c404 Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : 967291d2bb028a379fcf1217ef8b116af5122cad
2016-07-05 17:41:12 -07:00
Rex Lee
d807a8a63e Bug 1261133 - Use pseudoClass for style editor transition. r=dbaron, r=pbro
MozReview-Commit-ID: Ck5JTXRR0mp

--HG--
extra : transplant_source : %95%0CQ%14%20%F0f%B84%E2%82%82%AB%F51%87%29%9EqL
2016-05-23 19:55:54 +08:00
Lin Clark
4062790276 Bug 1264696 - [rep tests] Add tests for string rep. r=Honza
MozReview-Commit-ID: BK44BgMhqPN

--HG--
extra : transplant_source : %5C%A7T0%E7%A9%BC%06%B5%0Bo%17Y%C9WS8%BC%BBJ
2016-06-23 17:48:34 -04:00
Lin Clark
1e4fbb5c93 Bug 1264696 - Move string utility functions to rep-utils. r=Honza
--HG--
extra : transplant_source : %A4%BA%9C%B5%EA%0E%C03%F2%90s%E5%21%87%85%E2%5C%3Ct%3C
2016-06-23 17:14:41 -04:00
J. Ryan Stinnett
004776fbcd Bug 1281396 - Make URL non-lazy to avoid debuggee would run / recursion issues. r=ochameau
MozReview-Commit-ID: FkYlmzIeBJe
2016-07-07 16:39:15 -05:00
Gijs Kruitbosch
ad4c50d8a8 Bug 1208489 - use resizebefore attribute on devtools horizontal splitter to avoid resizing notificationboxes, r=bgrins
MozReview-Commit-ID: 9ijDB4fFhA3

--HG--
extra : rebase_source : 742b2dc71b56e32a23ca426713b3eb53a7d65f48
2016-07-07 16:38:27 +01:00
Jan Odvarko
86677d02a2 Bug 1266420 - Implement SidebarToggle component; r=bgrins 2016-07-04 16:47:48 +02:00
Eddy Bruel
d98fe32356 Bug 1265727 - Decouple FramerateFront from FramerateActor;r=fitzgen 2016-07-04 17:50:30 +02:00
Ian Moody
c7bd381abc Bug 1268738 - Remove the background image from devtools breadcrumbs in the firebug theme. r=ntim
Prevents two breadcrumb arrows from appearing because the light-theme breadcrumb
is a background while the firebug-theme one is a CSS generated element

MozReview-Commit-ID: 20DEHid7lOP

--HG--
extra : transplant_source : kh%A0%F2%14%0B%FF%F3%BC%A6%28%1E%A39%9E%F2F%04%15%7B
2016-07-03 17:04:47 +01:00
Jan Odvarko
ad8bb89f66 Bug 1282463 - Reps: ensure that grip arrays work even when a provider is not provided; r=linclark 2016-07-01 12:48:30 +02:00
Lin Clark
d78524ccac Bug 1264688 - [rep tests] Add tests for number rep. r=Honza 2016-06-30 08:52:00 +02:00
Michael Ratcliffe
f71ab0d423 Bug 1244584 - Make GCLI tooltip hide after the first run experience r=jwalker 2016-07-01 12:30:00 +01:00
Jarda Snajdr
4e06c87a12 Bug 1231445 - Part 4: Tests for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Jarda Snajdr
c8316a5361 Bug 1231445 - Part 3: Support for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Jarda Snajdr
23366bd7b8 Bug 1231445 - Part 2: Change format of stores-cleared event data to support clearing any store r=mratcliffe 2016-07-04 04:09:00 +02:00
Jarda Snajdr
9d2f86c967 Bug 1231445 - Part 1: Support more key types in TableWidget r=mratcliffe 2016-07-04 04:09:00 +02:00
Ian Moody
199accd19e Bug 1205569 - Use margin-inline-start instead of margin-left for the webconsole filter icons so they look right on RTL locales. r=ntim
MozReview-Commit-ID: GTVUmgM45Yf

--HG--
extra : transplant_source : d%BA%FB%1B%FB%B06%19%96%F3%F0%88C%C3%D6%92%EF%DA4%DF
2016-07-02 22:58:18 +01:00
Jarda Snajdr
7d691d831b Bug 1194208 - Remove storage inspector stores-reloaded event. r=mratcliffe 2016-07-04 02:48:00 +02:00
Patrick Brosset
3d0938464a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA

--HG--
extra : rebase_source : fef638a9abb65e918ef593434a9224828c44d29e
2016-07-04 15:21:58 +02:00
Julian Descottes
4d95e26734 Bug 1283764 - fix display of noResults message in inspector computedview;r=gl
MozReview-Commit-ID: BRZZXCRHRyW

--HG--
extra : rebase_source : 1126efefe73800aea6602c9c3f0134bf1d3d1a58
2016-07-01 12:12:13 +02:00
Patrick Brosset
6c12aa9c1b Bug 1280121 - Re-enable the font panel by default
MozReview-Commit-ID: Lg7yvfkwqx5

--HG--
extra : rebase_source : bf206d7be2fc14f7e94bcb008ad060f3ea8b2908
2016-07-04 09:44:18 +02:00
Jarda Snajdr
1071446650 Bug 1283800 - Storage inspector throws unhandled exception trying to access localStorage on about:home r=mratcliffe
MozReview-Commit-ID: D5EVRMk8zEG
2016-07-01 06:26:00 +02:00
Phil Ringnalda
e38bf61245 Back out 7d431089a2d2 (bug 1283870) for failures in test_evaluation-result.html 2016-07-01 18:26:52 -07:00
J. Ryan Stinnett
79af73828e Bug 1283583 - Clean up code style in devtools/server/main.js. r=ochameau
MozReview-Commit-ID: 48Jr1Si8oUh
2016-07-01 18:35:25 -05:00
J. Ryan Stinnett
89a70c452d Bug 1283583 - Clean up code style in devtools/server/child.js. r=ochameau
MozReview-Commit-ID: GoHv6jvX6M1
2016-07-01 18:35:25 -05:00
J. Ryan Stinnett
e2e3133f6f Bug 1283886 - Allow template literals. r=tromey
MozReview-Commit-ID: DPHZjMLs4ED
2016-07-01 18:35:25 -05:00
James Long
2331b4c16c Bug 1273730 - remove pretty-print button if debugging workers because it doesn't work r=ejpbruel 2016-07-01 17:40:27 -04:00
Joseph Yeh
c6939fca31 Bug 1279651 - The show-all button overlaps on inspector-breadcrumbs-toolbar
MozReview-Commit-ID: 5QqTsbh50PT
2016-06-27 00:01:00 +02:00
Lin Clark
40a56b044e Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: HYRdgpKDXF
2016-07-01 11:21:08 -04:00
Peter Elmers
ef47656f06 Bug 1283465 - New console frontend: Display cached messages. r=linclark
MozReview-Commit-ID: ArhGOuUY8ea
2016-06-30 06:59:55 -07:00
Eddy Bruel
32f9a9263f Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-07-01 15:27:41 +02:00
Eddy Bruel
44e1776918 Bug 1280257 - Reset non-pending breakpoints when tab is reloaded with source maps disabled;r=jryans 2016-07-01 15:19:25 +02:00
djmdev
e2dfb7824c Bug 1172412 - Moved the markers to the right of the checkbox, before the label. r=ntim
MozReview-Commit-ID: 3DYIoVO2an4
2016-06-30 21:50:27 +05:30
Jarda Snajdr
24366b36b0 Bug 1281732 - Part 8: Fix webconsole tests that inspect the stack frames r=bgrins 2016-06-27 04:54:00 +02:00
Jarda Snajdr
d66c01d247 Bug 1281732 - Part 7: Clean up and simplify markup of webconsole messages r=bgrins 2016-06-24 09:28:00 +02:00
Jarda Snajdr
d095253488 Bug 1281732 - Part 6: Use StackTrace React component in webconsole, cleanup message-location r=linclark 2016-06-29 04:06:00 +02:00
Jarda Snajdr
2eeeda64b7 Bug 1281732 - Part 5: Style cleanup for HTTP console log messages r=Honza 2016-06-24 09:15:00 +02:00
Jarda Snajdr
143d345a63 Bug 1281732 - Part 4: Add stack trace tab to HTTP console log message r=Honza 2016-06-28 09:29:00 +02:00
Jarda Snajdr
c259458149 Bug 1281732 - Part 3: Remove duplicate styles for stack frames in Performance tool r=bgrins 2016-06-24 09:13:00 +02:00
Jarda Snajdr
4a9d73ab29 Bug 1281732 - Part 2: Fix tests that look at the Frame component markup r=linclark 2016-06-24 09:11:00 +02:00
Jarda Snajdr
ff687663ee Bug 1281732 - Part 1: React components for displaying stack traces and frames r=linclark 2016-06-24 09:10:00 +02:00
Steve Melia
22d172ab4b Bug 1269226: Explicitly handle node deletion in inspector breadcrumbs. r=pbro 2016-05-25 00:06:28 +01:00
Tom Tromey
a1c6fa6b82 Bug 1266844 - use URL, not nsIURL, in css-logic.js; r=pbro
MozReview-Commit-ID: F8eBQEJZkv7

--HG--
extra : transplant_source : %7E8C%F7%A1%BA%E4%16%F81%1C%C4%D6%C9%AC%0F%A4%1C%B1%B3
2016-06-24 13:55:55 -06:00
Towkir Ahmed
88e1001723 Bug 1266142 - Fixed radio button labels vertical alignment in devtools settings/options pane. r=ochameau 2016-06-29 12:36:00 +02:00
J. Ryan Stinnett
fbdd664cb0 Bug 1283599 - Repair DevTools file watcher. r=tromey
MozReview-Commit-ID: IRLxJ4ZJ5ti
2016-06-30 16:07:23 -05:00
Wes Kocher
0a4e1558a6 Backed out 6 changesets (bug 1244227) for mochitest-cl failures
Backed out changeset fc2dcc9e7f52 (bug 1244227)
Backed out changeset 5855543dc299 (bug 1244227)
Backed out changeset b409ab88921d (bug 1244227)
Backed out changeset 2990149167fc (bug 1244227)
Backed out changeset e4bf9065b319 (bug 1244227)
Backed out changeset 404a39c5e090 (bug 1244227)
2016-06-30 13:42:15 -07:00
Nicolas Chevobbe
9cc375021b Bug 1283247 - New console frontend: Add support for console.count(). r=linclark
MozReview-Commit-ID: 2b9cBXXMLMW
2016-06-25 14:32:37 +02:00
Michael Ratcliffe
56a8127a68 Bug 1268837 - Remove GCLI screenshot --chrome file.png. r=jwalker
MozReview-Commit-ID: GlNfyofypHt
2016-06-30 14:08:42 +01:00
Tom Tromey
b2671b487f Bug 1244227 - remove unused file from devtools/client/netmonitor/test/; r=Honza
MozReview-Commit-ID: 1obunKGZYgx

--HG--
extra : transplant_source : %87%84M%B680%BC%D4%08%F5%D2%07%C8%EFd%8F%85%CD%B73
2016-06-20 11:29:36 -06:00
Jan de Mooij
79865aba2a Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb 2016-07-06 11:40:20 +02:00
Andrew Swan
9a676bded2 Bug 1283622 Sign devtools test addon r=me
MozReview-Commit-ID: 4lGqR7hkrrk

--HG--
extra : source : eeaae22e8025862cd9a330876bfdf1eabf982283
extra : intermediate-source : 920000da82c37d81d6fe151d4630350983940bde
2016-07-02 20:09:37 -07:00
Tom Tromey
3f45bbeb7d Bug 1287620 - don't de-quote identifier tokens in parseDeclarations; r=pbro
MozReview-Commit-ID: GecLWyVsNAy

--HG--
extra : rebase_source : a423883724277d3fac7e606b6e8af5f39f48dc16
2016-07-19 12:47:07 -06:00
Alexandre Lissy
ee77e301dd Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35

--HG--
extra : rebase_source : 424b63df547308033fc960632c5ef5939e3d8d85
2016-03-16 17:11:12 +01:00
Fabrice Desré
f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Patrick Brosset
29a105a09c Bug 1277834 - Add missing promise rejection handler to breadcrumbs; r=jdescottes
MozReview-Commit-ID: C7WDd3CsMSX

--HG--
extra : rebase_source : afd75f3e560ce77722630005b227649a4b5dc3ba
2016-07-20 10:30:43 +02:00
Patrick Brosset
a08bd75422 Bug 1277834 - Silence inspector warnings and add promise rejection handlers; r=jdescottes
MozReview-Commit-ID: 6NhwdVTH57R

--HG--
extra : rebase_source : 9b96832c8b0258c4de96c22929e1683d4ccec0d8
2016-07-21 23:29:19 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Fabrice Desré
7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Tom Tromey
f6968e4e28 Bug 1244227 - add an API to enable throttling; r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : %88%FA%CB%0D%21%07%D9%DA%84%03%2C%92N%60%0F%E4%11%CF%8Dp
2016-03-01 11:13:41 -07:00
J. Ryan Stinnett
e2aeee8efd Bug 1240907 - Log server destroy errors. r=me
MozReview-Commit-ID: 2W3yKWTerjX
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett
76baf9e8d6 Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00