mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Auto merge of #8963 - Aesthetikx:unforgeable-istrusted, r=jdm
Make Event's isTrusted attribute unforgeable Three failure expectations were able to be removed from `tests/wpt/web-platform-tests/dom/interfaces.html`. This is my first commit to servo and my first time with rust, hopefully I didn't overlook anything. Fixes #8956. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8963) <!-- Reviewable:end -->
This commit is contained in:
commit
6032f8225b
13 changed files with 63 additions and 8 deletions
|
@ -34,6 +34,7 @@ interface Event {
|
|||
[Pure]
|
||||
readonly attribute boolean defaultPrevented;
|
||||
|
||||
[Unforgeable]
|
||||
readonly attribute boolean isTrusted;
|
||||
[Constant]
|
||||
readonly attribute DOMTimeStamp timeStamp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue