Nathan Froyd
0018264d57
Bug 1453134 - part 1 - add a string input stream constructor that accepts move references; r=baku
...
This method is more efficient when we know we're not going to need the
string afterwards, and should cut down on intermediate allocations.
2018-04-11 10:06:17 -04:00
Tom Ritter
d44ebbd80e
Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
...
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.
MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05:00
Andrea Marchesini
33aca30957
Bug 1441141 - Update the StructuredCloneAlgorithm to follow the latest version of the spec, r=smaug, r=sfink
2018-03-28 09:23:17 +02:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Coroiu Cristina
720c346010
Backed out changeset a5214fb4d5c7 (bug 1434308) for failing xpcshell at dom/indexedDB/test/unit/test_wasm_recompile.js
2018-01-31 00:01:32 +02:00
Andrea Marchesini
20805deee2
Bug 1434308 - IndexedDB must use DifferentProcess scope in StructuredClone, r=sfink
2018-01-30 21:33:19 +01:00
Andrea Marchesini
03cd133f44
Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 4 - Correct deserialization of wasm modules, r=asuth
2018-01-18 13:19:07 +01:00
Andrea Marchesini
6c2c04380d
Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 3 - No templates, r=asuth
2018-01-18 13:19:07 +01:00
Andrea Marchesini
77b8366f6e
Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 2 - Upgrade value, r=asuth
2018-01-18 13:19:07 +01:00
Andrea Marchesini
d8d469b53b
Bug 1422335 - Using a sandbox on main-thread when deserializing data for IDB - part 1 - Deserialize on main-thread using a sandbox, r=asuth
2018-01-18 13:19:06 +01:00
Jonathan Kew
1c0f8b2768
Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv
2017-09-25 17:32:23 +01:00
Nicholas Nethercote
e8236888ee
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
2017-09-22 14:35:46 +10:00
Luke Wagner
5910209680
Bug 1351488 - Add async notification API for wasm compilation and async stream using it (r=janv,luke,asuth)
...
MozReview-Commit-ID: K0MOcxS8CMT
2017-08-29 10:56:49 -05:00
Eric Rahm
0c7237960f
Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
...
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Luke Wagner
dfe6240b26
Bug 1351488 - Baldr: change JS::WasmModule interface to separate bytecode from compiled code (r=lth)
...
MozReview-Commit-ID: 9PboJiP8BMM
2017-07-26 11:00:39 -05:00
Boris Zbarsky
7988d1ba67
Bug 1371259 part 3. Change UnwrapObject<> and the UNWRAP_OBJECT macro to allow passing in mutable object or value handles for the thing being unwrapped, and do so at various callsites. r=peterv
...
I did audit all UNWRAP_OBJECT callers to make sure that the lifetimes of all the
temporary Rooted or the RefPtrs they unwrap into are long enough.
2017-07-10 16:05:24 -04:00
Jan Varga
a32858250e
Bug 1370519 - Part 1: Add missing includes to fix non-unified builds; r=btseng
2017-06-07 12:36:20 +02:00
Andrea Marchesini
1741913b1f
Bug 1359718 - Get rid of PBlob - part 2 - PBlob, r=smaug, r=kanru
2017-05-23 18:05:19 +02:00
Sebastian Hengst
ca7e47ba22
Backed out changeset c3251f5022dd (bug 1359718)
2017-05-23 19:12:25 +02:00
Andrea Marchesini
1562ff375d
Bug 1359718 - Get rid of PBlob - part 2 - PBlob, r=smaug, r=kanru
2017-05-23 18:05:19 +02:00
Sebastian Hengst
3496844ce8
Backed out changeset 537abc431472 (bug 1359718)
2017-05-23 18:34:40 +02:00
Andrea Marchesini
506bb525b7
Bug 1359718 - Get rid of PBlob - part 2 - PBlob, r=smaug, r=kanru
2017-05-23 18:05:19 +02:00
Andrea Marchesini
ba19129bec
Bug 1360185 - Use of IPCBlob in IndexedDB - part 3 - IPCBlob must support fileId and fullPath values for indexedDB, r=janv
...
These 2 values are used only for testing, but they are extremely useful.
2017-05-23 07:51:13 +02:00
Andrea Marchesini
44495d345b
Bug 1360185 - Use of IPCBlob in IndexedDB - part 2 - Lazy Data set to any received blob, r=janv
2017-05-23 07:50:54 +02:00
Andrea Marchesini
6eed48c0cc
Bug 1360185 - Use of IPCBlob in IndexedDB - part 1 - Replacement of PBlob with IPCBlob, r=janv
2017-05-23 07:50:33 +02:00
Andrea Marchesini
c048b4585c
Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
2017-02-16 18:26:38 +01:00
Olli Pettay
3898f7d882
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
2017-01-03 21:47:55 +02:00
Bevis Tseng
2cb0431332
Bug 1274075 - Throw UnknowError if the size of the serialized message is too large. r=janv
2016-10-17 11:45:03 +08:00
Jan Varga
0165e02ba0
Bug 1311466 - Part 8: Implement basic functionality for preprocessing results before they are sent for synchronous deserialization; r=asuth
2016-10-25 21:19:06 +02:00
Jan Varga
5933fbc5cc
Bug 1311466 - Part 6: Core changes for WebAssembly module deserialization (works only in xpcshell); r=asuth
2016-10-25 21:18:58 +02:00
Jan Varga
5a3518ebd4
Bug 1311466 - Part 3: Core changes for WebAssembly module serialization including a test; r=asuth
2016-10-25 21:18:48 +02:00
Jan Varga
51555e3bf4
Bug 1311466 - Part 2: Refactor IPDL structs to use file types too; r=asuth
2016-10-25 21:18:44 +02:00
Jan Varga
3c056abb44
Bug 964561 - Part 1: Use a type in StructuredCloneFile instead of a boolean; r=asuth
2016-10-25 21:18:03 +02:00
Jon Coppeard
863d796e4b
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Bevis Tseng
fff7eb9502
Bug 1302261 - Refresh Spec For Deleted Indexes. r=janv
2016-09-12 15:38:43 -07:00
Kan-Ru Chen
1321079e05
Bug 1264642 - Part 5. Make SerializedStructuredClone{Read,Write}Info use SerializedStructuredCloneBuffer. r=baku
...
MozReview-Commit-ID: KUz3E5Sw5W3
2016-08-23 00:40:47 +08:00
Kan-Ru Chen
e8b75a6839
Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff
...
In JS StructuredClone BufferList<SystemAllocPolicy> is typedef'd to
JSStructuredCloneData and use everywhere in gecko that stores structured
clone data.
This patch changed some raw pointers to UniquePtr<JSStructuredCloneData>
and some to stack allocated JSStructuredCloneData for better life time
management. Some parameters or methods are deleted because of changing
to the new data structure.
MessagePortMessage now has the exactly same structure with
ClonedMessageData. Maybe in the future they can be consolidated.
MozReview-Commit-ID: 1IY9p5eKLgv
2016-08-23 00:40:46 +08:00
Kan-Ru Chen
8b8a604148
Bug 1264642 - Part 1. Remove unused methods from IDBObjectStore::StructuredCloneWriteInfo. r=baku
...
MozReview-Commit-ID: 8MIFD0MizOo
2016-08-23 00:40:45 +08:00
Andrea Marchesini
c8a40161f0
Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv
2016-07-21 15:29:42 +02:00
Bevis Tseng
5cbfe465ba
Bug 1271506 - Support of IDBObjectStore.getKey. r=khuey
2016-07-21 16:31:59 +08:00
Chris Peterson
41c3720394
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
2016-05-22 13:31:11 -07:00
Bevis Tseng
9ddd5b3ec2
Bug 1268380 - Part 1: Lower the precedence of SyntaxError next to ConstraintError in IDBObjectStore::CreateIndex(). r=khuey
2016-04-29 10:56:02 +08:00
Bevis Tseng
8e33efa299
Bug 1118028 - Allow objectStores and indexes to be renamed. r=khuey
2016-03-30 11:04:56 +08:00
Alexandre Lissy
1b5f2649b5
Bug 1260441 - Never pass a null js context to OpenCursor() r=bz
...
MozReview-Commit-ID: 2Scs80wX411
2016-03-30 13:03:03 +02:00
Boris Zbarsky
993c12a8fe
Bug 1257725 part 5. Get rid of ThreadsafeAutoJSContext usage in IDBRequest::CaptureCaller. r=khuey
2016-03-23 11:02:57 -04:00
Andrea Marchesini
d10e0b4b34
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-20 11:56:10 +01:00
Phil Ringnalda
9e96cfb31d
Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
...
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini
97ca49dfa3
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-19 22:29:46 +01:00
Boris Zbarsky
06d6d4c1dd
Bug 1257422 part 1. Add a way to do IDBObjectStore::OpenCursor without a JSContext if we are not passing a keyrange. r=khuey
2016-03-17 23:23:55 -04:00