8000 Infinite recursion of maps · Issue #3 · fabioberger/chrome · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Infinite recursion of maps #3
Open
@weberr13

Description

@weberr13

I'm trying to do a simple "GetAllCookieStores" and I'm hitting what appears to be an infinite recursion when the cookie store is rendered into a map[string]interface{}. Was this a show-stopper for this project or were there any leads on getting it working? This is the most basic thing I could think of trying and it (along with all other get cookie calls) seem to fail miserably.

package main

import (
    "github.com/fabioberger/chrome"
    "honnef.co/go/js/dom"
)

func main() {

    c := chrome.NewChrome()

    c.Cookies.GetAllCookieStores(func(cookieStores []chrome.CookieStore) {
        dom.GetWindow().Document().GetElementByID("notification").SetInnerHTML("getting stores")
    })
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0