Gabor Krizsanits
88396c531b
Bug 785096 - part2: Removing XPCCallContext dependency from XPCVariant; r=bholley
2012-09-20 15:03:28 +02:00
Eddy Bruel
7e5561a777
Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley
2012-09-11 21:42:01 +02:00
Bobby Holley
f82cbc37b3
Bug 789713 - Ignore domain when computing whether to share non-PreCreate WNs cross-compartment. r=mrbkap
2012-09-11 10:23:20 -07:00
Andrew Sutherland
551a753f47
Bug 786639 - XPCChromeObjectWrapper __exposedProps__ should expose the content of typed arrays like UInt8Array. r=bholley
2012-09-05 14:05:32 -07:00
Nicolas Chaim Echeverria
4da156d9b6
Bug 726125: Certificates of signed extensions were getting validated on each startup. r=taras, sr=bzbarsky
2012-08-30 16:58:55 -04:00
Luke Wagner
3595a4cdb6
Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap)
2012-08-23 11:23:28 -07:00
Gabor Krizsanits
5138045eff
Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley
2012-08-27 15:15:20 +02:00
Gabor Krizsanits
9a223560e1
Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap
2012-08-27 15:06:34 +02:00
Boris Zbarsky
efc50e4b0d
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
Bobby Holley
48fc85f058
Bug 780370 - Remap objects from standard prototypes even if they're explicitly exposed. r=mrbkap
2012-08-23 19:07:14 -07:00
Andrew McCreight
85ee7e2fc8
Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm
2012-08-08 11:05:58 -07:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Bobby Holley
826e13d885
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
7e122c271a
Backed out changeset 61e9eaf9aae2
...
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
db7c7123df
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-20 21:03:44 -07:00
Gabor Krizsanits
f51ee4f7f0
Bug 777705 - Default policy for expanded principals. r=mrbkap
2012-08-20 11:22:34 -07:00
Bobby Holley
2fd623ff39
Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap
2012-08-17 23:14:55 -07:00
Gabor Krizsanits
51367636f4
Bug 779821 - safe XHR creation for sandboxes
2012-08-15 11:00:21 +02:00
Bobby Holley
ecf7bf46b9
Bug 781476 - Test. r=me
2012-08-16 12:25:39 -07:00
Dave Townsend
2e2b4aca5e
Backing out bug 761620 due to Add-on SDK test failures.
2012-08-15 10:31:21 -07:00
Mark Capella
9aedb93f44
Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
...
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Boris Zbarsky
17c8fd47c8
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
b81fd9484b
Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm
2012-08-08 11:05:58 -07:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Bobby Holley
2c48de6a45
Bug 778409 - Enter the compartment of unwrappedProto rather than obj in Rewrap. r=gabor
...
This can happen if chrome sets its proto to a content object from a different scope
than the one doing the wrapping. In this case, the prototype chain looks like this:
chromeobj => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)
When wrapping chromeobj for exampleorg_scope, things will look like this:
COW(chromeobj) => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)
Note that we don't remap the proto of CCW(examplecom_scope) to
exampleorg_scope.Object.prototype, because the proto remapping only happens when
the object we're wrapping is chrome. There's no reason it has to be this way, but
even if we changed it we still wouldn't get the nice remapped lookup behavior to
exampleorg_scope.Object.prototype, because the proxy handler for CCW(examplecom_obj)
isn't a ChromeObjectWrapper, and thus doesn't know how to to the prototype bouncing
correctly.
Anyway, I suspect this case isn't worth worrying about as long as we don't crash.
2012-07-30 22:18:55 +02:00
Jason Orendorff
806c6dc8a4
Disable two E4X tests that were failing only on platforms using e10s content processes after landing bug 765890. no_r=orange.
2012-07-30 14:52:02 -05:00
Ted Shroyer
4211119139
Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
...
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Bobby Holley
6d3eb5ee8b
Bug 760109 - Tests. rs=mrbkap
2012-07-27 12:15:46 +02:00
Benjamin Peterson
ac41818e21
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
Joshua Cranmer
e1cdfe2f05
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Matthew Noorenberghe
649ea34449
Bug 772288 - Tests. r=bholley
2012-07-23 16:47:18 +02:00
Bobby Holley
6761975fd3
Bug 773962 - Tests. r=mrbkap
2012-07-23 15:51:19 +02:00
Benjamin Peterson
d334d9712c
Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz
2012-07-22 15:14:47 -07:00
Benjamin Peterson
5354c0f330
Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz
2012-07-22 09:00:45 -07:00
Benjamin Peterson
37bb2798f1
Bug 761723 - Add test for chrome toSource. r=bz
...
--HG--
extra : rebase_source : e4e41b30d2bdb73c8f48dd01a1ad8b974604978c
2012-07-20 20:20:09 +02:00
Justin Lebar
2170f814d5
Bug 773980 - Add Components.utils.isDeadWrapper. r=bholley
...
--HG--
rename : js/xpconnect/tests/Makefile.in => js/xpconnect/tests/browser/Makefile.in
2012-07-19 12:39:43 -04:00
Makoto Kato
2a4902ee1b
Bug 771401 - Change PRTime in IDL to signed long long. r=bholley sr=bsmedberg
2012-07-19 18:53:30 +09:00
Bobby Holley
b4fc3bcfe8
Bug 774245 - Tests. r=mrbkap
2012-07-18 13:51:28 +02:00
Gabor Krizsanits
ce3fab5c93
Bug 769273 - part3: Cu.nukeSandbox. r=bholley
2012-07-17 17:41:07 +02:00
Boris Zbarsky
ab6fc58420
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
473b4a8aa9
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Bobby Holley
4262204785
Bug 601277 - Better tests for document.domain. r=mrbkap
2012-07-12 10:10:15 +02:00
Nathan Froyd
5b30baa4c3
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
Ehsan Akhgari
79476e0c44
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpconnect parts); r=bholley
2012-06-19 23:33:46 -04:00
Bobby Holley
bb38fbaa32
Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz
2012-06-15 08:31:27 +02:00
Peter Van der Beken
c13ddebfa6
Fix for bug 760131 (Quickstub argument unwrapping fails for security-wrapped list proxy and paris binding objects). r=bz.
...
--HG--
extra : rebase_source : 945d58f3b73f25f05528e6c6d69745215cb4793a
2012-06-01 18:24:52 +02:00
Bobby Holley
051ea1ec66
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
fb72dcee1f
Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff
2012-06-12 15:44:14 +02:00
Gabor Krizsanits
be6dae7869
Bug 734891 - part 5: Adding optional XHR constructor to sandbox
2012-06-09 15:19:27 -07:00
Gabor Krizsanits
0fd528e2e2
Bug 734891 - part 4: Using ExpandedPrincipal
2012-06-09 15:19:27 -07:00