Hi, Sam
We have tested web storage and most got passed. The related test case:
https://github.com/crosswalk-project/crosswalk-test-suite/tree/master/webapi/tct-webstorage-w3c-tests
https://github.com/crosswalk-project/demo-express/tree/master/samples/WebStorage

And  web storage is default on. If you want to turn off it, you can add flag 
--disable-local-storage.

For you case,  could you please help to provide the related test code for this?
Also, you can file a bug about this at https://crosswalk-project.org/jira/.

Regards,
Xing

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Sam 
Nazi
Sent: Saturday, May 23, 2015 5:31 AM
To: [email protected]
Subject: Re: [Crosswalk-help] Debug version of xwalk blows my app with Fetal db 
error

Quick follow up question as I forgot to mention that seems the XWalkPreferences 
offers the following key that is related to local storage.
Can you escalate more details on the steps I need to take if I want to leave 
the DOM storage on? Is app responsible to create the sub-directory or xwalk 
will do if relevant preference is set properly. What about the file (in my 
case, http_www.ntent.com_0.local storage, per log line below)

05-22 11:27:43.043  27226-27409/com.ntent.browser I/chromium﹕ 
[INFO:connection.cc(883)] Before 
sqlite2_open:/data/data/com.ntent.browser/app_xwalkcore/Default/Local 
Storage/http_www.ntent.com_0.localstorage
Thanks,
On Fri, May 22, 2015 at 2:17 PM, Sam Nazi 
<[email protected]<mailto:[email protected]>> wrote:
Hi XWalk Team,
My app blows when build with debug version of xwalk (my own build from xwalk 
master branch). It was caused by DOM storage, the file/path of "Local Storage" 
doesn't exist at all Please refer to the following log message.
Look into native code (sql/connection.cc) , it ignores on release version by 
raise fatal error on debug version. I got work around by disable DOM storage 
from XWalkViewInternal after creating XWalkContent object.

My question is what is required in order to use DOM storage which is most 
probably true for our app in the future. Second question is if there is anyway 
I can disable DOM storage from client point of view.  I don't think there is 
publc API on XWalkView.
Many thanks!


05-22 11:27:43.043  27226-27409/com.ntent.browser I/chromium﹕ 
[INFO:connection.cc(883)] Before 
sqlite2_open:/data/data/com.ntent.browser/app_xwalkcore/Default/Local 
Storage/http_www.ntent.com_0.localstorage
05-22 11:27:43.044  27226-27409/com.ntent.browser E/chromium﹕ 
[ERROR:connection.cc(1062)] DOMStorageDatabase sqlite error 14, errno -2: 
unable to open database file, sql: -- sqlite3_open()
05-22 11:27:43.114  27226-27409/com.ntent.browser A/chromium﹕ 
[FATAL:connection.cc(1077)] unable to open database file
    #00 0xa0643b87 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x0029cb87
    #01 0xa1e993bd 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x01af23bd
    #02 0xa1e9a8ad 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x01af38ad
    #03 0xa1e9acc9 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x01af3cc9
    #04 0xa0a41913 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x0069a913
    #05 0xa0a41a39 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x0069aa39
    #06 0xa0a3cbdf 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x00695bdf
    #07 0xa066e4b3 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x002c74b3
    #08 0xa066e5ff 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x002c75ff
    #09 0xa066eaa1 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x002c7aa1
    #10 0xa066bf0f 
/data/app/com.ntent.browser-2/lib/arm/libxwalkcore.so+0x002c4f0f
    #11 0xb6eb02e3 /system/lib/libc.so+0x000162e3
    #12 0xb6eae2d3 /system/lib/libc.so+0x000142d3
05-22 11:27:43.114  27226-27409/com.ntent.browser A/libc﹕ Fatal signal 6 
(SIGABRT), code -6 in tid 27409 (BrowserBlocking)

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to