Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
servo: Merge #5576 - net/storage_task.rs: Fix remove_item (from jagta…
…lon:jag/slashdot-storage); r=jdm Use `and_then` and remove `unwrap` instead of using a `map` as described in servo/servo#5548 (comment). Fixes #5548 Source-Repo: https://github.com/servo/servo Source-Revision: 9754c4c255988475d12a9c64a335d9bc8828076b UltraBlame original commit: acb172dc8353e4e88c8ae12ac3ff3c2703154275
- Loading branch information
Showing
2 changed files
with
77 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
< | ||
html | ||
> | ||
< | ||
head | ||
> | ||
< | ||
title | ||
> | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
harness | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
/ | ||
head | ||
> | ||
< | ||
body | ||
> | ||
< | ||
script | ||
> | ||
/ | ||
/ | ||
Delete | ||
keys | ||
that | ||
don | ||
' | ||
t | ||
exist | ||
in | ||
either | ||
localStorage | ||
/ | ||
/ | ||
or | ||
sessionStorage | ||
. | ||
delete | ||
localStorage | ||
. | ||
a | ||
; | ||
delete | ||
sessionStorage | ||
. | ||
a | ||
; | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
/ | ||
body | ||
> | ||
< | ||
/ | ||
html | ||
> |