New issue
Advanced search Search tips

Issue 711075 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 268991
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Unicode character "\u0000" disappears when set in chrome.local.storage

Reported by drol...@yahoo.com, Apr 12 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. in extension background environment, call chrome.storage.local.set({"test":["\u0000","\u0000\u0000"]})
2. var result = null;
2. Now get the data from storage: chrome.storage.local.get("test",obj => result = obj.test)

What is the expected behavior?
Result is the originally set array, ["\u0000","\u0000\u0000"]

What went wrong?
Result is equal to ["",""]. The strings containing unicode character(s) "\u0000" are now both empty strings.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 57.0.2987.133  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 25.0 r0
 

Comment 1 by drol...@yahoo.com, Apr 12 2017

I found duplicate bug report here:
https://bugs.chromium.org/p/chromium/issues/detail?id=268991

Looks like the problem wasn't resolved.
Cc: mmanchala@chromium.org
Components: Platform>Extensions>API
reillyg@ As per comment #1 could you please confirm is this is a similar to  issue 268991  ?
Cc: reillyg@chromium.org
Mergedinto: 268991
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment