Unreviewed, fix test failures after r243119.
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Mar 2019 18:41:37 +0000 (18:41 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Mar 2019 18:41:37 +0000 (18:41 +0000)
* inspector/timeline/line-column.html:
* inspector/timeline/setInstruments-programmatic-capture.html:
Make sure to call `enable` for any ancillary agents.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243155 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/inspector/timeline/line-column.html
LayoutTests/inspector/timeline/setInstruments-programmatic-capture.html

index 3656693..98ee807 100644 (file)
@@ -1,3 +1,11 @@
+2019-03-19  Devin Rousso  <drousso@apple.com>
+
+        Unreviewed, fix test failures after r243119.
+
+        * inspector/timeline/line-column.html:
+        * inspector/timeline/setInstruments-programmatic-capture.html:
+        Make sure to call `enable` for any ancillary agents.
+
 2019-03-19  Alicia Boya García  <aboya@igalia.com>
 
         [MSE] Use tolerance in eraseBeginTime
 2019-03-19  Alicia Boya García  <aboya@igalia.com>
 
         [MSE] Use tolerance in eraseBeginTime
index dd9c5ae..8f7c47b 100644 (file)
@@ -36,6 +36,8 @@ function willEvaluateScriptTest() {
 function test() {
     ProtocolTest.debug();
 
 function test() {
     ProtocolTest.debug();
 
+    InspectorProtocol.sendCommand("Page.enable");
+
     let suite = ProtocolTest.createAsyncSuite("Timeline.LineColumn");
 
     function replacer(key, value) {
     let suite = ProtocolTest.createAsyncSuite("Timeline.LineColumn");
 
     function replacer(key, value) {
index 42c4f86..93e9e15 100644 (file)
@@ -16,6 +16,8 @@ function test()
     let heapExpected = false;
     let programmaticCaptureStopped = null;
 
     let heapExpected = false;
     let programmaticCaptureStopped = null;
 
+    InspectorProtocol.sendCommand("Heap.enable");
+
     InspectorProtocol.eventHandler["Timeline.programmaticCaptureStarted"] = () => {
         ProtocolTest.pass("Timeline.programmaticCaptureStarted");
     };
     InspectorProtocol.eventHandler["Timeline.programmaticCaptureStarted"] = () => {
         ProtocolTest.pass("Timeline.programmaticCaptureStarted");
     };