Jeff Walden
e182be6d67
Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
...
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Nikhil Marathe
cbe391a287
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
f3d65acc81
Bug 665355 - Fix __proto__ recursion. r=mrbkap
...
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
58bad94550
Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
...
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
cfc7503a4c
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
f2051c534a
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
84a0405d58
Bug 667056 - Fix when function callbacks are invoked (r=luke)
2011-06-24 17:13:19 -07:00
Steve Fink
5a2aad9f3f
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
6e50bf2c00
bug 637136 - const-ify JS_ON_TRACE (r=luke)
...
--HG--
extra : rebase_source : a275648b51b33b166087c3a8ab8a1b51e8b97bcf
2011-03-24 23:47:48 -07:00
Luke Wagner
03b7b410a3
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
806dd907a6
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
f1f1f03a79
Bug 660371: report regexp syntax errors as compiler errors when appropriate, r=cdleary
2011-06-27 18:53:26 -07:00
Jim Blandy
58c3e9fa12
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
170848483b
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
98858df64d
Update nanojit-import-rev stamp.
2011-06-29 10:33:21 +10:00
Daniel Holbert
fe22d287d0
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
3c4a08e8ba
Bug 590973 - Reflect.parse(): expose to chrome as a toolkit component (r=gal)
2011-06-28 10:57:16 -07:00
Jeff Walden
98f08d1bf5
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
22ad6bc105
Remove a superfluous #include "jstypedarray.h" from nsXPConnect.cpp. No bug, r=driveby
2011-06-27 15:55:12 -07:00
Jeff Walden
0349ff3c11
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
7c70caea9a
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
092f409ee9
Bug 646574 - dis() is broken when the function being disassembled has upvars. r=mrbkap
2011-06-24 18:03:04 -07:00
Dave Herman
dfeadc0b9f
Bug 630897 - Reflect.parse(): catch clauses should always be an array (r=jorendorff)
2011-06-27 20:47:48 -07:00
Blake Kaplan
6ecff256c2
Fix bustage from bug 634156.
2011-06-27 18:16:27 -07:00
Blake Kaplan
0c86312e14
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
c71ebb064b
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
87ab97135a
Bug 667131 - crash: 'yield' unnoticed due to calling maybeNoteGenerator() too late (r=cdleary)
2011-06-27 15:38:10 -07:00
Chris Leary
574bbb45db
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
f7a9ecdde6
Bug 667504: Allow atom declaration updates in linked list form. (r=luke)
2011-06-27 14:02:09 -07:00
Chris Leary
b6e46acdbd
Merge mozilla-central and tracemonkey.
2011-06-27 11:07:22 -07:00
Dão Gottwald
3126abe3cf
Bug 658738 - browser_inspector_iframeTest.js cleanup
...
--HG--
extra : rebase_source : 78326a6f8794354e1aba9be4c178f2f66da438e0
2011-06-27 13:29:06 +02:00
Dão Gottwald
44d05bd047
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
8f20caa56a
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
4d67b80afe
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
9884944aa7
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
71fc484efc
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
a37d523d4d
Bug 667465 - Fix unused variable warnings in WebGL - r=jrmuizel
2011-06-27 13:27:04 -04:00
Benoit Jacob
b5a76d44ae
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
1726cfbed0
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
838309e324
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
ec431a8a38
Check for null frame selection. Bug 666225, r=roc
2011-06-27 19:33:28 +03:00
Simon Montagu
2eec53dca2
Mochitest for bug 666225
2011-06-27 19:32:41 +03:00
Simon Montagu
9cada4d324
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
00c9c62df5
Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression.
2011-06-27 14:52:57 +02:00
Igor Bukanov
a6e576e8ca
bug 666091 - custom file for GCTIMER output. r=anygregor
2011-06-22 14:33:39 +02:00
Jeff Walden
eb803ca83b
Style patrol followup to bug 665835. r=consistency
...
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
909d951b40
Followup for bug 649576 GCC 4.3.3 warning.
2011-06-25 16:35:56 -07:00
Chris Leary
f1e0113af3
Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke)
2011-06-24 14:22:30 -07:00
Paul Biggar
45c3008821
Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary)
2011-06-24 16:12:40 -07:00
Luke Wagner
980bd7eabf
Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander)
2011-06-24 16:11:21 -07:00