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

599 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 615338bdc3 Bug 1600283 - Replaced use of nsAutoPtr by UniquePtr. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D55514

--HG--
extra : moz-landing-system : lando
2019-12-19 09:56:38 +00:00
Simon Giesecke c1de5bf10d Bug 1600283 - Remove uses of plain pointers. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D55511

--HG--
extra : moz-landing-system : lando
2019-12-19 09:56:05 +00:00
Simon Giesecke 4c8dfa2936 Bug 1600283 - Use std::move instead of forget/swap. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D55510

--HG--
extra : moz-landing-system : lando
2019-12-19 09:55:52 +00:00
Simon Giesecke 6cc0dbac01 Bug 1600283 - Remove uses of plain pointers. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D55509

--HG--
extra : moz-landing-system : lando
2019-12-19 09:55:44 +00:00
Simon Giesecke 1c8c666532 Bug 1600283 - Remove uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55508

--HG--
extra : moz-landing-system : lando
2019-12-19 09:55:31 +00:00
Simon Giesecke 633e8c6f57 Bug 1600283 - Remove uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55507

--HG--
extra : moz-landing-system : lando
2019-12-19 09:25:48 +00:00
Simon Giesecke 4a157a8e0f Bug 1600283 - Remove uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55506

--HG--
extra : moz-landing-system : lando
2019-12-19 09:25:40 +00:00
Simon Giesecke e6a6bdf97a Bug 1600283 - Remove uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55505

--HG--
extra : moz-landing-system : lando
2019-12-19 09:25:28 +00:00
Simon Giesecke c78712e0c4 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D55504

--HG--
extra : moz-landing-system : lando
2019-12-19 09:25:20 +00:00
Simon Giesecke abd5a268de Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D55502

--HG--
extra : moz-landing-system : lando
2019-12-19 09:25:08 +00:00
Simon Giesecke 7ecbd53423 Bug 1600283 - Remove uses of plain pointers and already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55501

--HG--
extra : moz-landing-system : lando
2019-12-19 09:24:58 +00:00
Simon Giesecke 0255c289b4 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D55500

--HG--
extra : moz-landing-system : lando
2019-12-19 09:24:47 +00:00
Simon Giesecke 6e46506514 Bug 1600283 - Removed uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55499

--HG--
extra : moz-landing-system : lando
2019-12-19 09:24:35 +00:00
Simon Giesecke edd58849e9 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55497

--HG--
extra : moz-landing-system : lando
2019-12-19 09:24:15 +00:00
Simon Giesecke 94bf974e83 Bug 1603767 - Ensure that NoteActorDestroyed is not called multiple times. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D57301

--HG--
extra : moz-landing-system : lando
2019-12-19 09:55:05 +00:00
Simon Giesecke 2aec427dfe Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55490

--HG--
extra : moz-landing-system : lando
2019-12-16 13:19:24 +00:00
Simon Giesecke 203775a573 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55489

--HG--
extra : moz-landing-system : lando
2019-12-16 13:19:08 +00:00
Simon Giesecke 5b6cb3f55d Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55488

--HG--
extra : moz-landing-system : lando
2019-12-16 13:19:01 +00:00
Simon Giesecke 475236755e Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55487

--HG--
extra : moz-landing-system : lando
2019-12-16 13:18:46 +00:00
Simon Giesecke 35ffaed515 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55486

--HG--
extra : moz-landing-system : lando
2019-12-16 13:18:39 +00:00
Simon Giesecke 65bda1458a Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55480

--HG--
extra : moz-landing-system : lando
2019-12-16 13:17:46 +00:00
Simon Giesecke 1fb48dd681 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55478

--HG--
extra : moz-landing-system : lando
2019-12-13 12:31:10 +00:00
Simon Giesecke 7e8ae185d6 Bug 1600283 - Reduce uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55477

--HG--
extra : moz-landing-system : lando
2019-12-13 12:18:21 +00:00
Simon Giesecke e0d7403f69 Bug 1577202 - Defer closing of a database while CreateFileOp's are pending. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D44683

--HG--
extra : moz-landing-system : lando
2019-12-13 13:32:02 +00:00
Simon Giesecke cd83137067 Bug 1600906 - Reduce statefulness of TransactionDatabaseOperationBase using InitializedOnce. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56015

--HG--
extra : moz-landing-system : lando
2019-12-13 11:31:56 +00:00
Simon Giesecke c87fdd4c9a Bug 1600906 - Encapsulate DatabaseOperationBase::mResultCode. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56014

--HG--
extra : moz-landing-system : lando
2019-12-13 11:28:24 +00:00
Simon Giesecke ff97600e5a Bug 1600906 - Use move semantics with IdleDatabaseInfo. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56012

--HG--
extra : moz-landing-system : lando
2019-12-13 12:21:18 +00:00
Simon Giesecke 8ad6cab25f Bug 1600906 - Use move semantics with ThreadInfo. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56011

--HG--
extra : moz-landing-system : lando
2019-12-13 12:20:23 +00:00
Simon Giesecke 36ae4a9dbf Bug 1600906 - Reduce statefulness of DatabaseConnection using InitializedOnce. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56008

--HG--
extra : moz-landing-system : lando
2019-12-13 10:55:10 +00:00
Simon Giesecke 10507063a9 Bug 1600906 - Reduce statefulness of TransactionBase using const and InitializedOnce. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56006

--HG--
extra : moz-landing-system : lando
2019-12-13 10:54:22 +00:00
Doug Thayer 86601b48c5 Bug 1602646 - Remove vestigial references to cooperative scheduling r=froydnj
GetCurrentPhysicalThread and GetCurrentVirtualThread are, in practice,
identical, as the TLS override that GetCurrentVirtualThread depends on
is never actually set. This simply removes that and renames some things/
deletes some comments.

Rebased across https://hg.mozilla.org/mozilla-central/rev/3f0b4e206853
by Karl Tomlinson <karlt+@karlt.net>.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 00:56:53 +00:00
Simon Giesecke 54a20a3bfa Bug 1600906 - Added const in IdleConnectionRunnable. r=dom-workers-and-storage-reviewers,ytausky
Depends on D56009

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

--HG--
extra : moz-landing-system : lando
2019-12-11 13:25:21 +00:00
Simon Giesecke a1b92b3c9f Bug 1600906 - Added const in UpdateRefcount. r=dom-workers-and-storage-reviewers,ytausky
Depends on D56008

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

--HG--
extra : moz-landing-system : lando
2019-12-11 14:40:38 +00:00
Simon Giesecke 330107906f Bug 1600906 - Reduce statefulness of TransactionInfo using const and FlippedOnce. r=dom-workers-and-storage-reviewers,ytausky
Depends on D56012

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

--HG--
extra : moz-landing-system : lando
2019-12-11 14:45:40 +00:00
Simon Giesecke f4fb1f367a Bug 1600906 - Make use of FlippedOnce in TransactionBase. r=dom-workers-and-storage-reviewers,ytausky
Also renamed TransactionBase::SetActive/mHasBeenActive to
TransactionBase::Init/mInitialized to avoid confusion with the 'Active' state
defined in the IndexedDB spec.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 17:12:51 +00:00
Gabriele Svelto ace6d1063f Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-06 09:24:56 +00:00
Simon Giesecke 698d229488 Bug 1597211 - Use InitializedOnce to reduce statefulness of Cursor class. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D53951

--HG--
extra : moz-landing-system : lando
2019-12-05 15:16:54 +00:00
Simon Giesecke 2b07029459 Bug 1597211 - Use EmplaceBack instead of AppendResult, and use return value rather than output parameter. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D53938

--HG--
extra : moz-landing-system : lando
2019-12-05 15:16:47 +00:00
Simon Giesecke 19bcfd873b Bug 1597211 - Calculate size of individual cursor response entries. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D53937

--HG--
extra : moz-landing-system : lando
2019-12-05 15:16:34 +00:00
Simon Giesecke 75118862f6 Bug 1597211 - Stop processing entries when maximum message size has been exceeded. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D53936

--HG--
extra : moz-landing-system : lando
2019-12-05 15:16:22 +00:00
Simon Giesecke e425019442 Bug 1597211 - Adjust parameters and return types to allow passing response size information. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D53935

--HG--
extra : moz-landing-system : lando
2019-12-05 15:17:04 +00:00
Simon Giesecke e77b837ae6 Bug 1598164 - Fixed log messages, use serial number of transaction. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D54963

--HG--
extra : moz-landing-system : lando
2019-12-05 08:21:55 +00:00
Simon Giesecke 6140f56039 Bug 1600906 - Make use of FlippedOnce in ThreadRunnable. r=dom-workers-and-storage-reviewers,ytausky
Depends on D55680

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:21:05 +00:00
Simon Giesecke 74e0321d0f Bug 1600906 - Make use of FlippedOnce in DatabaseInfo. r=dom-workers-and-storage-reviewers,ytausky
Depends on D55679

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:21:51 +00:00
Simon Giesecke 2258438f9a Bug 1600906 - Make use of FlippedOnce in QuotaClient. r=dom-workers-and-storage-reviewers,ytausky
Depends on D55678

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:22:33 +00:00
Simon Giesecke 8efcc493e6 Bug 1600906 - Make use of FlippedOnce in ConnectionPool. r=dom-workers-and-storage-reviewers,ytausky
Depends on D55677

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:24:59 +00:00
Simon Giesecke 64b19511fa Bug 1600906 - Make use of FlippedOnce in FullObjectStoreMetadata. r=dom-workers-and-storage-reviewers,ytausky
Depends on D55676

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:26:48 +00:00
Simon Giesecke e824cc2e89 Bug 1600906 - Make use of FlippedOnce in FullIndexMetadata. r=dom-workers-and-storage-reviewers,ytausky
Depends on D55675

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:30:55 +00:00
Simon Giesecke 4b64e631fd Bug 1600906 - Make use of FlippedOnce in Database. r=dom-workers-and-storage-reviewers,ytausky
Depends on D55674

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:31:13 +00:00
Dorel Luca a381d5c96d Backed out changeset f6e53d1c6518 (bug 1600545) for Android build bustage. CLOSED TREE 2019-12-04 17:32:27 +02:00