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
..
2014-11-02 22:47:01 +00:00
2015-03-10 02:43:00 +01:00
2015-03-10 02:43:00 +01:00
2015-03-13 13:41:37 +00:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-03 17:03:19 -08:00
2015-03-03 11:08:59 +00:00
2014-06-03 00:08:21 +12:00
2015-03-03 11:09:00 +00:00
2015-02-01 17:27:41 -05:00
2014-07-24 18:03:26 +01:00
2014-08-31 23:36:37 -04:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-07 10:07:36 -05:00
2014-10-20 17:02:36 -05:00
2014-10-14 13:15:21 -07:00
2014-10-14 13:15:21 -07:00
2014-10-14 13:15:21 -07:00
2015-03-17 19:40:16 -07:00
2015-03-17 19:40:16 -07:00
2014-10-14 13:15:21 -07:00
2015-03-11 10:33:52 +01:00
2014-10-14 13:15:21 -07:00
2015-03-03 16:38:49 +00:00
2015-01-06 09:27:56 +00:00
2015-03-11 10:33:52 +01:00
2015-03-11 10:33:52 +01:00
2014-07-24 18:03:26 +01:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2014-08-31 23:36:37 -04:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-03-18 03:55:01 -05:00
2015-02-19 15:50:20 +09:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2014-08-05 13:33:55 -04:00
2015-03-03 11:08:59 +00:00
2015-02-15 13:52:28 -05:00
2015-01-06 10:07:04 +00:00
2015-03-11 10:33:52 +01:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-03-11 10:33:52 +01:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-01-06 09:27:56 +00:00
2015-03-03 16:38:31 +00:00
2015-01-06 09:27:56 +00:00
2015-02-04 15:21:03 -05:00
2015-02-04 15:21:03 -05:00
2014-08-31 23:36:37 -04:00
2015-03-03 11:09:00 +00:00
2015-02-04 15:21:03 -05:00
2015-03-03 11:09:00 +00:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00
2015-03-19 10:13:33 -04:00