direct liability for such tort. [Citations.] If a contract to be liable for another's tort is a ‘claim arising out of the same transaction’ as the tort within the meaning of section 427, subdivision 8, then a contract to save another harmless from liability for a tort must relate to or depend upon the transaction out of which the tort liability arises within the meaning of section 442.”
In Atherley the court further pointed out (pp. 387-388 [9] of 135 Cal.App.2d) that as section 442 then read (in 1955), “to bring in a new party, a stranger to the action, by cross-complaint the cross-complainant must satisfy the provisions of section 389, Code of Civil Procedure, and must show, quoting section 389, that ‘a complete determination of the controversy cannot be had without the presence of other parties. ’ The court made the distinction clear in the leading case of Alpers v. Bliss [1904] 145 Cal. 565 [79 P. 171] at pages 570-571. ‘Thus the test for a cross-complaint against a new party is more stringent than that governing cross-claims against the plaintiff or codefendants. Under Code of Civil Procedure, section 389, the stranger must be a party necessary to a complete determination of the controversy between the original parties(2 Witkin, California Procedure, p. 1587 ; emphasis the author’s.)”
As already noted, section 442 was amended in 1957 to permit a cross-complaint against any “person, whether or not a party to the original action,” thus indicating a legislative intent that the former stringent test be relaxed in favor of permitting defendant to request, even against new third parties to the action, affirmative relief “relating to or depending upon the contract, transaction, matter, happening or accident upon which the action is brought.” (§ 442.) The fact that the original complaint may seek equitable relief while the cross-complaint pleads an action legal in nature has been held no bar to the filing of the latter, and the converse appears to be equally permissible. (See Roffinella v. Roffinella (1923) 191 Cal. 753, 760 [3] [218 P. 397] ; Winter v. McMillan (1890) 87 Cal. 256, 264-265 [23 P. 407, 22 Am. St.Rep. 243].)
Moreover cross-defendants’ argument that the issues tendered by the cross-complaint are “much more complicated” than those raised by the pleadings as between plaintiff and defendant and that defendant is “not entitled as a matter of right to have them tried together,” is, of course, met by the provisions of section 1048 of the Code of Civil Procedure.