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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/event-listener-detached.html

Issue 2855443002: Fix detached event listener attribute updating. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/event-listener-detached.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/event-listener-detached.html b/third_party/WebKit/LayoutTests/fast/events/event-listener-detached.html
new file mode 100644
index 0000000000000000000000000000000000000000..1ceb56e6a22e0e30eab34f3b789b0600f15d9c65
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/events/event-listener-detached.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+var t = async_test("Updating attributes for detached nodes should not crash.");
+function test() {
+ frame.contentDocument.adoptNode(document.scrollingElement);
+ t.done();
+}
+</script>
+<iframe id="frame" onload="test()"></iframe>
+<div ontransitionend="g()" onwebkittransitionend="h()">
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698