Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / tracing / buffer-usage.html
blob0e2360a61f7ac05f56f1410f6eb7cf8645e7abc6
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/timeline-test.js"></script>
5 <script src="../tracing-test.js"></script>
6 <script>
8 function test()
10 InspectorTest.tracingTimelineModel().addEventListener(WebInspector.TimelineModel.Events.BufferUsage, onBufferUsage, this);
11 InspectorTest.tracingTimelineModel().startRecording();
12 function onBufferUsage(event)
14 InspectorTest.tracingTimelineModel().removeEventListener(WebInspector.TimelineModel.Events.BufferUsage, onBufferUsage, this);
15 InspectorTest.tracingTimelineModel().stopRecording();
16 InspectorTest.addResult("SUCCESS: Received buffer usage update.");
17 InspectorTest.completeTest();
21 </script>
22 </head>
24 <body onload="runTest()">
25 <p>
26 Tests that buffer usage update are sent when recording trace events.
27 </p>
28 </body>
29 </html>