Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/Common/3dParty/v8/v8.pri b/Common/3dParty/v8/v8.pri 2index 11c7c72d1b..eef42d3fc5 100644 3--- a/Common/3dParty/v8/v8.pri 4+++ b/Common/3dParty/v8/v8.pri 5@@ -57,7 +57,7 @@ core_windows { 6 7 core_linux { 8 use_v8_monolith { 9- LIBS += -L$$CORE_V8_PATH_LIBS -lv8_monolith 10+ LIBS += -L$$CORE_V8_PATH_LIBS -lv8 11 } else { 12 SNAPSHOT_LIB=v8_snapshot 13 !exists($$CORE_V8_PATH_LIBS/libv8_snapshot.a) { 14diff --git a/DesktopEditor/doctrenderer/js_internal/v8/inspector/v8_inspector_client.cpp b/DesktopEditor/doctrenderer/js_internal/v8/inspector/v8_inspector_client.cpp 15index dbfda9807c..78af9a4e3a 100644 16--- a/DesktopEditor/doctrenderer/js_internal/v8/inspector/v8_inspector_client.cpp 17+++ b/DesktopEditor/doctrenderer/js_internal/v8/inspector/v8_inspector_client.cpp 18@@ -22,7 +22,9 @@ namespace NSJSBase 19 // initialize all V8 inspector stuff 20 m_pChannel.reset(new CV8InspectorChannelImpl(m_pIsolate, fOnResponse)); 21 m_pInspector = v8_inspector::V8Inspector::create(m_pIsolate, this); 22- m_pSession = m_pInspector->connect(m_nContextGroupId, m_pChannel.get(), v8_inspector::StringView()); 23+ m_pSession = m_pInspector->connect(m_nContextGroupId, m_pChannel.get(), v8_inspector::StringView(), 24+ v8_inspector::V8Inspector::kFullyTrusted, 25+ v8_inspector::V8Inspector::kNotWaitingForDebugger); 26 context->SetAlignedPointerInEmbedderData(1, this); 27 28 v8_inspector::StringView oContextName = convertToStringView("inspector" + std::to_string(nContextGroupId));