Commit Graph

26555 Commits

Author SHA1 Message Date
Igor Bukanov
01b205d742 bug 369696 - improving object graph serialization. r=brendan 2009-03-17 09:51:38 +01:00
Doug Turner
2a342ebe12 Bug 479898 - Support for wifi scanning. r=dolske/stuart, sr=jst 2009-03-16 17:30:58 -07:00
Robert Sayre
9ac4525064 Merge tracemonkey to mozilla-central. 2009-03-17 18:16:55 -04:00
Joe Drew
a87bf62048 Remove runtests.py.in change from d3c2bf145fb8, accidentally committed. 2009-03-17 17:22:24 -04:00
Josh Aas
db2a897753 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
3b5692c885 Formatting cleanup for the plugins module. b=462894 2009-03-17 14:20:02 -07:00
Joe Drew
ea1f5e5a2d 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
266a76ab6d 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
b8187aa155 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
debdb32ef3 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
c5b3eb193e Backed out changeset 10b781704400 (bug 457065). 2009-03-15 23:45:51 -07:00
Brendan Eich
719048c202 Fix bogus assertion (457065, r=gal). 2009-03-15 23:09:50 -07:00
Jonas Sicking
53e008e58c 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
9ba769e98c Bug 482659. Disabling part of the test to work around bug 483818. 2009-03-17 13:06:55 -04:00
Stuart Parmenter
476d842482 Added tag FENNEC_B1 for changeset 5c1e7c779b6e 2009-03-12 13:11:30 -07:00
Ted Mielczarek
c9f9c7bae8 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
b751f8e069 Bug 468594 - Fix heuristic query freshness; r=cbiesinger 2009-03-17 15:23:01 +01:00
Serge Gautherie
a71bcbb5a6 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
a92965be5e 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
addaec7692 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
e46053fc8e 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
e4bd9549e5 bug 482252: version bump mozilla-central to 3.6a1pre. r=nthomas 2009-03-17 10:19:11 -04:00
Boris Zbarsky
4df63aaac7 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
062f0da672 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
c9bee16a1c Merge backout of bug 482659 2009-03-17 11:09:15 +00:00
Dave Townsend
36de5ef33a Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Boris Zbarsky
1f8b3851ba 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
edf6ced8a0 Adding crashtest 2009-03-16 20:52:30 -04:00
Robert Sayre
a6e93ac17a Merge tracemonkey to mozilla-central. 2009-03-16 18:44:07 -04:00
Ted Mielczarek
c45f52ff48 bug 483548 - buildsymbols messes up Linux Z test results. r=bsmedberg 2009-03-16 16:46:05 -04:00
Paolo Amadini
35b96e8529 Add test for bug 471962, r=gavin 2009-03-16 14:50:30 -04:00
Gavin Sharp
b42d0c252d Bug 471962: wrong post data sent when saving an inner frame, r=bzbarsky 2009-03-16 14:47:19 -04:00
Martijn Wargers
935b45440c Mochitest for bug 478219 2009-03-16 13:21:28 -04:00
Boris Zbarsky
f992c9df1d Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking 2009-03-16 07:50:04 -04:00
Dão Gottwald
f3a8cda6ed merge 2009-03-16 15:01:22 +01:00
Dão Gottwald
3b81a42595 Backed out changeset 12e163f4f272 2009-03-16 15:00:57 +01:00
Dão Gottwald
1de11bb224 merge 2009-03-16 15:00:13 +01:00
Dão Gottwald
a279c06229 Backed out changeset 1101f18b56f8 2009-03-16 14:59:38 +01:00
Jonathan Watt
e08bae72b5 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
Simon Montagu
8777d88190 Backout previous commit 2009-03-16 05:21:55 -07:00
Jonathan Watt
a265d1d97b Use CFDateFormatter instead of deprecated Carbon functions. Some additional work by smontagu, r=smontagu, jdaggett 2009-03-16 04:59:33 -07:00
Robert Longson
cd32c05a9c Bug 483439 - text with stroke and fill causes crashes. r+sr=roc 2009-03-16 11:59:23 +00:00
Dão Gottwald
944580803e merge 2009-03-16 12:57:29 +01:00
Michael Kohler
1476cb9106 Bug 480893 - Session Restore, start new session does not follow startup page option. r=zeniko 2009-03-16 12:55:56 +01:00
Zack Weinberg
5438fdd2e3 Bug 480582 - contenteditable=true breaks mouse pointer hover style for unrelated image links. r+sr=peterv 2009-03-16 12:55:03 +01:00
Boris Zbarsky
864d26a94d Bug 478219 test. 2009-03-16 07:53:13 -04:00
Boris Zbarsky
914389430a Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking 2009-03-16 07:50:04 -04:00
Boris Zbarsky
ca51308331 Bug 483341. End updates before removing script blockers. r=smaug, sr=sicking 2009-03-16 07:46:32 -04:00
Boris Zbarsky
8a3c92ef40 Bug 480880. Fix InvalidateCanvasIfNeeded callers and impl to actually work. r+sr=roc 2009-03-16 07:46:02 -04:00