mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-13 21:07:07 +00:00
Tag 15400 API version
This commit is contained in:
1 parent
213fbca5aa
commit
a37d75cf39
5 files changed
+18
-11
No files matched your search
@@ -169,8 +169,15 @@
|
||||
"mac": "1e4981499ff0bace8da030a21a16a6613f46703c",
|
||||
"sandbox_compat": "1671cc913eeb4ecf",
|
||||
"windows": "1dde3bb571a5ee5aedd646ed4694d4bc8d9a2d96"
|
||||
},
|
||||
"15400": {
|
||||
"comment": "Added September 04, 2026.",
|
||||
"linux": "5c8344ae7d7f6421bc801401e35d4dbf6d38e101",
|
||||
"mac": "e5cd28047fc1f8bbb972e54692fc665040c7f034",
|
||||
"sandbox_compat": "265fca9293e6b6ef",
|
||||
"windows": "726dc73763db22edb289e41af2421a232617f7f4"
|
||||
}
|
||||
},
|
||||
"last": "15200",
|
||||
"last": "15400",
|
||||
"min": "13300"
|
||||
}
|
||||
+3
-3
@@ -52,7 +52,7 @@ class CefV8Handler;
|
||||
class CefV8StackFrame;
|
||||
class CefV8Value;
|
||||
|
||||
#if CEF_API_REMOVED(CEF_NEXT)
|
||||
#if CEF_API_REMOVED(15400)
|
||||
///
|
||||
/// Register a new V8 extension with the specified JavaScript extension code and
|
||||
/// handler. Functions implemented by the handler are prototyped using the
|
||||
@@ -113,11 +113,11 @@ class CefV8Value;
|
||||
/// example.test.increment();
|
||||
/// </pre>
|
||||
///
|
||||
/*--cef(optional_param=handler,removed=next)--*/
|
||||
/*--cef(optional_param=handler,removed=15400)--*/
|
||||
bool CefRegisterExtension(const CefString& extension_name,
|
||||
const CefString& javascript_code,
|
||||
CefRefPtr<CefV8Handler> handler);
|
||||
#endif // CEF_API_REMOVED(CEF_NEXT)
|
||||
#endif // CEF_API_REMOVED(15400)
|
||||
|
||||
///
|
||||
/// Class representing a V8 context handle. V8 handles can only be accessed from
|
||||
|
||||
@@ -3737,7 +3737,7 @@ typedef enum {
|
||||
CEF_CPAIT_PAYMENTS_CHURNED_USERS,
|
||||
CEF_CPAIT_FAKE_PAGE_ACTION_FOR_DEBUG,
|
||||
#endif
|
||||
#if CEF_API_ADDED(CEF_NEXT)
|
||||
#if CEF_API_ADDED(15400)
|
||||
CEF_CPAIT_WALLET_REMINDER_NOTICE,
|
||||
#endif
|
||||
CEF_CPAIT_NUM_VALUES,
|
||||
|
||||
@@ -826,7 +826,7 @@ void CefV8SetWorkerAttributes(int worker_id, const GURL& worker_url) {
|
||||
bool CefRegisterExtension(const CefString& /*extension_name*/,
|
||||
const CefString& /*javascript_code*/,
|
||||
CefRefPtr<CefV8Handler> /*handler*/) {
|
||||
CEF_API_REQUIRE_REMOVED(CEF_NEXT);
|
||||
CEF_API_REQUIRE_REMOVED(15400);
|
||||
NOTIMPLEMENTED();
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ enum V8TestMode {
|
||||
V8TEST_STACK_TRACE,
|
||||
V8TEST_ON_UNCAUGHT_EXCEPTION,
|
||||
V8TEST_ON_UNCAUGHT_EXCEPTION_DEV_TOOLS,
|
||||
#if CEF_API_REMOVED(CEF_NEXT)
|
||||
#if CEF_API_REMOVED(15400)
|
||||
V8TEST_EXTENSION,
|
||||
#endif
|
||||
V8TEST_HANDLER_CALL_ON_RELEASED_CONTEXT,
|
||||
@@ -300,7 +300,7 @@ class V8RendererTest : public ClientAppRenderer::Delegate,
|
||||
// Run a test on render process startup.
|
||||
void RunStartupTest() {
|
||||
switch (test_mode_) {
|
||||
#if CEF_API_REMOVED(CEF_NEXT)
|
||||
#if CEF_API_REMOVED(15400)
|
||||
case V8TEST_EXTENSION:
|
||||
RunExtensionTest();
|
||||
break;
|
||||
@@ -2928,7 +2928,7 @@ class V8RendererTest : public ClientAppRenderer::Delegate,
|
||||
"window.setTimeout(test, 0)", browser_->GetMainFrame()->GetURL(), 0);
|
||||
}
|
||||
|
||||
#if CEF_API_REMOVED(CEF_NEXT)
|
||||
#if CEF_API_REMOVED(15400)
|
||||
// Test execution of a native function when the extension is loaded.
|
||||
void RunExtensionTest() {
|
||||
std::string code =
|
||||
@@ -2957,7 +2957,7 @@ class V8RendererTest : public ClientAppRenderer::Delegate,
|
||||
CefRegisterExtension("v8/test-extension", code,
|
||||
new Handler(&startup_test_success_));
|
||||
}
|
||||
#endif // CEF_API_REMOVED(CEF_NEXT)
|
||||
#endif // CEF_API_REMOVED(15400)
|
||||
|
||||
void OnBrowserCreated(CefRefPtr<ClientAppRenderer> app,
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
@@ -3585,7 +3585,7 @@ V8_TEST_EX(Binding, V8TEST_BINDING, kV8BindingTestUrl)
|
||||
V8_TEST(StackTrace, V8TEST_STACK_TRACE)
|
||||
V8_TEST(OnUncaughtException, V8TEST_ON_UNCAUGHT_EXCEPTION)
|
||||
V8_TEST(OnUncaughtExceptionDevTools, V8TEST_ON_UNCAUGHT_EXCEPTION_DEV_TOOLS)
|
||||
#if CEF_API_REMOVED(CEF_NEXT)
|
||||
#if CEF_API_REMOVED(15400)
|
||||
V8_TEST(Extension, V8TEST_EXTENSION)
|
||||
#endif
|
||||
V8_TEST_EX(HandlerCallOnReleasedContext,
|
||||
|
||||
Reference in new issue
Block a user