Commit Graph

70486 Commits

Author SHA1 Message Date
Jim Blandy
cde354a9bd Cross stack segment boundaries when looking for the youngest frame. Correctly check that live stack frames are on the stack. 2011-06-08 07:25:22 -07:00
Jim Blandy
91894959cf Verify that accessing frame properties throws once the frame is dead. 2011-06-07 12:15:26 -07:00
Jim Blandy
88decefd28 Merge from TM. 2011-06-07 12:12:28 -07:00
Nicholas Nethercote
a1825387bc Bug 645598 - Trim last bits of fat from the scanner, part 3 of 3. r=jwalden. 2011-06-07 13:48:55 +10:00
Nicholas Nethercote
af44ef61b4 Bug 645598 - Trim last bits of fat from the scanner, part 2 of 3. r=jwalden. 2011-06-07 13:48:21 +10:00
Nicholas Nethercote
5e87a0c3ea Bug 645598 - Trim last bits of fat from the scanner, part 1 of 3. r=jwalden. 2011-06-07 13:47:12 +10:00
Paul Biggar
33979e422d Bug 660681: Add NULL check to LeaveFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
118bf3fdae Bug 660670: Report an error on OOM in Parser::analyzeFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
08fcb0b61d Bug 660638: Add NULL check to Compiler::compileScript (r=jwalden) 2011-06-06 14:24:10 -07:00
David Mandelin
ea7d5ed079 Bug 662165: fix MSVC warning 2011-06-06 13:36:57 -07:00
Chris Leary
278e5141b8 Followup fix for merge, fix ifdef directive. 2011-06-06 09:58:15 -07:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Jim Blandy
8bd7752c01 Backed out changeset d02083014f57; build problems in nsXPConnect.cpp 2011-06-06 09:01:47 -07:00
Jim Blandy
80394f8a78 Backed out changeset 720b3fe3c84e; build problems in nsXPConnect.cpp. 2011-06-06 08:57:34 -07:00
Margaret Leibovic
9689877212 Bug 661823 - Ctrl+F shouldn't work to open Find toolbar in about:permissions and should work to close existing Find bar. r=gavin 2011-06-06 08:15:21 -07:00
Margaret Leibovic
ea5b8bfa04 tests for Bug 661819 - Values for All Sites in about:permissions displays last selected site's values. r=gavin 2011-06-06 08:15:13 -07:00
Margaret Leibovic
49138ee5c9 Bug 661819 - Values for All Sites in about:permissions displays last selected site's values. r=gavin 2011-06-06 08:14:07 -07:00
Margaret Leibovic
bff36cfb13 Bug 661791 - Rectify wording of "Clear all cookies" button in about:permissions to match the "Remove all cookies" button. r=gavin 2011-06-06 08:13:50 -07:00
Jacek Caban
ab9e18c25c Bug 661517 - nsWebSocketHandler.cpp fails to compile on mingw-w64 r=mcmanus DONTBUILD 2011-06-06 13:16:22 +02:00
Nicholas Nethercote
3f2c2d551f Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Kyle Huey
c5509e3146 Back out Bug 622315 due to Bug 662200. 2011-06-05 16:22:09 -07:00
Kyle Huey
dc20cc5fcd Backed out changeset 52b9e864be0e due to Bug 662200. 2011-06-05 16:21:42 -07:00
Kyle Huey
c10028170d Bug 622315: Refuse to navigate if a navigation is already pending. r=bz 2011-06-05 12:09:47 -07:00
Kyle Huey
7d5b6f2285 Bug 661876: Remove obsolete nsIDOMFile methods/properties. r=sicking 2011-06-05 11:54:50 -07:00
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Dão Gottwald
7778dfb0d9 Bug 662155 - addTab should report the exception when loadURIWithFlags fails. r=gavin 2011-06-05 19:37:10 +02:00
Mounir Lamouri
8bc1be7f60 Merging cedar with mozilla-central. 2011-06-05 15:31:36 +02:00
Tyler Downer
e98d10f115 Bug 660746 - Fix another typo. r=gavin 2011-06-05 10:07:15 +02:00
Phil Ringnalda
ba566a58e2 Bug 650691 - random-if the SVG object--auto reftests that are random-if(Android) 2011-06-04 22:20:52 -07:00
Ehsan Akhgari
8703cf5143 Bug 612448 - Protect the progress listener object from being garbage collected too soon which could cause a test timeout; r=roc 2011-06-03 16:48:31 -04:00
Rafael Ávila de Espíndola
f9339f6813 b=661145, r=bsmedberg Move the function declarations passed to AC_TRY_COMPILE out of the body of main. 2011-06-03 16:34:42 -04:00
Ehsan Akhgari
b24e41048e Bug 495577 - Rename the "Permanent Private Browsing mode" checkbox in the Privacy prefpane to better match the surrounding options; r=dao ui-r=faaborg 2011-06-03 15:04:52 -04:00
timeless@mozdev.org
deceb8bf2b Bug 620182 [@ QuoteString | DecompileSwitch] when JSVAL_IS_DOUBLE(key) and SprintDoubleValue fails due to oom
r=jorendorff
2011-06-03 08:57:00 -07:00
Hiroyuki Ikezoe
0fc9bbc32c Bug 660131 - Follow up fix. Include glib-object.h for disabling gconf. r=karlt 2011-06-03 17:45:38 +02:00
Mounir Lamouri
af81ce3c72 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Masayuki Nakano
a1fdb33535 Bug 660568 nsImageFrame::IconLoad must call Preferences::RemoveObservers() r=roc 2011-06-03 15:07:10 +09:00
Masayuki Nakano
3c7f792f25 Bug 660640 part.2 Fix wrong result at InitStaticMembers() failed r=roc 2011-06-03 15:01:02 +09:00
Masayuki Nakano
a66443b161 Bug 660640 part.1 RemoveObserver(), RemoveObservers() and UnregisterCallback() shouldn't output warnings if it failed after shutdown r=roc 2011-06-03 15:01:02 +09:00
Masayuki Nakano
319f614cd9 Bug 660742 accessible should use mozilla::Preferences r=roc+davidb 2011-06-03 15:01:02 +09:00
Benjamin Peterson
be433a6891 Bug 405300 - ignore transformation in isPointInPath(). r=joe sr=roc 2011-06-03 07:50:14 +02:00
Jason Orendorff
a0c2612fce Fix getYoungestFrame to get the newest frame even if it is in another cx. 2011-06-02 22:21:13 -05:00
Jason Orendorff
6a958619a0 Automatically turn debug mode on/off when adding/removing debuggees.
This allows most of the tests to run without the -d command-line flag.

Now a compartment is in debug mode if
 * JSD1 wants debug mode on, thanks to a JS_SetDebugMode* call; OR
 * JSD2 wants debug mode on, because a live Debug object has a debuggee
   global in that compartment.

Since this patch only adds the second half of the rule, JSD1 should be
unaffected.

The new rule has three issues:

1. When removeDebuggee is called, it can cause debug mode to be turned
   off for a compartment. If any scripts from that compartment are on
   the stack, and the methodjit is enabled, returning to those stack
   frames will crash.

2. When a Debug object is GC'd, it can cause debug mode to be turned off
   for one or more compartments. This causes the same problem with
   returning to deleted methodjit code, but the fix is different: such
   Debug objects simply should not be GC'd.

3. Setting .enabled to false still does not turn off debug mode
   anywhere, so it does not reduce overhead as much as it should.

A possible fix for issue #1 would be to make such removeDebuggee calls
throw.  The fix to issues #2 and #3 is to tweak the rule--and to tweak
the rule for Debug object GC-reachability.

--HG--
rename : js/src/jit-test/tests/debug/Debug-ctor.js => js/src/jit-test/tests/debug/Debug-ctor-01.js
2011-06-02 21:58:46 -05:00
Jason Orendorff
2ed818c0ac Fix bug in Debug::hasAnyLiveHooks. 2011-06-02 21:32:22 -05:00
Jason Orendorff
19c1ad7ee1 Add jit-test tag to the new test in the previous check-in. 2011-06-02 20:44:03 -05:00
Jason Orendorff
700d484393 Add passing test. 2011-06-02 20:41:16 -05:00
Mounir Lamouri
28bcd3f6f3 Bug 661292 - Make nsChangeObserver::ContentInserted not use the index parameter. r=joshmoz 2011-06-03 00:37:18 +02:00
Mounir Lamouri
271cf17825 Bug 660586 - Prevent hangs when selecting a large number of files in MacOS X file picker. r=joshmoz 2011-06-03 00:36:11 +02:00
Geoff Lankow
2d732b71c2 Bug 506069 - textbox with type=number does not properly update value for oninput event. r=enn 2011-06-02 10:53:42 +12:00
Dão Gottwald
1b73268c12 Bug 661662 - Speed up the population of about:permissions' sites list. r=margaret 2011-06-03 07:47:20 +02:00
Dão Gottwald
4c2fc6c26c Bug 601917 - Trying to drag the empty part of a toolbar shouldn't throw an exception. r=enn
--HG--
extra : rebase_source : 466d49a2ea9bd98d3ffb9a3417aaf29688f81171
2011-06-02 22:59:10 +02:00