Commit Graph
148 Commits
Author SHA1 Message Date
Dan Epstein c958bdf812 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK
2017-09-27 01:12:13 -04:00
Sebastian Zartner 9c24b3074e Bug 1305103 - Added a button to refresh the Storage Inspector display r=miker
MozReview-Commit-ID: DhExQbLkDrU
2017-08-10 16:32:38 +02:00
Sebastian Zartner 50b2d55b0e Bug 1336934 - Added option to remove all session cookies for a specific domain r=miker
MozReview-Commit-ID: Anm6aHQOlkO
2017-08-27 00:33:33 +02: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
Phil Ringnalda 215498bb75 Backed out changeset 7d0c5443a348 (bug 1295761) for permaorange in browser_storage_cookies_edit_keyboard.js
MozReview-Commit-ID: 8OU7371ThAH
2017-06-26 20:26:05 -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 f3b733d99d Bug 1295761 - Stop storage inspector showing items that have been quickly added & removed r=pbro
Fixed conflicts

MozReview-Commit-ID: CiMa0K6PDWi
2017-06-24 11:02:33 +01: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
Sebastian Hengst 3fee8f03bb Backed out changeset 9647f9c56e13 (bug 1356943) for failing browser_storage_dynamic_updates_cookies.js, browser_storage_sidebar_update.js and browser_storage_values.js. r=backout 2017-06-21 19:09:40 +02:00
Michael Ratcliffe 956c532638 Bug 1356943 - Only show a tree in the storage sidebar when it is useful r=pbro
MozReview-Commit-ID: HUg9ouWESx
2017-06-09 11:36:44 +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 ce9a83bfdc Bug 1364437 - Make storage inspector layout match inspector's layout r=pbro
MozReview-Commit-ID: 3W9BpRMec4C
2017-06-06 10:55:41 +01:00
Michael Ratcliffe d56173ba21 Bug 1366535 - convert uses of defer to new Promise in client/storage r=nchevobbe
MozReview-Commit-ID: LXFr5hAlHZe
2017-06-05 21:58:23 +01:00
Michael Ratcliffe 6255db8644 Bug 1367652 - split browser_storage_basic_usercontextid.js r=pbro
MozReview-Commit-ID: 7oZQbmMYlla
2017-06-05 17:35:31 +01:00
Michael Ratcliffe 139226f14f Bug 1365554 - Fix storage inspector failures in browser_devtools_api.js r=jdescottes
The changes to devtools/client/framework/test/browser_devtools_api.js are purely eslint fixes so you only need to glance over them.

The changes to ui.js checks if the toolbox is being destroyed... if it is we don't log an error, otherwise we do.

MozReview-Commit-ID: JJTqkYXVsYG
2017-06-02 14:15:41 +01:00
Michael Ratcliffe 2217e5a681 Bug 1363006 - Make it possible to add local and session storage entries to the storage inspector r=pbro
MozReview-Commit-ID: IhXPD4C8HZO
2017-05-08 17:30:15 +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 d2feacc2be Bug 1362464 - Fix feedback from Storage Inspector's head.js methods r=pbro
MozReview-Commit-ID: G5lOr9bU13B
2017-05-05 18:00:57 +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 cdc6582ec5 Bug 1350525 - Storage Inspector should trim port from hosts for cookies r=pbro
MozReview-Commit-ID: FfsfiXTt96o
2017-04-11 17:09:40 +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
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Tim Huang 8ccbc9efa5 Bug 1263324 - Part 2: Add test cases to test context id for devtools storage inspector. r=miker 2017-01-24 14:45:42 +08:00
Michael Ratcliffe 4f227d850f Bug 1302989 - Make storage inspector work with file:// when # is in the URL r=nchevobbe
Changes:
  -  Added storage-listings-with-fragment.html and browser_storage-listings-with-fragment.js. The only difference between these and storage-listings.html and browser_storage-listings.js is that they contain url fragments wherever URLs are loaded e.g. #abc, #def etc.
  - When referencing cookies in tests we used to only use the hostname but a full URL was needed for other storage types. For consistency we now use the full URL for all storage types.
  - storage.js used to contain various getHostName() methods depending on which storage type was needed. This has been changed to a single method that acts according to which protocol is in use. Cookies are the only storage type that requires just a hostname for the http and https protocols so we strip them inside the cookies actor where required. null is returned when storage types are not available for a particular protocol e.g. data:// URLs.
  - browser_storage_dynamic_windows.js and browser_storage_listings.js now detect cookies that were previously missed. This is a result of the getHostName() improvements.

MozReview-Commit-ID: 8ZzM1Xz5hwU
2017-01-06 10:14:55 +00:00
Joel Maher 0f0373cde1 Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Florian Quèze 361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Jared Wein 21fc75d491 Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn
2017-01-03 10:07:50 -05:00
Michael Ratcliffe 4575f95145 Bug 1321820 - Storage Inspector fails with dom.caches.enabled=false r=nchevobbe
MozReview-Commit-ID: Gzwap5NL1w7
2016-12-23 16:53:20 +00:00
Gabriel Luong a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Tooru Fujisawa 20ad5c8d48 Bug 1321216 - Remove legacy generator from devtools/. r=jryans 2016-12-01 18:04:50 +09: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 807a61f5f0 Bug 1276339 - Storage inspector doesn't work on chrome:// pages and web extensions r=jdescottes
MozReview-Commit-ID: IP33bBo0yfn
2016-11-22 14:47:22 +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
amy 1cd0018563 Bug 976073 - Part 2: Modify errors from try server, r=jdm 2016-11-09 17:26:03 +08:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Ruturaj K. Vartak a29f9a1f61 Bug 1301930 - Cookie value parsing. r=miker 2016-09-19 23:37:00 +02:00
Jarda Snajdr 550da13ea0 Bug 1304297 - Support for deleting Cache and Response objects in Storage Inspector r=miker
MozReview-Commit-ID: BdK4rKhmzTo
2016-09-22 12:29:48 +02:00
Ruturaj K. Vartak 0c98316562 Bug 1298369 - Rename "isHttpOnly" label to "HttpOnly". r=jsnajdr 2016-09-13 10:48:00 +02:00
Julian Descottes 3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Julian Descottes 91ae3dcc39 Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
Julian Descottes 156ceb6e2f Bug 1294220 - part1: Move ellipsis character to a localized string in properties file;r=bgrins
The ellipsis character displayed by devtools is now relying on a localized string
in devtools/client/shared.properties instead of a complex preference.

The lazy loading of the ellipsis string has been removed, the ellipsis is retrieved
once when the client/shared/l10n.js file is loaded.

The ellipsis property on the LocalizationHelper instances has been removed in favor
of an ELLIPSIS export on the l10n.js module.

All the previous callers using either LocalizationHelper::ellipsis or retrieving the
intl.ellipsis preference have been migrated to rely on the ELLIPSIS export of l10n.js

MozReview-Commit-ID: 4JG0qbJGCw9
2016-08-20 22:09:03 +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
Fischer.json 8303c282bd Bug 1264582 - Table headers are not removed when selecting an empty storage. r=mratcliffe
MozReview-Commit-ID: Hcfw7dyrDpV
2016-07-01 17:42:07 +08:00