mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -124,16 +124,14 @@
|
|||
|
||||
test(function() {
|
||||
var date = new Date();
|
||||
assert_throws(new TypeError(), function() {
|
||||
new UserProximityEvent('test', date);
|
||||
});
|
||||
var event = new UserProximityEvent('test', date);
|
||||
assert_false(event.near);
|
||||
}, 'eventInitDict argument is Date object');
|
||||
|
||||
test(function() {
|
||||
var regexp = /abc/;
|
||||
assert_throws(new TypeError(), function() {
|
||||
new UserProximityEvent('test', regexp);
|
||||
});
|
||||
var event = new UserProximityEvent('test', regexp);
|
||||
assert_false(event.near);
|
||||
}, 'eventInitDict argument is RegExp object');
|
||||
|
||||
test(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue