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

212895 Коммитов

Автор SHA1 Сообщение Дата
Jim Blandy d7ed73bf71 Bug 532176: Fix 'make jstestbrowser EXTRA_TEST_ARGS=...'; allow command line to override test list. r=bclary 2009-12-03 09:27:26 -08:00
Jim Blandy 690f055918 Bug 532041: Add missing call to reportCompare. r=orange jsreftests 2009-12-03 01:25:17 -08:00
Brendan Eich b9e72b82ea Test for last checkin (532043). 2009-12-02 21:51:18 -08:00
Brendan Eich 3804b7e353 Trace JSOP_ENUMELEM, for the group-assignment special case of destructuring assignment (532043, r=gal). 2009-12-02 21:50:04 -08:00
Brendan Eich 3fbaa3e093 Extra assertions, control flow cleanup in putProperty, and a crucial scope hashtable fix to removeProperty (stored was not reloaded from *spp; got rid of this ancient over-optimization by hand-coded 'register allocation'; 532096, r=mrbkap). 2009-12-02 19:13:31 -08:00
Jim Blandy 1027223ec1 Bug 532254: Give TCF_FUN_PARAM_EVAL a distinct value. r=mrbkap
Regression test included.
2009-12-02 15:17:02 -08:00
Jim Blandy d559284d27 Bug 531972: Add parent dir jstests.list entries; call reportCompare as needed; fix anonymous function objects in js/src/tests/ecma_5/strict/13.1.js. r=bclary, r=mrbkap
While prior patches created new test directories
js/src/tests/ecma_5/strict and js/src/tests/js1_8_1/strict, they
failed to add jstests.list entries to their parent directories. This
adds them.

The strict tests generally were written to use assertEq, which is
simple and gives nice source positions in failure messages under the
JS shell. However, the jsreftests require each test file to call
reportCompare at least once. This adds a dummy call to reportCompare
to each file. It would be nice to make everything work in both
environments, perhaps using arguments.caller.

The test script js/src/tests/ecma_5/strict/13.1.js tried parsing
statements of the form 'function(x,x){}'. However, anonymous function
expressions are not allowed in a statement context when
JSOPTION_ANONFUNFIX is set. This is set under the browser, but clear
in the shell; bug 532233 suggests that the two be reconciled.
2009-12-02 15:13:14 -08:00
Jim Blandy add6ceee8c Bug 532041: Test that duplicate argument checks use JSFunction::u.i.names correctly. r=sayrer 2009-12-02 09:54:51 -08:00
Igor Bukanov 71c721069f bug 531682 - fixing eval(source, scope) to match 191, 192 semantics. r=mrbkap 2009-12-02 19:22:34 +03:00
David Anderson d0514574f4 Merge. 2009-12-01 16:32:58 -08:00
David Anderson 8d3e7e4f8b Backed out changeset 0082849624a5, potential orange. 2009-12-01 16:32:45 -08:00
Brendan Eich ce944c8a15 Fix js_FindDuplicateFormal to crack the fun->u.i.names union correctly, and spruce it up with C++ (532041, r=jimb). 2009-12-01 14:48:05 -08:00
David Anderson bba7cc30d6 Remove TreeInfo (bug 525371, r=lw). 2009-12-01 13:32:02 -08:00
Robert Sayre aa1fe26e85 Reland bug 473228 and bug 530507 2009-12-01 16:02:09 -05:00
Robert Sayre 714f5e0191 Relanding Tolerate race condition or broken resolve hook (530507, r=jorendorff). Backed out changeset fb34a7163a43 2009-12-01 15:54:01 -05:00
Robert Sayre 151c899bb9 Merge 2009-12-01 15:51:22 -05:00
Robert Sayre 1c1ae69c8b Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad 2009-12-01 15:49:15 -05:00
Robert Sayre bcf74f32e2 Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-12-01 09:56:16 -05:00
Robert Sayre 90c005ab08 Backed out changeset c696751593d6. Tolerate race condition or broken resolve hook (530507, r=jorendorff). 2009-12-01 09:54:38 -05:00
Blake Kaplan d8a40bbfc4 Bug 468506 - JS_GetFrameThis needs to call js_ComputeThis in more cases. r=brendan
--HG--
extra : rebase_source : 2a107feb26544159f04b60c27508338cef8fdf7f
2009-11-30 16:05:44 -05:00
David Anderson e4e84f1b52 Recursion needs to fix up argsobj when it pops frames on trace (bug 531298, r=dmandelin). 2009-12-01 10:37:30 -08:00
Robert Sayre efc9136a43 Backout bug 473228 and its follow-up, temporarily, to attempt a clean merge of other stuff. 2009-12-01 09:57:20 -05:00
Robert Sayre 50769a45c8 Merge backout. 2009-12-01 09:54:57 -05:00
Igor Bukanov e397c49653 bug 531037 - eval fixes. r=brendan 2009-12-01 00:01:11 +03:00
Robert Sayre 25624cc338 Add a call to reportCompare so this test passes. 2009-11-30 14:15:50 -05:00
Robert Sayre 4cb52d00c0 Merge. 2009-11-30 13:55:44 -05:00
Robert Sayre ffe3e23268 Merge m-c to tm 2009-11-30 13:55:18 -05:00
Doug Turner b4f99f8fb7 Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger 2009-11-30 09:09:26 -08:00
Luke Wagner f5d804e026 Bug 530366 - don't use std::sort in jsregexp (r=dmandelin) 2009-11-30 09:03:43 -08:00
Zack Weinberg f6b3144136 Bug 530598: If we can't get the preferred address for a poison page, take whatever the OS will give us, rather than giving up 2009-11-30 08:51:07 -08:00
Robert Sayre 8e017273c0 Add a missing credit to trigger a re-compile. 2009-11-30 11:15:10 -05:00
Dão Gottwald 78bf5c8cea make browser_491168.js work without an internet connection
--HG--
extra : rebase_source : 30db9e83763f6e628e4597b4022b206dbb49a1b5
2009-11-30 14:04:11 +01:00
Igor Bukanov 201ba0afcc Backed out changeset b774250f04d3 - the landed patch for bug 424558 has regressed. 2009-11-30 15:33:04 +03:00
Johnny Stenback 284cdb995e Fix for bug 531290 (Firefox 3.6b4 [@ PL_strlen | nsNPAPIPluginInstance::Initialize(nsIPluginInstanceOwner*, char const*) ] during npietab.dll initialization [@nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) | xul.dll@0x9cc3c3 ]). r=josh, a=blocking1.9.2+. 2009-11-30 11:11:20 +01:00
Alexander Surkov 68811d1d7f Bug 528311 - Crash [@ nsXULTreeAccessible::GetTreeItemAccessible(int, nsIAccessible**) ], part2, r=marcoz, b192=beltzner 2009-11-30 13:59:09 +08:00
Robert O'Callahan 8db03e549e bug 529092 - seams when scrolling with position:fixed [MS Windows] r=jmathies 2009-11-29 23:21:02 -05:00
Serge Gautherie b081136d48 Bug 381467 - Switch application/x-javascript to application/javascript; (Ev1) /layout/base/crashtests/123946-1.html, EOL/whitespace fix (only).
r=dbaron.
2009-11-30 03:44:02 +01:00
Jesse Ruderman 8bbd3e6ae5 Bug 531479 - Always return exit status of the app, not the stack fixer process. r=dbaron 2009-11-29 13:29:03 -08:00
timeless@mozdev.org 267a4790f8 Bug 530966 New crash [@ nsDownloadScanner::~nsDownloadScanner()] in Firefox 3.6b3
r=sdwilsh
2009-11-30 09:56:33 +13:00
Karl Tomlinson bfdb15ff85 b=530761 check toplevel window state in hierarchy_changed_cb r=roc 2009-11-30 09:54:04 +13:00
Igor Bukanov ca8d790fc6 bug 424558, r=brendan 2009-11-29 20:33:57 +03:00
Peter Van der Beken 7b63cc4659 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
L. David Baron d26b02876a Rerun 'make genservercert' in build/pgo and commit the resulting certs to fix expired test server certs and make the tree green.
--HG--
extra : transplant_source : L%D1V%EAX%C1%C1%E2%8A%DF%F5%AC%AA%B4%DB%D2%D1L%2AS
2009-11-28 21:30:27 -08:00
Peter Van der Beken af98e1b60b Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken 11b65eb91d Try to fix timeouts. 2009-11-28 21:45:37 +01:00
Jim Blandy 7e42f53d8c Bug 530018 - Add comment to explain why typedef is neceessary. (no r) 2009-11-27 17:05:21 -08:00
Leon Sha 7d3bee1630 Bug 530018 - js_DecompileToString Undefined symbol. r=jim 2009-11-27 09:22:24 +08:00
Nicholas Nethercote fe9c904589 Bug 531224 - TM: associate JS source locations with fragments properly. r=graydon. 2009-11-26 13:52:22 -08:00
Jim Blandy 5bfdb45b63 Bug 499524: Always check for duplicates when destructuring params are present. r=igor
Detect duplicate names in parameter lists that include destructuring
parameters, regardless of whether the duplication becomes before or
after the destructuring. Let strict mode complaints take care of
themselves after the body has been parsed.

In BindDestructuringArg, there should never be an entry in tc->decls
for the given name if the call to js_LookupLocal didn't detect a
duplicate argument, so we can simply assert that tc->decl.lookup
returns NULL, instead of checking it.

In HashLocalName, we can tighten the assertion: both the new and
existing entries must be JSLOCAL_ARG, since we detect all non-ARG
(i.e., destructuring) duplicates early.
2009-11-26 10:23:52 -08:00
Nicholas Nethercote 87294afa65 Bug 531165 - TM: move SoftFloatFilter upstream of CseFilter. r=gal. 2009-11-25 19:10:34 -08:00