Public bug reported:

Binary package hint: firefox

Opening the bookmarks in
file:///home/you/.mozilla/firefox/v3r1s3kr3t.default/bookmarkbackups/bookmarks-2008-11-20.json
in the browser shows the beginning a single long line and a horizontal
scroll bar.  It would be nice if this could be displayed in a somewhat
more human-readable format for quick inspection.  I believe the JSON
format should have some tolerance for adding newlines and indentation in
order to make it palatable for humans.

Steps to repro:

1. In the location bar, type in file:///home and navigate to your own home 
directory, its .mozilla subdirectory, the firefox subdirectory within that, the 
subdirectory for your profile (usually with .default at the end of the name) 
and finally the bookmarkbackups subdirectory within that.
2. Click on one of the files.
3. Try to read it.

Expected outcome:

Easily see the structure of the file, find the JavaScript code for a
particular complex bookmarklet, search for a particular keyword to see
whether it's already in use, etc.

I don't expect a full-fledged browser for this format (that would be
nice too, of course, but it's clearly something one could write an
extension for, rather than bloat the default Firefox code base with), I
just want the on-disk JSON to have some newlines and indentation to make
it somewhat human-readable.

Actual outcome:

A long line, from which the following is visible:

{"title":"","id":1,"dateAdded":1226491072760742,"lastModified":1226645650728289,"type":"text/x
-moz-place-container",

Horizontal scroll bar, very coarse, easily scrolls more than a screenful
per pixel once the line grows long enough.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Make JSON bookmarks nominally human-readable
https://bugs.launchpad.net/bugs/301578
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to