History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-19528
Type: New Feature New Feature
Status: Open Open
Assignee: Maxim Mossienko
Reporter: chen libing
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Google Gears support?

Created: 10 Sep 08 04:59   Updated: 10 Sep 08 14:14
Component/s: JavaScript

Build: 8,769
Severity: High


 Description  « Hide
Google Gears is great. Now code completion and validation are not available for Gears. Any plan to support?
Just like following code: db.open, db.execute should be completed. Is it possible to implement SQL injection for Javascript?

<script type="text/javascript" src="gears_init.js"></script>
<script type="text/javascript">
var db = google.gears.factory.create('beta.database');
db.open('database-test');
db.execute('create table if not exists Test' +
' (Phrase text, Timestamp int)');
db.execute('insert into Test values (?, ?)', ['Monkey!', new Date().getTime()]);
var rs = db.execute('select * from Test order by Timestamp desc');

while (rs.isValidRow()) { alert(rs.field(0) + '@' + rs.field(1)); rs.next(); }
rs.close();
</script>

Gears API can be found at http://code.google.com/apis/gears/api_database.html



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.