blob: 80691d0a42aafea12a7cc51edcf32879faad5c70 [file] [log] [blame]
<html>
<head>
<script src="../../http/tests/inspector/resources/protocol-test.js"></script>
<script>
function test()
{
InspectorProtocol.sendCommand("Page.enable", {});
InspectorProtocol.sendCommand("Page.archive", {}, function(event) {
var data = event.result.data;
if (!data)
ProtocolTest.log("FAIL: no data");
else if (data.length < 1000)
ProtocolTest.log("FAIL: unexpectedly short data. A serialized archive should be pretty large.");
else
ProtocolTest.log("PASS: Received archive data.");
ProtocolTest.completeTest();
});
}
</script>
</head>
<body onload="runTest()">
</body>
</html>