Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnContextCreated and OnContextReleased callbacks can't be set using Browser.SetClientCallback #484

Closed
cztomczak opened this issue Oct 19, 2018 · 1 comment

Comments

@cztomczak
Copy link
Owner

cztomczak commented Oct 19, 2018

The allowedClientCallbacks list in browser.pyx is missing these entries and thus Browser.SetClientCallback fails to set these callbacks. To get around the issue use such code to set them:

browser.clientCallbacks["OnContextCreated"] = myhandler.OnContextCreated
cztomczak added a commit that referenced this issue Jan 17, 2020
These callbacks were never called previously.

Rename --no-run-examples flag to --unittests in build scripts.
@cztomczak
Copy link
Owner Author

Fixed in b03b78b.

linesight pushed a commit to linesight/cefpython that referenced this issue May 12, 2024
…k#484).

These callbacks were never called previously.

Rename --no-run-examples flag to --unittests in build scripts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant