gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.52k stars 375 forks source link

LocalStorage not work in windows phone 8.1 #8695

Open dankurka opened 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 8729

Found in GWT Release (e.g. 2.4.0, 2.5.1, trunk):
2.6.1

Encountered on OS / Browser (e.g. WinXP, IE9, FF10):
win7-32bit

Detailed description (please be as specific as possible):

Code:
Storage storage = Storage.getLocalStorageIfSupported();
storage.setItem("1", "2");

Second line will raise exception "com.google.gwt.core.client.JavaScriptException: (TypeError)
: Function expected" at Unknown.GZ(StorageImplNonNativeEvents.java:64)

Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):

Workaround if you have one:

Links to relevant GWT Developer Forum posts:
I don't know if it relates to issue #8702.

Link to patch posted at http://gwt-review.googlesource.com

Reported by tvhnet on 2014-05-22 10:12:35

dankurka commented 9 years ago
Update for Encountered on OS / Browser (e.g. WinXP, IE9, FF10):
Windows phone 8.1 / IE11

Reported by tvhnet on 2014-05-22 10:14:29