mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9
This commit is contained in:
parent
200cc8aa6b
commit
4a942c982f
141 changed files with 2563 additions and 1589 deletions
|
@ -9,6 +9,10 @@ these are especially using for [visual][] tests which need to be manually
|
|||
judged and following common patterns makes it easier to correctly tell if a
|
||||
given test passed or not.
|
||||
|
||||
## Make tests self-describing
|
||||
|
||||
Tests should make it obvious when they pass and when they fail. It shouldn't be necessary to consult the specification to figure out whether a test has passed of failed.
|
||||
|
||||
## Indicating success
|
||||
|
||||
Success is largely indicated by the color green; typically in one of
|
||||
|
|
|
@ -758,6 +758,9 @@ asserts that the class string of `object` as returned in
|
|||
### `assert_own_property(object, property_name, description)`
|
||||
assert that object has own property `property_name`
|
||||
|
||||
### `assert_not_own_property(object, property_name, description)`
|
||||
assert that object does not have an own property named `property_name`
|
||||
|
||||
### `assert_inherits(object, property_name, description)`
|
||||
assert that object does not have an own property named
|
||||
`property_name` but that `property_name` is present in the prototype
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue