Commit Graph

1043 Commits

Author SHA1 Message Date
Andrew McCreight
e2153edd1d Bug 1048659 - Return the union we construct in a JS callback. r=peterv 2014-08-19 08:41:26 -07:00
Bobby Holley
a87c8777d9 Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm 2014-08-18 10:57:30 -07:00
Bobby Holley
e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Seth Fowler
0fd6e994ae Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Jon Coppeard
511f6ef1c5 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Jason Orendorff
56724afcf7 Bug 1041261, part 5 - In DOM bindings implemented as proxies, don't call a named getter/setter/deleter if the id is a symbol. r=peterv.
--HG--
extra : rebase_source : 0ec7dad0ed1364d07cf2a8731f7980ab4c89cf7f
2014-08-04 14:20:57 -05:00
Jason Orendorff
244b95dfbf Bug 1041261, part 4 - Use foundVar and resultVar to move a few declarations in DOM binding code. r=peterv.
Now the "bool found;" and "bool result;" declarations are added in the outermost scope where they're going to be used, rather than the scope of the method call that sets them. Until now, those have always been the same scope; part 5 will put an if-block around certain method calls, making these two different scopes.

--HG--
extra : rebase_source : df60ef4c2ef400caaeb16a4950c86f5ba4c31319
2014-08-05 09:10:29 -05:00
Jason Orendorff
84968c47b4 Bug 1041262, part 3 - Codegen scoping changes. r=peterv.
This changes CGProxyNamedPresenceChecker to permit declaring the `found` and/or `result` variables in an outer scope. The default is still to declare them in the innermost scope containing the method call.

--HG--
extra : rebase_source : 7060a9b6f829be0c2b86e701b09d7438798fb87c
2014-08-05 11:53:37 -05:00
Valentin Gosu
63ecb5dd80 Bug 1051109 - Define non-static method to jsonify interface attributes r=smaug 2014-08-11 01:17:50 +03:00
Valentin Gosu
36c8ad1406 Bug 1047848 - Part 1 - Change Codegen.py to jsonify parent interface attributes as well r=smaug 2014-08-08 12:09:35 +03:00
Boris Zbarsky
3545a68bc5 Bug 1048437. Allow dictionary members with '-' in the name. r=khuey 2014-08-04 15:02:58 -04:00
Peter Van der Beken
156b657ef5 Bug 1039187 - [Bluetooth] Bluetooth2 build fail. r=bz.
--HG--
extra : rebase_source : d3ce4805bcdfe5e12b230efee479ea8002d95e5f
2014-07-18 00:17:17 +02:00
Boris Zbarsky
8c3da312f1 Bug 1017988 part 11. Codegen the definition of interface objects on worker globals. r=khuey 2014-08-04 22:20:35 -04:00
Boris Zbarsky
26b26e1121 Bug 1017988 part 9. Don't codegen window-only things on worker descriptors. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
d1f4dba8b5 Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
b1c1e22da4 Bug 1043690 part 2. Change the codegen for DOM proxies to ignore named props when looking up property descriptors on [[Set]]. r=efaust 2014-08-01 23:37:14 -04:00
Ben Kelly
8d0e50e7d2 Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz 2014-08-01 16:23:48 -04:00
Ben Kelly
93f746a2f6 Revert bug 1025183 (revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me 2014-08-01 14:10:40 -04:00
Ben Kelly
e072a1a235 Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz 2014-08-01 13:56:59 -04:00
Szu-Yu Chen [:aknow]
7b5c656ac3 Bug 1035654 - Part 3: Generate cycle collection traverse/unlink for unions. r=bzbarsky 2014-08-01 03:20:00 -04:00
Ed Morley
9e28eb3441 Backed out changeset 01c51cb8d8bd (bug 1025183) 2014-08-01 10:27:32 +01:00
Boris Zbarsky
3688e8eb15 Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley 2014-07-31 23:50:19 -04:00
Ben Kelly
9384922566 Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz 2014-07-31 19:40:12 -04:00
Terrence Cole
6f307c02a3 Bug 1024250; r=bz 2014-07-17 14:18:04 -07:00
Boris Zbarsky
eafe8cdc8f Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff 2014-07-23 01:06:33 -04:00
Reuben Morais
90781169de Bug 1009645 - Implement [FeatureDetectible] extended attribute and hook it up to navigator.getFeature. r=bz 2014-07-14 20:08:45 -03:00
Boris Zbarsky
7a6b7bfb5f Bug 832014 part 6. Make it possible to specify that only a particular interface that implements a given consequential interface gets cross-origin-settable behavior for a particular property. r=bholley 2014-07-11 19:32:14 -04:00
Boris Zbarsky
e620338f1a Bug 832014 part 2. Add codegen support for [Unforgeable] interfaces. r=peterv 2014-07-11 19:30:27 -04:00
Benoit Jacob
9f1b7a6188 Bug 1035394 - Fix dangerous public destructors in dom/events - r=smaug 2014-07-08 17:23:17 -04:00
Ms2ger
3b4a60ee80 Bug 1034204 - Implement unforgeable methods; r=bz 2014-07-04 15:02:10 +02:00
Jan de Mooij
574cf83f68 Bug 1032726 part 6 - Some followup changes. r=bz 2014-07-03 13:05:03 +02:00
Jan de Mooij
7aac8950d1 Bug 1032726 part 5 - Make new DOM bindings work with Latin1 strings. r=bz 2014-07-03 10:03:56 +02:00
Boris Zbarsky
a5a20896ce Bug 1033100. Fix event codegen to compile when an event has a sequence-of-non-null-interface-type member. r=smaug 2014-07-02 15:16:43 -04:00
Jan de Mooij
2df19d3cf9 Bug 1032726 part 2 - Make GetArrayIndexFromId work with Latin1 strings. r=bz,terrence
--HG--
extra : rebase_source : b6f8fe3df3946dfe05f5467c22c4fb157b6dcbf2
2014-07-02 15:45:02 +02:00
Peter Van der Beken
e6a15c150f Bug 1032748 - Make ConvertJSValueToString work on ns*String. r=bz. 2014-01-23 10:18:35 +01:00
Steve Fink
3cdc378cd8 Bug 1022773 - Return value rooting for dom/, r=bz
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Kyle Huey
d16856bfd5 Bug 1031051: Part 1 - Allow codegenerating an InitFooEvent method for legacy event types. r=smaug,bz 2014-06-30 16:00:31 -07:00
Bill McCloskey
579bf598b5 Bug 1030343 - Fix compile error in UnionTypes.cpp in old gcc (r=bz) 2014-06-30 14:36:45 -07:00
Eric Faust
04ec29520a Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC) 2014-06-27 04:44:04 -07:00
Carsten "Tomcat" Book
cbe01cdaa8 Backed out changeset 346912776f97 (bug 1027402) 2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
76beb8d59f Backed out changeset 285c853fedfa (bug 1027402) 2014-06-27 14:21:20 +02:00
Eric Faust
62d61ccf3f Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
6091687271 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley) 2014-06-27 04:44:04 -07:00
Ben Kelly
69fff9e05a Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
Boris Zbarsky
e62870aedd Bug 1027667. Allow MozMap in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
99a6b76589 Bug 1023762 part 2. Add basic support for sequences of non-containers to event codegen. r=smaug 2014-06-23 16:03:58 -04:00
Boris Zbarsky
0c98e10404 Bug 1023762 part 1. Factor out the IDL-to-C++ type mapping for event codegen into a separate function. r=smaug 2014-06-23 16:03:58 -04:00