Bobby Holley
f809b3f8fc
Bug 976148 - Support the 'prototype' property for standard constructors. r=gabor
2014-06-19 09:57:06 -07:00
Bobby Holley
6f76ec9e20
Bug 976148 - Implement Xrays to Function objects. r=gabor
2014-06-19 09:57:06 -07:00
Bobby Holley
a112c74d76
Bug 987163 - Implement Xrays for TypedArrays. r=gabor
2014-06-17 10:16:08 -07:00
Bobby Holley
c1d87606e3
Bug 987163 - Fix some squelched OOMs. r=gabor
2014-06-17 10:16:08 -07:00
Bobby Holley
ae1bad3ec5
Bug 987163 - Convert from |switch| statements to |if| statements. r=gabor
...
I realized that the switches are going to be cumbersome for Array stuff, because
we'll have to enumerate each kind of TypedArray as a separate case: statement.
Let's just use |if| so that we can call a helper.
2014-06-17 10:16:08 -07:00
Bobby Holley
cfef6a798e
Bug 1020609 - Implement Xrays to Arrays. r=bz
2014-06-11 15:16:07 -07:00
Bobby Holley
a1224afe5e
Bug 1020609 - Make configurability check in Xray defineProperty match the spec. r=bz
...
This code is basically emulating the ES semantics with respect to non-configurable
properties. Non-configurable value properties can still be writable, in which case
their value and writability may be updated.
2014-06-11 15:16:06 -07:00
Bobby Holley
30064d33fd
Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor
2014-06-10 20:15:56 -07:00
Trevor Saunders
9a83f7ad77
bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo
2014-06-06 15:31:30 -04:00
Bobby Holley
0334f7bfa3
Bug 987111 - Flip on Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
ebcf27d35f
Bug 987111 - Implement delete_ for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
9d60463754
Bug 987111 - Implement defineProperty for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
f2bb2af546
Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
71fcbffa91
Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
c220920569
Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
...
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-05 22:32:38 -07:00
Vivien Nicolas
415826b1df
Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley
2014-06-04 20:11:05 +02:00
Wes Kocher
0558a0360e
Backed out 13 changesets (bug 987111) for disagreeing with some patch from b-i or fx-team in tonight's merge to hopefully fix a CLOSED TREE
...
Backed out changeset d4e390ceac27 (bug 987111)
Backed out changeset 5f88b5ef9496 (bug 987111)
Backed out changeset cdfd24ddf448 (bug 987111)
Backed out changeset 7883150e5471 (bug 987111)
Backed out changeset 407c7ca82ada (bug 987111)
Backed out changeset e7140ccf7e09 (bug 987111)
Backed out changeset 0a4d18d6306f (bug 987111)
Backed out changeset e7b7548867d9 (bug 987111)
Backed out changeset 944d128f135a (bug 987111)
Backed out changeset 33860f30fc4f (bug 987111)
Backed out changeset 518a915fb81b (bug 987111)
Backed out changeset 7576a51cf72e (bug 987111)
Backed out changeset 1a8dc1af9de6 (bug 987111)
2014-06-04 22:12:50 -07:00
Bobby Holley
b32d5afdad
Bug 987111 - Flip on Object Xrays. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
db1c7852e8
Bug 987111 - Implement delete_ for Object Xrays. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
0a7010d16b
Bug 987111 - Implement defineProperty for Object Xrays. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
796db35d2c
Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
a272d2ce58
Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor
2014-06-04 15:12:26 -07:00
Bobby Holley
4f55f7843a
Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
...
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-04 15:12:26 -07:00
Ryan VanderMeulen
6b57c0158f
Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
...
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Vivien Nicolas
aa84a8bffe
Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley
2014-06-04 20:11:05 +02:00
Bill McCloskey
72fb6b7779
Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley)
2014-06-02 18:04:21 -07:00
Bobby Holley
5176f888e6
Bug 972987 - Implement Xrays to self-hosted methods and properties. r=till,gabor
2014-06-02 13:55:20 -07:00
Bobby Holley
74974e5169
Bug 992958 - Add support for prototype JSPropertySpecs on ClassSpec. r=luke
2014-05-23 16:53:03 -07:00
Jon Coppeard
d67f0ed243
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Birunthan Mohanathas
56da97da22
Bug 866289 - Make mode lines consistent in js/xpconnect/ for 4 space indented files. r=Ms2ger
2014-04-03 07:58:00 -04:00
Jason Orendorff
f2f8b6fca8
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Jason Orendorff
d3d65bb33a
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Jason Orendorff
708529b088
Bug 547140, part 1 - Remove JSRESOLVE_ASSIGNING. r=Waldo.
2014-04-25 16:11:00 -05:00
Jason Orendorff
56e94c837d
Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
2014-04-25 15:07:18 -05:00
Peter Van der Beken
b97eb89927
Bug 993057 - Fix Xrays to disallow indexed expando properties on Xrays for Window with a WebIDL binding. r=bholley.
2014-02-15 22:12:35 +01:00
Bobby Holley
643008eda9
Bug 975042 - Enable JS Xray for the Date object. r=peterv
2014-03-23 11:02:14 -03:00
Bobby Holley
c000fe942d
Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
d380659fd1
Bug 975042 - Make enumerateNames trap virtual. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
64bcba94d2
Bug 975042 - Implement getPrototypeOf. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
b7f37b259b
Bug 975042 - Implement createHolder. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
7ed7eb534c
Bug 975042 - Implement the easy trait hooks. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
3a7b989749
Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
...
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-23 11:02:12 -03:00
Carsten "Tomcat" Book
f2405dd593
Backed out changeset 351371062c26 (bug 975042)
2014-03-21 08:47:48 +01:00
Carsten "Tomcat" Book
ea53cd6c87
Backed out changeset 449ade4078c0 (bug 975042)
2014-03-21 08:47:47 +01:00
Carsten "Tomcat" Book
548dc24033
Backed out changeset 59a38e0e27bb (bug 975042)
2014-03-21 08:47:45 +01:00
Carsten "Tomcat" Book
58a2b2966a
Backed out changeset 8ac7fa583164 (bug 975042)
2014-03-21 08:47:44 +01:00
Carsten "Tomcat" Book
239909ac15
Backed out changeset 6c25a4bfd449 (bug 975042)
2014-03-21 08:47:43 +01:00
Carsten "Tomcat" Book
0ce307b575
Backed out changeset f7d97dc26289 (bug 975042)
2014-03-21 08:47:42 +01:00
Carsten "Tomcat" Book
d92ba87878
Backed out changeset 1b62c8f1c211 (bug 975042)
2014-03-21 08:47:41 +01:00
Bobby Holley
9364f7f890
Bug 975042 - Enable JS Xray for the Date object. r=peterv
2014-03-20 23:47:24 -03:00