Commit 0c895d91 authored by Simon Zünd's avatar Simon Zünd Committed by Commit Bot

[devtools] Prepare setPropertyValue web test for TS-ified RemoteObject

Instead of modifying TestExpectations, this CL changes the test to
install a sniffer on the current, and the future method.

This is only temporary and will be removed once sdk/RemoteObject.js
is TypeScript-ified.

R=tvanderlippe@chromium.org

Bug: chromium:1011811
Change-Id: I4cdbde2cca81cf5548defaee71f680856ced6310
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2390340Reviewed-by: default avatarTim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803851}
parent bfcb9fc4
......@@ -100,6 +100,12 @@
await ConsoleTestRunner.dumpConsoleMessages();
next();
});
// Temporarily install sniffer on both methods until TS migration for RemoteObject.js is done.
// TODO(crbug.com/1011811): Remove once RemoteObject.js is TypeScript-ified.
TestRunner.addSniffer(TestRunner.RuntimeAgent, 'invoke_releaseObject', async () => {
await ConsoleTestRunner.dumpConsoleMessages();
next();
});
obj1.setPropertyValue(nameFoo, '[1,2,3]');
}
]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment