forked from mirrors/gecko-dev
Bug 1864896: Autofix unused function arguments (parser). r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D202976
This commit is contained in:
parent
cd02013a7c
commit
d92190fa91
4 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@
|
|||
/**
|
||||
* A few utility functions.
|
||||
*/
|
||||
function log(entry) {}
|
||||
function log() {}
|
||||
|
||||
function startsWith(s, s2) {
|
||||
return s.indexOf(s2) == 0;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ function writeErrorSummary(input, expected, got, isTodo) {
|
|||
* event handler returned by makeTestChecker() or the callback returned by
|
||||
* makeFragmentTestChecker() until the 'testcases' iterator is spent.
|
||||
*/
|
||||
function makeTestChecker(input, expected, errors) {
|
||||
function makeTestChecker(input, expected) {
|
||||
return function (e) {
|
||||
var domAsString = docToTestOutput(e.target.contentDocument);
|
||||
if (html5Exceptions[input]) {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
window.svgRanScript = false;
|
||||
const o = new MutationObserver(mutations => {
|
||||
const o = new MutationObserver(() => {
|
||||
o.disconnect();
|
||||
setTimeout(() => {
|
||||
ok(!svgRanScript, "svg onload must not fire");
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ document.addEventListener("copy", ev => {
|
|||
ev.preventDefault();
|
||||
ev.clipboardData.setData('text/html', "<svg><style><svg/onload=\"window.svgRanScript=true\">");
|
||||
});
|
||||
const o = new MutationObserver(mutations => {
|
||||
const o = new MutationObserver(() => {
|
||||
o.disconnect();
|
||||
setTimeout(() => {
|
||||
ok(!svgRanScript, "svg onload must not fire");
|
||||
|
|
|
|||
Loading…
Reference in a new issue