mattwillis%gmail.com
b92b4f76da
Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons
...
git-svn-id: svn://10.0.0.236/trunk@247682 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:57:00 +00:00
nboyd%atg.com
526365f5be
Add test
...
git-svn-id: svn://10.0.0.236/trunk@247675 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:09:00 +00:00
nboyd%atg.com
137910fcf4
Patch from Dominic Cooney:
...
Some users are getting bitten by Xerces' DocumentBuilderImpl
throwing UnsupportedOperationException for reset, which Rhino E4X
calls when it is returning the document builder to its (wading) pool.
I've attached a patch that suppresses the
UnsupportedOperationException in returnDocumentBuilderToPool and
leaves the pool empty if reset throws UnsupportedOperationException.
git-svn-id: svn://10.0.0.236/trunk@247665 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 19:05:06 +00:00
nboyd%atg.com
706695df30
Begin 1.7R2 work
...
git-svn-id: svn://10.0.0.236/trunk@247664 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 19:04:03 +00:00
bclary%bclary.com
90bbc2ca73
JavaScript Tests - update known failures to account for improved CAPS messages in bug 246699, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@247660 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 18:12:09 +00:00
bclary%bclary.com
62e991a75e
JavaScript Tests - update known failures for mac debug browser on js1_5/Array/regress-350256-03.js, bug 350256, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@247653 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 17:21:54 +00:00
igor%mir2.org
9be5670c27
bug=420904 support for custom options for jsinterp.c in js shell build scripts. This is outside of tree.
...
git-svn-id: svn://10.0.0.236/trunk@247638 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 14:36:06 +00:00
nboyd%atg.com
54e009f4f7
Fix warnings, mainly @Override and generics.
...
git-svn-id: svn://10.0.0.236/trunk@247632 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 12:47:25 +00:00
brendan%mozilla.org
46a89fcd1a
Fix indentation nit
...
git-svn-id: svn://10.0.0.236/trunk@247606 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 07:05:30 +00:00
shaver%mozilla.org
e0329e27a7
Bug 422286: fix accounting of array length when slicing dense arrays.
...
r=mrbkap, a=mconnor.
git-svn-id: svn://10.0.0.236/trunk@247605 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 06:50:55 +00:00
bclary%bclary.com
ff980df0be
JavaScript Tests - fix TimeWithinDay for negative arguments, bug 264727
...
git-svn-id: svn://10.0.0.236/trunk@247579 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 22:18:23 +00:00
reed%reedloden.com
9d0d6d838e
Bug 418406 - "Make network error constants accessible via Components.results" [p=trev.moz@adblockplus.org (Wladimir Palant) r=biesi sr=sicking a1.9=damons]
...
git-svn-id: svn://10.0.0.236/trunk@247533 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 08:14:04 +00:00
reed%reedloden.com
96bf80ec88
Bug 421947 - "More C++ casts required for Windows only, especially overloaded pow() and log10()" [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=crowder a1.9=damons]
...
git-svn-id: svn://10.0.0.236/trunk@247529 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 08:09:41 +00:00
timeless%mozdev.org
4b89f5e047
Bug 421303 Crash [@ jsds_ScriptHookProc]
...
r=caillon a=dsicore
If we reach ~jsdService, that means our client doesn't care about us, so we can
(and should) drop all references to any callbacks (if they cared, they'd have
kept us alive!*).
I think jsdService::Off should clear all the hooks, the strange magic of not
clearing it isn't really a great idea. So for Off, we'll now clear the
ScriptHook too (consumers who use off should really drop any references they
have to our objects...). I'm still on the fence on this point, I suspect we can
actually move it from ::Off to ~jsdService (it must be cleared at some point,
otherwise if jsd_xpc's library manages to get unloaded, the function pointer
would be invalid, which would be *BAD*).
jsds_NotifyPendingDeadScripts needs to clear gDeadScripts whether or not
there's a service or hooks, so it does. Because it's a static callback and
because of the scary way GC works, I'd rather ensure (deathgrip) that jsds is
available (and consistent!) for the duration of the function call. The code
already handles the lack of a hook, so there's no reason to do magical
returns....
The real problem which mayhemer found was that jsdService::Off was returning
early (failure) because gGCStatus wasn't JSGC_END when called from ~jsdService
from JS_GC from the cyclecollector, so we make sure that ~jsdService forces
::Off to act as if it is JSGC_END (after ensuring that there are no callbacks
available).
* a pure javascript (xpcom component, not DOM hosted!) version of a jsdService
consumer means that jsdService will need to talk to the CycleCollector
eventually (this is another bug for the future).
git-svn-id: svn://10.0.0.236/trunk@247513 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:13:48 +00:00
sayrer%gmail.com
0b99ea4607
Bug 421984. Build with -fstrict-aliasing on GCC platforms. r/a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@247511 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:04:47 +00:00
timeless%mozdev.org
8d4d00a220
Bug 421774 consolidate jsd static variables into main
...
r=shaver
git-svn-id: svn://10.0.0.236/trunk@247507 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 23:11:36 +00:00
bclary%bclary.com
1e75187042
JavaScript Tests - update test to catch exception in browser tests, bug 420612
...
git-svn-id: svn://10.0.0.236/trunk@247499 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 21:24:35 +00:00
igor%mir2.org
22af3421c7
bug=419632 r=brendan a1.9=blockin1.9
...
avoiding weak roots for doubles
git-svn-id: svn://10.0.0.236/trunk@247492 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 19:27:44 +00:00
nboyd%atg.com
340fc393a1
Add @Override
...
git-svn-id: svn://10.0.0.236/trunk@247478 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 17:06:10 +00:00
gavin%gavinsharp.com
96b1ef265f
Back out the patch from bug 420642 because it broke gmail (bug 421571)
...
git-svn-id: svn://10.0.0.236/trunk@247470 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 08:28:51 +00:00
bclary%bclary.com
fe2285d3e7
JavaScript Tests - regression tests for bug 418641, by Igor Bukanov
...
git-svn-id: svn://10.0.0.236/trunk@247446 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 21:04:14 +00:00
bclary%bclary.com
0fcbad3bd0
JavaScript Tests - regression test for bug 420087, by Mike Shaver
...
git-svn-id: svn://10.0.0.236/trunk@247445 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 20:49:13 +00:00
bclary%bclary.com
6d1edfd7b2
JavaScript Tests - regression test for bug 420399, by Jesse Ruderman
...
git-svn-id: svn://10.0.0.236/trunk@247444 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 20:32:33 +00:00
bclary%bclary.com
255842c373
JavaScript Tests - regression tests for bug 420610, by Jesse Ruderman
...
git-svn-id: svn://10.0.0.236/trunk@247443 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 20:15:14 +00:00
bclary%bclary.com
be0d2f4cf4
JavaScript Tests - regression test for bug 420612, by Jesse Ruderman
...
git-svn-id: svn://10.0.0.236/trunk@247442 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 20:09:09 +00:00
bclary%bclary.com
7fe02d9f28
JavaScript Tests - regression test for bug 421325, by Brian Crowder
...
git-svn-id: svn://10.0.0.236/trunk@247441 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 20:00:57 +00:00
bclary%bclary.com
3451a7c29a
JavaScript Tests - remove timezone dependencies for toLocaleFormat win32 tests, no bug, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@247436 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 19:49:14 +00:00
timeless%mozdev.org
0ad7c819eb
Bug 421231 js.c needs to call JSDB_TermDebugger
...
r=brendan NPOTB
git-svn-id: svn://10.0.0.236/trunk@247428 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 10:05:29 +00:00
brendan%mozilla.org
e71ceeac76
Fix from Sebastian Redl to compile under GCC 4.2 (r=me, a=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@247421 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 04:49:46 +00:00
crowder%fiverocks.com
1aa6b5580f
Bug 421325: array_join_sub does not handle holes in dense arrays correctly, r/a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@247345 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 00:16:51 +00:00
jwalden%mit.edu
ab041effa3
Bug 352044 - Issues with Unicode escape sequences in JavaScript source code; Unicode escapes not part of identifiers were being treated as their equivalent CVs, and non-identifier Unicode escapes within identifiers were being treated as their CVs (simultaneously starting a new token). acid3++ r=mrbkap, a=damons
...
git-svn-id: svn://10.0.0.236/trunk@247338 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 23:28:55 +00:00
nboyd%atg.com
8dd5a2bca3
Add reporting of location of doctest failure.
...
git-svn-id: svn://10.0.0.236/trunk@247328 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 20:43:32 +00:00
bclary%bclary.com
ec6e625946
JavaScript Tests - update known failures, bug 421515
...
git-svn-id: svn://10.0.0.236/trunk@247327 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 20:33:18 +00:00
nboyd%atg.com
aa05600b51
Add regression test.
...
git-svn-id: svn://10.0.0.236/trunk@247326 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 20:17:50 +00:00
dbaron%dbaron.org
7230a868b2
Deal with nsXPCWrappedJS::GetClass being null, which it can be after Unlink. a=Not part of the default build (DEBUG_CC only)
...
git-svn-id: svn://10.0.0.236/trunk@247311 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 17:54:41 +00:00
nboyd%atg.com
aebaa1202a
Fix bug 416127.
...
git-svn-id: svn://10.0.0.236/trunk@247306 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 14:51:22 +00:00
igor%mir2.org
253a301606
bug=421154 r=brendan a1.9=blockin1.9
...
Faster number conversions
git-svn-id: svn://10.0.0.236/trunk@247257 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 23:24:09 +00:00
mrbkap%gmail.com
8773c74b88
Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@247253 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 22:52:58 +00:00
igor%mir2.org
8963ee5f83
bug=421314 r=myself a1.9=beltzner
...
Patch from Mike Moening to fix VC2005 warnings that my recent changes introduced.
git-svn-id: svn://10.0.0.236/trunk@247252 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 22:51:14 +00:00
igor%mir2.org
235265baa1
bug=421266 r=brendan a1.9=beltzner
...
js_Interpret now takes just single cx argument.
git-svn-id: svn://10.0.0.236/trunk@247251 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 22:47:46 +00:00
nboyd%atg.com
9eab4bcc7f
Stop building debugger to avoid incorporation of binaries built from
...
non-open source.
git-svn-id: svn://10.0.0.236/trunk@247244 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 22:00:35 +00:00
nboyd%atg.com
86ef6b1b14
Changes for new JsTest JUnit test runner.
...
git-svn-id: svn://10.0.0.236/trunk@247242 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 21:47:14 +00:00
mrbkap%gmail.com
bbcb33f992
Remove unused variable. bug 420966
...
git-svn-id: svn://10.0.0.236/trunk@247240 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 21:43:26 +00:00
igor%mir2.org
41038847e1
bug=415455 r=brendan a1.9=blocking1.9
...
git-svn-id: svn://10.0.0.236/trunk@247239 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 21:40:43 +00:00
mrbkap%gmail.com
a242cf1cfd
Protect |accum| from being collected in js_ConcatStrings. bug 393874, r=igor a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@247233 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:16:42 +00:00
mrbkap%gmail.com
87dd53a900
Fix array_concat to be more generic. bug 420966, r=brendan a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@247228 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:05:18 +00:00
mrbkap%gmail.com
f9fddc1309
Allow things to happen to SJOWs if there's no code running. bug 420647, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@247227 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:04:05 +00:00
mrbkap%gmail.com
68ee5cb802
Remove a now-unnecessary eval hack. bug 420642, r+sr=jst a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@247226 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:01:26 +00:00
mrbkap%gmail.com
8b4604cd0a
Fix mochitest depending on the old toString behavior.
...
git-svn-id: svn://10.0.0.236/trunk@247224 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:00:23 +00:00
mrbkap%gmail.com
bf45df1be2
Propagate getters and setters onto the inner object. bug 420585, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@247223 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 19:58:28 +00:00