| Index: content/test/data/indexeddb/common.js
|
| diff --git a/content/test/data/indexeddb/common.js b/content/test/data/indexeddb/common.js
|
| index 2e12d4447e2aec11c2584d2edeb00d7114199a01..1410a5af055356525b8f7225ab09bc82896342f6 100644
|
| --- a/content/test/data/indexeddb/common.js
|
| +++ b/content/test/data/indexeddb/common.js
|
| @@ -147,3 +147,9 @@ function indexedDBTest(upgradeCallback, optionalOpenCallback) {
|
| openRequest.onsuccess = optionalOpenCallback;
|
| };
|
| }
|
| +
|
| +if (typeof String.prototype.startsWith !== 'function') {
|
| + String.prototype.startsWith = function (str) {
|
| + return this.indexOf(str) === 0;
|
| + };
|
| +}
|
|
|