blob: 801dd9e5dfda28c63b9ae86a58605b1227425330 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ internal: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>