Граф коммитов

231569 Коммитов

Автор SHA1 Сообщение Дата
Graydon Hoare bea45236a5 Bug 471373 - OOM in imacro trips assert, r=brendan. 2009-03-17 15:50:55 -07:00
Andreas Gal 47a862e57a Remove unnecessary JS_REQUIRES_STACK from guardNotGlobalObject (rs=brendan). 2009-03-17 15:44:50 -07:00
Andreas Gal 65931034c7 Merge. 2009-03-17 15:40:15 -07:00
Andreas Gal 5830ed95f6 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 54183e7ac2 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 8b676d3e3a Followup nit-picks for 457065. 2009-03-17 12:52:16 -05:00
Andreas Gal 96d7cd71c0 Read barrier for global object properties (463153, r=brendan). 2009-03-17 10:39:51 -07:00
Andreas Gal fd8c373344 Merge. 2009-03-17 10:27:06 -07:00
Andreas Gal e1f1a2c739 Use lir->insImmf and emit ins_eq0 centrally in guard() (483365, r=brendan). 2009-03-17 10:26:37 -07:00
Brendan Eich a124148c8e 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 5e2278d368 bug 369696 - improving object graph serialization. r=brendan 2009-03-17 09:51:38 +01:00
Doug Turner 55e52036b7 Bug 479898 - Support for wifi scanning. r=dolske/stuart, sr=jst 2009-03-16 17:30:58 -07:00
Robert Sayre 132586eb9f Merge tracemonkey to mozilla-central. 2009-03-17 18:16:55 -04:00
Joe Drew fe96e2bb0f Remove runtests.py.in change from d3c2bf145fb8, accidentally committed. 2009-03-17 17:22:24 -04:00
Josh Aas 591b6e552a 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 0b6019440b Formatting cleanup for the plugins module. b=462894 2009-03-17 14:20:02 -07:00
Joe Drew 8dda864ce7 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 064447b84f 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 751d6083e5 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 94c081204d 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 9c353a3bc5 Backed out changeset 10b781704400 (bug 457065). 2009-03-15 23:45:51 -07:00
Brendan Eich fac6a56da5 Fix bogus assertion (457065, r=gal). 2009-03-15 23:09:50 -07:00
Jonas Sicking 503055b176 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 d1df16c5af Bug 482659. Disabling part of the test to work around bug 483818. 2009-03-17 13:06:55 -04:00
Stuart Parmenter 5d4e553031 Added tag FENNEC_B1 for changeset 5c1e7c779b6e 2009-03-12 13:11:30 -07:00
Ted Mielczarek 41d82f9a5e 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 23b1a1ed85 Bug 468594 - Fix heuristic query freshness; r=cbiesinger 2009-03-17 15:23:01 +01:00
Serge Gautherie 0a33a054c3 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 9e5fce878b 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 2c9f7c001d 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 d18c53878b 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 0b63c08ebf bug 482252: version bump mozilla-central to 3.6a1pre. r=nthomas 2009-03-17 10:19:11 -04:00
Boris Zbarsky 87b185493c Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Dão Gottwald 206c14e0f7 Bug 483370 - Buttons on Security tab are broken when windows are already open. r=mconnor 2009-03-17 14:08:07 +01:00
Dave Townsend 6fe41f9df5 Merge backout of bug 482659 2009-03-17 11:09:15 +00:00
Dave Townsend ec9b637168 Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
Boris Zbarsky 51ff79c905 Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Boris Zbarsky b0463a8597 Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Martijn Wargers 72f01993d8 Adding crashtest 2009-03-16 20:52:30 -04:00
Robert Sayre e3bbe6069b Merge tracemonkey to mozilla-central. 2009-03-16 18:44:07 -04:00
Ted Mielczarek 4310027cbc bug 483548 - buildsymbols messes up Linux Z test results. r=bsmedberg 2009-03-16 16:46:05 -04:00
Paolo Amadini 5d8274b9f8 Add test for bug 471962, r=gavin 2009-03-16 14:50:30 -04:00
Gavin Sharp 89e39244e2 Bug 471962: wrong post data sent when saving an inner frame, r=bzbarsky 2009-03-16 14:47:19 -04:00
Martijn Wargers 563e81691f Mochitest for bug 478219 2009-03-16 13:21:28 -04:00
Boris Zbarsky d430566602 Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking 2009-03-16 07:50:04 -04:00
Dão Gottwald f9edf66868 merge 2009-03-16 15:01:22 +01:00
Dão Gottwald 7c129c93b3 Backed out changeset 12e163f4f272 2009-03-16 15:00:57 +01:00
Dão Gottwald fada00a6a9 merge 2009-03-16 15:00:13 +01:00
Dão Gottwald 3ceb0e26ac Backed out changeset 1101f18b56f8 2009-03-16 14:59:38 +01:00
Jonathan Watt 8b2fbeda05 Use CFDateFormatter instead of deprecated Carbon functions. Bug 360018, Some additional work by smontagu, r=smontagu, jdaggett 2009-03-16 05:24:15 -07:00