gecko-dev/devtools/client/storage
Michael Ratcliffe beac6277d5 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

--HG--
extra : rebase_source : 0495166129f6a8f5478063dbeacc1936ce44bd61
2017-01-06 10:14:55 +00:00
..
test Bug 1302989 - Make storage inspector work with file:// when # is in the URL r=nchevobbe 2017-01-06 10:14:55 +00:00
moz.build Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans 2017-01-13 08:40:35 -05:00
panel.js Bug 1268460 - Part 1: Errors when deleting an IndexedDB database are not handled r=mratcliffe 2016-05-17 11:57:21 -07:00
storage.xul Bug 1304297 - Support for deleting Cache and Response objects in Storage Inspector r=miker 2016-09-22 12:29:48 +02:00
ui.js Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00