New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't use assert_own_property in CSS tests. #16892
Conversation
The cc's were supposed to be @lilles @ewilligers |
Per spec they're defined to be WebIDL attributes, so they should behave the same as |
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.
LGTM, but maybe add an assertion message so it's clear why they fail (a second arg, something like "property not in getComputedStyle object")?
They are in fact not supposed to be own properties. This caused all CSS tests to fail on Firefox for no good reason. See https://bugs.chromium.org/p/chromium/issues/detail?id=700338 for the bug that this tests are relying on.
5f5bb93
to
553c93b
Compare
Sure, done. Will wait for CI just to sanity-check, but feel free to merge whenever if you get here before me :) |
We should probably add a check for the inverse, that they're not own properties? Otherwise this passes in Chrome while they're not compliant. |
Yeah I intentionally didn't do it since this is used in a lot of parsing and serialization tests that are important for interop. Testing it once per property is not useful, I suspect there's a test that chrome fails already because of that bug, but I'll file one otherwise. |
These `assert_own_property` tests cause these CSS tests to fail on Firefox only. I think these properties are not supposted to be own properties, and use a similar way as web-platform-tests#16892, to test the existence of these properties.
These `assert_own_property` tests cause these CSS tests to fail on Firefox only, and I think these properties are not supposted to be own properties, so use a similar way as web-platform-tests#16892, to test the existence of these properties.
They are in fact not supposed to be own properties. This caused all CSS tests to fail on Firefox for no good reason. See https://bugs.chromium.org/p/chromium/issues/detail?id=700338 for the bug that this tests are relying on.
…property on testing style properties., a=testonly Automatic update from web-platform-tests [css-transforms] Avoid using assert_own_property on style property. (#17778) These `assert_own_property` tests cause these CSS tests to fail on Firefox only, and I think these properties are not supposted to be own properties, so use a similar way as web-platform-tests/wpt#16892, to test the existence of these properties. -- wpt-commits: 47543ee66eb535b6910292f199f3b789bec263f0 wpt-pr: 17778
…property on testing style properties., a=testonly Automatic update from web-platform-tests [css-transforms] Avoid using assert_own_property on style property. (#17778) These `assert_own_property` tests cause these CSS tests to fail on Firefox only, and I think these properties are not supposted to be own properties, so use a similar way as web-platform-tests/wpt#16892, to test the existence of these properties. -- wpt-commits: 47543ee66eb535b6910292f199f3b789bec263f0 wpt-pr: 17778
…eb-platform-tests#17778) These `assert_own_property` tests cause these CSS tests to fail on Firefox only, and I think these properties are not supposted to be own properties, so use a similar way as web-platform-tests#16892, to test the existence of these properties.
…property on testing style properties., a=testonly Automatic update from web-platform-tests [css-transforms] Avoid using assert_own_property on style property. (#17778) These `assert_own_property` tests cause these CSS tests to fail on Firefox only, and I think these properties are not supposted to be own properties, so use a similar way as web-platform-tests/wpt#16892, to test the existence of these properties. -- wpt-commits: 47543ee66eb535b6910292f199f3b789bec263f0 wpt-pr: 17778 UltraBlame original commit: 3f420b25532cbc1cc2bb3b2b51430ec9c83b205b
…property on testing style properties., a=testonly Automatic update from web-platform-tests [css-transforms] Avoid using assert_own_property on style property. (#17778) These `assert_own_property` tests cause these CSS tests to fail on Firefox only, and I think these properties are not supposted to be own properties, so use a similar way as web-platform-tests/wpt#16892, to test the existence of these properties. -- wpt-commits: 47543ee66eb535b6910292f199f3b789bec263f0 wpt-pr: 17778 UltraBlame original commit: 3f420b25532cbc1cc2bb3b2b51430ec9c83b205b
…property on testing style properties., a=testonly Automatic update from web-platform-tests [css-transforms] Avoid using assert_own_property on style property. (#17778) These `assert_own_property` tests cause these CSS tests to fail on Firefox only, and I think these properties are not supposted to be own properties, so use a similar way as web-platform-tests/wpt#16892, to test the existence of these properties. -- wpt-commits: 47543ee66eb535b6910292f199f3b789bec263f0 wpt-pr: 17778 UltraBlame original commit: 3f420b25532cbc1cc2bb3b2b51430ec9c83b205b
They are in fact not supposed to be own properties.
This caused all CSS tests to fail on Firefox for no good reason.
See https://bugs.chromium.org/p/chromium/issues/detail?id=700338 for the bug
that this tests are relying on.
This fixes e8b0b32. CC @lilles @ewilligers