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

489 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04: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
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book 8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02: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
Fabrice Desré f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Fabrice Desré 7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -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
James Andreou a0f644604c Bug 1277589 - Replaced setting dochsell to private with opening a new pb window. r=ehsan
MozReview-Commit-ID: 16y65vfxigM
2016-06-07 18:56:31 -07: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
Jan Varga 381cd4b9e9 Bug 1195930 - Part 6: A new schema upgrade for IndexedDB databases; r=asuth 2016-06-05 21:42:33 +02:00
Jan Varga 5a2fea4594 Bug 1195930 - Part 5: Core changes, support for storage directory versioning, new metadata v2 files, origin suffix added to API methods, origin attributes used across the implementation, more upgrade tests; r=asuth 2016-06-05 21:42:25 +02:00
Jan Varga 3249fba977 Bug 1195930 - Part 2: Refactor StorageDirectoryHelper to a base class and two separate final classes, improve correctness of default storage upgrade and add support for resource urls; r=asuth 2016-06-05 21:42:01 +02:00
Jan Varga 64b62c9b07 Bug 1195930 - Part 1: Re-enable tests for clearing origin data; r=asuth 2016-06-05 21:41:48 +02:00
Bevis Tseng 72c8e58003 Bug 823371 - Fire "blocked" event if deleteDatabase is blocked by other open connection. r=khuey 2016-05-11 16:36:52 +08:00
Ben Turner 859a0eeab3 Bug 1133540 - Add Test Coverage for the Assertion. r=khuey 2015-02-16 09:41:00 +08:00
Bevis Tseng e0e7ead1f0 Bug 1118028 - Allow objectStores and indexes to be renamed. r=khuey
--HG--
extra : rebase_source : 4f2d1da2ddafbe786c3908eb46723b4d2f0c48cc
2016-03-30 11:04:56 +08:00
Bevis Tseng b4c3b32f64 Bug 1268378 - Fire TypeError from IDBDatabase.transaction() if Mode is Invalid. r=khuey
--HG--
extra : rebase_source : 6f9a9d4d6a5a42211830e7b09970b5bf2039bf41
2016-04-28 17:38:21 +08:00
Jan Varga 4834a1cc3e Bug 1182987 - Part 5: Change mode of "readwrite" transaction to "cleanup" after QuotaExceeded is fired; r=baku
--HG--
rename : dom/indexedDB/test/unit/test_quotaExceeded_recovery.js => dom/indexedDB/test/unit/test_cleanup_transaction.js
2016-04-21 06:53:30 +02:00
Blake Kaplan 9b55bc31f9 Bug 1252738 - Stop using CPOWs in this test. r=felipc 2016-04-05 18:58:00 +02:00
Jan Varga 6845def215 Bug 1182987 - Part 4: Add a test for QuotaExceededError recovery and the new "cleanup" transaction type; r=baku 2016-03-15 07:00:44 +01:00
Marco Castelluccio 2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Andrew Halberstadt 280b1b39cd Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : 3eb93bfa515b7b94b42c1122c1e22903638af562
extra : amend_source : 6717aff0d64992639d0ad9a5cb3c185edfbfb3f2
extra : intermediate-source : 502cf531ec266e44fdfbb1974277bf75282cf066
extra : source : 7566245cc5ea9e15415e71a2599ec72c953189df
2016-02-26 10:45:14 -05:00
Phil Ringnalda 4b0cdb5de3 Back out 3 changesets (bug 1250616, bug 1251372) for failing browser_checkAddonCompatibility.js after the version bump
CLOSED TREE

Backed out changeset 4fa5b5a25f04 (bug 1251372)
Backed out changeset 502cf531ec26 (bug 1250616)
Backed out changeset 2f25d03334b2 (bug 1250616)
2016-03-08 19:04:46 -08:00
Andrew Halberstadt 41118c27b8 Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : b3ec2d27aa2be197e1240edc22f349a3fff0530c
extra : amend_source : bb01dd6a8d27197ed1e70a694d2142417dd18c23
extra : intermediate-source : 10d85d4a79c2684f12deb4dd33468d97d03fb0dc
extra : source : 7566245cc5ea9e15415e71a2599ec72c953189df
2016-02-26 10:45:14 -05:00
Sebastian Hengst 9b21582e0d Backed out changeset 10d85d4a79c2 (bug 1250616) for breaking extension worker-test@mozilla.org in test setup. r=backout 2016-03-08 16:11:51 +01:00
Andrew Halberstadt 03780d09dd Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : 0be434fc1c98f738efd397c48535c33191177f9d
extra : amend_source : bb01dd6a8d27197ed1e70a694d2142417dd18c23
extra : source : 7566245cc5ea9e15415e71a2599ec72c953189df
2016-02-26 10:45:14 -05:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Carsten "Tomcat" Book 30e5302af8 Merge mozilla-central to mozilla-inbound 2016-03-01 15:25:31 +01:00
Jan Varga 446a305dec Bug 1248550 - Part 7: Improve the test for idle maintenance to trigger interference between database maintenance and normal database operations; r=khuey 2016-03-01 10:45:17 +01:00
Wes Kocher 260756840b Backed out changeset 7566245cc5ea (bug 1250616) for test_globalObjects_other.xul failures
MozReview-Commit-ID: DFurflAIJ5U
2016-02-29 12:37:41 -08:00
Andrew Halberstadt 7c7ceb967f Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : c11c53c129cb16c5ccb6dd03364768cb18779f6b
extra : amend_source : ebf04756b516843738be361696383c35b187a12e
2016-02-26 10:45:14 -05:00
Florian Quèze 7d8de4e227 Bug 1220748 - Enable browser_permissionsPromptDeny.js in e10s, r=felipe. 2016-02-29 11:44:49 +01:00
Andrew McCreight 0529e722df Bug 1243577, part 3 - Make test_blob_file_backed.js use SpecialPowers.createFiles(). r=khuey
This method is e10s-compatible. It is async, so it requires
rejiggering the test a little. This also requires fixing up a shim
version for xpcshell tests. Finally, this test is the only user of
SpecialPowers.createDOMFiles, so I removed it.
2016-02-18 09:09:28 -08:00
Andrew McCreight d9e6cb799e Bug 1243577, part 2 - Change file permissions to match SpecialPowers.createFiles. r=khuey
I don't think that this matters, but I split it into a separate change
set to avoid hiding it.
2016-02-18 09:09:28 -08:00
Andrew McCreight 6bb770cba7 Bug 1243577, part 1 - Delete trailing whitespace in xpcshell-head-parent-process.js. r=khuey 2016-02-18 09:09:28 -08:00
ISHIKAWA, Chiaki be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Kyle Huey 590c6ec6dd Bug 1150737: Make executeSoon work properly on workers, enable tests. r=bent 2016-02-10 22:35:50 -08:00
Jan Varga 9b4516ad03 Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey 2016-02-10 16:11:25 +01:00
Myk Melez a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Andrew McCreight 1f5db5ab06 Bug 1243113 - Enable test_blob_worker_xhr_* tests on e10s Windows. r=khuey
--HG--
extra : rebase_source : db27c66182ee0540bc9d2a5356c68cb0be2bcb2a
2016-01-28 12:33:00 -05:00
Ehsan Akhgari 7a3453ad7a Bug 1237363 - Part 1: Unregister all service workers registered in mochitests at the end of the test; r=jdm 2016-01-12 09:51:19 -05:00
Andrea Marchesini 32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00