mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d
This commit is contained in:
parent
3f07cfec7c
commit
578498ba24
4001 changed files with 159517 additions and 30260 deletions
|
@ -43,12 +43,9 @@ test(function() {
|
|||
|
||||
try {
|
||||
geo.getCurrentPosition(
|
||||
t86.step_func(function(pos) {
|
||||
assert_unreached('A success callback was invoked unexpectedly');
|
||||
}),
|
||||
t86.step_func(function(err) {
|
||||
t86.unreached_func('A success callback was invoked unexpectedly'),
|
||||
t86.step_func_done(function(err) {
|
||||
assert_equals(err.code, err.TIMEOUT);
|
||||
t86.done();
|
||||
}),
|
||||
{timeout: 0, maximumAge: 0}
|
||||
);
|
||||
|
@ -60,12 +57,9 @@ test(function() {
|
|||
|
||||
try {
|
||||
geo.watchPosition(
|
||||
t88.step_func(function(pos) {
|
||||
assert_unreached('A success callback was invoked unexpectedly');
|
||||
}),
|
||||
t88.step_func(function(err) {
|
||||
t88.unreached_func('A success callback was invoked unexpectedly'),
|
||||
t88.step_func_done(function(err) {
|
||||
assert_equals(err.code, err.TIMEOUT);
|
||||
t88.done();
|
||||
}),
|
||||
{timeout: 0, maximumAge: 0}
|
||||
);
|
||||
|
@ -77,12 +71,9 @@ test(function() {
|
|||
|
||||
try {
|
||||
geo.getCurrentPosition(
|
||||
t91.step_func(function(pos) {
|
||||
assert_unreached('A success callback was invoked unexpectedly');
|
||||
}),
|
||||
t91.step_func(function(err) {
|
||||
t91.unreached_func('A success callback was invoked unexpectedly'),
|
||||
t91.step_func_done(function(err) {
|
||||
assert_equals(err.code, err.TIMEOUT);
|
||||
t91.done();
|
||||
}),
|
||||
{timeout:-1, maximumAge: 0}
|
||||
);
|
||||
|
@ -94,13 +85,9 @@ test(function() {
|
|||
|
||||
try {
|
||||
geo.watchPosition(
|
||||
t92.step_func(function(pos) {
|
||||
assert_unreached('A success callback was invoked unexpectedly');
|
||||
done();
|
||||
}),
|
||||
t92.step_func(function(err) {
|
||||
t92.unreached_func('A success callback was invoked unexpectedly'),
|
||||
t92.step_func_done(function(err) {
|
||||
assert_equals(err.code, err.TIMEOUT);
|
||||
done();
|
||||
}),
|
||||
{timeout: -1, maximumAge: 0}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue