Ehsan Akhgari
4a415b8dd7
Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky
2014-02-06 13:28:35 -05:00
Boris Zbarsky
bb0bc45763
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
4ecbf2387a
Bug 958667 part 4. Hook up an AvailableIn extended attribute for interfaces. r=peterv
2014-02-05 13:38:17 -05:00
Boris Zbarsky
e4850f6e76
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
Kyle Huey
1d5269baf5
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
Ryan VanderMeulen
79c6767d01
Backed out changesets d8a6bde76293 and 0b28eaf5bde9 (bug 956806) for suspicion of making OSX 10.6 debug mochitest-bc even more orange prone than usual.
2014-01-08 15:34:24 -05:00
Boris Zbarsky
0b927c76d8
Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv
2014-01-08 10:29:15 -05:00
Ms2ger
a4f80d66d9
Bug 935362 - Part b: Remove customTrace support; r=khuey
2013-11-28 15:03:15 +01:00
Ms2ger
5c3ce5df59
Bug 935362 - Part a: Remove nativeOwnership = 'worker' support; r=khuey
2013-11-28 15:03:15 +01:00
Andrew McCreight
a60808cc93
Bug 932505 - Add some basic checking for Bindings.conf r=bz
2013-10-31 15:28:22 -07:00
Kyle Huey
020d8b6c36
Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug
2013-11-05 22:16:26 +08:00
Kyle Huey
e034802efa
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-11-05 22:16:24 +08:00
Andrew McCreight
4e7cf109f8
Bug 911333 - Only set customTrace to true on workers. r=khuey
2013-10-17 06:24:22 -07:00
Ryan VanderMeulen
9abde8f9b2
Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
...
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
30ab732153
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 19:58:05 +08:00
Phil Ringnalda
5c6d197b06
Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
...
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
93bec3955c
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 11:10:43 +08:00
Kyle Huey
cb84165118
Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz
2013-09-30 12:15:37 +08:00
Kyle Huey
12f83a26b2
Back out bug 919457 for build bustage. r=me
2013-09-30 10:41:23 +08:00
Kyle Huey
42dfe0a70f
Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz
2013-09-30 09:37:26 +08:00
Peter Van der Beken
d0b24c7ccf
Bug 920196 - Make QueryInterface opt-in for WebIDL interfaces. r=bz.
...
--HG--
extra : rebase_source : 4cf7f9dc90f234dd663da05f27c0dc9484c7c0e1
2013-09-24 21:37:53 +02:00
Boris Zbarsky
1397956620
Bug 918450. Back out the fix for bug 911333, since trace hooks are in fact used in workers. r=khuey
2013-09-20 11:15:39 -04:00
Andrew McCreight
ed2bc0d289
Bug 911333 - Remove customTrace from bindings codegen. r=bz
2013-09-10 08:29:44 -07:00
Boris Zbarsky
9197a62b7c
Bug 914334. Change codegen to reflect EventListener as a WebIDL callback on workers. r=khuey
2013-09-09 22:10:45 -04:00
Nicholas Nethercote
6ae716adf2
Bug 912411 (part 1) - Removed some jsapi.h includes in Gecko. r=bz.
...
--HG--
extra : rebase_source : c0b73945bcd6978a616fd846e33e69fae9162d78
2013-09-05 16:08:06 -07:00
Boris Zbarsky
8955ed2808
Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug
2013-08-23 22:42:41 -04:00
Kyle Huey
a4c454d166
Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv
2013-08-22 22:17:09 -07:00
Boris Zbarsky
31b30305a3
Bug 907548. URL.prototype should be undefined, since we don't implement the URL API. r=khuey
2013-08-22 09:46:26 -04:00
Kyle Huey
23d77e62e7
Bug 845545: Part 6 - Add a switch to force no QueryInterface function and use it for ImageData. r=bz
2013-08-03 16:55:40 -07:00
Kyle Huey
d8a5e42d26
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Mina Almasry
27f9b1cdb1
Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
...
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04:00
Peter Van der Beken
f3d03f59de
Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky
2013-07-04 17:24:59 +02:00
Boris Zbarsky
fb1bdaf8dd
Bug 867903. Speed up getDescriptors and some other obvious slow points in codegen. r=khuey
2013-05-09 13:06:48 -04:00
Ryan VanderMeulen
9edc2f4aa0
Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
...
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
f53244c6cc
Bug 867903. Speed up getDescriptors and some other obvious slow points in codegen. r=khuey
2013-05-09 13:06:48 -04:00
Andrew McCreight
18efb67705
Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz
2013-04-30 13:30:25 -07:00
Boris Zbarsky
1ffcf1ad91
Bug 861493. When passing arguments to an Xray for a WebIDL constructor, make sure to do the argument unwrapping before entering the content compartment. r=bholley,waldo
...
There are several changes here:
1) Adds some MutableThis methods to Optional, Nullable, and dictionaries to
effectively allow doing a const_cast without knowing the actual type being
templated over. I needed this because I do not in fact know that type in
the relevant code. I'm open to suggestions for a better name for this
method.
2) Adds some operator& to RootedJSValue to make it look more like a JS::Value,
and in particular so I can JS_WrapValue the thing in it.
3) Adds a Slot() method to NonNullLazyRootedObject, just like NonNull has.
4) Adds an operator& to LazyRootedObject to make it look more like JSObject* so
I can JS_WrapObject the thing in it.
5) Implements the actual rewrapping of the arguments into the content compartment.
6) Fixes a small preexisting bug in which we didn't look at named constructors
in getTypesFromDescriptor (this was causing my tests to not compile).
7) Changes Xrays to not enter the content compartment when calling a WebIDL
constructor.
8) Adds some friend API to report things as not being functions.
2013-04-25 19:03:05 -04:00
Olli Pettay
baa392919d
Bug 862983 - HeaderFile annotation for WebIDL interfaces, r=bz
...
--HG--
extra : rebase_source : f096c032342b71aeb42999f80241697c79037b7c
2013-04-17 23:29:09 +03:00
Boris Zbarsky
48d68f9676
Bug 852219 part 6. Handle cases when the C++ class we want to actually inherit from is not the one that the WebIDL interface is mapped to. r=mccr8
2013-04-03 22:22:16 -04:00
David Zbarsky
455f0cd757
[Bug 852843] SVGZoomAndPan interface object not being instantiated r=bz
2013-03-21 01:33:56 -04:00
Andrew McCreight
b605a583db
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-18 16:05:51 -07:00
Andrew McCreight
6076fafa7a
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-18 16:04:24 -07:00
Kyle Huey
5a7ceaeb53
Back out Bug 827486 for PGO bustage. CLOSED TREE
2013-03-18 13:00:00 -07:00
Andrew McCreight
b6112c1005
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-18 10:19:42 -07:00
Andrew McCreight
8298fa76d1
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-18 10:19:41 -07:00
Phil Ringnalda
8d356d6b0e
Back out 2ea5f267af77:218356c595fc (bug 827486) for Windows builds dying with an obscure "MemoryError"
...
CLOSED TREE
2013-03-17 16:40:54 -07:00
Andrew McCreight
046b780f2e
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-17 09:56:13 -07:00
Andrew McCreight
496c9b693e
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-17 09:55:14 -07:00
Phil Ringnalda
e9aaf10590
Back out f408dd29944c:db5c280d1907 (bug 827486) for probably having needed a clobber
...
CLOSED TREE
2013-03-16 18:16:37 -07:00
Andrew McCreight
4ed2fd027f
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-16 16:22:23 -07:00