| <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> |