otalk / webrtc-tester

WebRTC Deployment Testing Toolkit
MIT License
34 stars 8 forks source link

Firefox localstorage #1

Closed fippo closed 9 years ago

fippo commented 9 years ago

I've done a little bit of research on firefox localStorage. It's contained in webappsstore.sqlite in the profile root and is a sqlite3 database.

CREATE TABLE webappsstore2 (scope TEXT, key TEXT, value TEXT, secure INTEGER, owner TEXT);
CREATE UNIQUE INDEX scope_key_index ON webappsstore2(scope, key);

The row looks as follows after setting skipHaircheck to true in the browser:

oi.yklat.:https:443|skipHaircheck|true||

so scope is the reverse hostname, key is skipHaircheck, value is true. Slightly different from the chrome format, but doable.

fippo commented 9 years ago

done in 61c3bb1