Commit Graph

6 Commits

Author SHA1 Message Date
Ms2ger
8f57c31089 Bug 1172536 - Stop using for each loops in layout; r=roc
These are SpiderMonkey-proprietary legacy feature which has been deprecated
and is expected to be removed in due course.

This commit also fixes a number of bugs in test_bug708874.xul. In particular,
because of the semicolon after the for head, the (alleged) loop body was only
executed for the final element of the array ({}), and because each of the
functions under test threw an exception, only the first call was executed.

I do not know of a way to test the changes in frame-verify.js, so I can't
guarantee they actually work.
2015-06-20 09:16:51 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Joshua Cranmer
4a4096fa98 Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras 2011-08-29 17:02:22 -07:00
Benjamin Smedberg
7ca9b018fe Fix static-analysis bustage by using treehydra instead of dehydra. My theory is that the dehydra type cache is becoming confused by GCC tree GC which is reusing tree pointers for different types. 2009-08-07 11:16:26 -04:00
Benjamin Smedberg
02136fc17c Minor static-checking fixup: give a useful location for the "frame inherits from nsIFrame and nsISupports" warning, NPODB 2009-01-13 11:32:25 -05:00
Benjamin Smedberg
cbbce9065a Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only. 2009-01-12 14:21:11 -05:00