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
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
Bevis Tseng
fff7eb9502
Bug 1302261 - Refresh Spec For Deleted Indexes. r=janv
2016-09-12 15:38:43 -07:00
Bevis Tseng
5cbfe465ba
Bug 1271506 - Support of IDBObjectStore.getKey. r=khuey
2016-07-21 16:31:59 +08: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
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
Kyle Huey
f14b772a73
Bug 1247117: De-namespace much of IndexedDB. r=baku
2016-02-16 13:46:08 -08:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Jan Varga
7634d6acc6
Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); r=baku
2015-09-09 13:15:05 +02:00
Reuben Morais
cc7f111259
Bug 871846 - Handle locale aware indexes. r=janv
2015-09-04 16:12:44 -03:00
Ben Turner
3056647c0c
Bug 1179025 - Protect against using cursors on a deleted objectStore/index, r=janv.
2015-07-02 10:47:53 -07:00
Ryan VanderMeulen
80aed514cb
Backed out changeset c725221a7c45 (bug 1179025) for Werror bustage.
...
CLOSED TREE
2015-07-02 14:22:28 -04:00
Ben Turner
cad9a94bef
Bug 1179025 - Protect against using cursors on a deleted objectStore/index, r=janv.
2015-07-02 10:47:53 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
54b1f80bbb
Bug 1156632 - Remove unused forward class declarations - patch 2 - dom/media, dom/indexedDB, dom/svg, r=ehsan
2015-04-22 08:29:17 +02:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Ben Turner
2b90bf55ad
Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
2014-10-15 21:56:52 -07:00
Boris Zbarsky
96af8a232b
Bug 990484 part 2. Remove a bunch of now-unnecessary JSContext bits in indexedDB code. r=baku
2014-12-11 13:07:44 -05:00
Phil Ringnalda
bc087702c3
Back out 58982e7b5c45 (bug 1092311) for asserting
2014-12-10 21:12:40 -08:00
Ben Turner
ac775197cf
Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
2014-10-15 21:56:52 -07:00
Ben Turner
e30152a851
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ben Turner
4937da099f
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ben Turner
aede706b17
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-13 12:12:19 -04:00
Jan Varga
e4e43c0bee
Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
2014-06-12 05:35:29 +02:00
Boris Zbarsky
f4496f1213
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
"Kan-Ru Chen (陳侃如)"
21e1ce8dee
Bug 879475 - Part 003. Use nsIContentParent in indexeddb r=bent
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com >
2014-06-11 13:44:08 +08:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Peter Van der Beken
511907d28c
Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky
2013-07-09 13:54:21 -04:00
Boris Zbarsky
cffedad1d1
Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey
2014-02-19 10:13:38 -05:00
Andrea Marchesini
e3503d741f
Bug 932119 - convert nsIAtom to nsString in QuotaManager and IndexedDB, r=janv
2013-11-25 16:53:48 +00:00
Ms2ger
503d7fdd5e
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ben Turner
ddcbae7472
Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
2013-09-25 16:11:47 -07:00
Wes Kocher
4880dc8542
Backed out changeset 87a72129c007 (bug 920800) for indexedDB failures
2013-09-26 16:54:01 -07:00
Ben Turner
49307c063a
Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
2013-09-25 16:11:47 -07:00
Ben Turner
2b92695a0a
Bug 920633 - 'Add getAllKeys() to IDBObjectStore'. r=janv.
2013-09-24 10:14:16 -07:00
Ryan VanderMeulen
6056d6afe3
Backed out 3 changesets (bug 920179, bug 920633, bug 920800) for Windows |make package| crashes on a CLOSED TREE.
...
Backed out changeset bb0041643a0f (bug 920800)
Backed out changeset 24818d9b7470 (bug 920633)
Backed out changeset d49b0f47b05a (bug 920179)
2013-09-26 14:22:43 -04:00
Ben Turner
6e26a8d93d
Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
2013-09-25 16:11:47 -07:00
Ben Turner
7c681053b3
Bug 920633 - 'Add getAllKeys() to IDBObjectStore'. r=janv.
2013-09-24 10:14:16 -07:00
Benoit Jacob
280d056d1f
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-19 09:54:42 -04:00
Wes Kocher
c746ebf531
Backed out changeset 040522aacba4 (bug 913847)
2013-09-18 17:18:56 -07:00
Benoit Jacob
d04e2b83e8
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Dan Gohman
94cd9b8531
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Andrew McCreight
9af4a9cb8a
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz
2013-08-27 15:39:02 -07:00
Andrew McCreight
251902e99a
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00