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

1934 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij e0ef865217 Bug 1479363 part 5 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in remaining dom/ directories. r=mccr8 2018-08-02 08:49:00 +02:00
Jan Varga 27932e0385 Bug 1478573; r=asuth 2018-07-31 12:27:17 +02:00
Jan de Mooij 80adc67aba Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke 2018-07-28 12:12:26 +02:00
Nicholas Nethercote 8fe0520c19 Bug 1478895 - Add an explanatory comment to HashName(). r=janv
DONTBUILD because it's a comment-only change.

--HG--
extra : rebase_source : 253f953876f11136122344ffb7da8dabe1ff7005
2018-07-27 18:26:37 +10:00
Jan Varga 8604ee31ef Bug 1404274 - Key Evaluation on the cloned JS objects; r=asuth 2018-07-24 18:19:10 +02:00
Robert Bartlensky ced7192e2f Bug 1476603: Fix DEAD_STORE error in dom/indexedDB/ActorsParent.cpp. r=janv
MozReview-Commit-ID: B6oqb3tp3ND

--HG--
extra : rebase_source : 02c5363991986babad56c55b9f80e187b91d0dad
2018-07-19 13:36:33 +01:00
Andrea Marchesini a053cf1c15 Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb 2018-07-17 21:37:48 +02:00
Kris Maglione 0bfdb4329f Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn
I initially tried to avoid this, but decided it was necessary given the number
of times I had to repeat the same pattern of casting a variable to void*, and
then casting it back in a part of code far distant from the original type.

This changes our preference callback registration functions to match the type
of the callback's closure argument to the actual type of the closure pointer
passed, and then casting it to the type of our generic callback function. This
ensures that the callback function always gets an argument of the type it's
actually expecting without adding any additional runtime memory or
QueryInterface overhead for tracking it.

MozReview-Commit-ID: 9tLKBe10ddP

--HG--
extra : rebase_source : 7524fa8dcd5585f5a31fdeb37d95714f1bb94922
2018-07-06 12:24:41 -07:00
Chris Peterson 06a7d5c549 Bug 1473217 - Part 2: dom: Fix misc-unused-raii warnings. r=baku
nsPrintfCString creates a formatted string, but doesn't print it.

ExtractOriginData is called for its constructor's scope and origin out parameters. This ExtractOriginData object doesn't really need a name because it is unused after we have scope and origin,  but this change makes clang-tidy happy and makes the code clear that ExtractOriginData is an object and not a funcion being called.

MozReview-Commit-ID: nxUBwzL4Uq

--HG--
extra : rebase_source : 5fd3a592ac628b14b8221bf2df4fc442fb407106
extra : source : 1dfaf199d2ede7a445b40ec7585c66010f5a1a6b
2018-07-03 22:09:54 -07:00
Jan de Mooij 7b1ed56f46 Bug 1472973 part 14 - Use JS::GetNonCCWObjectGlobal in IndexedDatabaseManager::ExperimentalFeaturesEnabled. r=bz 2018-07-12 12:14:38 +02:00
Boris Zbarsky 9f65fcc29a Bug 1474045. Make nsIScriptGlobalObject::HandleScriptError non-virtual. r=qdot 2018-07-11 14:17:01 -07:00
Jan de Mooij 4f7b2378dc Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz 2018-07-11 14:07:02 +02:00
Jan de Mooij 3201853e80 Bug 1468752 part 4 - Remove JS_GetGlobalForObject. r=bz 2018-07-06 12:54:00 +02:00
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Chris Peterson 2afd829d0f Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Andrea Marchesini dbb6b928ed Bug 1455256 - Port more components to WorkerRef - part 4 - IDB Transaction, r=asuth 2018-06-18 16:37:21 -04:00
Andrea Marchesini 9a9a71e436 Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
Mark Banner b30ac6aacd Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop
Depends on D1643

MozReview-Commit-ID: 84M50HDg0wl

Differential Revision: https://phabricator.services.mozilla.com/D1644
2018-06-16 08:21:33 +00:00
Andrea Marchesini 4f109464b2 Bug 1466314 - StreamBlobImpl CTOR must receive an already_AddRefed inputStream, r=smaug 2018-06-13 08:37:26 -07:00
Joel Maher 1ef32bf5c6 Bug 1405428 - skip-if = verify on xpcshell tests which do not pass test-verify. r=gbrown 2018-06-13 11:34:40 -04:00
Joel Maher 50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Csoregi Natalia 2f779be8d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-02 01:03:45 +03:00
Emilio Cobos Álvarez fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Markus Stange bf590995b7 Bug 1462784 - Remove the STORAGE category. r=njn
This was used to label IndexedDB work and work in storage/mozStorage*.
I don't think this deserves its own category; categories are most useful for
the main thread, and most of the time-consuming database-related work happens
on helper threads. The main thread pieces are mostly for asynchronicity-
coordination and don't usually take up time.

This patch labels IndexedDB work as DOM instead (which is maybe debatable) and
the rest as OTHER.

MozReview-Commit-ID: 3UYhFFbi3Ry

--HG--
extra : rebase_source : 5c88dfd67274103de01fe44191f49776017738f9
2018-05-18 17:55:18 -04:00
Csoregi Natalia fc2ed6e92a Backed out 18 changesets (bug 1462784) for ESlint failure on FlameGraph.js:1297. CLOSED TREE
Backed out changeset 79556798ff9f (bug 1462784)
Backed out changeset 88321efb673b (bug 1462784)
Backed out changeset 7880f9dc7023 (bug 1462784)
Backed out changeset 71fe35fd1f7e (bug 1462784)
Backed out changeset a543b94b049a (bug 1462784)
Backed out changeset d1ca8b0f2221 (bug 1462784)
Backed out changeset 68eabfbf3c16 (bug 1462784)
Backed out changeset 34e71c789903 (bug 1462784)
Backed out changeset 6fe79d1ca1bd (bug 1462784)
Backed out changeset e5ad2e525ea9 (bug 1462784)
Backed out changeset 329645ff1e23 (bug 1462784)
Backed out changeset e09c38853172 (bug 1462784)
Backed out changeset 0663d1a6d2da (bug 1462784)
Backed out changeset 106967fc29d2 (bug 1462784)
Backed out changeset 99b4a433a8e5 (bug 1462784)
Backed out changeset 1d38a4cf5a4a (bug 1462784)
Backed out changeset 692017229de6 (bug 1462784)
Backed out changeset c2911a626671 (bug 1462784)
2018-06-01 23:42:00 +03:00
Markus Stange b229cac853 Bug 1462784 - Remove the STORAGE category. r=njn
This was used to label IndexedDB work and work in storage/mozStorage*.
I don't think this deserves its own category; categories are most useful for
the main thread, and most of the time-consuming database-related work happens
on helper threads. The main thread pieces are mostly for asynchronicity-
coordination and don't usually take up time.

This patch labels IndexedDB work as DOM instead (which is maybe debatable) and
the rest as OTHER.

MozReview-Commit-ID: 3UYhFFbi3Ry

--HG--
extra : rebase_source : f83946138d8311ea5aa91f537a1d8e420e784068
2018-05-18 17:55:18 -04:00
Noemi Erli 1fd69fa2bc Backed out 18 changesets (bug 1462784) for failures in devtools/client/performance/test/unit/test_tree-model-08.js on a CLOSED TREE
Backed out changeset a74d36598442 (bug 1462784)
Backed out changeset c8192175f360 (bug 1462784)
Backed out changeset cde492240e99 (bug 1462784)
Backed out changeset 8c8d30fa406c (bug 1462784)
Backed out changeset ad3802ffb780 (bug 1462784)
Backed out changeset 2fe10732076c (bug 1462784)
Backed out changeset 268a72b7c3c4 (bug 1462784)
Backed out changeset 4055eb6c3bc6 (bug 1462784)
Backed out changeset 3901070e2e60 (bug 1462784)
Backed out changeset 2faf787fbbdf (bug 1462784)
Backed out changeset 8f06963c7c6f (bug 1462784)
Backed out changeset 036e6f64e224 (bug 1462784)
Backed out changeset e670f156a603 (bug 1462784)
Backed out changeset cd39588aece4 (bug 1462784)
Backed out changeset 2ac65d100fa2 (bug 1462784)
Backed out changeset ea05ff70a51d (bug 1462784)
Backed out changeset 8a06c0ba42f7 (bug 1462784)
Backed out changeset 52ed9a039ad2 (bug 1462784)
2018-06-01 01:06:29 +03:00
Markus Stange b17c2b3e5b Bug 1462784 - Remove the STORAGE category. r=njn
This was used to label IndexedDB work and work in storage/mozStorage*.
I don't think this deserves its own category; categories are most useful for
the main thread, and most of the time-consuming database-related work happens
on helper threads. The main thread pieces are mostly for asynchronicity-
coordination and don't usually take up time.

This patch labels IndexedDB work as DOM instead (which is maybe debatable) and
the rest as OTHER.

MozReview-Commit-ID: 3UYhFFbi3Ry

--HG--
extra : rebase_source : 16abc3c4bd8ed9ac55b5c188bd10ee26b0566330
2018-05-18 17:55:18 -04:00
Boris Zbarsky a7ede892a2 Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00
Kris Maglione 8134b33e89 Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz
MozReview-Commit-ID: 2HIlaSrvfBe

--HG--
extra : rebase_source : 944a6244dbfe1f0a37dd34a041d1329624a86f93
extra : histedit_source : d7859be664fed00f8504e40969480d3af3d674e7%2C4456b502db338bd06823654306e47c2583101396
2018-05-21 17:32:44 -07:00
Kris Maglione 6b12d08f7d Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5

--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Steve Fink e1fedf5974 Bug 1442722 - Move scope into JSStructuredData, r=baku,jorendorff
--HG--
extra : topic : clone.refactor
extra : rebase_source : 657bfd1a4c87de0a27c99e685adbf739c907ed6c
2018-04-03 11:17:33 -07:00
Andreea Pavel 4fe8928370 Bug 1456325 - disable browser_private_idb.js on OS X and Windows for frequently failing. r=jmaher 2018-05-21 06:44:00 +03:00
Jan de Mooij 80e44e8003 Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
Eliza Balazs 5fe16eec71 Bug 1456325 - disable browser_private_idb.js on OS X and Windows for frequently failing. r=jmaher
--HG--
extra : rebase_source : 9c93e53437ebd6da927f55b3b202c89d3f9b5100
extra : histedit_source : 731f21996ccc367233602f2f908303f01f226f2d
2018-05-14 06:52:00 +03:00
Margareta Eliza Balazs 6c97db61d4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-09 12:40:18 +03:00
Margareta Eliza Balazs eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Andrea Marchesini 418c707d0e Bug 1452784 - Use malloc() instead of new[] in IDBObjectStorage to match the use of free() in memory BlobImpl, r=decoder 2018-05-09 11:02:12 +02:00
Luke Wagner 32cfdd4da0 Bug 1458029 - Baldr: update wasm frame stack format string to match WebAssembly Web API spec (r=yury,bbouvier,fitzgen)
--HG--
extra : rebase_source : 526aea59059ef5710aac88aabd1ee71ddbf7512d
2018-05-08 13:26:40 -05:00
Mark Banner 2ff4ec85fb Bug 1458235 - Drop cases of Components.stack.caller passed as the msg to Assert.* as it isn't necessary as we already work out the stack correctly for these cases. r=Gijs
MozReview-Commit-ID: BfFIzLr1sXv

--HG--
extra : rebase_source : 7f966ea034f269454a5b6206974734fdce106138
2018-05-04 11:26:59 +01:00
Jan Varga 9f92306824 Bug 1411908 - Part 2: Wait for all factory operations to finish when shutting down; r=asuth 2018-05-04 06:32:23 +02:00
Jan Varga ba5642c8cd Bug 1411908 - Part 1: Wait for all live database objects to finish when shutting down; r=asuth 2018-05-04 06:32:11 +02:00
Andrea Marchesini 5c5b562242 Bug 1458821 - Rename nsIAsyncFileMetadata.asyncWait to asyncFileMetadataWait, r=smaug 2018-05-03 17:03:17 +02:00
Steve Fink bc4f45a9ba Bug 1456604 - Add DifferentProcessForIndexedDB scope to handle backwards compatibility with SameProcessSameThread clones, r=jorendorff
--HG--
extra : topic : clone.refactor
extra : rebase_source : 7920e35fb4b2370ce6a06cd27579824faabe7bd9
2018-04-24 15:21:47 -07:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Jan Varga 75905dc334 Bug 1454309 - Explicitly close storage connection before dispatching to connection pool; r=asuth 2018-04-25 14:52:33 +02:00
Andrea Marchesini 1514257ca5 Bug 1434308 - "IndexedDB uses SameProcessSameThread structured clone scope" [r=sphink]
--HG--
extra : rebase_source : d2bd97701c6dceabb072fd76833be4b84ac2fce3
extra : source : 2692e7aaefbdb8d40612704abbe1422c60ce5b0d
2018-01-30 11:32:00 -08:00
Steve Fink c9ee11f480 Backed out changeset 2692e7aaefbd (bug 1434308)
--HG--
extra : rebase_source : 70b6fad7a734e6faac09e7518f4fffa587fa1abb
2018-04-24 16:01:52 -07:00
Andrea Marchesini dc9b0059f8 Bug 1434308 - "IndexedDB uses SameProcessSameThread structured clone scope" [r=sphink]
--HG--
extra : rebase_source : 0be2588dd992fc07e67f90319d59345341e41f51
2018-01-30 11:32:00 -08:00
Andrew Sutherland 2a5caa4d86 Bug 1455985 eslint bustage fix. CLOSED TREE a=apavel
--HG--
extra : rebase_source : 59b887de15ac967acc7370ab57baec2211497ba7
2018-04-23 13:05:32 -04:00