mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
localStorage shim, fixes #5195
This commit is contained in:
parent
1a9679857a
commit
323baf92db
27 changed files with 112 additions and 172 deletions
|
@ -134,3 +134,10 @@ interface WindowSessionStorage {
|
|||
readonly attribute Storage sessionStorage;
|
||||
};
|
||||
Window implements WindowSessionStorage;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webstorage.html#dom-localstorage
|
||||
[NoInterfaceObject]
|
||||
interface WindowLocalStorage {
|
||||
readonly attribute Storage localStorage;
|
||||
};
|
||||
Window implements WindowLocalStorage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue