Commit Graph
102 Commits
Author SHA1 Message Date
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
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
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 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 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
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
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
Tooru Fujisawa 20ad5c8d48 Bug 1321216 - Remove legacy generator from devtools/. r=jryans 2016-12-01 18:04:50 +09: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
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
J. Ryan Stinnett 30933227ec 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
Luke Chang 6d24c31117 Bug 1263104 - Ctrl+F in Storage Inspector should open search. r=mratcliffe 2016-07-05 20:21:00 +02:00
Jarda Snajdr f44ab34d76 Bug 1231445 - Part 4: Tests for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Jarda Snajdr 28a6876cec 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
Jarda Snajdr 3bc49fbbd0 Bug 1268460 - Part 1: Errors when deleting an IndexedDB database are not handled r=mratcliffe 2016-05-17 11:57:21 -07:00
Brian Grinstead 02f9ddbe39 Bug 1269763 - Convert instances of toolbox.frame.contentWindow to toolbox.win;r=jdescottes
MozReview-Commit-ID: 2jPa6K6io40
2016-05-03 15:46:24 -07:00
J. Ryan Stinnett 8aa03a5d4d Bug 1263258 - Require space before paren for anonymous functions. r=pbro
MozReview-Commit-ID: 2F0j45Vxn2I
2016-04-27 09:06:15 -05:00
Jarda Snajdr cf9cfe2c23 Bug 1205123 - Part 4: 'Remove IndexedDB database' action in storage inspector - test. r=mratcliffe 2016-04-25 04:31:00 +02:00
Jarda Snajdr 7ec9eb7f09 Bug 1260380 - 'Parsed value' section gets duplicated when editing. r=mratcliffe
MozReview-Commit-ID: 22WzD9TOw5V
2016-04-21 05:10:00 +02:00
Jarda Snajdr 22abd505a7 Bug 1156720 - Firefox freezes when parsing large data in Storage Inspector. r=mratcliffe
MozReview-Commit-ID: CopXwMnhzxY
2016-04-21 08:52:00 +02:00
Jarda Snajdr 8f1303741e Bug 1149497 - Wildcard domain cookies are not displayed. r=mratcliffe 2016-04-20 22:50:00 +02:00
Jarda Snajdr 9dfc2b0ccd Bug 1261785 - Part 3: make affected JS files eslint-clean. r=mratcliffe 2016-04-19 01:44:00 +02:00
Jarda Snajdr 23486fae96 Bug 1261785 - Part 2: use shared-head.js for storage inspector tests. r=mratcliffe 2016-04-19 01:44:00 +02:00
Jarda Snajdr db85535cab Bug 1261785 - Part 1: fix promise rejections in storage inspector tests. r=mratcliffe 2016-04-19 01:43:00 +02:00
Julian Descottes 36006cf0f1 Bug 1258114 - use invisible borders to drag devtools splitters on both sides;r=bgrins
Devtools splitters now have a clickable area on both sides of the splitter.
The previous layout provided a 3px clickable area (2px empty content + 1px
visible border).

The new layout uses invisible borders on both sides and a visible (clipped)
content. New draggable areas:
- side splitters : 1px left + 1px splitter + 4px right
- horizontal splitters : 2 px top + 1px splitter + 2px bottom

Variables are defined in splitters.css to adjust these settings.
Modified two test helpers opening context menus: the click should be
performed with a slight offset in order to avoid clicking on the splitter.

MozReview-Commit-ID: 94uFZoIBL7B
2016-04-15 12:36:17 +02:00
Carsten "Tomcat" Book 673188d00d Backed out changeset 4d5b0cdb72fe (bug 1258114) for m-oth test failures 2016-04-18 10:24:06 +02:00
Julian Descottes 567873489a Bug 1258114 - use invisible borders to drag devtools splitters on both sides;r=bgrins
Devtools splitters now have a clickable area on both sides of the splitter.
The previous layout provided a 3px clickable area (2px empty content + 1px
visible border).

The new layout uses invisible borders on both sides and a visible (clipped)
content. New draggable areas:
- side splitters : 1px left + 1px splitter + 4px right
- horizontal splitters : 2 px top + 1px splitter + 2px bottom

Variables are defined in splitters.css to adjust these settings.
Modified two test helpers opening context menus: the click should be
performed with a slight offset in order to avoid clicking on the splitter.

MozReview-Commit-ID: 94uFZoIBL7B
2016-04-15 12:36:17 +02:00
Sebastian Hengst ad065d0989 Backed out changeset ff8aa19ba327 (bug 1261785) for frequent failure in devtools test devtools/client/shared/test/browser_telemetry_toolboxtabs_storage.js. r=backout 2016-04-17 12:27:43 +02:00