WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
82068
DumpRenderTree should clear window.sessionStorage between tests
https://bugs.webkit.org/show_bug.cgi?id=82068
Summary
DumpRenderTree should clear window.sessionStorage between tests
Dave Michael
Reported
2012-03-23 11:04:47 PDT
For the following bug (
https://bugs.webkit.org/show_bug.cgi?id=32292
), a new test (plugins/netscape-dom-access-and-reload.html) used the same sessionStorage variable name as another test (plugins/reloadplugins-and-pages.html). The second test failed because the variable was already set, causing the test to behave differently than expected. 32292 worked around it by using a distinct variable name, but it should probably be fixed in DumpRenderTree.
Attachments
Add attachment
proposed patch, testcase, etc.
Dave Michael
Comment 1
2012-03-23 11:34:19 PDT
(In reply to
comment #0
)
> For the following bug (
https://bugs.webkit.org/show_bug.cgi?id=32292
)
Sorry, I meant:
https://bugs.webkit.org/show_bug.cgi?id=80428
>, a new test (plugins/netscape-dom-access-and-reload.html) used the same sessionStorage variable name as another test (plugins/reloadplugins-and-pages.html). The second test failed because the variable was already set, causing the test to behave differently than expected. > > 32292 worked around it by using a distinct variable name, but it should probably be fixed in DumpRenderTree.
Make that 80428
Alexey Proskuryakov
Comment 2
2012-03-23 12:20:59 PDT
Seems reasonable. With tests running in random order, one cannot depend on sessionStorage being set by a previous test.
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