-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #7169: rewrite assert_readonly to check property descriptors
This changes the implementation to only check that the property descriptor makes the property readonly; it doesn't actually check its behaviour. As detailed in the above issue, there's too many ways for this test to be otherwise bogus, thus we should go for the simple implementation. This also fixes /css/cssom/cssimportrule.html, which previously asserted that CSSImportRule#media was readonly, which was a meaningless test, as even after the [PutForwards] [[Set]] call had occured, the attribute being tested still returned the same object, because it is defined with [SameObject].
- Loading branch information
Showing
2 changed files
with
34 additions
and
19 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