Index: third_party/WebKit/LayoutTests/fast/css/variables/computed-style-detached-node-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/variables/computed-style-detached-node-crash.html b/third_party/WebKit/LayoutTests/fast/css/variables/computed-style-detached-node-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b80530fedc9f98b6eb6e29f5716442faa52bb9ac |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/variables/computed-style-detached-node-crash.html |
@@ -0,0 +1,8 @@ |
+<!DOCTYPE html> |
+<p>PASS if no crash</p> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ var elm = document.createElement("div"); |
+ getComputedStyle(elm).getPropertyValue("--variable"); |
+</script> |