Commit Graph

13 Commits

Author SHA1 Message Date
Boris Zbarsky
dc24477d79 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
Ms2ger
b83d21c58c Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Peter Van der Beken
dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Peter Van der Beken
963858ac23 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove some IsDOMBinding asserts. r=bz.
--HG--
extra : rebase_source : 74569bd08dbc0d6755ac45999cfe99725ef6bc0a
2014-10-07 11:44:49 +02:00
Ryan VanderMeulen
f24dab74ce Merge inbound to m-c. a=merge 2014-09-25 16:46:51 -04:00
Edgar Chen
7d498f73d2 Bug 1070083 - Part 2: Don't use AutoSafeJSContext because it is already deprecated. r=bholley 2014-09-24 10:04:40 +08:00
Ehsan Akhgari
2124657509 Bug 1072701 - Build some Firefox OS specific DOM code in unified mode; r=baku
--HG--
extra : rebase_source : 4a8812c18341c9851fb3265e1f8e6c77a95911c5
2014-09-25 10:10:42 -04:00
Vicamo Yang
b53afc7e49 Bug 1063304 - 2/3: export header files in right namespace. r=echen 2014-09-21 15:24:42 +08:00
Carsten "Tomcat" Book
9f96577d55 Backed out changeset eed2f616bc3e (bug 1063304) 2014-09-17 13:13:13 +02:00
Vicamo Yang
f3f158671e Bug 1063304 - 2/3: export header files in right namespace. r=echen 2014-09-16 21:20:17 +08:00
Edgar Chen
6feea5c427 Bug 843452 - Part 3-1: IPDL for MobileConnection. r=smaug 2014-07-01 18:09:08 +08:00
Edgar Chen
91e9759e19 Bug 843452 - Part 1-2: Mobile*Info implements both webidl and idl interfaces. r=smaug 2014-03-09 00:10:47 +08:00
Birunthan Mohanathas
2c86aa101c Bug 1058101 - Flatten dom/mobileconnection/src/ into parent directory. r=mccr8
--HG--
rename : dom/mobileconnection/src/DOMMMIError.cpp => dom/mobileconnection/DOMMMIError.cpp
rename : dom/mobileconnection/src/DOMMMIError.h => dom/mobileconnection/DOMMMIError.h
rename : dom/mobileconnection/src/MobileCellInfo.cpp => dom/mobileconnection/MobileCellInfo.cpp
rename : dom/mobileconnection/src/MobileCellInfo.h => dom/mobileconnection/MobileCellInfo.h
rename : dom/mobileconnection/src/MobileConnection.cpp => dom/mobileconnection/MobileConnection.cpp
rename : dom/mobileconnection/src/MobileConnection.h => dom/mobileconnection/MobileConnection.h
rename : dom/mobileconnection/src/MobileConnectionArray.cpp => dom/mobileconnection/MobileConnectionArray.cpp
rename : dom/mobileconnection/src/MobileConnectionArray.h => dom/mobileconnection/MobileConnectionArray.h
rename : dom/mobileconnection/src/MobileConnectionInfo.cpp => dom/mobileconnection/MobileConnectionInfo.cpp
rename : dom/mobileconnection/src/MobileConnectionInfo.h => dom/mobileconnection/MobileConnectionInfo.h
rename : dom/mobileconnection/src/MobileNetworkInfo.cpp => dom/mobileconnection/MobileNetworkInfo.cpp
rename : dom/mobileconnection/src/MobileNetworkInfo.h => dom/mobileconnection/MobileNetworkInfo.h
2014-08-27 10:13:29 -07:00