Commit Graph

888 Commits

Author SHA1 Message Date
Boris Zbarsky
f74df72c75 Bug 983228. Add a sequence tracer for sequences of unions. r=baku 2014-03-14 14:51:22 -04:00
Boris Zbarsky
f1e1008a27 Bug 983264. Include callback headers in UnionTypes.h when a callback is used in a union. r=mccr8 2014-03-14 14:51:06 -04:00
Boris Zbarsky
a6aaa4bae1 Bug 983029. Make sure to observe stack discipline for Rooted when initializing a WebIDL union containing the 'object' type. r=khuey 2014-03-14 14:50:39 -04:00
Boris Zbarsky
68a6b80c14 Bug 981036 followup. Actually add the comment that was asked for. DONTBUILD 2014-03-10 21:38:04 -04:00
Boris Zbarsky
a0d9a4d846 Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley 2014-03-10 17:38:31 -04:00
Boris Zbarsky
93a15d5709 Bug 874788. Allow WebIDL HTMLAllCollection to emulate undefined. r=peterv 2014-03-05 22:48:04 -05:00
Boris Zbarsky
e02f5ced58 Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv 2014-03-05 22:48:03 -05:00
Masayuki Nakano
509005c5c3 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug 2014-03-05 09:37:43 +09:00
Bobby Holley
7ee6820e4c Bug 916644 - Disable invoking WebIDL constructors without |new| unless you have the system principal. r=bz 2014-03-04 10:05:08 -08:00
Jeff Walden
135d591c4f Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence 2014-02-12 23:38:36 -08:00
Boris Zbarsky
0cdc86ed6a Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv 2014-02-14 10:46:09 -05:00
Andrea Marchesini
6bce99a2d5 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Benjamin Bouvier
883cd0b123 Bug 939843: Required changes in the rest of the tree; r=froydnj 2014-02-27 16:23:16 +01:00
Boris Zbarsky
ff43d3c268 Bug 974284. Do a better job of commoning up identical cases in overload resolution for WebIDL methods. r=khuey 2014-02-27 07:54:33 -05:00
Boris Zbarsky
70e2894d17 Bug 962256 yet another part. Eliminate some unnecessary roots in HTMLDocumentBinding::DOMProxyHandler::get. r=bholley 2014-02-26 12:40:57 -05:00
Boris Zbarsky
e38a37a875 Back out revision c35458a437cc (bug 976305) for breaking DataStore tests. r=orange 2014-02-25 18:52:21 -05:00
Boris Zbarsky
92c71d0845 Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley 2014-02-25 17:26:16 -05:00
Boris Zbarsky
eb70e8c342 Bug 972312 part 1. Generate virtual As*Event functions on WebIDL events so that we can easily go from an nsDOMEvent to the relevant event subtype. r=smaug 2014-02-23 00:01:12 -05:00
Boris Zbarsky
cffedad1d1 Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey 2014-02-19 10:13:38 -05:00
Bobby Holley
726a217158 Bug 968335 - Implement GetCallerPrincipalOverride. r=bz 2014-02-14 22:36:44 -08:00
Phil Ringnalda
e9a6a87759 Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
dc70024a38 Bug 968335 - Implement GetCallerPrincipalOverride. r=bz 2014-02-14 16:13:38 -08:00
Boris Zbarsky
84bfba7256 Back out bug 952890, since the dependencies aren't fixed yet. 2014-02-14 10:50:19 -05:00
Boris Zbarsky
660e604fe4 Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv 2014-02-14 10:46:09 -05:00
Jon Coppeard
a449f1f033 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jon Coppeard
0df72e25fb Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Nathan Froyd
0f7caf12a9 Bug 970507 - mark generated DOMIfaceAndProtoJSClass instances as const; r=bz 2014-02-10 15:11:58 -05:00
Nathan Froyd
c7ba0e4433 Bug 957175 - reduce relocations required by NamesOfInterfacesWithProtos; r=bz 2014-02-10 10:24:38 -05:00
Jon Coppeard
aa8fe2dffe Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Nathan Froyd
edd53f27d4 Bug 969022 - remove s*_ids static constructors by explicitly tracking id initialization state; r=bz 2014-02-06 15:05:30 -05:00
Boris Zbarsky
48a770c661 Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv 2014-02-07 15:56:14 -05:00
Boris Zbarsky
81a125b13c Bug 956806 part 1. Output a list of prototype names in PrototypeList.cpp. r=peterv 2014-02-07 15:50:23 -05:00
Boris Zbarsky
abdc1f21f3 Bug 965927. [StoreInSlot] and [Cached] getters should use the reflector as the scope obj when wrapping the return value. r=peterv 2014-02-06 21:08:29 -05:00
Boris Zbarsky
86186064bf Bug 968665. Get rid of MainThreadDictionaryBase and the dictionary bits in DummyBinding, since we now codegen a single version of dictionaries for both mainthread and workers. r=khuey 2014-02-06 21:08:28 -05:00
Ehsan Akhgari
0ba8e17a78 Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky 2014-02-06 13:28:35 -05:00
Boris Zbarsky
4b86fb518b Bug 964875 part 1. Add a WebIDL ChromeWindow interface for use in instanceof once Window is on WebIDL bindings. r=peterv 2014-02-05 23:36:57 -05:00
Boris Zbarsky
2fd5e92c4e Bug 967694. Don't generate Xray resolveOwnProperty/enumerateOwnProperties hooks on WebIDL Xrays for plugin-loading elements, because those elements really only want to have the hook called when they're being touched by script from the same website. r=bholley 2014-02-05 13:38:18 -05:00
Boris Zbarsky
02df2cf5eb Bug 965094. Reconcile the behavior of the JSObject* argument for Func on interfaces and on interface members. r=bholley 2014-02-05 13:38:18 -05:00
Boris Zbarsky
e11ff60eda Bug 963380. Improve codegen for [Cached] and [StoreInSlot] attributes that have multiple wrapping paths to have less duplicated code. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky
54b177544d Bug 958667 part 5. Hook up AvailableIn for interface members. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky
ffa121645c Bug 958667 part 4. Hook up an AvailableIn extended attribute for interfaces. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky
88373c2da1 Bug 958667 part 1. Make it possible to use multiple methods of disabling the visibility of a constructor at once, disabling it if any of them says it should be disabled. r=peterv 2014-02-05 13:38:16 -05:00
Boris Zbarsky
52ddea2021 Bug 963388. Add support for nullable dictionary return values in callbacks and js-implemented bindings. r=peterv 2014-02-05 13:38:16 -05:00
Boris Zbarsky
44031ebbd4 Bug 963321 part 2. Add codegen support for [Cached] dictionary attributes. r=khuey 2014-02-05 13:38:16 -05:00
Bobby Holley
0c09f2ced1 Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke 2014-02-04 07:51:54 -08:00
Kyle Huey
f03c742c8c Bug 958011: Fix worker object cycle collection to not rely on the JSObject being finalized, which is a bogus assumption. r=bent,mccr8 2014-02-02 10:08:50 -08:00
Kyle Huey
37f71dbda6 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
6764423a06 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Eric Faust
b6cc0bd7ac 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
d31ccbc91f Bug 947487 - Part 1: Convert DOMJSClass::mBase from JSClass to js::Class. (r=bz) 2014-02-01 00:29:50 -08:00