Commit Graph

522 Commits

Author SHA1 Message Date
mrbkap@gmail.com
2ccd5c8afc Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan 2007-07-26 12:18:06 -07:00
benjamin@smedbergs.us
2694ad77f8 Fix MSVC7 build bustage from bug 389401, a=gavin for checkin to closed tree 2007-07-26 07:09:46 -07:00
brendan@mozilla.org
18e7692117 Backing out, see bug 389122 and orange or red tinderboxes. 2007-07-21 16:21:20 -07:00
brendan@mozilla.org
5f038f69ae Fast natives and related optimizations (385393, r=igor). 2007-07-21 14:39:42 -07:00
mrbkap@gmail.com
32e5403680 Don't double-wrap objects when getting them out of an XPCVariant. bug 384632, r=peterv sr=jst 2007-07-20 18:03:55 -07:00
nboyd@atg.com
22bf01cd82 Fix bug 388643 - JavaScript Tests - global shell.js sets JavaScript version to
version lower than required by E4X tests
Patch from David Caldwell.
2007-07-19 12:57:48 -07:00
dbaron@dbaron.org
e2de611d66 Add more useful assertion for debugging cycle collector faults. b=386912 r+sr=peterv 2007-07-18 21:58:39 -07:00
dmose@mozilla.org
b67b115f9b Fix comment to say 'createInstance' when it really means that, since this is pointed to by devmo as API documentation; no bug; rs=shaver 2007-07-18 13:19:05 -07:00
nboyd@atg.com
4b843458ac Fix bug 387694 - More reportMatch changes to generalize tests 2007-07-18 12:59:20 -07:00
bclary@bclary.com
f4c691ea89 add winmm.lib to JavaScript Shell build configuration on Windows, bug 363258, not part of the build. r=mrbkap 2007-07-18 12:55:15 -07:00
jwalden@mit.edu
aed9b5ce09 Bug 388276 - Build failed on solaris x86 due to checkin for 372428. Patch by Leon Sha <leon.sha@sun.com>, r=cls 2007-07-17 14:23:24 -07:00
mrbkap@gmail.com
243fcf04c8 Move where we convert things into strings into a more centralized place. bug 372075, r=bzbarsky sr=jst 2007-07-17 13:12:21 -07:00
igor@mir2.org
7521eca107 Bug 387871: proper state checks when closing the generator. r=brendan 2007-07-16 23:41:20 -07:00
igor@mir2.org
c1697578e3 Bug 380469: Followup to remove to no longer used JSGenerator.next. r=brendan 2007-07-16 23:38:27 -07:00
mrbkap@gmail.com
5c7beffa5d Fixing build bustage. 2007-07-16 14:44:00 -07:00
mrbkap@gmail.com
fdc7ef43dc Bad millisecond resolution for (new Date).getTime() / Date.now() on Windows. bug 363258, patch from Rob Arnold <robarnold@mozilla.com>, r=brendan 2007-07-16 14:29:57 -07:00
igor@mir2.org
2c3d4c6796 Bug 380469: Taking away too zealous code simplification. 2007-07-16 13:57:16 -07:00
dolske@mozilla.com
6bf090c4dc Bug 388190: XPCOMUtils spews uuids when registering components. r=sayrer, sr=benjamin 2007-07-16 10:57:49 -07:00
alex@croczilla.com
1f0c5d93d4 Bug 381693 - Allow null targetObj arg to xpcIJSModuleLoader::import().
r=sayrer, src=brendan.
2007-07-15 11:21:11 -07:00
asqueella@gmail.com
25882be3be synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>
r=sayrer, bug 380970
2007-07-14 14:43:35 -07:00
igor@mir2.org
35f6f4434c Bug 380469: Followup for the previous check in to remove more no longer used close-on-GC code. r=brendan 2007-07-14 01:28:57 -07:00
igor@mir2.org
7f9b5d19e5 Bug 387909: make sure that [generator] is the first bytecode. r=brendan 2007-07-13 14:23:39 -07:00
bclary@bclary.com
fa8f53b8c7 JavaScript Test - regression test for bug 349326, by Igor Bukanov 2007-07-13 10:23:49 -07:00
bclary@bclary.com
34979ba6a5 JavaScript Test - regression test for bug 382981, by Jesse Ruderman 2007-07-13 10:08:03 -07:00
bclary@bclary.com
7387995a11 JavaScript Test - regression test for bug 383269, by Igor Bukanov, Brendan Eich 2007-07-13 09:56:29 -07:00
igor@mir2.org
79f3a28c2d Bug 380469: Calling close on unreachable generators from GC is no longer supported. r=brendan 2007-07-13 00:28:47 -07:00
bclary@bclary.com
50dd33d1af JavaScript Test - regression test for bug 384680, by Jesse Ruderman 2007-07-12 19:26:26 -07:00
bclary@bclary.com
6c2c3b9ee4 JavaScript Test - regression test for bug 385134, by Jesse Ruderman 2007-07-12 19:08:24 -07:00
bclary@bclary.com
0e7cbb17c7 JavaScript Test - regression test for bug 385729, by Jesse Ruderman 2007-07-12 18:49:58 -07:00
bclary@bclary.com
6b599d58f1 JavaScript Test - regression test for bug 386030, by Blake Kaplan 2007-07-12 18:13:41 -07:00
crowder@fiverocks.com
b41a2f79a8 Bug 357016: follow-up to fix another void* nit, patch by Edward Lee edilee@mozilla.com, r=crowder 2007-07-12 17:04:23 -07:00
bclary@bclary.com
f66da88076 JavaScript Test - regression test for bug 387501 2007-07-12 13:56:00 -07:00
jwalden@mit.edu
af5688aa77 Back out bug 386635; it broke restoring sessions in the browser. 2007-07-12 12:11:45 -07:00
bclary@bclary.com
21f8eca1f2 JavaScript Tests - automation updates, bug 387909, not part of the build 2007-07-12 10:49:30 -07:00
igor@mir2.org
a3be4211d4 Bug 357016: Patch from Edward Lee to restore ability to compile SpiderMonkey with C++ compiler. It was broken after my changes. r=myself 2007-07-12 00:48:50 -07:00
jwalden@mit.edu
8f1a184c3f Back out bug 387390; it causes the marquee binding to throw security exceptions. 2007-07-11 20:14:27 -07:00
mrbkap@gmail.com
ab6b85e4fa Don't trust the filename of cloned functions. bug 387390, r=jst sr=brendan 2007-07-11 18:27:03 -07:00
mrbkap@gmail.com
fcde0538ee Always return XPCSafeJSObjectWrappers from Components.utils.Sandbox and evalInSandbox. This makes this interface much, much easier to use safely, as the wrapper takes care of several common problems that occur when touching regular JS objects directly. bug 386635, r=jst sr=brendan 2007-07-11 15:52:28 -07:00
mrbkap@gmail.com
f90fd387a3 Clear dormantNext when we're done using it. bug 387725, r=igor 2007-07-11 14:57:05 -07:00
igor@mir2.org
a4c622bced Bug 386885: JSAtom.number is removed in favour of using atoms itself for hashing. r=brendan 2007-07-11 02:25:45 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
bzbarsky@mit.edu
a91172fdd2 Clean up the XDR properly even if JS_XDRScript fails. In particular, don't
double-free things.  Bug 387572, r+sr=brendan
2007-07-10 20:10:43 -07:00
bzbarsky@mit.edu
8a55f7964d Relanding bug 326777, r=bsmedberg, sr=jst 2007-07-10 17:57:17 -07:00
mrbkap@gmail.com
bb96ca4a6a Create exceptions with the right parent. bug 387390, r=jst sr=brendan 2007-07-10 17:37:03 -07:00
mrbkap@gmail.com
fb2469a627 Ensure that we have a valid scope chain at all times so C++ callers can create objects in the right scope. bug 387591, r=brendan 2007-07-10 17:29:25 -07:00
mrbkap@gmail.com
c71d4d7cd9 Avoid asserting for user-controlled thing (through __proto__ setting). bug 387182, r+sr=jst 2007-07-10 17:27:57 -07:00
brendan@mozilla.org
85a81f822c to{Source,{,Locale}String} are not generic (387501, r=mrbkap). 2007-07-09 22:07:20 -07:00
bzbarsky@mit.edu
b684e745b0 Backing out to fix red 2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
e57cc08535 Make sure that we push a null JSContext on the current thread's XPConnect stack
before processing events.  Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
mrbkap@gmail.com
623c0f85b7 Attempt to fix leaks. 2007-07-09 17:24:16 -07:00