Bug 115414
Summary: | Value of IDBTransaction.mode is not equal IDBTransaction.READ_ONLY when modification operation is not allowed in transaction | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michał Poteralski <m.poteralski> |
Component: | WebCore JavaScript | Assignee: | Michał Poteralski <m.poteralski> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | mpakulavelrutka |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Michał Poteralski
When modification operation is not allowed in the transaction then IDBTransaction.mode should be equal IDBTransaction.READ_ONLY.
Unfortunately is not equal.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michał Poteralski
According to w3c reference Draft 24 May 2012 IDBTransaction.mode should return DOMString: http://www.w3.org/TR/IndexedDB/#widl-IDBTransaction-mode