There are many DOM Storage corner cases the layout tests don't currently cover.
Created attachment 33517 [details] v1 Add some checks to existing layout tests.
Comment on attachment 33517 [details] v1 Note that almost all of these will have to be done for sessionStorage as well. It's my intention to do them once this is reviewed. If it's cleaner, I can do those changes and add it to this patch. Otherwise I can do them in another patch and just add it to this bug.
Comment on attachment 33517 [details] v1 Yay tests. One comment: + log("window.sessionStorage == window.sessionStorage: " + (window.sessionStorage == window.sessionStorage)); You should test === too (in both places).
r46498