Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(744)

Side by Side Diff: LayoutTests/fast/events/relatedevent.html

Issue 443053002: Add support for RelatedEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Done Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <script>
7
8 description("Tests to confirm behavior of updating IDL attributes of RelatedEven t.");
9
10 var relatedEvent = document.createEvent("RelatedEvent");
11
12 // We should not be able to update readonly attributes.
13 relatedEvent.bubbles = true;
14 relatedEvent.cancelable = true;
15 relatedEvent.relatedTarget = document;
16
17 shouldBeFalse("relatedEvent.bubbles");
18 shouldBeFalse("relatedEvent.cancelable");
19 shouldBeNull("relatedEvent.relatedTarget");
20 </script>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698