Commit Graph

71753 Commits

Author SHA1 Message Date
Nikhil Marathe
309bac37f9 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
052a90e97b Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
9a3fd541fa Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
4b185d0ef0 Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
e9d975ff6a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Steve Fink
67a675cdaa Bug 667056 - Fix when function callbacks are invoked (r=luke) 2011-06-24 17:13:19 -07:00
Steve Fink
29117f5284 Bug 667076 - Add a CHECK_EQUAL for testing whether non-jsval types are equal and report expected and observed values on failure (r=luke)
--HG--
extra : rebase_source : fb98cbdcaa63abbfe718d3dfc5b3ac1b0d3a64da
2011-06-24 13:11:28 -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
6367a9c217 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; a different possibility is to turn off debug mode but leave all
the scripts alone, accepting the performance loss (as we do for JSD1 in
JSCompartment::setDebugModeFromC).  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
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