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

81 Коммитов

Автор SHA1 Сообщение Дата
Serge Guelton 804d415fde Bug 1769311 - Cleanup dom/indexedDB headers r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D146339
2022-05-30 10:02:39 +00:00
Kagami Sascha Rosylight d8e2b075a8 Bug 1768189 - Part 15: Apply modernize-concat-nested-namespaces to dom/html/nsHTMLDocument.h ... r=andi
Depends on D145748

Differential Revision: https://phabricator.services.mozilla.com/D145749
2022-05-09 20:41:09 +00:00
Simon Giesecke feb7572bff Bug 1678374 - Avoid including jsapi.h from header files. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D97620

Depends on D97618
2020-11-23 16:12:34 +00:00
Simon Giesecke dd80614fa0 Bug 1678062 - Remove unnecessary includes. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D97467

Depends on D96561
2020-11-23 16:12:02 +00:00
Simon Giesecke 64635ee87f Bug 1665347 - Do not indicate SpecialValues::Invalid could be returned on functions that never return it. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90962
2020-10-06 08:39:04 +00:00
Simon Giesecke 9ad924671b Bug 1665347 - Make IDBResult based on mozilla::Result. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90562
2020-10-06 08:37:59 +00:00
Sebastian Hengst ae5e3a0d7c Backed out 5 changesets (bug 1666219, bug 1665347) for crashing hazard task. CLOSED TREE.
Backed out changeset c261ec06a826 (bug 1665347)
Backed out changeset 212c9df41410 (bug 1665347)
Backed out changeset 435f02d9f1d7 (bug 1665347)
Backed out changeset 7b36a79247b7 (bug 1666219)
Backed out changeset af8025162523 (bug 1665347)
2020-10-01 23:17:19 +02:00
Simon Giesecke 8841a4bec8 Bug 1665347 - Do not indicate SpecialValues::Invalid could be returned on functions that never return it. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90962
2020-10-01 15:30:36 +00:00
Simon Giesecke bac8dea615 Bug 1665347 - Make IDBResult based on mozilla::Result. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90562
2020-10-01 15:30:36 +00:00
Bogdan Tara 104db9798f Backed out 5 changesets (bug 1666219, bug 1665347) for indexedDB related bustage CLOSED TREE
Backed out changeset 5cd7e2d67f91 (bug 1665347)
Backed out changeset 9159fdd05097 (bug 1665347)
Backed out changeset 64a086636738 (bug 1665347)
Backed out changeset 5ef18af381ec (bug 1666219)
Backed out changeset 3b81349a5f39 (bug 1665347)
2020-10-01 17:41:23 +03:00
Simon Giesecke 697e5f8715 Bug 1665347 - Do not indicate SpecialValues::Invalid could be returned on functions that never return it. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90962
2020-10-01 12:04:27 +00:00
Simon Giesecke 7f8f90331d Bug 1665347 - Make IDBResult based on mozilla::Result. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90562
2020-10-01 12:00:51 +00:00
Simon Giesecke 56ce33133e Bug 1644379 - Change DecodeString to return string by value. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78881
2020-06-30 10:03:11 +00:00
Simon Giesecke 0f183e6ce2 Bug 1644379 - Move ConvertArrayValueToKey to cpp file. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78880
2020-06-30 10:02:53 +00:00
Simon Giesecke 0a6c4207a2 Bug 1644379 - Change ToLocaleAwareKey to return new Key by value. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78879
2020-06-30 14:18:15 +00:00
Simon Giesecke 5bcd55f002 Bug 1644379 - Change ToString from an output parameter to returning a value. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78875
2020-06-30 11:17:38 +00:00
Simon Giesecke baeca05425 Bug 1644379 - Change IDBResult(Base) to contain the ErrorResult. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78707
2020-06-30 11:17:40 +00:00
Narcis Beleuzu 03245fe61b Backed out 6 changesets (bug 1644379) for bustages on IDBResult.h . CLOSED TREE
Backed out changeset df76fe2ab8bf (bug 1644379)
Backed out changeset a22f8c2a1fe7 (bug 1644379)
Backed out changeset 1244dc147bb7 (bug 1644379)
Backed out changeset 88afa250d734 (bug 1644379)
Backed out changeset e90b2d69b818 (bug 1644379)
Backed out changeset c9690f97b893 (bug 1644379)
2020-06-30 13:54:22 +03:00
Simon Giesecke a06ca838f0 Bug 1644379 - Change ToString from an output parameter to returning a value. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78875
2020-06-30 10:01:43 +00:00
Simon Giesecke 5e5ea484e9 Bug 1644379 - Change IDBResult(Base) to contain the ErrorResult. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78707
2020-06-30 10:01:03 +00:00
Simon Giesecke a54fa8e5b4 Bug 1623278 - Use mozilla::Span instead of pointer/length pair in Key. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D72632
2020-06-16 14:25:04 +00:00
Simon Giesecke 1566419852 Bug 1600906 - Avoid copying key buffers. r=dom-workers-and-storage-reviewers,ytausky
Depends on D57991

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

--HG--
extra : moz-landing-system : lando
2020-01-06 14:16:33 +00:00
Jeff Walden 62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
Simon Giesecke e6e5f01c36 Bug 1168606 - Apply renamings suggested for Cursor::*Key members and related identifiers. r=ytausky,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43249

--HG--
extra : moz-landing-system : lando
2019-09-18 06:41:35 +00:00
Simon Giesecke 27297c9cf8 Bug 1168606 - Inline Key::Assert function to make effective use of MOZ_ASSERT diagnostics. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43039

--HG--
extra : moz-landing-system : lando
2019-09-18 06:41:23 +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
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
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
Yaron Tausky 94fda141b7 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-26 14:14:22 +00:00
Yaron Tausky 6e39f30075 Bug 1544750 - Part 1: Refactor some IndexedDB code to use ErrorResult r=asuth
This is mostly laying the groundwork for further refactoring.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 16:53:59 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jonathan Kew 853c408d06 Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
Bevis Tseng 6239813ff4 Bug 1371484 - Fix Key::EncodeAsString(). r=baku
MozReview-Commit-ID: F29YzvgresY

--HG--
extra : rebase_source : 6b130e21c93a0cbd312241af7e6078283db97c9a
2017-06-19 19:03:06 +08:00
Wes Kocher 2a9a3ff1dd Backed out changeset 810a05989801 (bug 1371484) for build failures in Key.cpp a=backout
MozReview-Commit-ID: 4Jwrp5PK6MA
2017-07-25 18:34:40 -07:00
Bevis Tseng a5edb2f394 Bug 1371484 - Fix Key::EncodeAsString(). r=baku
MozReview-Commit-ID: F29YzvgresY
2017-06-19 19:03:06 +08:00
Bevis Tseng b17713a4cb Bug 1271500 - Binary Key Support. r=janv
--HG--
extra : rebase_source : 3762fa91b4c068d7d0158a55911bc3f13b47a93f
2016-08-12 15:03:59 +08:00
Kyle Huey ef22731cc4 Bug 1251498: Implement IDBKeyRange.includes(). r=baku 2016-02-26 13:58:47 -08:00
Reuben Morais dd7ac5dc3c Bug 871846 - ICU usage and infrastructure bits. r=janv 2014-08-04 13:59:57 -07:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Ben Turner 630eacc28d Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv. 2015-02-16 09:48:14 -08:00
Wes Kocher 23dabfd770 Backed out changeset 14b9b4827805 (bug 1131776) 2015-03-30 19:45:55 -07:00