WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
214037
sessionStorage has a much higher limit than localStorage and throws the wrong exception
https://bugs.webkit.org/show_bug.cgi?id=214037
Summary
sessionStorage has a much higher limit than localStorage and throws the wrong...
Anne van Kesteren
Reported
2020-07-07 01:21:41 PDT
Compare
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=8251
and
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=8252
. The make the latter end more quickly change **2 to **4. Rather than a "QuotaExceededError" DOMException you'll get a JS RangeError strangely enough.
Attachments
Add attachment
proposed patch, testcase, etc.
Anne van Kesteren
Comment 1
2020-07-07 01:22:05 PDT
Rob, this the kind of bug you were looking for? :-)
Radar WebKit Bug Importer
Comment 2
2020-07-07 18:27:11 PDT
<
rdar://problem/65202902
>
Ahmad Saleem
Comment 3
2022-08-20 05:05:57 PDT
I am able to reproduce this bug in Safari Technology Preview 151: Link -
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=8251
*** Safari Technology Preview 151 *** Continue to grow in log window - log: 5684 log: 5685 log: 5686 log: 5687 log: 5688 log: 5689 log: 5690 log: 5691 log: 5692 log: 5693 log: 5694 log: 5695 log: 5696 log: 5697 *** Firefox Nightly 105 *** log: object "QuotaExceededError: The quota has been exceeded." (34 props: name="QuotaExceededError", message="The quota has been exceeded.", code=22, result=2152923158...) *** Chrome Canary 106 *** log: object "QuotaExceededError: Failed to set a named property on 'Storage': Setting the value of '81' exceeded the quota." (29 props: stack="Error: Failed to set a named property on 'Storage': Setting the value of '81' exceeded the quota.\n at test (<anonymous>:6:24)", code=22, name="QuotaExceededError", message="Failed to set a named property on 'Storage': Setting the value of '81' exceeded the quota."...) _______________ Link -
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=8252
*** Safari Technology Preview 151 *** log: object "QuotaExceededError: The quota has been exceeded." (31 props: line=6, column=19, sourceURL="
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=8252
", code=22...) *** Chrome Canary 106 *** log: object "QuotaExceededError: Failed to set a named property on 'Storage': Setting the value of '81' exceeded the quota." (29 props: stack="Error: Failed to set a named property on 'Storage': Setting the value of '81' exceeded the quota.\n at test (<anonymous>:6:26)", code=22, name="QuotaExceededError", message="Failed to set a named property on 'Storage': Setting the value of '81' exceeded the quota."...) *** Firefox Nightly 105 *** log: object "QuotaExceededError: The quota has been exceeded." (34 props: name="QuotaExceededError", message="The quota has been exceeded.", code=22, result=2152923158...) ______________ Just wanted to update latest test results. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug