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

Unified Diff: third_party/WebKit/LayoutTests/inspector/report-protocol-errors-expected.txt

Issue 1739613002: DevTools: validate protocol input parameters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined a test. Created 4 years, 10 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/report-protocol-errors-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/report-protocol-errors-expected.txt b/third_party/WebKit/LayoutTests/inspector/report-protocol-errors-expected.txt
index 8f8fe22ec23ae2d8b2c7b4afef0d1149ef12ce35..7b6348c07ad139250cfd471882c88f696cb902df 100644
--- a/third_party/WebKit/LayoutTests/inspector/report-protocol-errors-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/report-protocol-errors-expected.txt
@@ -51,10 +51,7 @@ Tests that InspectorBackendDispatcher is catching incorrect messages.
{
error : {
code : -32602
- data : [
- "'params' object must contain required parameter 'frameId' with type 'String'."
- "'params' object must contain required parameter 'url' with type 'String'."
- ]
+ data : "frameId: string value expected; url: string value expected"
message : "Some arguments of method 'Page.getResourceContent' can't be processed"
}
id : 4
@@ -63,10 +60,7 @@ Tests that InspectorBackendDispatcher is catching incorrect messages.
{
error : {
code : -32602
- data : [
- "'params' object must contain required parameter 'frameId' with type 'String'."
- "'params' object must contain required parameter 'url' with type 'String'."
- ]
+ data : "frameId: string value expected; url: string value expected"
message : "Some arguments of method 'Page.getResourceContent' can't be processed"
}
id : 5
@@ -75,10 +69,7 @@ Tests that InspectorBackendDispatcher is catching incorrect messages.
{
error : {
code : -32602
- data : [
- "Parameter 'frameId' with type 'String' was not found."
- "Parameter 'url' with type 'String' was not found."
- ]
+ data : "frameId: string value expected; url: string value expected"
message : "Some arguments of method 'Page.getResourceContent' can't be processed"
}
id : 6
@@ -87,9 +78,7 @@ Tests that InspectorBackendDispatcher is catching incorrect messages.
{
error : {
code : -32602
- data : [
- "Parameter 'url' with type 'String' was not found."
- ]
+ data : "url: string value expected"
message : "Some arguments of method 'Page.getResourceContent' can't be processed"
}
id : 7

Powered by Google App Engine
This is Rietveld 408576698