| Index: third_party/WebKit/Source/platform/inspector_protocol/generate-inspector-protocol-version
|
| diff --git a/third_party/WebKit/Source/platform/inspector_protocol/generate-inspector-protocol-version b/third_party/WebKit/Source/platform/inspector_protocol/generate-inspector-protocol-version
|
| index 0c01e163bbd3f8eac2df03e419703578b7f18b48..0fe8dcc76965dcf9f81b4c18ec9b94b250e8f01b 100755
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/generate-inspector-protocol-version
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/generate-inspector-protocol-version
|
| @@ -4,7 +4,7 @@
|
| # Redistribution and use in source and binary forms, with or without
|
| # modification, are permitted provided that the following conditions are
|
| # met:
|
| -#
|
| +#
|
| # * Redistributions of source code must retain the above copyright
|
| # notice, this list of conditions and the following disclaimer.
|
| # * Redistributions in binary form must reproduce the above
|
| @@ -14,7 +14,7 @@
|
| # * Neither the name of Google Inc. nor the names of its
|
| # contributors may be used to endorse or promote products derived from
|
| # this software without specific prior written permission.
|
| -#
|
| +#
|
| # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| @@ -28,7 +28,7 @@
|
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| #
|
| # Inspector protocol validator.
|
| -#
|
| +#
|
| # Tests that subsequent protocol changes are not breaking backwards compatibility.
|
| # Following violations are reported:
|
| #
|
| @@ -39,7 +39,7 @@
|
| # - Event has been removed
|
| # - Required event parameter was removed or changed to optional
|
| # - Parameter type has changed.
|
| -#
|
| +#
|
| # For the parameters with composite types the above checks are also applied
|
| # recursively to every property of the type.
|
| #
|
| @@ -197,7 +197,7 @@ def extract_type(typed_object, types_map, errors):
|
| ref = typed_object["$ref"]
|
| if not ref in types_map:
|
| errors.append("Can not resolve type: %s" % ref)
|
| - types_map[ref] = { "id": "<transient>", "type": "object" }
|
| + types_map[ref] = { "id": "<transient>", "type": "object" }
|
| return types_map[ref]
|
|
|
|
|
| @@ -452,7 +452,8 @@ def main():
|
|
|
| expected_errors = [
|
| "Debugger.globalObjectCleared: event has been removed",
|
| - "Runtime.executionContextCreated.context parameter->Runtime.ExecutionContextDescription.frameId: required property has been removed"
|
| + "Runtime.executionContextCreated.context parameter->Runtime.ExecutionContextDescription.frameId: required property has been removed",
|
| + "Debugger.canSetScriptSource: command has been removed"
|
| ]
|
|
|
| errors = compare_schemas(baseline_domains, domains, False)
|
|
|