Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Added loadURL and setProxy functionality #307

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

true-zero
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Feb 3, 2021

Coverage Status

Coverage decreased (-2.1%) to 77.479% when pulling 1e8cb1c on true-zero:master into 6aa7218 on asticode:master.

event.go Outdated Show resolved Hide resolved
window.go Outdated Show resolved Hide resolved
window.go Outdated Show resolved Hide resolved
window.go Outdated Show resolved Hide resolved
window.go Outdated Show resolved Hide resolved
@@ -51,6 +51,7 @@ type Event struct {
Username string `json:"username,omitempty"`
WindowID string `json:"windowId,omitempty"`
WindowOptions *WindowOptions `json:"windowOptions,omitempty"`
Proxy *WindowProxyOptions `json:"proxy,omitempty"`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move this field upwards so that fields are sorted alphabetically?

window.go Outdated
@@ -36,6 +36,8 @@ const (
EventNameWindowCmdWebContentsCloseDevTools = "window.cmd.web.contents.close.dev.tools"
EventNameWindowCmdWebContentsOpenDevTools = "window.cmd.web.contents.open.dev.tools"
EventNameWindowCmdWebContentsExecuteJavaScript = "window.cmd.web.contents.execute.javascript"
EventNameWindowCmdWebContentsSetProxy = "window.cmd.web.contents.set.proxy"
EventNameWindowCmdLoadURL = "window.cmd.load.url"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move this field upwards so that fields are sorted alphabetically?

window.go Outdated
EventNameWindowEventWillNavigate = "window.event.will.navigate"
EventNameWindowEventUpdatedCustomOptions = "window.event.updated.custom.options"
EventNameWindowLoadedURL = "window.event.loaded.url"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name should be EventNameWindowEventLoadedURL (with Event in the middle)

Also could you move this field upwards so that fields are sorted alphabetically?

@asticode
Copy link
Owner

Can I close this PR or will you be working on it in the future?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants