Commit Graph

58 Commits

Author SHA1 Message Date
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -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
c8ed07d8be Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Olli Pettay
06108e2665 Bug 1084421 - Only Events with a wrapper should trigger GC more likely, r=mccr8 2014-10-18 02:16:58 +03: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
Neil Rashbrook
3de52e8630 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Masayuki Nakano
509005c5c3 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug 2014-03-05 09:37:43 +09:00
Kyle Huey
a0093cc0dc Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00
Ehsan Akhgari
4a434b44bb Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv 2013-07-11 13:36:42 -04:00
Ehsan Akhgari
e47eedc5fb Backed out changeset 121171dddc5b (bug 890405) for Jetpack test failures
Landed on a CLOSED TREE
2013-07-11 13:33:19 -04:00
Ehsan Akhgari
3e31ade626 Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv,Mossop 2013-07-11 11:33:37 -04:00
Ehsan Akhgari
e161894e3d Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-05 13:57:28 -04:00
Ehsan Akhgari
32143344d3 Backed out changeset 170e1863b9b6 (bug 890382) because of xpcshell test failures 2013-07-04 20:59:44 -04:00
Ehsan Akhgari
ef3556a221 Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-04 18:12:39 -04:00
Masatoshi Kimura
2b0affecf1 Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug 2013-05-21 04:34:12 +09:00
David Zbarsky
f149f29da7 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-19 18:18:32 -04:00
Ryan VanderMeulen
6a43fc188f Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE. 2013-04-11 13:59:02 -04:00
David Zbarsky
1d121a6b5b Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04:00
Olli Pettay
101570a786 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Ms2ger
794e24ef39 Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Eric Faust
2fd6e9bbbd Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ryan VanderMeulen
4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Olli Pettay
2146ee62af Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Ben Turner
78880eb792 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Kyle Huey
b6bbdbcc2a Bug 757222: deleteDatabase should fire a versionchange event with newVersion === null. r=sicking 2012-05-25 11:48:27 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masatoshi Kimura
26c22ec399 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Ms2ger
6944ef5449 Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke 2012-01-02 19:05:19 +01:00
Kyle Huey
fbe9fff826 Bug 692635: Transaction abort events should bubble. r=sicking 2011-11-23 09:15:15 -05:00
Kyle Huey
1ceaffd045 Bug 687361: Implement the new IndexedDB setVersion API. r=bent 2011-10-20 12:10:56 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Peter Van der Beken
22f5dbe67d Stop including nsDOMClassInfo.h all over the place. 2011-10-03 21:11:31 +02:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ben Turner
c40b5cc28a Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Ben Turner
6de15cb3f5 Bug 613083 - 'IndexedDB: Switch serialization format from JSON to structured clone bytestream'. r=sicking, a=blocking. 2010-12-21 11:02:04 -05:00
Ben Turner
4ef80f9682 Bug 618143 - 'IndexedDB: Don't accept null as a valid key'. r=sicking, a=blocking. 2010-12-15 13:21:07 -08:00
Ben Turner
7cddec3298 Bug 607729 - 'IndexedDB: Allow IndexedDB events to propagate, and error events to hit window.error'. r=sicking, a=blocking+ 2010-11-10 15:26:03 -08:00
Ben Turner
47e598fa84 Bug 606701 - 'IndexedDB: Make IDBErrorEvent have readonly attributes'. r=sicking, a=blocking+ 2010-11-10 15:25:51 -08:00
Ben Turner
98b3bf5b24 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
Ben Turner
bab16f99ea Bug 603811 - 'IndexedDB: Implement setVersion changes to the spec'. r=sicking, a=blocking2.0-betaN+ 2010-10-19 10:58:52 -07:00
Jonas Sicking
18aefbce14 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Peter Van der Beken
7f9381ab9f Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
David Mandelin
9bcdda31a3 Backed out changeset 834e5fb759c2 -- appears to be causing leaks on mochitest-browser-chrome 2010-09-13 18:34:11 -07:00
Peter Van der Beken
4d1a645d1c Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00