Bug 1098118 - Pass correct number of arguments to browser API. r=alive