Граф коммитов

240447 Коммитов

Автор SHA1 Сообщение Дата
Jonas Sicking 7325be4516 Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder 2009-11-18 16:22:25 -08:00
Robert Sayre de35907d53 Merge mozilla-central to tracemonkey. 2009-11-19 01:21:34 +01:00
Ehsan Akhgari d58d259dae Bug 529667 - Stopping PB mode after opening a new window when PB is active is not possible; r=vlad a=blocking-firefox3.6+
--HG--
extra : rebase_source : 8e2686cfb9497aa888f3f3b062eb1666b7236d2f
2009-11-18 19:03:07 -05:00
Brendan Eich 70e6d55140 Fix uninitialized var bug (529679, r=jorendorff). 2009-11-18 15:56:34 -08:00
Alexander Surkov 5b644a1bfc Bug 529442. Don't hold a frame pointer in nsAccessibilityService::GetAccessible. r=roc,dbolter 2009-11-19 12:42:18 +13:00
Robert O'Callahan 804657bfb0 Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Mats Palmgren 2a9b428ed5 Bug 522787. Always register an editor observer. r=smaug 2009-11-19 12:38:11 +13:00
Jonas Sicking eaacc01783 Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -08:00
Joe Drew 915792f3ee Bug 523528 and Bug 526452 - crashtests.
--HG--
extra : rebase_source : dff3ae65f1deb1a411af59ef98b590dba17f46a0
2009-11-18 18:20:31 -05:00
Joe Drew f521ce9f51 Bug 523528 - Handle compositing frame initialization failure properly. r=jrmuizel
--HG--
extra : rebase_source : dc7fe8226424e5a0622bd97fadcbbd6124d4a1f6
2009-11-18 18:20:27 -05:00
Makoto Kato ced185ff30 Bug 526452 - imgContainer::ClearFrame() should handle failure to lockImage/null surfaces. r=jrmuizel
--HG--
extra : rebase_source : 013117f751f87ab9bbe087793d044bba1b6f02da
2009-11-18 18:20:24 -05:00
Ben Turner 04513abb91 Bug 488081 - 'Workers: Don't compile and run script if it is suspended'. r+sr=jst 2009-11-18 13:55:38 -08:00
Brendan Eich 5cf3d8734a Fix method barrier not to brand, period (branding withou reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:47:06 -08:00
Robert Longson 50fbf4e5d5 Bug 520506 - Incorrect text getBBox in SVG. r=jwatt 2009-11-18 20:59:24 +00:00
Vladimir Vukicevic 8f13a10b75 b=525673; not repainting correctly on canvas animation; r=roc 2009-11-18 12:55:59 -08:00
Jason Orendorff 19b28f0a68 Bug 505523 - Property cache can skip JSClass::resolve or JSClass::addProperty hooks. r=graydon, r=brendan.
--HG--
extra : rebase_source : a77b0e81203010aabe07b92b639762dce83200c0
2009-11-18 14:29:58 -06:00
Jim Blandy 2a92261a6d Back out ad37dab7ea17: code to check the current frame's script's strictness flag fails the static checks. Using js_GetTopStackFrame introduces a perf regression. 2009-11-18 14:36:55 -08:00
Brendan Eich c85a92fa5a Fix method barrier not to brand, period (branding without reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:41:40 -08:00
Jim Blandy 5c1db442e6 Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script.  Both cases
also check the context options.  The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.

This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors.  At run-time,
the new checkReportFlags handles the checks.  At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-18 13:33:53 -08:00
Jim Blandy b0419567fd Bug 514585: Recognize "use strict" directives. r=igor 2009-11-18 13:33:53 -08:00
Jim Blandy d1c1c1294c Bug 514585: Remove macro wrappers for js_NewPrinter and JS_InitArenaPool. r=igor
These macros were intended to help avoid passing unused parameters
when JS_ARENAMETER is not defined, but they're not worth the trouble.
The unused parameter doesn't elicit warnings, and the performance
impact of passing the unneeded argument is negligible.

This also removes support for JS_ARENA_CONST_ALIGN_MASK, which is not
used.
2009-11-18 13:33:53 -08:00
David Anderson fde5cba30c Fixed string flag bugs on VC++ x64 (bug 512866, r=waldo). 2009-11-18 13:24:24 -05:00
David Anderson 916c4a3aaa Fixed accidentally trying to trace compile a recursive generator (bug 529130, r=gal). 2009-11-18 12:41:51 -05:00
Blake Kaplan 34ff15a8c9 Bug 528126 - Ensure the GC can see the new object. r=brendan 2009-11-18 15:54:27 +01:00
Blake Kaplan 92cf585dd1 Bug 520572 - Test watch() on an outer object. r=brendan/bc
--HG--
extra : rebase_source : e675a97028a914de51f39962b6865e2bf59f80fd
2009-11-18 12:58:28 +01:00
Luke Wagner f94402a934 Bug 526173 - 3.5x regression in indexOf performance (r=waldo) 2009-11-17 22:40:50 -08:00
Ehsan Akhgari 1a3db0e591 Bug 527820 - Checking all prefs except "Site Preferences" shows confusing UI; r=dao ui-r=beltzner a=blocking-firefox3.6+
--HG--
extra : rebase_source : 661c6a6c0d4a74e478cf8b476e65723a1654c54f
2009-11-17 14:49:59 -05:00
Jeff Walden 5031b7813c Backed out changeset 975b36c50d33; bug 478047's fix was misguided and contra ES5, and moving to ES5 semantics at this late date in the release cycle seems unwise. We'll move from old and busted directly to ES5 shortly after 3.6 so as to provide maximum time for ironing out incompatibilities in the wild. r=gal 2009-11-16 17:21:48 -08:00
Andreas Gal 5de4aab193 Don't attempt to GC when caller has waived the GC heap quote (528507, r=dvander). 2009-11-17 14:31:06 -08:00
Blake Kaplan 3cc6733b04 Bug 461170 - Mark this test as passing. 2009-11-17 11:59:35 +01:00
Nicholas Nethercote a3e6ba0904 Update nanojit-import-rev stamp. 2009-11-17 15:56:35 +11:00
Edwin Smith 38e661702e Fix assertion failure injected by X64 verbose code patch (bug 520712 r=dvander+)
When we test the size of an offset, we have to do it after underrunProtect
or else a jump can be inserted which then invalidates the instruction selection.

--HG--
extra : convert_revision : 9b249328236ffec433abb961c0737a82f437c7d4
2009-11-16 14:22:26 -05:00
Nicholas Nethercote 14c52a7910 Bug 520712 - nanojit: print assembly code for X64 backend with TMFLAGS=assembly. r=edwsmith.
--HG--
extra : convert_revision : bc99b0483e324920fa4c55235d1f9da58eeebcaf
2009-11-16 13:14:39 +11:00
Luke Wagner 668061e085 Bug 529147 - fix flipped numSideExitsBefore assertion (r=dvander) 2009-11-16 17:45:50 -08:00
David Anderson 37649084ed Use INS_CONSTOBJ instead of INS_CONSTWORD for kshape guard (bug 528048, r=gal). 2009-11-16 18:44:58 -05:00
Jason Evans 654c5048bc Bug 515556 - Fix jemalloc committed memory statistics. r=vlad 2009-11-10 16:01:08 -08:00
Mark Steele 26d0b9fd88 b=526185, [webgl] accept WebGLArrays instead of JS arrays in texImage2D; r=vlad 2009-11-18 12:42:35 -08:00
Mark Steele 86bc4be941 b=526017, [webgl] collapse state query calls; r=vlad 2009-11-18 12:42:35 -08:00
Dão Gottwald 2b09c4c00b Count browser windows more accurately for bug 518970 2009-11-18 20:22:17 +01:00
Vladimir Vukicevic 806625f950 backing out 5ee85f7 due to test harness failures 2009-11-18 11:13:29 -08:00
Dan Witte 66fe379d1d Bug 526789 - UMR in nsCookieService::CountCookiesFromHostInternal, GetCookiesFromHost, and
GetCookieInternal when given empty host string. r=biesi
2009-11-18 10:52:33 -08:00
Brad Lassey 77e4037e47 bug 527182 - crash entering login info on twitter, missing QI impl r=timeless 2009-11-18 13:45:26 -05:00
Brad Lassey 8bbebc816b bug 527182 - crash entering login info on twitter, missing QI impl 2009-11-11 13:26:37 -05:00
Honza Bambas d76bf49122 Bug 529119 - Funky behavior with XUL error pages, r=bz 2009-11-18 17:02:28 +01:00
Honza Bambas ac6a2bb5a5 Bug 515051 - Stream listener registered in a network request channel eats JS error messages, r=bz+biesi 2009-11-18 17:02:28 +01:00
Jeff Walden 3e6293466d Bug 520890 - obj_getOwnPropertyDescriptor nests object locks. r=jorendorff 2009-11-09 16:16:28 -08:00
Luke Wagner bbbed2d1ea Bug 528870 - fix double-slurping rebase error (r=dvander) 2009-11-16 10:14:57 -08:00
Blake Kaplan 7324d334bd Bug 461170 - Detect when typeof is applied to an expression before constant folding so we correctly throw unbound name exceptions from the folded expression. r=brendan 2009-11-06 18:27:17 +01:00
Nicholas Nethercote cbdbcd253d Bug 465582: the TM-specific part. r=dvander. 2009-11-16 10:03:30 +11:00
Nicholas Nethercote 047e729eed Update nanojit-import-rev stamp. 2009-11-16 08:18:55 +11:00