Kyle Huey
bc4bf082d3
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 13:21:03 -08:00
Bobby Holley
56d2c9b612
Bug 569506 - Tearoff tests. r=mrbkap
2012-11-14 10:15:13 -08:00
Bobby Holley
d2fe9d94ec
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 21:47:49 -03:00
Ed Morley
14d92519c8
Backout 23c9f61a243b & 6ca11f4b470c (bug 805807) for mochitest-1 orange in test_contextmenu.html
2012-11-02 14:12:51 +00:00
Bobby Holley
7c2fa965c3
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 13:27:59 +01:00
Kyle Huey
45adfbf2c8
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
e6e6deb486
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad
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
a7bb0ec116
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a
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
Bobby Holley
4c9f632b1a
Bug 792036 - Fix sandbox xpcshell tests. r=gabor
...
I want gabor to look at these.
2012-09-24 14:46:28 +02: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
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
Gabor Krizsanits
f51ee4f7f0
Bug 777705 - Default policy for expanded principals. r=mrbkap
2012-08-20 11:22:34 -07:00
Gabor Krizsanits
51367636f4
Bug 779821 - safe XHR creation for sandboxes
2012-08-15 11:00:21 +02: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
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
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
Gabor Krizsanits
ce3fab5c93
Bug 769273 - part3: Cu.nukeSandbox. r=bholley
2012-07-17 17:41:07 +02:00
Ryan VanderMeulen
b74e4a29db
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04: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
Gabor Krizsanits
f826dbc135
Bug 747434 - Part 2: Optional Components object in sandbox. r=bholley
2012-05-22 20:21:45 -04:00
Gervase Markham
d3c0e246ff
Bug 716478 - update line numbers in XPCshell tests, necessary because of updating licence to MPL 2 with new, shorter boilerplate.
2012-05-21 12:13:52 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Gabor Krizsanits
f65e785137
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-28 09:12:28 -04:00
Ryan VanderMeulen
3f70ab0134
Backout a0b3af4ac9f5 (bug 735280) due to Android jsreftest orange.
2012-04-25 21:59:36 -04:00
Gabor Krizsanits
8f2218a116
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-25 20:12:33 -04:00
Ryan VanderMeulen
7d4f50a90d
Backout 0b170d1f5d10 (bug 735280) due to red.
2012-04-24 22:09:23 -04:00
Gabor Krizsanits
0a0e1a6bd0
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-24 21:48:02 -04:00
Marco Bonardo
b7c136e7dc
Bug 722254 - Add an XPCOMUtils method to generate a singleton factory.
...
Use the new factory in Places js services, to ensure they can't be instanced multiple times.
r=bsmedberg
2012-02-07 10:17:42 +01:00
Josh Matthews
93504129e1
Bug 463122 - Propagate mozJSComponentLoader exceptions that occur while executing the script. r=mrbkap
2011-12-28 11:55:11 -05:00
Makoto Kato
4bd01ef782
Bug 711404 - Part a: Correctly handle unsigned long long as PRUint64 instead of PRInt64; r=bholley
2011-12-24 09:25:54 +01:00
Ms2ger
84ddd624f8
Bug 712649 - Components.utils.getWeakReference(null) should fail silently; r=bholley
2011-12-24 09:20:04 +01:00
John Schoenick
34b5116fdd
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Ms2ger
b6f42e130c
Backed out changeset ba447ace2594 (bug 687679) for bustage.
2011-12-16 21:17:16 +01:00
John Schoenick
d2b02fa02e
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Bobby Holley
9440548e3f
Bug 711203 - enable XPConnect wstring test. r=khuey
2011-12-15 13:27:42 -08:00
Antti Haapala
05b303b524
Bug 699156: Support TypedArrays in XPConnect. r=bholley,evilpie
2011-12-03 09:33:20 -05:00
Bobby Holley
f28c3b5733
Bug 693341 - Test arrays of iid_is params. r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
2a7b499431
Bug 693341 - Improve array and interface comparisons. r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
eb8f8822de
Bug 693341 - Test iid_is(). r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
232928b5e3
Bug 693341 - Test interface arrays. r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
b140fb446f
Bug 693341 - Introduce a few test interfaces. r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
2a43dc603c
Bug 693341 - Test sized strings. r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
870e878e2a
Bug 693341 - Test arrays of strings. r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
5731e74e86
Bug 693341 - Test arrays of arithmetic types. r=khuey
2011-10-27 12:43:38 -07:00
Bobby Holley
99e689efc2
Bug 693341 - Use comparators for everything in test_params.js. r=khuey
2011-10-27 12:43:38 -07:00