Chromium Code Reviews| Index: trunk/src/content/test/data/indexeddb/common.js |
| =================================================================== |
| --- trunk/src/content/test/data/indexeddb/common.js (revision 260206) |
| +++ trunk/src/content/test/data/indexeddb/common.js (working copy) |
| @@ -147,9 +147,3 @@ |
| openRequest.onsuccess = optionalOpenCallback; |
| }; |
| } |
| - |
| -if (typeof String.prototype.startsWith !== 'function') { |
| - String.prototype.startsWith = function (str) { |
| - return this.indexOf(str) === 0; |
| - }; |
| -} |