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

2214 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 0153998ccc Bug 1566758 - Added telemetry for use of IDBFactory.open(name, options) discriminated by principal types r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D40180

--HG--
extra : moz-landing-system : lando
2019-08-19 14:22:09 +00:00
Simon Giesecke 964723766a Bug 1566758 - Removed obsolete IDB_TYPE_PERSISTENT_COUNT and IDB_TYPE_TEMPORARY_COUNT telemetry r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D40178

--HG--
extra : moz-landing-system : lando
2019-08-19 14:21:44 +00:00
Daniel Varga 3abf160240 Bug 1210133 - test_filehandle_getFile.html on all platforms - FileHandle will be removed from IDB. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42431

--HG--
extra : moz-landing-system : lando
2019-08-19 09:01:21 +00:00
Razvan Maries 595de881b0 Backed out 2 changesets (bug 1562264) for causing Android perma fails. CLOSED TREE
Backed out changeset b66eec7d2e55 (bug 1562264)
Backed out changeset 445eadfd8ce3 (bug 1562264)
2019-08-17 02:24:40 +03:00
Kashav Madan f74ee91093 Bug 1562264 - Update skip-if annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41763

--HG--
extra : moz-landing-system : lando
2019-08-16 17:31:52 +00:00
Paul Zuehlcke 89fb47a8d9 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-15 14:32:48 +00:00
Ciure Andrei b454daea7a Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
Backed out changeset 87305e83174e (bug 1531303)
Backed out changeset 0c75c3bac00b (bug 1531303)
Backed out changeset 865c2a5d40da (bug 1531303)
2019-08-14 13:07:55 +03:00
Paul Zuehlcke 93bacc1004 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:23 +00:00
Simon Giesecke 1687faeee5 Bug 1093064 - Increase number of GC iterations r=ttung,janv
Differential Revision: https://phabricator.services.mozilla.com/D40183

--HG--
extra : moz-landing-system : lando
2019-08-08 07:55:18 +00:00
Tom Schuster 0e913c22c4 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-07 19:49:40 +00:00
Cosmin Sabou c3430326e6 Backed out changeset ca88862d6b63 (bug 1558915) for causing build bustages on StartupCacheUtils. CLOSED TREE 2019-08-07 13:20:32 +03:00
Tom Schuster 8bc1f5ada8 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-07 09:36:56 +00:00
Razvan Maries eedbf1137f Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE 2019-08-07 01:04:43 +03:00
Tom Schuster 03c7998ef2 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-06 20:19:41 +00:00
Jan Varga e12ce7d680 Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth
This patch removes support for de-serialization of WebAssembly.Modules. The
preprocessing which was added just for WebAssembly.Modules is not removed since
it can be reused for more efficient de-serialization of big structured clones
which are stored as standalone files. (standalone files can be read and
uncompressed in content process instead of the parent process). So this patch
also adjusts the preprocessing to support that. However the preprocessing is not
fully implemented (we lack support for indexes and cursors) and there's a
theoretical problem with ordering of IDB requests when preprocessing is
involved, so this feature is kept behind a pref for now.

Differential Revision: https://phabricator.services.mozilla.com/D36879

--HG--
rename : dom/indexedDB/test/unit/test_wasm_recompile.js => dom/indexedDB/test/unit/test_wasm_get_values.js
rename : dom/indexedDB/test/unit/wasm_recompile_profile.zip => dom/indexedDB/test/unit/wasm_get_values_profile.zip
2019-07-03 12:23:33 +02:00
Tom Schuster 88855a7ee5 Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40108

--HG--
extra : source : 3da6e9e86be4a4a9eeaceec222398475b6679193
2019-08-02 08:54:18 +00:00
Mihai Alexandru Michis 0cc257addd Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE
Backed out changeset e44c9fd81e5b (bug 1558915)
Backed out changeset 3da6e9e86be4 (bug 1558915)
2019-08-02 12:17:42 +03:00
Tom Schuster f115dd9113 Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40108

--HG--
extra : moz-landing-system : lando
2019-08-02 08:54:18 +00:00
Simon Giesecke 943957f70b Bug 1565515 - Removed duplication between LengthOfEncodedBinary and CalcDecodedStringySize r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38173

--HG--
extra : moz-landing-system : lando
2019-07-30 14:52:18 +00:00
Simon Giesecke a1847f67e9 Bug 1565515 - Define and use type aliases EncodedDataType r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38172

--HG--
extra : moz-landing-system : lando
2019-07-30 14:52:04 +00:00
Simon Giesecke 41cbdf5f33 Bug 1565515 - Reduced code duplication in DecodeString/DecodeBinary r=ttung,asuth
EncodeString and EncodeBinary already use a common backend EncodeAsString,
the same should be done in decoding, as the encoding of a binary is
a special case of the encoding of a string.

Differential Revision: https://phabricator.services.mozilla.com/D38076

--HG--
extra : moz-landing-system : lando
2019-07-30 14:51:40 +00:00
Simon Giesecke 73777f4f14 Bug 1565515 - Move sortKey variable declaration close to usage r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38075

--HG--
extra : moz-landing-system : lando
2019-07-30 14:51:21 +00:00
Simon Giesecke 7db6d8f44b Bug 1565515 - Added test keys with scalar ArrayBuffer and arrays containing ArrayBuffer r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37856

--HG--
extra : moz-landing-system : lando
2019-07-30 14:51:03 +00:00
Simon Giesecke 8a9fca7aca Bug 1565515 - Added note declaring that key list must be kept sorted r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37855

--HG--
extra : moz-landing-system : lando
2019-07-30 14:50:41 +00:00
Simon Giesecke d7d04c81b2 Bug 1565515 - Added diagnostic output r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37854

--HG--
extra : moz-landing-system : lando
2019-07-30 14:50:22 +00:00
Simon Giesecke 0b0984ae64 Bug 1565515 - Added handling of ArrayBuffer/binary keys to compareKeys functions r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37853

--HG--
extra : moz-landing-system : lando
2019-07-30 14:50:04 +00:00
Simon Giesecke 21e67a9adf Bug 1565515 - Added TODO comments on duplicated code r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37852

--HG--
extra : moz-landing-system : lando
2019-07-30 14:49:52 +00:00
Simon Giesecke 85f35fde04 Bug 1565515 - Fixed spelling mistake in comment r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D37851

--HG--
extra : moz-landing-system : lando
2019-07-30 14:49:31 +00:00
Simon Giesecke e4ddc09023 Bug 1565515 - Updated comment r=asuth,ttung
The comment referenced the former 3 prefix used for strings, but this is
no longer correct for strings (which now use a 0x30) prefix, and the
function has been generalized to also work for binaries, and got
a parameter aType specifying the prefix. Updated the comment accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D37850

--HG--
extra : moz-landing-system : lando
2019-07-30 14:49:12 +00:00
Simon Giesecke f1884a1dd7 Bug 1565515 - DecodeBinary violates contract for 0-sized binary r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37849

--HG--
extra : moz-landing-system : lando
2019-07-30 14:48:53 +00:00
Andreea Pavel 3f0fb9fec4 Backed out 12 changesets (bug 1565515) hazard failures on a CLOSED TREE
Backed out changeset 4d8c2c1bce2d (bug 1565515)
Backed out changeset 8619e09b03bb (bug 1565515)
Backed out changeset d70293010941 (bug 1565515)
Backed out changeset 90fb12799ecd (bug 1565515)
Backed out changeset 93be9fcab443 (bug 1565515)
Backed out changeset 91f546c40f98 (bug 1565515)
Backed out changeset 2c0fb0c0e228 (bug 1565515)
Backed out changeset 57ed49a17c9d (bug 1565515)
Backed out changeset 75cb7938f704 (bug 1565515)
Backed out changeset 2359da4989a7 (bug 1565515)
Backed out changeset 8f3493b2cae1 (bug 1565515)
Backed out changeset e0aa82bed5fa (bug 1565515)
2019-07-30 17:16:15 +03:00
Simon Giesecke ca5d9c23b2 Bug 1565515 - Removed duplication between LengthOfEncodedBinary and CalcDecodedStringySize r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38173

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:18 +00:00
Simon Giesecke aad3e51566 Bug 1565515 - Define and use type aliases EncodedDataType r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38172

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:02 +00:00
Simon Giesecke d0d7429bb9 Bug 1565515 - Reduced code duplication in DecodeString/DecodeBinary r=ttung,asuth
EncodeString and EncodeBinary already use a common backend EncodeAsString,
the same should be done in decoding, as the encoding of a binary is
a special case of the encoding of a string.

Differential Revision: https://phabricator.services.mozilla.com/D38076

--HG--
extra : moz-landing-system : lando
2019-07-29 09:26:46 +00:00
Simon Giesecke fd2c92c543 Bug 1565515 - Move sortKey variable declaration close to usage r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38075

--HG--
extra : moz-landing-system : lando
2019-07-29 09:26:27 +00:00
Simon Giesecke 1fef183353 Bug 1565515 - Added test keys with scalar ArrayBuffer and arrays containing ArrayBuffer r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37856

--HG--
extra : moz-landing-system : lando
2019-07-29 09:26:09 +00:00
Simon Giesecke c7e4f34d60 Bug 1565515 - Added note declaring that key list must be kept sorted r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37855

--HG--
extra : moz-landing-system : lando
2019-07-29 09:25:47 +00:00
Simon Giesecke b0bfe9cbe5 Bug 1565515 - Added diagnostic output r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37854

--HG--
extra : moz-landing-system : lando
2019-07-29 09:25:30 +00:00
Simon Giesecke 2857857b7f Bug 1565515 - Added handling of ArrayBuffer/binary keys to compareKeys functions r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37853

--HG--
extra : moz-landing-system : lando
2019-07-29 09:25:12 +00:00
Simon Giesecke 1e875b717d Bug 1565515 - Added TODO comments on duplicated code r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37852

--HG--
extra : moz-landing-system : lando
2019-07-29 09:24:53 +00:00
Simon Giesecke 4873b54cc9 Bug 1565515 - Fixed spelling mistake in comment r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D37851

--HG--
extra : moz-landing-system : lando
2019-07-29 09:24:36 +00:00
Simon Giesecke 02061bf85c Bug 1565515 - Updated comment r=asuth,ttung
The comment referenced the former 3 prefix used for strings, but this is
no longer correct for strings (which now use a 0x30) prefix, and the
function has been generalized to also work for binaries, and got
a parameter aType specifying the prefix. Updated the comment accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D37850

--HG--
extra : moz-landing-system : lando
2019-07-29 09:24:19 +00:00
Simon Giesecke deabff6406 Bug 1565515 - DecodeBinary violates contract for 0-sized binary r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37849

--HG--
extra : moz-landing-system : lando
2019-07-29 09:24:01 +00:00
Tom Tung f3eb98601f Bug 1563299 - Update the mAbortCode if the IDBTransaction has been aborted yet to correct the IDB_LOG; r=asuth
IDBTransaction generates IDB_LOG base on the mAbortCode, but it fires event
according to the argument "aResult" of FireCompleteOrAbortEvents(). It's
possible to have a situation that IDBTransaction hasn't been aborted yet, but
the transaction on the parent process is aborted and propagate the reason to
IDBTransaction. In this case, IDBTransaction would still fire an abort event as
expected. However, the IDB_LOG would show that it fired a complete event.

Therefore, this patch corrects the behavior and adds an assertion to ensure it's
only possible that parent process tells child process to abort at the last
minate rather than the case of parent is canceling the abort.

Differential Revision: https://phabricator.services.mozilla.com/D36900

--HG--
extra : moz-landing-system : lando
2019-07-26 13:29:04 +00:00
Yaron Tausky f33a502eb3 Bug 1544750 - Part 2: Refactor Key::EncodeJSValInternal to show direct correspondence to spec r=asuth,tcampbell
This commit adds the text of the spec as inline comments and refactors
the code such that it directly corresponds to the spec's steps. This
makes it easier to understand how the spec's algorithm is implemented.

Differential Revision: https://phabricator.services.mozilla.com/D28976

--HG--
extra : moz-landing-system : lando
2019-07-29 09:05:44 +00:00
Gurzau Raul e9b0044a0a Backed out 13 changesets (bug 1544750, bug 1565515) for bustages at /indexedDB/Key.cpp on a CLOSED TREE.
Backed out changeset 8bdfc4852ae5 (bug 1565515)
Backed out changeset 6afea4389eb2 (bug 1565515)
Backed out changeset 4f4f25ecac5c (bug 1565515)
Backed out changeset 052b34ddf704 (bug 1565515)
Backed out changeset 6d8e8f078383 (bug 1565515)
Backed out changeset 4815a910245c (bug 1565515)
Backed out changeset 5e2dcfefb4f5 (bug 1565515)
Backed out changeset aac0a4a4fc67 (bug 1565515)
Backed out changeset ba109131fcad (bug 1565515)
Backed out changeset 594f76e67769 (bug 1565515)
Backed out changeset 800e7de53622 (bug 1565515)
Backed out changeset bd2e92310857 (bug 1565515)
Backed out changeset 076029811ae9 (bug 1544750)
2019-07-26 23:00:03 +03:00
Simon Giesecke a241865533 Bug 1565515 - Removed duplication between LengthOfEncodedBinary and CalcDecodedStringySize r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38173

--HG--
extra : moz-landing-system : lando
2019-07-26 16:14:48 +00:00
Simon Giesecke fbd3f02b09 Bug 1565515 - Define and use type aliases EncodedDataType r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38172

--HG--
extra : moz-landing-system : lando
2019-07-26 15:55:41 +00:00
Simon Giesecke 8f1ee10735 Bug 1565515 - Reduced code duplication in DecodeString/DecodeBinary r=ttung,asuth
EncodeString and EncodeBinary already use a common backend EncodeAsString,
the same should be done in decoding, as the encoding of a binary is
a special case of the encoding of a string.

Differential Revision: https://phabricator.services.mozilla.com/D38076

--HG--
extra : moz-landing-system : lando
2019-07-26 16:14:15 +00:00
Simon Giesecke 1c214ce205 Bug 1565515 - Move sortKey variable declaration close to usage r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38075

--HG--
extra : moz-landing-system : lando
2019-07-26 15:54:31 +00:00