Commit d04a0da
fix(cztomczak#676): reference and debug-log the NULL-browser fallback in cookie filter
The IO-thread CanSendCookie/CanSaveCookie callbacks can receive a CefFrame
whose GetBrowser() returns NULL; the early-return fallbacks were previously
silent and unexplained.
- frame.pyx GetPyFrame(): comment now explains when GetBrowser() is NULL off
the UI thread (IO-thread cookie callbacks, cross-origin subresource requests,
service workers / CefURLRequest).
- cookie_access_filter.pyx CanSendCookie/CanSaveCookie: log the
no-resolvable-browser fallback and cite the CEF header doc
(cef_resource_request_handler.h > CefCookieAccessFilter).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b745f6a commit d04a0da
2 files changed
Lines changed: 26 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
66 | 75 | | |
67 | 76 | | |
68 | 77 | | |
69 | | - | |
70 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
71 | 86 | | |
72 | 87 | | |
73 | 88 | | |
| |||
0 commit comments