kevin760515 / android-x86

Automatically exported from code.google.com/p/android-x86
0 stars 0 forks source link

html5 javascript openDatabase fails #304

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Use the following sample code:

---index.html
<!DOCTYPE html>
<html>
    <head>
        <script type="application/javascript" src="dbTest.js"></script>
    </head>
    <body>
    </body>
</html>

---dbTest.js : 

(function () {

    var db = window.openDatabase ("testDb", "1.0", "testDb", 200000);

    alert (db);

} ());

What is the expected output? What do you see instead?

Expected: [Object Database]
Actual: null

What version of the product are you using? On what operating system?

OS:
Mac OS X 10.6.7

Model number:
generic_x86

Android version:
2.2.1

Kernel version:
2.6.35.7-android-x86+cwhuang@f42jv

Build number:
generic_x86-eng 2.2.1 MASTER eng.cwhuang.20110113.145146 test-keys

Please provide any additional information below.

I have verified the desired behavior in:
    Safari 5.0.4 (6533.20.27)
    Google Chrome 11.0.696.57
    Android Emulator 2.2 API Level 8

Original issue reported on code.google.com by mgranu...@gmail.com on 30 Apr 2011 at 6:46

Attachments:

GoogleCodeExporter commented 9 years ago
This is running under VirtualBox 4.0.6 r71344

Original comment by mgranu...@gmail.com on 30 Apr 2011 at 6:58