203800 Commits

Author SHA1 Message Date
Vlado Valastiak
30f7ea4ba4 Bug 415543 - use native application icon. r=gavin 2009-03-18 09:45:53 +01:00
Simon Montagu
683ac12712 xpcshell tests for bug 22310, based on a test by Jesper Kristensen <bugzilla@jesperkristensen.dk> 2009-03-18 01:39:50 -07:00
Ginn Chen
31e847605e Bug 468727 Crash [@ nsHTMLTextFieldAccessible::GetStateInternal] r=david.bolter, surkov.alexander 2009-03-18 16:21:13 +08:00
Ryan Flint
0e6efb2aa3 Bug 483086. r=gavin, a=beltzner 2009-03-18 03:52:43 -04:00
Robert Sayre
fd1deecafc Merge 2009-03-18 02:58:36 -04:00
Robert Sayre
0767dc8911 Merge tracemonkey to mozilla-central. 2009-03-18 02:56:46 -04:00
Doug Turner
3652c70b16 Bug 482613. Until WinCE wifi support is enabled, do not error out. fixes build bustage on wince 2009-03-17 23:56:28 -07:00
Doug Turner
c184d6ab22 Bug 482897 - AutoDialer support on Windows Mobile. r=blassey r=jduell.mcbugs 2009-03-17 23:46:19 -07:00
Andreas Gal
390f5bce99 Merge. 2009-03-17 21:51:19 -07:00
Andreas Gal
3442a13243 Backed out changeset e71cb3993380 (bug 479110). 2009-03-17 21:50:57 -07:00
Jeff Walden
0a83ea4f12 Bug 469347 - TM: obj.length and slowArray.length don't trace. r=gal 2009-03-17 20:19:57 -07:00
Andreas Gal
52a9e8a923 Extend tree when unboxing returns a different type (479110, r=jwalden). 2009-03-17 20:00:10 -07:00
dmandelin@mozilla.com
789e646559 Copy entire regular expression into the code buffer (483920, r=gal). 2009-03-17 19:28:14 -07:00
Andreas Gal
3b884d89f6 Eliminate separate global frame and merge it with InterpState (482377, r=brendan). 2009-03-17 17:29:58 -07:00
David Mandelin
3122cc4386 Bug 483821: native regexps confused because of bug in hash key comparison, r=gal 2009-03-17 17:27:54 -07:00
Andreas Gal
4935c2b877 Compilation fix for MSVC (no bug). 2009-03-17 16:36:45 -07:00
Andreas Gal
7a6ab65ece Merge. 2009-03-17 15:55:35 -07:00
Andreas Gal
902df98368 Backed out changeset 186ae511d5f2 (static analysis annotation only, no bug). 2009-03-17 15:55:06 -07:00
Graydon Hoare
1c5bf0faa9 Bug 471373 - OOM in imacro trips assert, r=brendan. 2009-03-17 15:50:55 -07:00
Andreas Gal
9b4f6dc057 Remove unnecessary JS_REQUIRES_STACK from guardNotGlobalObject (rs=brendan). 2009-03-17 15:44:50 -07:00
Andreas Gal
4250d9fe40 Merge. 2009-03-17 15:40:15 -07:00
Andreas Gal
6f666be7d4 Try harder to trace array access with non-int / non-string index (478525, r=brendan). 2009-03-17 15:39:42 -07:00
Jeff Walden
dffd0ca437 Bug 483103 - TM: "Assertion failed: p->isQuad()" with str["-1"]; make str[-1] a non-special property rather than one that returns the length of str. r=brendan 2009-03-17 15:27:31 -07:00
Brendan Eich
257b1d7e83 Followup nit-picks for 457065. 2009-03-17 12:52:16 -05:00
Andreas Gal
2435c21c31 Read barrier for global object properties (463153, r=brendan). 2009-03-17 10:39:51 -07:00
Andreas Gal
75c5a19e92 Merge. 2009-03-17 10:27:06 -07:00
Andreas Gal
84aa0439ab Use lir->insImmf and emit ins_eq0 centrally in guard() (483365, r=brendan). 2009-03-17 10:26:37 -07:00
Brendan Eich
5a9a0cd0e6 Bug 457065. TM: Assertion failure: !fp->callee || fp->thisp == JSVAL_TO_OBJECT(fp->argv[-1]). r=mrbkap 2009-03-17 10:42:44 -04:00
Igor Bukanov
d7ce39760d bug 369696 - improving object graph serialization. r=brendan 2009-03-17 09:51:38 +01:00
Doug Turner
c4b46661bd Bug 479898 - Support for wifi scanning. r=dolske/stuart, sr=jst 2009-03-16 17:30:58 -07:00
Robert Sayre
dffc3962d9 Merge tracemonkey to mozilla-central. 2009-03-17 18:16:55 -04:00
Joe Drew
36ae2ff9ac Remove runtests.py.in change from d3c2bf145fb8, accidentally committed. 2009-03-17 17:22:24 -04:00
Josh Aas
bbb61079d1 NPN_SetValue should return an error when attempting to set a value that does not exist. b=479979 r/sr=jst 2009-03-17 14:20:24 -07:00
Josh Aas
c71f06f0ce Formatting cleanup for the plugins module. b=462894 2009-03-17 14:20:02 -07:00
Joe Drew
cc15c830d3 Bug 479328 and bug 481753 - Ensure imgRequest always knows when it's in the cache, and doesn't try to do cache manipulation when it isn't. Also, fix redirect handling to not simply invalidate the cache entry. r=vlad, sr=bzbarsky 2009-03-17 17:07:16 -04:00
Marco Bonardo
2a9c7ac66c Bug 428690 - Two entries added to history menu when visiting a page that redirects, r=dietrich 2009-03-17 22:00:50 +01:00
Drew Willcoxon
a4b75cf3ad Bug 469436 - In the context bar when searching in the library "selected folder" should be the actual folder name, r=mak77 2009-03-17 22:00:44 +01:00
Jim Blandy
a709baa21b Bug 480132: Clone lexical blocks only when needed. r=igor
Terminology:

A "script block" is an object of class Block allocated by the byte
compiler and associated with a script.  Script blocks are never
modified, and may be used as a prototype for a "closure block":

A "closure block" is an object of class Block that holds variables
that have been closed over (although we actually leave the variables
on the stack until we leave their dynamic scope).  A closure block is
a clone of a script block (its prototype is a script block).

Adjust the meanings of fp->blockChain and fp->scopeChain:

  fp->blockChain is always the innermost script block in whose static
  scope we're executing.

  fp->scopeChain is the current scope chain, including 'call' objects
  and closure blocks for those function calls and blocks in whose
  static scope we are currently executing, and 'with' objects for with
  statements; the chain is typically terminated by a global object.
  However, as an optimization, the young end of the chain omits block
  objects we have not yet needed to clone.

Closures need fully reified scope chains, so have js_GetScopeChain
reify any closure blocks missing from the young end of fp->scopeChain
by cloning script blocks as needed from fp->blockChain.  Thus, if we
never actually close over a particular block, we never place a closure
block for it on fp->scopeChain.

Have JSOP_ENTERBLOCK and JSOP_LEAVEBLOCK always keep fp->blockChain
current.  When JSOP_LEAVEBLOCK pops a block from fp->blockChain that
has been cloned on fp->scopeChain, pop fp->scopeChain as well.

Remove the JSFRAME_POP_BLOCKS flag, as it is no longer needed.

Ensure that the JIT won't have to create closure blocks or call
js_PutBlockObject; it can't handle those things yet.  Note our current
script block when we begin recording.  Abort recording if we leave
that block; we can't tell in advance whether it will need to be "put"
in future trace invocations.  Leave trace if we call js_GetScopeChain
while in the static scope of lexical blocks.  Remove JIT tests based
on JSFRAME_POP_BLOCKS.

Verify that generators capture the correct value for blockChain.

Add a constructor to JSAutoTempValueRooter for rooting JSObject
pointers.
2009-03-16 09:55:06 -07:00
Andreas Gal
ed42bd2750 Backed out changeset 10b781704400 (bug 457065). 2009-03-15 23:45:51 -07:00
Brendan Eich
61f2416149 Fix bogus assertion (457065, r=gal). 2009-03-15 23:09:50 -07:00
Jonas Sicking
b6ff240427 Bug 478889: Make script-defer work in xhtml. r/sr=peterv
--HG--
extra : rebase_source : 4e2abc2b35c72f7c5831f58b0f1c6940b1824de7
2009-03-15 17:53:09 -07:00
Boris Zbarsky
a5e5911cc3 Bug 482659. Disabling part of the test to work around bug 483818. 2009-03-17 13:06:55 -04:00
Stuart Parmenter
baae423474 Added tag FENNEC_B1 for changeset 5c1e7c779b6e 2009-03-12 13:11:30 -07:00
Ted Mielczarek
838af91e65 bug 483800 - fix nsinstall.py to not error if a target dir already exists. r=pike 2009-03-17 12:09:50 -04:00
Bjarne
95ca98caac Bug 468594 - Fix heuristic query freshness; r=cbiesinger 2009-03-17 15:23:01 +01:00
Serge Gautherie
06914d2378 Bug 482236 - runtests.py.in : wrong leak detection on this case; (Av1a) Support a negative 'Total' value; r=(dbaron + jwalden+bmo) 2009-03-17 15:22:59 +01:00
Serge Gautherie
9d44a930ba Bug 469518 - Enable Reftest leak log in tinderbox (log); (Dv1) Early return in processLeakLog(); r=jwalden+bmo 2009-03-17 15:22:57 +01:00
Serge Gautherie
588c8f8488 Bug 384339 - The check-interactive code executes head, tail scripts before the user runs; (Cv1) Move _execute_test() definition to head.js from tail.js; r=jwalden+bmo 2009-03-17 15:22:55 +01:00
Serge Gautherie
d1221025c1 Bug 451949 - Mochitest <geolocation/test_manyWindows.html> fails intermittently, when some previous tests failed (!?); (Av1) Add missing |SimpleTest.waitForExplicitFinish();|; r=doug.turner 2009-03-17 15:22:54 +01:00
Ben Hearsum
db9f4f395e bug 482252: version bump mozilla-central to 3.6a1pre. r=nthomas 2009-03-17 10:19:11 -04:00