Commit Graph
71 Commits
Author SHA1 Message Date
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
Tim Nguyen b4c7c9080f Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190
2019-06-07 21:42:59 +00:00
Dorel Luca ee7075b3ec Backed out changeset 7bf9069eba43 (bug 1557674) for DevTools failures in devtools/client/storage/test/browser_storage_cookies_tab_navigation.js. CLOSED TREE 2019-06-08 00:10:09 +03:00
Tim Nguyen f6a909359a Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190
2019-06-07 19:36:00 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Brian Grinstead c8b3483e82 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275
2018-08-14 16:22:44 +00:00
Julian Descottes 7d398985fa Bug 1476647 - Fix TableWidget scroll position calculation;r=miker
MozReview-Commit-ID: Kn9PQMXG8bC
2018-07-18 18:01:29 +02:00
Margareta Eliza Balazs 1dbf998512 Backed out changeset 627f2adec73b (bug 1476647) for causing failures in devtools/client/storage/test/browser_storage_overflow.js 2018-07-19 09:05:35 +03:00
Julian Descottes aeb6c90ed6 Bug 1476647 - Fix TableWidget scroll position calculation;r=miker
MozReview-Commit-ID: Kn9PQMXG8bC
2018-07-18 18:01:29 +02:00
Julian Descottes 9456167901 Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks
2018-06-01 12:19:35 +02:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Boris Zbarsky 8a166e6246 Bug 1455676 part 17. Stop using nsIDOMNode in devtools/. r=jdescottes 2018-05-29 22:58:50 -04:00
Michael Ratcliffe 66b91c9ff6 Bug 1433844 - Storage inspector throws when add item, reload and arrow keys r=pbro
As far as I am aware, we can't create tests to detect whether an error has been thrown... especially if the error has no side affects.

If we really need a test for these simple four fixes you can always insist but I don't think we do.

MozReview-Commit-ID: 7j9N1X4jTHY
2018-04-26 15:56:20 +01:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
yulia bd093feca1 Bug 1382605 - Fix 6 tests failures on devtools/client/shared due the EventEmitter refactoring r=nchevobbe
MozReview-Commit-ID: EaFYqaY2M79
2018-03-07 10:17:03 +01:00
Masayuki Nakano acd24d6ad1 Bug 1439500 - Make devtools/client/shared/widgets handle non-printable keys and key combinations with keydown event r=jryans
We'll stop dispatching keypress event for non-printable keys and key
combinations at least in web content.  This means that widget of
devtools/client cannot be tested with loading them into tabs with mochitest
browser chrome.  Fortunately, they are cleanly independent from other module's
keypress event listeners.  So, we can make they use keydown event to handle
non-printable keys and key combinations.

MozReview-Commit-ID: 6fNSsGi9VbQ
2018-02-20 18:57:35 +09:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Michael Ratcliffe 483560fbc2 Bug 1374784 - Unable to use keyboard to navigate cookies r=miker
MozReview-Commit-ID: 8x2xCE6T3Ye
2017-06-27 10:50:23 -07:00
Carsten "Tomcat" Book a34ac844a1 Backed out changeset ea5a5610ff7e (bug 1374784) for getting perma failures are merge 2017-06-26 15:10:13 +02:00
Michael Ratcliffe 5724867a5e Bug 1374784 - Unable to use keyboard to navigate cookies r=gl
Keyboard navigation was broken because we introduced private columns that are never displayed (for compound primary keys) and were not equipped to deal with hidden key columns.

This change gets the first visible column, whether it is private or not so that we no longer have to worry about hidden key columns.

The small change to the keyboard test ensures that the private column is hidden so the test will fail if this feature is broken again.

MozReview-Commit-ID: IB7efHsflGU
2017-06-20 21:37:07 +01:00
Michael Ratcliffe 1d7b2bb981 Bug 1280548 - Don't display storage-sidebar after deleting all cookies r=jdescottes
MozReview-Commit-ID: 6trAoFZtsTS
2017-06-13 10:42:43 +01:00
Michael Ratcliffe d81ce1f09f Bug 1257603 - Storage inspector search should ignore hidden columns r=nchevobbe
storage-search.html:
  - Switched  to use cookies.

browser_storage_search.js:
  - Use a little destructuring.
  - Hide all but name and value columns.
  - Run search tests with both columns visible.
  - Hide the value column.
  - Run search tests with only the name column visible.

MozReview-Commit-ID: JKeRLWfhpFb
2017-06-06 11:08:11 +01:00
Michael Ratcliffe 6b564929b3 Bug 1231452 - Make it possible to add cookies to the storage inspector r=pbro
MozReview-Commit-ID: 9l9GBpxX7xv
2017-03-31 23:28:55 +01:00
Michael Ratcliffe 9b08b49b68 Bug 1073967 - Storage Inspector columns should use natural sort r=nchevobbe
Changlist:
  - Added Jim Palmer's well proven natural sort algorithm.
  - Added natural sort license (MIT).
  - Use natural sort everywhere inside TableWidget.js wherever we use .sort()
  - Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending).
  - Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc.

MozReview-Commit-ID: FUY7pcLIYml
2017-04-10 18:04:25 +01:00
Michael Ratcliffe 5464650ebb Bug 1264585 - Add sidebar toggle button to storage panel r=pbro
Fixed devtools/client/storage/test/browser_storage_sidebar.js

MozReview-Commit-ID: 8zKnUPJ0118
2017-03-10 17:44:01 +00:00
Florian Quèze b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Michael Ratcliffe 2556b92d84 Bug 1320362 - Move indexedDb storage type in the storage inspector into a new column r=jdescottes
Ideally we would have used the GUID to join fields to build the compound key but because we show the uniqueId in the tree that would lead to an ugly user experience. As an
alternative we simply use e.g. db1 (default) as the uniqueId. This works as a unique key, is informative for the user and means minimal changes to tests.

MozReview-Commit-ID: I0XxTIoV33p
2016-11-29 10:57:18 +00:00
Michael Ratcliffe 95697409bc Bug 1146194 - Multiple cookies with the same name not shown r=gl
Stubborn debugger statement.

MozReview-Commit-ID: F2qgWofemHG
2016-11-11 15:57:51 +00:00
Ruturaj K. Vartak 0b9576e2c6 Bug 1301929 - Copying ellipisis-cropped cell should copy the full text. r=miker 2016-09-21 02:10:00 -04:00
Nicolas Chevobbe 5dda88289f Bug 1297043 - Fix TableWidget selection when wrapTextInElements is true. r=jsnajdr
We were using the onMousedown event target to select a row, based on a data-id attribute of the cell node.
But when the wrapTextInElements is true, there is an extra span element inside the cell. And in this case,
we were trying to retrieve the data-id attribute on this span, which led to calling the selection function with a
null id, and thus, not selecting the row.
We fix this by retrieving the attribute from the correct node.
A test case was added in order to make sure the bug is fixed

MozReview-Commit-ID: Jcf42AZb2uk
2016-08-22 19:25:48 +02:00
Tom Tromey 44ebe29d9c Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL
2016-08-08 15:41:37 -06:00
Tom Tromey 6bb49c290c Bug 1292253 - replace some Ci uses in view-helpers and TableWidget; r=gregtatum
MozReview-Commit-ID: JIs4wxNA3Eg
2016-08-09 09:43:58 -06:00
Tom Tromey 33ff5b91eb Bug 1288147 - don't use ownerGlobal in devtools client code; r=bgrins
MozReview-Commit-ID: EgXSMILZrri
2016-07-26 09:34:25 -06:00
Brian Grinstead 5cef8d62ac Bug 1113825 - Provide option to always wrap table contents into elements;r=gl 2016-07-20 15:19:07 -04:00
Jarda Snajdr ae22ed9e38 Bug 1231445 - Part 1: Support more key types in TableWidget r=mratcliffe 2016-07-04 04:09:00 +02:00
Tom Tromey 8f1292bce5 Bug 1270994 - Fix ESLint errors in devtools/client/shared/*.js; r=jryans
MozReview-Commit-ID: 1od43gBnUq1
2016-05-19 08:35:45 -06:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot e39e7b8130 Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey 2016-05-16 03:13:30 -07:00
L. David Baron 38d7232f8e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
James Long ece81a7a77 Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
Jarda Snajdr 979fb418a0 Bug 1263906 - When starting to edit a storage inspector field, it scrolls away from the view. r=mratcliffe 2016-04-18 04:22:00 +02:00
Jarda Snajdr d52e009a86 Bug 1231434 - Add 'Delete All' context menu entry to storage inspector. r=mratcliffe 2016-04-11 01:21:00 +02:00
Sebastian Hengst 27bceca7f2 Backed out changeset a4c47419ac3f (bug 1231434) for eslint failures (no space after generator star, backquotes instead of doublequotes used). r=backout 2016-04-10 20:13:07 +02:00
Jarda Snajdr d4055f7986 Bug 1231434 - Add 'Delete All' context menu entry to storage inspector r=mratcliffe
MozReview-Commit-ID: 4YNXmhtriRS
2016-04-09 01:45:00 +02:00
Jarda Snajdr b1b44c88b0 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
MozReview-Commit-ID: AWgZDbQ22ec
2016-04-04 07:56:00 +02:00