Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing arguments to setTimeout/setInterval callbacks
- Loading branch information
Showing
12 changed files
with
88 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at http://mozilla.org/MPL/2.0/. | ||
* | ||
* The origin of this IDL file is | ||
* http://www.whatwg.org/specs/web-apps/current-work/#functiocn | ||
* | ||
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and | ||
* Opera Software ASA. You are granted a license to use, reproduce | ||
* and create derivative works of this document. | ||
*/ | ||
|
||
callback Function = any(any... arguments); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...tadata/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[compile-error-in-setInterval.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[window.onerror - compile error in setInterval] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
||
[window.onerror - compile error in setInterval (column)] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
5 changes: 3 additions & 2 deletions
5
...etadata/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[compile-error-in-setTimeout.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[window.onerror - compile error in setTimeout] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
||
[window.onerror - compile error in setTimeout (column)] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
5 changes: 3 additions & 2 deletions
5
...tadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[runtime-error-in-setInterval.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[window.onerror - runtime error in setInterval] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
||
[window.onerror - runtime error in setInterval (column)] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
5 changes: 3 additions & 2 deletions
5
...etadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[runtime-error-in-setTimeout.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[window.onerror - runtime error in setTimeout] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
||
[window.onerror - runtime error in setTimeout (column)] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from Ms2ger
at mukilan@4b2b0d0
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging mukilan/servo/timeout-arguments = 4b2b0d0 into auto
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mukilan/servo/timeout-arguments = 4b2b0d0 merged ok, testing candidate = 61705f9
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from Ms2ger
at mukilan@4b2b0d0
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging mukilan/servo/timeout-arguments = 4b2b0d0 into auto
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mukilan/servo/timeout-arguments = 4b2b0d0 merged ok, testing candidate = b569c39
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://build.servo.org/builders/mac2/builds/181
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from Ms2ger
at mukilan@4b2b0d0
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging mukilan/servo/timeout-arguments = 4b2b0d0 into auto
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mukilan/servo/timeout-arguments = 4b2b0d0 merged ok, testing candidate = 4901c72
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://build.servo.org/builders/linux/builds/640
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://build.servo.org/builders/linux/builds/640
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from Ms2ger
at mukilan@4b2b0d0
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging mukilan/servo/timeout-arguments = 4b2b0d0 into auto
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mukilan/servo/timeout-arguments = 4b2b0d0 merged ok, testing candidate = 43b452f
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://build.servo.org/builders/linux/builds/646
success: http://build.servo.org/builders/mac1/builds/188
success: http://build.servo.org/builders/mac2/builds/188
4b2b0d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 43b452f