Commit Graph
18 Commits
Author SHA1 Message Date
Boris Zbarsky 1cb7d49b45 Bug 995546. Nix bogus GetParentObject methods on WebIDL objects without a wrapper cache. r=bholley 2014-04-15 22:58:43 -04: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
Boris Zbarsky ae0180ee85 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Kyle Huey c504483d5a Bug 903772: Followup to address missed review comment. 2013-08-23 10:29:57 -07:00
Kyle Huey 2e79ae8ee4 Bug 903772: Part 8 - Remove TextEncoderBase. r=emk 2013-08-22 22:17:10 -07:00
Kyle Huey 04e638813a Bug 903772: Part 7 - Remove the worker thread TextEncoder implementation. r=emk 2013-08-22 22:17:10 -07:00
Kyle Huey 279381a195 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Kyle Huey b025804d12 Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv 2013-08-22 22:17:07 -07:00
Boris Zbarsky ebafdd1727 Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Masatoshi Kimura 7878ea38fd Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Masatoshi Kimura ee5a3c3018 Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Peter Van der Beken cefe1bd88b Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz. 2012-12-03 17:07:49 +01:00
Ed Morley f91e010656 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Peter Van der Beken 87d44d16e4 Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz. 2012-12-03 17:07:49 +01:00
Masatoshi Kimura 917a116445 Bug 795542 - Part 1: Create Text(En|De)coderBase. r=bent 2012-12-22 09:15:43 +09:00
Masatoshi Kimura 62d5117220 Bug 801402 - Make EncodingUtil methods case sensitive. r=hsivonen 2012-11-07 18:04:22 -05:00
Masatoshi Kimura 62278904ea Bug 801487 - Update WebIDL definitions. r=sicking 2012-10-24 22:03:21 -04:00
Masatoshi Kimura 3494a55571 Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00