Masatoshi Kimura
816f18b1f1
Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz
2012-12-16 19:57:12 -05:00
Bobby Holley
2db9f70258
Bug 813901 - Validate __exposedProps__. r=mrbkap
...
This also involves modifying test_cows to deep clone in getCOW.
2012-12-07 14:49:11 -08:00
Bobby Holley
d9bcd00b8c
Bug 812415 - Use wrapperSubsumes rather than isChrome in XPCNativeWrapper.unwrap. r=mrbkap
...
The current behavior breaks same-origin Xrays in sandboxes. This makes it match
the check we do in XrayWrapper.cpp for the .wrappedJSObject property.
2012-11-21 17:55:58 -08:00
Bobby Holley
71708ef37a
Bug 808608 - Rescue expando sharing tests. r=mrbkap
...
We have a very nice and robust infrastructure for per-origin expando sharing
for Xrays. Unfortunately, the only way to currently exercise it is with
Location objects, since those are the only objects with same-origin Xrays
(cross-origin Xrays don't allow expandos at all). Sandbox wantXrays would
almost work here, but we actually make an explicit exception for sandboxes
so that they never share expandos (the 'exlusive global' stuff).
I think the infrastructure is nice and that we may want it in the future, so
I don't really want to back it out. But I also don't want to leave it in the
tree untested. So I'm adding an explicit Cu API to force DOM compartments to
use same-origin Xrays. This allows us to keep testing this stuff, which I think
is important.
2012-11-21 13:20:04 -08:00
Benjamin Peterson
682af1e5b6
Bug 795104 - Sources with a custom charset can't be lazily loaded. r=bz
2012-11-20 11:30:03 -06:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Bobby Holley
ce50e5bd1b
Bug 804630 - Tests for exposing prototype properties on a derived object. r=mrbkap
2012-10-30 18:29:11 +01:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
foudfou
f830f40097
Bug 799537 - Move xpconnect chrome mochitests in tests/mochitest to tests/chrome. r=bholley
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug361111.xul => js/xpconnect/tests/chrome/test_bug361111.xul
rename : js/xpconnect/tests/mochitest/test_bug760131.html => js/xpconnect/tests/chrome/test_bug760131.html
2012-10-19 22:44:26 +02:00
Bobby Holley
18c36e53ac
Bug 802968 - Fix racy test behavior. r=me DONTBUILD
...
--HG--
extra : rebase_source : 631b1d7d8efc625725b9a733c8e065030ff795e1
2012-10-18 14:41:13 +02:00
Bill McCloskey
513173337d
Bug 798678 - Weakmap key preservation test (r=mccr8)
2012-10-17 18:22:54 -07:00
Bill McCloskey
0d30c52e22
Bug 798678 - Refactor wrapper preservation for weakmaps (r=mccr8)
2012-10-08 18:22:47 -07:00
Bobby Holley
a0bafb7cc3
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Bobby Holley
fcedab455b
Bug 792280 - Only censor function.caller for non-same-origin calls. r=luke
2012-10-17 17:56:49 +02:00
Bobby Holley
c30bf840f9
Bug 799348 - When creating a new content window, create the surrounding chrome docshell as system. r=bz
2012-10-11 19:44:20 +02:00
foudfou
3a23c1b328
Bug 793433 - Fix crash when nsAppShellService::RegisterTopLevelWindow called with invalid arguments. r=bholley
...
--HG--
extra : rebase_source : 2f3be0e474c727ea5a58177809bf3af1f34477ec
2012-10-09 11:56:58 +02:00
Bobby Holley
54d2fc8eec
Bug 761695 - Put Proxy and DOM expandos on the expando object, rather than the holder. r=peterv
2012-10-05 18:59:24 +02:00
Bobby Holley
02d3f31738
Bug 795275 - Warn about content access to |Components|. r=mrbkap
2012-10-03 11:44:18 +02:00
Eddy Bruel
bff8be71da
Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley
2012-09-11 21:42:01 +02:00
Andrew Sutherland
6801aff464
Bug 786639 - XPCChromeObjectWrapper __exposedProps__ should expose the content of typed arrays like UInt8Array. r=bholley
2012-09-05 14:05:32 -07:00
Gabor Krizsanits
a4a418d2ac
Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley
2012-08-27 15:15:20 +02:00
Gabor Krizsanits
56e99a4fb8
Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap
2012-08-27 15:06:34 +02:00
Boris Zbarsky
31276eb444
Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron
2012-08-23 21:08:09 -07:00
Andrew McCreight
c661c10ad3
Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm
2012-08-08 11:05:58 -07:00
Bobby Holley
625511572e
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-21 10:27:08 -07:00
Bobby Holley
da84660fd1
Backed out changeset 61e9eaf9aae2
...
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
e4a6e10695
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-20 21:03:44 -07:00
Bobby Holley
4a569927e2
Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap
2012-08-17 23:14:55 -07:00
Dave Townsend
703efdec92
Backing out bug 761620 due to Add-on SDK test failures.
2012-08-15 10:31:21 -07:00
Boris Zbarsky
8cded52f17
Bug 780542. Make construction via a function proxy with an object in the constructor slot actually construct instead of just calling. r=ejpbruel
2012-08-08 23:47:04 -04:00
Andrew McCreight
8a8a3e7167
Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm
2012-08-08 11:05:58 -07:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Bobby Holley
13be2afc3c
Bug 760109 - Tests. rs=mrbkap
2012-07-27 12:15:46 +02:00
Benjamin Peterson
612f2e9bba
Bug 776430 - Use the rightmost URI to account for possible multiple prefixing. r=bz
...
--HG--
extra : rebase_source : 00d3a825d0743dc5ba61a0dbe69c6f8a75b4b208
2012-07-23 19:13:18 -07:00
Bobby Holley
b883b8e23d
Bug 773962 - Tests. r=mrbkap
2012-07-23 15:51:19 +02:00
Benjamin Peterson
48b39e2d5c
Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz
2012-07-22 15:14:47 -07:00
Benjamin Peterson
34a152c641
Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz
2012-07-22 09:00:45 -07:00
Benjamin Peterson
0d217352e9
Bug 761723 - Add test for chrome toSource. r=bz
...
--HG--
extra : rebase_source : e4e41b30d2bdb73c8f48dd01a1ad8b974604978c
2012-07-20 20:20:09 +02:00
Boris Zbarsky
fb736cb9b5
Bug 771429. Instead of using bound functions for the functions we get off the sandbox proto, use a function proxy. That allows property gets on the functions to get through. r=bholley
2012-07-13 19:29:13 -04:00
Bobby Holley
1a88142535
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Bobby Holley
3bdccb2949
Bug 601277 - Better tests for document.domain. r=mrbkap
2012-07-12 10:10:15 +02:00
Nathan Froyd
a7eb97f896
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Bobby Holley
50c7e8bc6b
Bug 763341 - Handle wrappers in new dom binding QI. r=bz
...
The |ok| parent check goes away because it's ill-conceived. All it's really checking is that proxies are parented to the global, and it's impossible to port to SpecialPowers, because SpecialPowers will think that the proxy is parented to the SpecialPowers global. I don't think this check is very important, so I removed it.
2012-06-12 15:44:21 +02:00
Bobby Holley
a2a3845832
Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff
2012-06-12 15:44:14 +02:00
Bobby Holley
ddaccb089a
Bug 758415 - Tests. r=mrbkap
2012-06-05 19:07:38 +02:00
Bobby Holley
e597134b03
Bug 760076 - Make |construct| use Wrapper::CALL. r=mrbkap
2012-05-31 18:36:15 +02:00