Commit Graph

19 Commits

Author SHA1 Message Date
Boris Zbarsky
c9eabf9d78 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
7d2331d5b5 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
35fca5eeeb 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
56f44fdf10 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
ec4aec4bd6 Bug 903772: Followup to address missed review comment. 2013-08-23 10:29:57 -07:00
Kyle Huey
fda1584d1f Bug 903772: Part 8 - Remove TextEncoderBase. r=emk 2013-08-22 22:17:10 -07:00
Kyle Huey
8be1b490aa Bug 903772: Part 7 - Remove the worker thread TextEncoder implementation. r=emk 2013-08-22 22:17:10 -07:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Kyle Huey
98cc114fd5 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
9c1973b5d2 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
e5e5a90814 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Masatoshi Kimura
956db5faa3 Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Peter Van der Beken
b9d2ae906f Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
bc0702d0d7 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Peter Van der Beken
b46afdef94 Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Masatoshi Kimura
077bafbb8e Bug 795542 - Part 1: Create Text(En|De)coderBase. r=bent
--HG--
rename : dom/encoding/TextDecoder.h => dom/encoding/TextDecoderBase.h
rename : dom/encoding/TextEncoder.h => dom/encoding/TextEncoderBase.h
2012-12-22 09:15:43 +09:00
Masatoshi Kimura
7ef7c7a41b Bug 801402 - Make EncodingUtil methods case sensitive. r=hsivonen 2012-11-07 18:04:22 -05:00
Masatoshi Kimura
53d572c954 Bug 801487 - Update WebIDL definitions. r=sicking 2012-10-24 22:03:21 -04:00
Masatoshi Kimura
4a9395eb5d Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00