Skip to content

Commit

Permalink
Update to latest protocol definitions (#130)
Browse files Browse the repository at this point in the history
* Update to latest protocol definitions

* Fixup initialisms

* Fix use of DOM.Enable, requires arg
  • Loading branch information
mafredri committed May 11, 2022
1 parent 159a656 commit d0c159a
Show file tree
Hide file tree
Showing 66 changed files with 4,147 additions and 1,025 deletions.
328 changes: 232 additions & 96 deletions cdp.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions cdp_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion cmd/cdpgen/lint/name.go
Expand Up @@ -32,7 +32,9 @@ func init() {
lint.SetInitialism("CORS", true)
lint.SetInitialism("WASM", true)
lint.SetInitialism("JXL", true)
lint.SetInitialism("BR", true) // Brotli compression.
lint.SetInitialism("BR", true) // Brotli compression.
lint.SetInitialism("HWB", true) // Color format.
lint.SetInitialism("IME", true)
}

// Name returns a different name if it should be different.
Expand Down
247 changes: 146 additions & 101 deletions cmd/cdpgen/protodef/browser_protocol.json

Large diffs are not rendered by default.

0 comments on commit d0c159a

Please sign in to comment.