Commit Graph

71622 Commits

Author SHA1 Message Date
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
Steve Fink
4174affffa bug 637136 - const-ify JS_ON_TRACE (r=luke)
--HG--
extra : rebase_source : a275648b51b33b166087c3a8ab8a1b51e8b97bcf
2011-03-24 23:47:48 -07:00
Luke Wagner
815d718d1e Bug 668261 - Change EvalInContext to not clobber callee early; don't propagate rval on js::Execute failure so that rval-clobbering callers don't trigger assert (r=waldo)
--HG--
extra : rebase_source : ba03185f711e4f459b629b9c45162da5ace945fe
2011-06-30 09:26:42 -07:00
Luke Wagner
3ba259d091 Bug 667824 - Make tracer match changes to JSOP_CALL (r=waldo)
--HG--
extra : rebase_source : ff0c504b824963433b6b8195804c42f241fa9175
2011-06-30 09:23:15 -07:00
David Mandelin
04e76bd7d7 Bug 660371: report regexp syntax errors as compiler errors when appropriate, r=cdleary 2011-06-27 18:53:26 -07:00
Jim Blandy
e107c04e19 Bug 667126: Allow WeakMaps where the criterion for retaining an entry does not imply that the entry's key has been marked. r=jorendorff
This patch replaces the 'markKey' and 'markValue' member functions of the
MarkPolicy template parameter with two functions:

- markEntryIfLive determines if a map entry should be retained, and, if so
  ensures its key and value have been marked.
- markEntry simply marks an entry's key and value, unconditionally.

The comments describe these in more detail.
2011-06-29 02:27:47 -07:00
Jim Blandy
7134b29a2e Bug 627859: Use the standard placeholder-making function when re-scoping variable references in generator 'yield' expressions. r=brendan
CompExprTransplanter::transplant did a bunch of bespoke pointer-fiddling to
take the free variable references in the 'yield' expression and re-scope
them within the comprehension tail clauses. That code incorrectly
constructed placeholders for function references; this was fixed in bug 576847.

However, it would also work to simply use the same placeholder construction
function everybody else does. This patch makes it so.
2011-06-29 02:11:08 -07:00
Nicholas Nethercote
6af272b7e5 Update nanojit-import-rev stamp. 2011-06-29 10:33:21 +10:00
Daniel Holbert
981e7fbcd5 Bug 666480: Remove set-but-not-used variable 'priorIns' from LIR.cpp. r=wmaddox
--HG--
extra : convert_revision : 4cc8b8ebd44b989e08935ed8ffae7e9cb4eb4ae9
2011-06-29 09:57:01 +10:00
Dave Herman
324dbe8390 Bug 590973 - Reflect.parse(): expose to chrome as a toolkit component (r=gal) 2011-06-28 10:57:16 -07:00
Jeff Walden
1bfc2c45f1 Bug 667646 - fun.caller should be null, not undefined, when fun is being called by global code. r=evilpie 2011-06-27 15:57:50 -07:00
Jeff Walden
d938b446a3 Remove a superfluous #include "jstypedarray.h" from nsXPConnect.cpp. No bug, r=driveby 2011-06-27 15:55:12 -07:00
Jeff Walden
1a51bb7cb1 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07:00
Jeff Walden
033bbeebcd Bug 667538 - Crash accessing Function.caller or Function.arguments when no script is running. r=evilpie 2011-06-27 13:36:11 -07:00
Jeff Walden
450815b5d9 Bug 646574 - dis() is broken when the function being disassembled has upvars. r=mrbkap 2011-06-24 18:03:04 -07:00
Dave Herman
498bc96281 Bug 630897 - Reflect.parse(): catch clauses should always be an array (r=jorendorff) 2011-06-27 20:47:48 -07:00
Blake Kaplan
34b8ccdde8 Fix bustage from bug 634156. 2011-06-27 18:16:27 -07:00
Blake Kaplan
5e77cf86d0 Bug 660797 - Don't accidentally lift the prototype property onto the element itself. r=jorendorff
--HG--
extra : rebase_source : 7346e0a482af18b7c2ead77a423030e180241cad
2011-06-16 16:39:45 -04:00
Blake Kaplan
9f1a75137b Bug 634156 - Come up with a way of creating an API in content that exposes real content objects without using a sandbox. r/sr=jst/mossop/gal
--HG--
extra : rebase_source : c3ca469ff33d099b51e140d0a274113884507a03
2011-05-03 13:43:08 -07:00
Dave Herman
f823587beb Bug 667131 - crash: 'yield' unnoticed due to calling maybeNoteGenerator() too late (r=cdleary) 2011-06-27 15:38:10 -07:00
Chris Leary
76a694fdab POD trait for |long long| family, attempt to rambo Winx64 back to life. (rs=luke) 2011-06-27 15:00:17 -07:00
Chris Leary
18d9f54ae4 Bug 667504: Allow atom declaration updates in linked list form. (r=luke) 2011-06-27 14:02:09 -07:00
Chris Leary
31076ac1d6 Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Dão Gottwald
3fa7ef6cb9 Bug 658738 - browser_inspector_iframeTest.js cleanup
--HG--
extra : rebase_source : 78326a6f8794354e1aba9be4c178f2f66da438e0
2011-06-27 13:29:06 +02:00
Dão Gottwald
a75c615397 Bug 658738 - split browser_394759.js into three tests
--HG--
rename : browser/components/sessionstore/test/browser/browser_394759.js => browser/components/sessionstore/test/browser/browser_394759_basic.js
rename : browser/components/sessionstore/test/browser/browser_394759.js => browser/components/sessionstore/test/browser/browser_394759_behavior.js
rename : browser/components/sessionstore/test/browser/browser_394759.js => browser/components/sessionstore/test/browser/browser_394759_purge.js
extra : rebase_source : 57e50abbb07592bafb63dd84abdb827f15c8c3cf
2011-06-27 13:25:10 +02:00
Benoit Jacob
383b5010a2 Bug 663823 - Cross-domain textures generate NS_ERROR_FAILURE instead of NS_ERROR_DOM_SECURITY_ERR - r=jrmuizel
This is a quite stupid patch in already stupid code; the reason why it's so dumb is that it has to determine whether the argument is a DOMElement or ImageData and we don't have a real ImageData interface, see bug 637077, so it has to use duck typing. We should revisit this whole code once bug 637077 is fixed.
2011-06-27 13:27:04 -04:00
Benoit Jacob
47b4b6b59e Bug 664066 - Initialize GL values - r=karlt
This patch initializes by zero the GL max values before we query them, just in case a buggy OpenGL implementation's glGetIntegerv function would fail to set them.

This patch also manually sets the initial values of mPixelStorePackAlignment and mPixelStoreUnpackAlignment as per the spec, rather than querying them from the GL.
2011-06-27 13:27:04 -04:00
Benoit Jacob
c4cbfb78a0 Bug 665934 - fix bug: arev was meant instead of amap - r=upstream
This patch has been taken in ANGLE upstream as r699.
2011-06-27 13:27:04 -04:00
Benoit Jacob
d306fc19a7 Bug 666569 - Remove the Intel Direct2D GPU blacklist - r=joe
As explained in this bug, most probably the bug it was trying to fix was the same as bug 590373, which got fixed since then.
2011-06-27 13:27:04 -04:00
Benoit Jacob
51ff318cf1 Bug 667465 - Fix unused variable warnings in WebGL - r=jrmuizel 2011-06-27 13:27:04 -04:00
Benoit Jacob
870132fa1d Bug 664066 - remove useless C casts in WebGL code - r=karlt
Just to make the code a little more robust.
2011-06-27 13:27:04 -04:00
Benoit Jacob
bd4afbdd44 Bug 644787 - unblacklist D3D9 layers on Geforce 6100 - r=joe
After discussion on that bug, it appears that this device is not affected by the scrolling glitches that affect the Geforce 6150 and 62000.
2011-06-27 13:27:04 -04:00
Benoit Jacob
36c247611c Bug 624935 - unblacklist Gallium - r=karlt
Since bug 659842 is fixed, a large proportion of our ununderstood GLX crashes is gone. There are still some crashes, some with Gallium and some with non-Gallium drivers, but at this point it doesn't look like specifically blacklisting Gallium helps.
2011-06-27 13:27:04 -04:00
Simon Montagu
ca0b6c0240 Check for null frame selection. Bug 666225, r=roc 2011-06-27 19:33:28 +03:00
Simon Montagu
cc65555d9f Mochitest for bug 666225 2011-06-27 19:32:41 +03:00
Simon Montagu
00c7554ebd Don't overshoot the end of the sibling chain when copying text for bidi resolution. Bug 665837, r=roc 2011-06-27 19:30:04 +03:00
Mounir Lamouri
d8b025aad8 Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression. 2011-06-27 14:52:57 +02:00
Igor Bukanov
ba5e71d38e bug 666091 - custom file for GCTIMER output. r=anygregor 2011-06-22 14:33:39 +02:00
Jeff Walden
55a71f2ebf Style patrol followup to bug 665835. r=consistency
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
a71d61104b Followup for bug 649576 GCC 4.3.3 warning. 2011-06-25 16:35:56 -07:00
Chris Leary
0780a149be Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke) 2011-06-24 14:22:30 -07:00
Paul Biggar
0e43edd30e Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary) 2011-06-24 16:12:40 -07:00
Luke Wagner
822bc8b69e Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander) 2011-06-24 16:11:21 -07:00
David Mandelin
4c436c89cd Bug 666587: revert accidentally changed control flow in fun_getProperty, r=jwalden 2011-06-24 14:26:00 -07:00
Dave Herman
4fa36afd9e Bug 666852 - crash when yield occurs in comprehension RHS (r=cdleary) 2011-06-24 14:08:29 -04:00
Peter Van der Beken
2cc98005f0 Fix for bug 664388 (NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS uses wrong pointer). r=bent.
--HG--
extra : rebase_source : b98acfb314f8b3e59b31d10e6ac7bc7d965287a1
2011-06-21 15:23:35 +02:00
Igor Bukanov
5b6c00bb2a Bug 657198 - improving unreachable GC things detection in traces. r=gal 2011-05-31 10:01:09 +02:00
David Anderson
3eff122abe Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jeff Walden
65bb367c0c Followup to fix tests relying on the mistaken absence of JSOPTION_ANONFUNFIX. r=orange 2011-06-23 18:48:55 -07:00