This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <sstream> | |
#include <cstdint> | |
#include <cstring> | |
typedef struct { | |
uint32_t data1; | |
uint16_t data2; | |
uint16_t data3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/third_party/breakpad/BUILD.gn b/third_party/breakpad/BUILD.gn | |
index d7d27abb8eca3..b3340dbbf8036 100644 | |
--- a/third_party/breakpad/BUILD.gn | |
+++ b/third_party/breakpad/BUILD.gn | |
@@ -417,6 +417,10 @@ if (!is_win) { | |
# There are some warnings in this code. | |
configs -= [ "//build/config/compiler:chromium_code" ] | |
configs += [ "//build/config/compiler:no_chromium_code" ] | |
+ | |
+ deps = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Modules to control application life and create native browser window | |
const { app, BrowserWindow, Menu } = require('electron') | |
const path = require('node:path') | |
function createWindow () { | |
// Create the browser window. | |
const mainWindow = new BrowserWindow({ | |
width: 800, | |
height: 600, | |
webPreferences: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/shell/browser/api/electron_api_app.cc b/shell/browser/api/electron_api_app.cc | |
index 6a639e2fab..7bd4be44a6 100644 | |
--- a/shell/browser/api/electron_api_app.cc | |
+++ b/shell/browser/api/electron_api_app.cc | |
@@ -356,7 +356,7 @@ struct Converter<net::SecureDnsMode> { | |
namespace electron::api { | |
-gin::WrapperInfo App::kWrapperInfo = {gin::kEmbedderNativeGin}; | |
+gin::WrapperInfo App::kWrapperInfo = {gin::kEmbedderNativeGin, "App"}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2024 the V8 project authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#include "src/sandbox/external-pointer-table-tracer.h" | |
#include <iostream> | |
#include "src/common/globals.h" | |
#include "src/execution/isolate.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<h1>OOP frame</h1> | |
</body> | |
<script> | |
const corsUrl = "https://gist.githubusercontent.com/deepak1556/36c31867ad3a11c3b03a56ca8bd3f536/raw/24a02e75403d0e4fc2fb01959d5698eecc869f3d/worker.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Modules to control application life and create native browser window | |
const {app, BrowserWindow} = require('electron') | |
const path = require('path') | |
function createWindow () { | |
// Create the browser window. | |
const mainWindow = new BrowserWindow({ | |
width: 800, | |
height: 600, | |
webPreferences: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/content/shell/renderer/shell_render_frame_observer.cc b/content/shell/renderer/shell_render_frame_observer.cc | |
index ed6134a67e3e..dc6de8323542 100644 | |
--- a/content/shell/renderer/shell_render_frame_observer.cc | |
+++ b/content/shell/renderer/shell_render_frame_observer.cc | |
@@ -8,7 +8,9 @@ | |
#include "content/public/renderer/render_frame.h" | |
#include "content/public/renderer/render_frame_observer.h" | |
#include "content/shell/common/shell_switches.h" | |
+#include "third_party/blink/public/web/blink.h" | |
#include "third_party/blink/public/web/web_testing_support.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
</body> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
NewerOlder