Menu

#49 Properties of a localStorage are incorrectly enumerated

Accepted
nobody
None
Medium
Defect
2011-08-08
2011-08-08
Anonymous
No

Originally created by: peter.ry...@gmail.com
Originally owned by: peter.ry...@gmail.com

SDK/Debugger version: 0.2.2
Eclipse version: -
Google Chrome/V8 Embedder + version: Chrome 13.0.782.107
OS + version: Ubuntu 11.04

What steps will reproduce the problem?
1. Connect to Chrome page
2. Stop debugger on a breakpoint
3. Add watch expression "localStorage.setItem('test', 'info')"; must evaluate to 'undefined'.
4. Add watch expression 'localStorage' and expand its properties

What is the expected result?
localStorage has property 'test' with a string value 'info'

What happens instead?
localStorage has property 'test' with an 'undefined' value.

Please provide additional information below. If possible, attach a
(reduced) test-case.
The problem should be in V8 debugger support. WIP (WebKit protocol) returns property correctly.

Related

Tickets: #48

Discussion


Log in to post a comment.