Gracefully handle missing localStorage support in results.html
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 May 2017 02:56:11 +0000 (02:56 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 May 2017 02:56:11 +0000 (02:56 +0000)
commit04d2567131b4fae678d42b46e864a4064ddb0839
tree0084215f78d44841e105de8a456cef7950de07d5
parentd12767a0761659ee05bb45ff0c88651158642ff1
Gracefully handle missing localStorage support in results.html
https://bugs.webkit.org/show_bug.cgi?id=172625
<rdar://problem/32118243>

Reviewed by Alexey Proskuryakov.

Handle the case where localStorage generates a SecurityError DOMException, treating this
as a non-fatal error.

* fast/harness/results.html:
(OptionWriter.save): Treat "SecurityError" as an expected condition.
(OptionWriter.apply): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/harness/results.html