Commit Graph

1988 Commits

Author SHA1 Message Date
Kyle Huey
b5074bbbd6 Bug 966466: Rename thisObj to thisObjPtr so people will know what to pass in. r=bz 2014-02-02 10:08:46 -08:00
Jon Coppeard
4df3aa4450 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Eric Faust
225b0cbc1c Bug 924720 - Followup: Remove js::IsProxyClass(clasp), and use clasp->isProxy() instead. (r=jwalden) 2014-02-01 00:30:44 -08:00
Eric Faust
6635c05430 Bug 947487 - Part 2: Generate and use js::Class structs for DOM proxies. (r=bz) 2014-02-01 00:29:52 -08:00
Eric Faust
5bd518d6ef Bug 947487 - Part 1: Convert DOMJSClass::mBase from JSClass to js::Class. (r=bz) 2014-02-01 00:29:50 -08:00
Nathan Froyd
335177a2c3 Bug 965634 - move nsString construction out of mozilla::dom::Register for a codesize win; r=bz 2014-01-30 14:53:49 -05:00
Carsten "Tomcat" Book
f4bc96a601 Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE 2014-01-31 12:11:23 +01:00
Jon Coppeard
ba27569312 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Masatoshi Kimura
02870ebbdd Bug 964964 - Remove window.pkcs11. r=bz 2014-01-30 20:00:01 +09:00
Boris Zbarsky
b819d8db86 Bug 965477. Enter the compartment of obj in ClearCached*Value in the StoreInSlot case. r=bholley 2014-01-29 22:33:50 -08:00
Boris Zbarsky
9363c07116 Bug 945416 part 6. Fix the resolve/enumerate hooks in WebIDL bindings in the [Global] case to handle standard classes. r=peterv 2014-01-29 22:33:33 -08:00
Boris Zbarsky
d3046577a3 Bug 945416 part 3. Make GlobalResolve fill in a JSPropertyDescriptor that nsWindowSH::NewResolve then uses to actually define the property. r=bholley,peterv 2014-01-29 22:33:23 -08:00
Boris Zbarsky
754f19089b Bug 945416 part 2. When invoking a DoNewResolve hook on an Xray, make sure to first invoke it on the underlying object. r=bholley,peterv 2014-01-29 22:33:22 -08:00
Boris Zbarsky
8f926f8c8b Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley 2014-01-29 22:33:03 -08:00
Vladimir Vukicevic
69d8bb943a b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Andrea Marchesini
8c3ee1c182 Bug 964892 - WebIDL 'assert' method should be implemented as '_assert_'. r=bz 2014-01-29 08:16:57 -05:00
Ehsan Akhgari
c13db2bd52 Bug 964061 - Part 2: Remove nsIDOMCRMFObject; r=bzbarsky
--HG--
extra : rebase_source : 888e33d68bdcd6e03b56f75036ea00142831961d
2014-01-27 08:27:06 -08:00
Ehsan Akhgari
1b7fdc23c8 Bug 964061 - Part 1: Convert CRMFObject to WebIDL bindings; r=bzbarsky
--HG--
extra : rebase_source : 39a2b35df50cdd42624fb0e7a14383e8d40cea4b
2014-01-27 08:27:04 -08:00
Andrea Marchesini
4fea33b3f0 Bug 620935 - Make console object available in Web Workers, r=ehsan, r=bz 2014-01-26 12:35:17 +00:00
Andrea Marchesini
afee094f1c Bug 620935 - __noSuchMethod__ support for WebIDL r=bz 2014-01-26 12:35:10 +00:00
Jon Coppeard
74da1a60c3 Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz 2014-01-25 09:29:12 +00:00
Bobby Holley
048f4eae8c Bug 957688 - Kill off checkAccess. r=mrbkap 2014-01-24 16:08:26 -08:00
Andrea Marchesini
2e079d8e5b Bug 963560 - Fix compilation error on VS2013 for method called 'assert', r=bz 2014-01-24 15:45:24 +00:00
Carsten "Tomcat" Book
7f3eb0499d Backed out changeset 235d4c57787f (bug 620935) for m13 perma-orange on a CLOSED TREE 2014-01-24 15:14:43 +01:00
Carsten "Tomcat" Book
6176b27535 Backed out changeset 691a1d12372a (bug 620935) for m13 perma orange on a CLOSED TREE 2014-01-24 15:14:17 +01:00
Andrea Marchesini
600b388d03 Bug 620935 - Make console object available in Web Workers, r=ehsan, r=bz 2014-01-24 08:55:59 +00:00
Andrea Marchesini
a4194e95c9 Bug 620935 - __noSuchMethod__ support for WebIDL r=bz 2014-01-24 08:55:42 +00:00
Olli Pettay
0eb04a40df Bug 963285 - CallSetup may set context options but not restore them , r=bz 2014-01-24 00:56:50 +02:00
Nikhil Marathe
af8e8bebc9 Bug 879245 - Implement thenables for Promises. r=bz
--HG--
extra : rebase_source : cde27792ae58b13c88367df7a99fc8981097eedd
2014-01-23 10:47:29 -08:00
Ryan VanderMeulen
49c724dc8b Backed out changesets fbc3bb6c002f and 3da2b2a2899b (bug 620935) for debug B2G mochitest-13 crashes. 2014-01-23 10:09:10 -05:00
Boris Zbarsky
998668c1ff Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.

In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
bd16624e1c Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
Andrea Marchesini
f4da7ac2d5 Bug 620935 - Make console object available in Web Workers, r=ehsan, r=bz 2014-01-23 09:25:41 +00:00
Andrea Marchesini
ea89037a83 Bug 620935 - __noSuchMethod__ support for WebIDL r=bz 2014-01-23 09:25:04 +00:00
Wes Kocher
75665b3d7f Backed out 2 changesets (bug 958576) for osx 10.8 m-oth bustage on a CLOSED TREE
Backed out changeset 2ec09c9a9df1 (bug 958576)
Backed out changeset 49bec226f30e (bug 958576)
2014-01-22 16:17:25 -08:00
Boris Zbarsky
3146ee0f7a Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.

In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
5052fd5d63 Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
Jon Coppeard
5518bdc828 Bug 959787 - Handlify has property APIs r=terrence r=bz 2014-01-22 11:28:06 +00:00
Boris Zbarsky
787877e0b4 Bug 961208 part 2. Change the WebIDL DoNewResolve hook signature to take a JSPropertyDescriptor. r=bholley 2014-01-21 22:08:51 -05:00
Boris Zbarsky
96d02efb92 Bug 961208 part 1. When doing a DoNewResolve for Xrays, pass the Xray, not the underlying object, to DoNewResolve, in case people want to do permissions checks on the object. r=bholley 2014-01-21 22:08:49 -05:00
Andrea Marchesini
b66fa0e177 Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Terrence Cole
be1579cec3 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 5; r=jonco
--HG--
extra : rebase_source : 13c96b6118408cfb001a3191871cbf7ce4d8a2c3
2014-01-17 10:09:38 -08:00
Terrence Cole
d902eeddc8 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Nathan Froyd
a04f403342 Bug 960109 - convert JSJitInfo fields to bitfields; r=bz,efaust 2014-01-16 16:30:35 -05:00
Carsten "Tomcat" Book
abc78abdd1 Merge mozilla-central to b2g-inbound 2014-01-17 11:06:46 +01:00
Edgar Chen
67b6076912 Bug 956655 - Part 2: Move MobileConnection DOM classes to namespacing mozilla::dom. r=smaug 2014-01-02 11:06:17 +08:00
Nathan Froyd
5bb37307a5 Bug 960653 - part 1 - assert that we don't overflow JSJitInfo fields in bindings codegen; r=bz 2014-01-16 11:20:51 -05:00
Nathan Froyd
ceefc28116 Bug 952777 - part 5 - move JSJitInfo::argTypes to a separate JSTypedMethodJitInfo subclass; r=efaust,bz 2014-01-07 16:52:40 -05:00
Nathan Froyd
5800422e32 Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz 2014-01-07 14:54:07 -05:00
Nathan Froyd
8c0119e34b Bug 952777 - part 3 - use bitfields for integer fields in JSJitInfo; r=efaust,bz 2014-01-07 13:55:06 -05:00