blob: 28a8868543f1a8c8bd507878ad1a76e2dd817f14 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ UndoManagerAPIEnabled=true ] -->
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<script>
function runTest()
{
description("Verifies that the wrapper for Document's UndoManager remains consistent across GC passes. This test must be run using WebKitTestRunner.");
document.undoManager.foo = "bar";
if (window.GCController)
GCController.collect();
shouldBeEqualToString("document.undoManager.foo", "bar");
}
</script>
<body onload=runTest()></body>
</html>