You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update to Chrome 55.0.2883.59 and CEF 3.2883.1539.gd7f087e (cztomczak#271).
Update to Cython 0.25.2.
Fix Certificate Transparency support causing some SSL sites fail
to load after some time (cztomczak#279).
Fix ApplicationSettings.cache_path not working (cztomczak#283).
Fix: Not a clean shutdown in examples, when closing app while browser
is still loading a website (cztomczak#282).
Fix loading local filesystem urls that contained any of ? & =
characters (cztomczak#273).
Fix Request.SetPostData and GetPostData segmentation faults (cztomczak#228).
Add ApplicationSettings.net_security_expiration_enabled.
Update ExecuteJavascript docs with scriptUrl="" and startLine=1
default params. Also worth noting that ExecuteJavascript crashed
in earlier CEF versions when startLine wasn't provided or was <= 0
(Issue cztomczak#268).
Add a test that measures execution time for calling Python function
from javascript and then js callback.
Add Contributing guidelines / Issue template.
Update automate.py, include ceftests executable.
Copy file name to clipboardExpand all lines: api/Browser.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,11 @@
3
3
4
4
# Browser (object)
5
5
6
+
Remember to free all browser references for the browser to shut down cleanly.
7
+
Otherwise data such as cookies or other storage might not be flushed to disk
8
+
when closing app, and other issues might occur as well. To free a reference
9
+
just assign a None value to a "browser" variable.
10
+
6
11
7
12
Table of contents:
8
13
*[Notes](#notes)
@@ -82,10 +87,13 @@ Table of contents:
82
87
83
88
## Notes
84
89
85
-
**Closing browser cleanly**
90
+
Methods available in upstream CEF which were not yet exposed in CEF Python
91
+
(see src/include/cef_browser.h):
86
92
87
-
Remember to delete all browser references for the browser to shut down cleanly. See the wxpython.py example > MainFrame.OnClose() for how to
88
-
do it.
93
+
* ImeSetComposition
94
+
* ImeCommitText
95
+
* ImeFinishComposingText
96
+
* ImeCancelComposition
89
97
90
98
91
99
## Methods
@@ -267,8 +275,8 @@ Passing a python function here is not allowed, it is only possible through [Java
267
275
| Parameter | Type |
268
276
| --- | --- |
269
277
| jsCode | string |
270
-
|scriptURL=None| string |
271
-
| startLine=None| int |
278
+
|scriptUrl=""| string |
279
+
| startLine=1| int |
272
280
|__Return__| void |
273
281
274
282
Execute a string of JavaScript code in this frame. The `sciptURL` parameter is the URL where the script in question can be found, if any. The renderer may request this URL to show the developer the source of the error. The `startLine` parameter is the base line number to use for error reporting.
Copy file name to clipboardExpand all lines: api/Frame.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,8 +80,8 @@ Call a javascript function asynchronously. This can also call object's methods,
80
80
| Parameter | Type |
81
81
| --- | --- |
82
82
| jsCode | string |
83
-
| scriptUrl=None| string |
84
-
| startLine=None| int |
83
+
| scriptUrl=""| string |
84
+
| startLine=1| int |
85
85
|__Return__| void |
86
86
87
87
Execute a string of JavaScript code in this frame. The sciptUrl parameter is the url where the script in question can be found, if any. The renderer may request this URL to show the developer the source of the error. The startLine parameter is the base line number to use for error reporting. This function executes asynchronously so there is no way to get the returned value. Calling javascript <> native code synchronously is not possible.
Copy file name to clipboardExpand all lines: api/RequestHandler.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,18 @@
5
5
6
6
Implement this interface to handle events related to browser requests.
7
7
8
-
For an example of how to implement handler see [cefpython](cefpython.md).CreateBrowser(). For a list of all handler interfaces see [API > Client handlers](API#Client_handlers).
8
+
For an example of how to implement handler see
9
+
[cefpython](cefpython.md).CreateBrowserSync(). For a list of all handler
10
+
interfaces see [API > Client handlers](API#Client_handlers).
9
11
10
-
The `RequestHandler` tests can be found in the wxpython.py script.
12
+
The `RequestHandler` tests can be found in the old wxpython.py script (v31).
11
13
12
-
The following callbacks are available in upstream CEF, but were not yet
0 commit comments