Boris Zbarsky
89ae3b97c3
Bug 932998. Don't try to codegen code that keeps alive objects with 'owned' nativeOwnership, since we have no way to do that. r=smaug
2013-10-31 22:07:11 -04:00
Boris Zbarsky
2f7d175682
Bug 925737. Allow copy-constructing owning unions with safe enough members. r=peterv
2013-10-31 22:07:10 -04:00
Boris Zbarsky
45b3df4eb0
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Boris Zbarsky
74b5fa2bda
Bug 882541 part 3. Rework the overload resolution algorithm to WebIDL spec changes in handling of optional arguments. r=khuey
...
The major changes are as follows:
1) The new algorithm no longer adjusts "argcount" based on the
interaction of trailing undefined and [TreatUndefinedAs=Missing]
arguments. We never implemented this; just asserted that we didn't
have to deal with this situation.
2) If the distinguishing argument is undefined and there is an
overload that has an optional argument at the distinguishing
argument index, that overload is selected.
2013-10-11 12:28:24 -04:00
Boris Zbarsky
aa614f08eb
Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
...
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
2013-10-11 12:28:23 -04:00
Boris Zbarsky
74b44d3ad5
Bug 924402. When an object that can only be returned from [NewObject] methods is used in a dictionary, just skip generating a ToObject for that dictionary. r=peterv
2013-10-28 19:34:08 -04:00
Boris Zbarsky
e7d69de259
Bug 929512. Fix null default values for non-nullable unions containing a nullable type. r=dzbarsky, r=smaug pending
2013-10-28 00:33:15 -04:00
Peter Van der Beken
e46609f302
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
2013-10-08 17:51:42 +02:00
Tom Schuster
faba4d7d1c
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Ms2ger
69b50c2dad
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
d659070fdf
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
2013-10-08 17:51:42 +02:00
Peter Van der Beken
39d304ea57
Bug 918351 - Support Replaceable WebIDL properties. r=bz.
2013-09-15 23:04:08 +02:00
Peter Van der Beken
47437910ca
Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
2013-09-30 18:32:22 +02:00
Ed Morley
ce29633280
Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE
2013-10-23 15:51:48 +01:00
Ed Morley
c0e8f06cca
Backed out changeset 7ba9be5d51df (bug 918351)
2013-10-23 15:51:24 +01:00
Peter Van der Beken
dac37f0ea9
Bug 918351 - Support Replaceable WebIDL properties. r=bz.
2013-09-15 23:04:08 +02:00
Peter Van der Beken
1e3061c17d
Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
2013-09-30 18:32:22 +02:00
Steve Fink
a232f02046
Bug 925916 - Add some handles to dom/bindings, r=bz
2013-10-11 22:02:39 -07:00
Andy Wingo
dde95bc7ff
Bug 919948 - Convert Array.prototype.@@iterator to use new iteration protocol. r=jorendorff
2013-10-17 12:10:02 +02:00
Tom Schuster
b6ee9f1bce
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Ryan VanderMeulen
a425a08d23
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
Ed Morley
307213c8a1
Merge latest green inbound changeset and mozilla-central
2013-10-14 17:39:02 +01:00
Ed Morley
bbd49c5702
Backed out changeset d8636e485e85 (bug 882541)
2013-10-14 17:30:49 +01:00
Ed Morley
bd6cd43c15
Backed out changeset 61092280cb2a (bug 882541)
2013-10-14 17:30:46 +01:00
Ed Morley
428c6583be
Backed out changeset ccf11ae08ba2 (bug 882541)
2013-10-14 17:30:43 +01:00
Kyle Huey
d5b090adc9
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 19:58:05 +08:00
Phil Ringnalda
33fa19b64f
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
2b6faaaef0
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 11:10:43 +08:00
Boris Zbarsky
f30d83dfb4
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Boris Zbarsky
d99a522f20
Bug 882541 part 3. Rework the overload resolution algorithm to WebIDL spec changes in handling of optional arguments. r=khuey
...
The major changes are as follows:
1) The new algorithm no longer adjusts "argcount" based on the
interaction of trailing undefined and [TreatUndefinedAs=Missing]
arguments. We never implemented this; just asserted that we didn't
have to deal with this situation.
2) If the distinguishing argument is undefined and there is an
overload that has an optional argument at the distinguishing
argument index, that overload is selected.
2013-10-11 12:28:24 -04:00
Boris Zbarsky
c11c5f6208
Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
...
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
2013-10-11 12:28:23 -04:00
Boris Zbarsky
f131a1f46a
Bug 817194 followup to work around emergent namespace+template MSVC bugginess: it was seeing mozilla::dom::detail in TypeTraits.h because it looks at namespaces at template _instantiation_, not declaration. Or something. Leading, of course, to a CLOSED TREE.
2013-10-09 14:12:17 -04:00
Boris Zbarsky
e113ac4720
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Ed Morley
3e04bbab8b
Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures
2013-10-09 17:48:13 +01:00
Boris Zbarsky
82fdcbb785
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Andy Wingo
4d26dec179
Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden
2013-10-03 13:37:57 +01:00
Boris Zbarsky
1066568a03
Bug 921553. Fix some binding rooting hazards that have popped up. r=peterv
2013-09-30 10:29:10 -04:00
Kyle Huey
6f58e13efe
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
29d1ee5c1d
Back out bug 919457 for build bustage. r=me
2013-09-30 10:41:23 +08:00
Kyle Huey
f594e35044
Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz
2013-09-30 09:37:26 +08:00
Olli Pettay
fe72068dc2
Bug 637248, Make Event.isTrusted Unforgeable, r=bz
2013-09-28 13:27:29 +03:00
Andy Wingo
f6755e1108
Bug 920433 - Improve API support for self-hosted functions. r=till, r=bz
2013-09-26 10:11:38 -04:00
Boris Zbarsky
7bf9ea08d2
Bug 918011 part 4. Support dictionaries in unions. r=smaug
2013-09-26 00:05:00 -04:00
Boris Zbarsky
4042154796
Bug 918011 part 3. Get rid of isInOwningUnion: it's equivalent to another isMember value. r=smaug
2013-09-26 00:05:00 -04:00
Boris Zbarsky
860a092c36
Bug 919603 part 2. Change this-handling in codegen to only do the special global object stuff on interfaces where it might matter. r=peterv
2013-09-25 14:38:30 -04:00
Boris Zbarsky
4de195b0f0
Bug 905493. Fix setting document.location via an Xray to not enter the content compartment. r=peterv
2013-09-25 14:38:29 -04:00
Ryan VanderMeulen
deedeaeacc
Backed out 5 changesets (bug 905493, bug 920125, bug 919603) for mochitest orange on a CLOSED TREE.
...
Backed out changeset ccef656b2973 (bug 919603)
Backed out changeset 4b29ce0b2fff (bug 919603)
Backed out changeset b0a051ec55b7 (bug 919603)
Backed out changeset baa9a774aad1 (bug 920125)
Backed out changeset e03276bf4eaa (bug 905493)
2013-09-25 18:22:33 -04:00
Boris Zbarsky
212fccfebc
Bug 919603 part 2. Change this-handling in codegen to only do the special global object stuff on interfaces where it might matter. r=peterv
2013-09-25 14:38:30 -04:00
Boris Zbarsky
2ad3869d56
Bug 905493. Fix setting document.location via an Xray to not enter the content compartment. r=peterv
2013-09-25 14:38:29 -04:00
Peter Van der Beken
6259e797a4
Bug 920196 - Make QueryInterface opt-in for WebIDL interfaces. r=bz.
2013-09-24 21:37:53 +02:00