Граф коммитов

234 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 21a03ad73c Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM

--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Rajesh Kathiriya 881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Nathan Froyd b28fcc5c4b Bug 1372670 - part 5 - add nsIThreadManager::spinEventLoopUntilEmpty; r=erahm,florian
A number of places in JS need to drain the current thread's event queue,
which cannot be done with nsIThreadManager::spinEventLoopUntil, since we
need to not wait for an incoming event when attempting to process one.
2017-06-21 12:59:28 -04:00
Nathan Froyd 452dc60022 Bug 1372670 - part 4 - use nsIThreadManager::dispatchToMainThread more from JS; r=florian
We did an automated conversion for many of these in another bug, but
these instances were either missed or have been added since then.
2017-06-21 12:59:28 -04:00
Nathan Froyd 27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Rajesh Kathiriya 6d3eb2c851 Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78

--HG--
extra : rebase_source : bdd4c4f8a4779ea373479a9cba772c036e00e816
2017-06-13 00:23:54 +05:30
Dan Banner ea09f270ab Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ

--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Mark Banner e123b6dfb8 Bug 1363795 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test (no-undef). r=bevis
MozReview-Commit-ID: G6uRTV9i0uX

--HG--
extra : rebase_source : d882067602831bc2a257283aa2e70529568ddf0f
2017-05-10 17:05:18 +01:00
Mark Banner b5cf40721c Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit - manual fixes. r=bevis
MozReview-Commit-ID: 6ThfXUwvojk

--HG--
extra : rebase_source : f76edd5048227d3df7bee48d86aebb2d23828d1f
2017-05-03 17:54:12 +01:00
Mark Banner 9dce8bd209 Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit - automatic fixes. r=bevis
MozReview-Commit-ID: 8GVCzudNPiq

--HG--
extra : rebase_source : d924c54b9d5bfe0b22199190c6b9a28feec15622
2017-05-03 17:30:48 +01:00
Mark Banner 2451fe6f08 Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit. r=bevis
MozReview-Commit-ID: CM8apJcdRVs

--HG--
extra : rebase_source : 06d8d2b291dbd608ba68e5f7f9c622592cfd3cb6
2017-04-25 21:53:00 +01:00
Frederik Braun cd1cbcef0f Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
MozReview-Commit-ID: 4nYlX4sSdbF

--HG--
extra : rebase_source : cf610e7d8bf2b8dbd5a0d40c5b835bc6620c3bba
2017-05-08 14:50:50 +02:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Jan Varga 4221505b78 Bug 1348660 - Part 2: Rename usage related methods and structures to express the relation to a concrete origin; r=btseng 2017-03-22 12:13:48 +01:00
Jan Varga 2232d1fd5c Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng 2017-03-22 12:13:38 +01:00
Jan Varga 7903eab8b6 Bug 1339081 - Part 19: Strip obsolete origin attributes in IndexedDB databases (needed for bug 1314361), original patch by Kris Maglione; r=asuth 2017-03-06 18:40:25 +01:00
Jan Varga 6e8bf16da5 Bug 1339081 - Part 18: Simplify File.createFromNsIFile() usage; r=asuth 2017-03-06 18:40:22 +01:00
Jan Varga 8aa8c239ef Bug 1339081 - Part 16: Remove apps data as part of new upgrade helper (needed for bug 1311057), add a bunch of new tests to verify upgrade methods; r=asuth 2017-03-06 18:40:13 +01:00
Luke Wagner 6f8ce1e317 Bug 1342060 - wasm: enable by default (r=bbouvier,sr=jorendorff)
MozReview-Commit-ID: LozhxKgleFc

--HG--
extra : rebase_source : 1821c3965c46044e99a132398ea862f49eb6aca0
2017-02-23 13:02:40 -06:00
Tooru Fujisawa 746c9596d6 Bug 1226398 - Part 2: Check dom/indexedDB/ in eslint. r=jaws 2017-02-11 11:47:57 +09:00
Tooru Fujisawa 5bc59c92e3 Bug 1226398 - Part 1: Remove remaining legacy generator from dom/indexedDB/test/. r=jaws 2017-02-11 11:47:56 +09:00
Jan Varga f85e997184 Bug 1313176 - Fail index/cursor operations gracefully if they need preprocessing. This fixes the crash when devtools try to inspect idb databases with WebAssembly modules). It's a temporary fix until we implement preprocessing for indexes and cursors. A bunch of new tests is added to test indexes and cursors with wasm; r=asuth 2017-02-08 11:12:00 +01:00
Andrea Marchesini 8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Greg Mierzwinski d034427bd2 Bug 1301197 - Add xpcshell code coverage to linux64-jsdcov and the 'coverage' mozinfo flag. r=jmaher
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.

MozReview-Commit-ID: 97VFkJmlwQn

--HG--
extra : rebase_source : 26c841f5a68f927889c0903e701bfde4b7ca84ac
2016-11-08 15:57:21 -05:00
Florian Quèze 2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Florian Quèze fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Jan Varga 965cffb389 Bug 1286914 - Part 1: Prevent creation of origin directories which are not supported by our origin parser; r=asuth 2017-01-03 13:46:34 +01:00
Luke Wagner d69a4426a7 Bug 1326280 - Baldr: use .wasm as bytecode file format (r=bbouvier)
MozReview-Commit-ID: 5nmuLDswfWU

--HG--
extra : rebase_source : eb0839326f65c58bd51521bc6bcdca9a4cec846a
2016-12-30 10:49:54 -06:00
Jan Varga d80cf26c97 Bug 1312808 - rewrite stored WebAssembly.Module when build-id changes; r=asuth,luke 2016-12-08 15:37:13 -10:00
Tooru Fujisawa 515ef9ba45 Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
Andrea Marchesini 2aba798852 Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
Bevis Tseng fa5f21c539 Bug 1274075 - Throw UnknowError if the size of the serialized message is too large. r=janv
--HG--
extra : rebase_source : 1b34071dae6ccca7c8aa7cc8e8068c90218aceae
2016-10-17 11:45:03 +08:00
Shawn Huang d93d31503b Bug 1304966 - Enable Storage API only for nightly bulid, r=baku 2016-10-26 21:38:08 +08:00
Jan Varga 17a0c4983e Bug 1311466 - Part 10: Implement functionality for preprocessing multiple results, fixed objectStore.getAll() to use it including a new test; r=asuth 2016-10-26 06:51:33 +02:00
Jan Varga 9d0d2c5654 Bug 1311466 - Part 8: Implement basic functionality for preprocessing results before they are sent for synchronous deserialization; r=asuth 2016-10-25 21:19:06 +02:00
Jan Varga 8fef5e4a97 Bug 1311466 - Part 6: Core changes for WebAssembly module deserialization (works only in xpcshell); r=asuth 2016-10-25 21:18:58 +02:00
Jan Varga 00707ba46a Bug 1311466 - Part 3: Core changes for WebAssembly module serialization including a test; r=asuth 2016-10-25 21:18:48 +02:00
Jan Varga d1f5aaafa4 Bug 964561 - Part 9: Add a new test for externally stored structured clone data; r=asuth 2016-10-25 21:18:33 +02:00
Jan Varga e15de1fcc5 Bug 768074 - Update Snappy library to revision >= r59 to get ARM optimizations; r=bkelly 2016-10-24 21:19:24 +02:00
Jan Varga 3e0e4383f2 Bug 1272855 - dom/indexedDB/test/unit/test_quotaExceeded_recovery.js incurs ~3.5 GB of I/O; r=baku 2016-10-24 11:18:25 +02:00
Bevis Tseng 626dd129aa Bug 1302261 - Refresh Spec For Deleted Indexes. r=janv 2016-09-12 15:38:43 -07:00
Shawn Huang ba9fa0d68a Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku 2016-06-14 13:57:36 +01:00
Andrew McCreight 623b56a3f1 Bug 1287143 - Remove the window argument to SpecialPowers.exactGC(). r=jmaher
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Bevis Tseng 44deb08f5c Bug 1151017 - Support the 'close' Event on Databases. r=khuey
Outline of this patch:

1. Define a new ipdl message called |CloseAfterInvalidationComplete| to trigger the close event after all transactions are complete only if the database is invalidated by the user agent.
2. Make sure the following event sequence is consistent during invalidation according to the steps in |5.2. Closing a database| by the following 2 solutions:
     IDBRequest.onerror -> IDBTransaction.onerror -> IDBTransaction.onabort -> IDBDatabase.onclose.
   2.1. In parent process, do not force to abort the transactions after invalidation but wait for all the transactions in its child process are complete.
   2.2. In child process, make sure that each IDBTransaction will notify its completion to the parent after all its pending IDBRequests are finished.
3. Add test_database_onclose.js to test the close event especially when read/write operation is ongoing.
4. Add test_database_close_without_onclose.js as a XPCShell test because setTimeout() is not preferred in Mochitest to ensure that the IDBDatabase.onclose event won't be sent after closed normally.
2016-05-31 18:08:20 +08:00
Alexandre Lissy ee77e301dd Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35

--HG--
extra : rebase_source : 424b63df547308033fc960632c5ef5939e3d8d85
2016-03-16 17:11:12 +01:00
Bevis Tseng 66870c070f Bug 1273833 - Always return AbortError of the Open DB Request if the Upgrade Transaction is aborted. r=khuey 2016-05-19 15:05:31 +08:00
Jan Varga a25258797e Bug 1195930 - Part 11: Unified SQLite database schema and storage version, major and minor version support; r=asuth 2016-06-05 21:43:09 +02:00
Jan Varga 111f87a355 Bug 1195930 - Part 9: Remove old directories (fixes bug 1273717); r=asuth 2016-06-05 21:42:55 +02:00
Jan Varga 1fb4d91a67 Bug 1195930 - Part 7: New test for metadata v2 restoring (also tests userContextId origin attribute); r=asuth 2016-06-05 21:42:40 +02:00