Opened 10 years ago
Closed 10 years ago
#28924 closed defect (bug) (fixed)
Local autosave may throw error for suspend() and resume()
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Autosave | Keywords: | |
Focuses: | Cc: |
Description
In (the rare) case when the browser doesn't support sessionStorage, wp.autosave.local returns early and doesn't expose any methods. Plugins that are trying to use any of them would trigger an error unless they check specifically if the method exists.
Ideally it should always expose the methods and they should return early when the browser doesn't support sessionStorage.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 29192: