Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: third_party/WebKit/LayoutTests/inspector/input-event-warning.html

Issue 2851913002: [DevTools] Do not expose agents on Target
Patch Set: storage and tests.js Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/input-event-warning.html
diff --git a/third_party/WebKit/LayoutTests/inspector/input-event-warning.html b/third_party/WebKit/LayoutTests/inspector/input-event-warning.html
index c4b5531ef402a0504423a49f4aebc437a5ba42b9..e8ca0a221f54d6e00867c690c7ec7df3bbab06b6 100644
--- a/third_party/WebKit/LayoutTests/inspector/input-event-warning.html
+++ b/third_party/WebKit/LayoutTests/inspector/input-event-warning.html
@@ -67,14 +67,14 @@ function test()
function step1()
{
- InspectorTest.mainTarget.logAgent().startViolationsReport([
+ InspectorTest.mainTarget._dispatcher.logAgent().startViolationsReport([
{name: 'blockedEvent', threshold: 30000}]);
InspectorTest.evaluateInPage("dispatchEvents()", step2);
}
function step2()
{
- InspectorTest.mainTarget.logAgent().startViolationsReport([
+ InspectorTest.mainTarget._dispatcher.logAgent().startViolationsReport([
{name: 'blockedEvent', threshold: 0.001}]);
InspectorTest.addResult("There should be no warnings above this line");
InspectorTest.evaluateInPage("dispatchEvents()", () => InspectorTest.completeTest());

Powered by Google App Engine
This is Rietveld 408576698