Commit Graph

61 Commits

Author SHA1 Message Date
Blake Kaplan
2a476969e1 Disable this test on Android as well since it's broken in Electrolysis. r=vingtetun 2011-05-24 11:21:42 +02:00
Blake Kaplan
3065a0b71f bug 658560 - Don't call WaiveXray on an object that's already in the right compartment as that will leak the WaiveXrayWrapperWrapper to the calling JS code. r=gal
--HG--
extra : rebase_source : 0fba697513ca5cd0984ed3999a7a8df7f005b343
2011-05-23 17:20:28 +02:00
Blake Kaplan
21d04c350b Fix merge mistake. 2011-05-20 21:22:21 +02:00
Blake Kaplan
c303dfca62 Disable this test on Maemo for now. 2011-05-20 21:13:43 +02:00
Blake Kaplan
fbea73993b Fix bug 657267. r=bz 2011-05-19 13:31:54 +02:00
Blake Kaplan
a0557a5940 Bug 650273 - Force a frame here. r=luke
--HG--
extra : rebase_source : eba79b2d20d380c7172bb982c09523c3df180185
2011-05-02 15:47:10 -07:00
Boris Zbarsky
7fcb06f8bb Bug 628794. SVG and HTML/XUL .style come from different interfaces. r=peterv 2011-04-07 22:27:57 -07:00
mrbkap@gmail.com
229848dc69 Fix bug 636097 (r=gal, a=blocker). 2011-02-23 22:13:17 -08:00
Blake Kaplan
abb62339da Bug 629227 - ObjectIsNativeWrapper lies for document.domain. a=blocker 2011-02-16 20:29:14 -08:00
Chris Leary
d314637891 Bug 618017: Encountering XML should not override the version. (r=lw) 2011-02-11 17:44:55 -08:00
Peter Van der Beken
66e6b2447c Bug 623437 - restore for-in order of canvas methods (r=gal/peterv, a=jst). 2011-02-08 13:34:25 -08:00
Blake Kaplan
9790bbbe74 Bug 629331 - Fix handling of class getters with slotful values. r=gal, r=brendan, a=blocker
try: -b do -p linux,win32 -u all
2011-02-03 20:13:18 -08:00
Jonas Sicking
8ae905de30 Tests for bug 594999 (r=mrbkap). 2011-01-29 18:53:59 -08:00
Boris Zbarsky
f4f184539a Bug 585745. Make sure the .style getter fails for MathML elements too. r=peterv, a=blocker 2011-01-24 17:20:28 -05:00
Blake Kaplan
5847c714c5 Bug 571849 - Fix enumerateOwn and the Iterate constructor on Xray wrappers. r=gal a=blocking 2010-11-10 14:08:44 -08:00
Chris Leary
cee380ffc0 Bug 601299: Find RegExpStatics in cx->globalObject if necessary. (r=mrbkap) 2010-10-27 12:33:55 -07:00
Blake Kaplan
60998c4cdd Fix bug 605167. r=peterv
--HG--
extra : rebase_source : 67b5ac9708e2efe22a200ab4cbcaef76b494dfa1
2010-10-18 15:21:50 -07:00
Johnny Stenback
1ca1b04765 bug 580128 - Move test that tests for existence of XrayWrapper's into chrome, and fix lookupMethod bug that was triggered by the test move. r=mrbkap
--HG--
rename : js/src/xpconnect/tests/mochitest/test_bug517163.html => js/src/xpconnect/tests/chrome/test_bug517163.xul
2010-10-10 15:42:45 -07:00
Blake Kaplan
e05232ec8b bug 580128 - Try to make test_wrappers-2.xul work a little better.
--HG--
rename : js/src/xpconnect/tests/chrome/file_wrappers-2.html => js/src/xpconnect/tests/mochitest/file_wrappers-2.html
2010-10-10 15:38:24 -07:00
Blake Kaplan
9cc00701e9 bug 580128 - Add a test about double wrapped native objects in security wrappers. r=jst 2010-10-10 15:36:59 -07:00
Andreas Gal
c48124ac98 bug 580128 - Clean up our passing from JS-into-C++ story. r=peterv/mrbkap 2010-10-10 15:36:41 -07:00
Mounir Lamouri
e2809794f9 Bug 580128. Make tests that now need to be chrome tests be chrome tests. r=jst@mozilla.org
--HG--
rename : js/src/xpconnect/tests/mochitest/test_bug484459.html => js/src/xpconnect/tests/chrome/test_bug484459.xul
rename : js/src/xpconnect/tests/mochitest/test_cows.html => js/src/xpconnect/tests/chrome/test_cows.xul
rename : js/src/xpconnect/tests/mochitest/test_wrappers.html => js/src/xpconnect/tests/chrome/test_wrappers-2.xul
2010-09-30 00:14:30 -07:00
Blake Kaplan
9d0588387a bug 580128 - Allow unwrapping XrayWrappers via XPCNativeWrapper.unwrap. r=jst 2010-10-10 15:35:54 -07:00
Chris Leary
818371c4da Disable mochitest bug484107. (r=mrbkap, b=596134) 2010-09-13 21:40:47 -07:00
Luke Wagner
a80ab46add Bug 589028 - make nsContentUtils::GetDocumentFromCaller not depend on slow-native constructors (r=jst)
--HG--
extra : rebase_source : a12eb25eadefa5ed1bb1799516ee9b287d171aa2
2010-08-19 18:12:02 -07:00
Blake Kaplan
323d7745be Bug 564330 - Throw an exception for real when an E4X object is passed to a variant through a quickstub. r=peterv
--HG--
extra : rebase_source : f3ac8865985737756006b6843a5bb455656c07ea
2010-05-13 14:35:01 -07:00
Blake Kaplan
4801a2f799 Bug 560351 - Don't forget to actually throw the exception. r=peterv
--HG--
extra : rebase_source : 92f95ae32314cd74975dc2a932f67e617b4a7772
2010-05-05 20:44:30 -07:00
Blake Kaplan
33bd565c3b Bug 386635 - Compatibility hacks to make evalInSandbox continue to work for GreaseMonkey. r=jst
--HG--
extra : rebase_source : 3784e3ea135dbb53cd5a935369a58627bb73fb7d
2010-03-23 14:11:50 -07:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Andreas Gal
32268bb413 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Blake Kaplan
ea8d98106a Bug 542428 - Make wrappers aware of each other. r=jst
--HG--
extra : rebase_source : 94d8ce151abbbc5d75b1261e6a2c6cad117d047e
2010-02-11 17:04:41 -08:00
Blake Kaplan
12fc9781fa No bug. Add a wrapper test. rs=sicking 2010-01-18 16:54:29 -08:00
Blake Kaplan
fa51c49e3b Bug 504877 - Check for UniversalXPConnect access further down on the stack chain. r=jst sr=bzbarsky 2009-08-06 20:25:13 -07:00
Atul Varma
bdb1e8e0d6 Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Blake Kaplan
d0090a8583 Bug 505915 - Throw exceptions eagerly when we try to convert a cross-origin security wrapper to a C++ object. r=jst 2009-09-02 17:25:25 -07:00
Blake Kaplan
67c44c0769 Backed out changeset a01f270b961a to fix tinderbox orange. 2009-09-17 21:47:50 -07:00
Blake Kaplan
6d09f51003 Bug 505915 - Throw exceptions eagerly when we try to convert a cross-origin security wrapper to a C++ object. r=jst 2009-09-02 17:25:25 -07:00
Blake Kaplan
5e85bedc27 Bug 517163 - Add missing call to morph slim wrappers when wrapping them in XPCNativeWrappers. r+sr=jst 2009-09-17 18:51:10 -07:00
Blake Kaplan
79c31490dc Bug 515475 - Get rid of a spurious security check in js_InternalGetOrSet that isn't needed anymore. r=brendan 2009-09-10 14:47:19 -07:00
Blake Kaplan
3f98edd6fe Bug 502959 - Restore code to make caps allow wrapping same-origin wrappedjs objects. r=jst sr=bzbarsky 2009-08-06 20:26:33 -07:00
Blake Kaplan
5f7e2721c6 Fix bug 505988. r=bzbarsky sr=jst 2009-08-04 15:04:53 -07:00
Blake Kaplan
a81a467be4 Bug 503926 - Don't call QueryInterface on content JS objects. r=bzbarsky sr=jst 2009-07-23 14:41:16 -07:00
Blake Kaplan
6307e86103 Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst 2009-07-02 17:00:21 -07:00
Blake Kaplan
3f48024026 Bug 500691 - Call JS_ClearScope before XPConnect tries to update our outer window's scope's concept of what {Function,Object}.prototype are so that we forward correctly to the inner window's versions. r=jst sr=bzbarsky 2009-07-01 16:43:50 -07:00
Blake Kaplan
aac9f0431d Backed out changeset 291552e67a3b due to leaks. 2009-06-30 16:22:20 -07:00
Blake Kaplan
920e1cabfe Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst
--HG--
extra : rebase_source : 5f73d1e92b912cf88c8a45a3ccd53de35c7b1e3d
2009-06-30 13:49:46 -07:00
Boris Zbarsky
9e286af994 Bug 484459. Give SandboxClass a convert method so it doesn't end up delegating that to the prototype. r+sr=mrbkap 2009-06-03 18:49:53 -04:00
Ben Newman
17a2ceeaca Bug 484107 - XPCSafeJSObjectWrapper allows regexp variables to be clobbered. r=mrbkap+sr=brendan 2009-04-14 19:32:17 -07:00
Ben Newman
e6a74e3560 Bug 478438 - Can't access allAccess properties of cross-origin XPCNativeWrappers. r+sr=mrbkap 2009-03-04 13:49:08 -08:00
Blake Kaplan
2ddd004009 Bug 462428 - Make __lookup[GS]etter__ work on quickstubbed properties by faking it for XPConnect prototype objects only. r=jorendorff sr=brendan 2009-01-23 15:44:01 -08:00