|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
--- a/chrome/browser/about_flags.cc
|
|
|
+++ b/chrome/browser/about_flags.cc
|
|
|
-@@ -130,6 +130,7 @@
|
|
|
+@@ -134,6 +134,7 @@
|
|
|
#include "third_party/blink/public/common/experiments/memory_ablation_experiment.h"
|
|
|
#include "third_party/blink/public/common/features.h"
|
|
|
#include "third_party/leveldatabase/leveldb_features.h"
|
|
@@ -17,7 +17,7 @@
|
|
|
#include "ui/accessibility/accessibility_switches.h"
|
|
|
#include "ui/base/ui_base_features.h"
|
|
|
#include "ui/base/ui_base_switches.h"
|
|
|
-@@ -1128,6 +1129,14 @@ const FeatureEntry kFeatureEntries[] = {
|
|
|
+@@ -1082,6 +1083,14 @@ const FeatureEntry kFeatureEntries[] = {
|
|
|
"Force punycode hostnames",
|
|
|
"Force punycode in hostnames instead of Unicode when displaying Internationalized Domain Names (IDNs).",
|
|
|
kOsAll, SINGLE_VALUE_TYPE("force-punycode-hostnames")},
|
|
@@ -42,7 +42,7 @@
|
|
|
#include "ui/events/blink/blink_features.h"
|
|
|
#include "ui/gfx/switches.h"
|
|
|
#include "ui/gl/gl_switches.h"
|
|
|
-@@ -438,6 +439,11 @@ void SetIndividualRuntimeFeatures(
|
|
|
+@@ -431,6 +432,11 @@ void SetIndividualRuntimeFeatures(
|
|
|
WebRuntimeFeatures::EnableForbidSyncXHRInPageDismissal(true);
|
|
|
}
|
|
|
|
|
@@ -64,7 +64,7 @@
|
|
|
#include "cc/input/overscroll_behavior.h"
|
|
|
#include "cc/input/scroll_snap_data.h"
|
|
|
#include "services/metrics/public/cpp/mojo_ukm_recorder.h"
|
|
|
-@@ -774,6 +775,15 @@ Document::Document(const DocumentInit& i
|
|
|
+@@ -768,6 +769,15 @@ Document::Document(const DocumentInit& i
|
|
|
#ifndef NDEBUG
|
|
|
liveDocumentSet().insert(this);
|
|
|
#endif
|
|
@@ -80,7 +80,7 @@
|
|
|
}
|
|
|
|
|
|
Document::~Document() {
|
|
|
-@@ -800,6 +810,14 @@ Range* Document::CreateRangeAdjustedToTr
|
|
|
+@@ -794,6 +804,14 @@ Range* Document::CreateRangeAdjustedToTr
|
|
|
Position::BeforeNode(*shadow_host));
|
|
|
}
|
|
|
|
|
@@ -97,7 +97,7 @@
|
|
|
selector_query_cache_ = std::make_unique<SelectorQueryCache>();
|
|
|
--- a/third_party/blink/renderer/core/dom/document.h
|
|
|
+++ b/third_party/blink/renderer/core/dom/document.h
|
|
|
-@@ -393,6 +393,10 @@ class CORE_EXPORT Document : public Cont
|
|
|
+@@ -392,6 +392,10 @@ class CORE_EXPORT Document : public Cont
|
|
|
has_xml_declaration_ = has_xml_declaration ? 1 : 0;
|
|
|
}
|
|
|
|
|
@@ -108,19 +108,19 @@
|
|
|
String visibilityState() const;
|
|
|
bool IsPageVisible() const;
|
|
|
bool hidden() const;
|
|
|
-@@ -1815,6 +1819,9 @@ class CORE_EXPORT Document : public Cont
|
|
|
+@@ -1827,6 +1831,9 @@ class CORE_EXPORT Document : public Cont
|
|
|
|
|
|
double start_time_;
|
|
|
|
|
|
+ double noise_factor_x_;
|
|
|
+ double noise_factor_y_;
|
|
|
+
|
|
|
- TraceWrapperMember<ScriptRunner> script_runner_;
|
|
|
+ Member<ScriptRunner> script_runner_;
|
|
|
|
|
|
HeapVector<Member<ScriptElementBase>> current_script_stack_;
|
|
|
--- a/third_party/blink/renderer/core/dom/element.cc
|
|
|
+++ b/third_party/blink/renderer/core/dom/element.cc
|
|
|
-@@ -1222,6 +1222,11 @@ DOMRectList* Element::getClientRects() {
|
|
|
+@@ -1321,6 +1321,11 @@ DOMRectList* Element::getClientRects() {
|
|
|
DCHECK(element_layout_object);
|
|
|
GetDocument().AdjustFloatQuadsForScrollAndAbsoluteZoom(
|
|
|
quads, *element_layout_object);
|
|
@@ -132,7 +132,7 @@
|
|
|
return DOMRectList::Create(quads);
|
|
|
}
|
|
|
|
|
|
-@@ -1239,6 +1244,9 @@ DOMRect* Element::getBoundingClientRect(
|
|
|
+@@ -1338,6 +1343,9 @@ DOMRect* Element::getBoundingClientRect(
|
|
|
DCHECK(element_layout_object);
|
|
|
GetDocument().AdjustFloatRectForScrollAndAbsoluteZoom(result,
|
|
|
*element_layout_object);
|
|
@@ -144,7 +144,7 @@
|
|
|
|
|
|
--- a/third_party/blink/renderer/core/dom/range.cc
|
|
|
+++ b/third_party/blink/renderer/core/dom/range.cc
|
|
|
-@@ -1642,11 +1642,21 @@ DOMRectList* Range::getClientRects() con
|
|
|
+@@ -1643,11 +1643,21 @@ DOMRectList* Range::getClientRects() con
|
|
|
Vector<FloatQuad> quads;
|
|
|
GetBorderAndTextQuads(quads);
|
|
|
|
|
@@ -169,7 +169,7 @@
|
|
|
// TODO(editing-dev): We should make
|
|
|
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
|
|
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
|
|
-@@ -549,6 +549,12 @@
|
|
|
+@@ -573,6 +573,12 @@
|
|
|
settable_from_internals: true,
|
|
|
},
|
|
|
{
|
|
@@ -184,8 +184,8 @@
|
|
|
},
|
|
|
--- a/third_party/blink/renderer/platform/exported/web_runtime_features.cc
|
|
|
+++ b/third_party/blink/renderer/platform/exported/web_runtime_features.cc
|
|
|
-@@ -651,4 +651,12 @@ void WebRuntimeFeatures::EnableHTMLImpor
|
|
|
- RuntimeEnabledFeatures::SetHTMLImportsOnlyChromeEnabled(enable);
|
|
|
+@@ -668,4 +668,12 @@ void WebRuntimeFeatures::EnableSkipTouch
|
|
|
+ RuntimeEnabledFeatures::SetSkipTouchEventFilterEnabled(enable);
|
|
|
}
|
|
|
|
|
|
+void WebRuntimeFeatures::EnableFingerprintingClientRectsNoise(bool enable) {
|
|
@@ -199,7 +199,7 @@
|
|
|
} // namespace blink
|
|
|
--- a/third_party/blink/public/platform/web_runtime_features.h
|
|
|
+++ b/third_party/blink/public/platform/web_runtime_features.h
|
|
|
-@@ -230,6 +230,8 @@ class WebRuntimeFeatures {
|
|
|
+@@ -232,6 +232,8 @@ class WebRuntimeFeatures {
|
|
|
BLINK_PLATFORM_EXPORT static void EnableMergeBlockingNonBlockingPools(bool);
|
|
|
BLINK_PLATFORM_EXPORT static void EnableGetDisplayMedia(bool);
|
|
|
BLINK_PLATFORM_EXPORT static void EnableForbidSyncXHRInPageDismissal(bool);
|
|
@@ -210,7 +210,7 @@
|
|
|
BLINK_PLATFORM_EXPORT static void EnableHTMLImports(bool);
|
|
|
--- a/chrome/browser/BUILD.gn
|
|
|
+++ b/chrome/browser/BUILD.gn
|
|
|
-@@ -2073,6 +2073,7 @@ jumbo_split_static_library("browser") {
|
|
|
+@@ -2075,6 +2075,7 @@ jumbo_split_static_library("browser") {
|
|
|
"//third_party/metrics_proto",
|
|
|
"//third_party/re2",
|
|
|
"//third_party/smhasher:cityhash",
|
|
@@ -220,7 +220,7 @@
|
|
|
"//third_party/widevine/cdm:buildflags",
|
|
|
--- a/content/browser/BUILD.gn
|
|
|
+++ b/content/browser/BUILD.gn
|
|
|
-@@ -188,6 +188,7 @@ jumbo_source_set("browser") {
|
|
|
+@@ -192,6 +192,7 @@ jumbo_source_set("browser") {
|
|
|
"//third_party/libyuv",
|
|
|
"//third_party/re2",
|
|
|
"//third_party/sqlite",
|
|
@@ -230,15 +230,15 @@
|
|
|
"//third_party/zlib",
|
|
|
--- a/content/browser/renderer_host/render_process_host_impl.cc
|
|
|
+++ b/content/browser/renderer_host/render_process_host_impl.cc
|
|
|
-@@ -215,6 +215,7 @@
|
|
|
+@@ -214,6 +214,7 @@
|
|
|
#include "third_party/blink/public/common/page/launching_process_state.h"
|
|
|
#include "third_party/blink/public/common/user_agent/user_agent_metadata.h"
|
|
|
#include "third_party/blink/public/public_buildflags.h"
|
|
|
+#include "third_party/ungoogled/ungoogled_switches.h"
|
|
|
#include "third_party/skia/include/core/SkBitmap.h"
|
|
|
+ #include "ui/accessibility/accessibility_switches.h"
|
|
|
#include "ui/base/ui_base_features.h"
|
|
|
- #include "ui/base/ui_base_switches.h"
|
|
|
-@@ -3020,6 +3021,8 @@ void RenderProcessHostImpl::PropagateBro
|
|
|
+@@ -3003,6 +3004,8 @@ void RenderProcessHostImpl::PropagateBro
|
|
|
switches::kEnableWebGLImageChromium,
|
|
|
switches::kEnableWebVR,
|
|
|
switches::kFileUrlPathAlias,
|
|
@@ -249,7 +249,7 @@
|
|
|
switches::kForceGpuMemAvailableMb,
|
|
|
--- a/content/child/BUILD.gn
|
|
|
+++ b/content/child/BUILD.gn
|
|
|
-@@ -119,6 +119,7 @@ target(link_target_type, "child") {
|
|
|
+@@ -117,6 +117,7 @@ target(link_target_type, "child") {
|
|
|
"//third_party/blink/public:scaled_resources",
|
|
|
"//third_party/blink/public/common",
|
|
|
"//third_party/ced",
|
|
@@ -259,7 +259,7 @@
|
|
|
"//ui/events/blink",
|
|
|
--- a/third_party/blink/renderer/platform/BUILD.gn
|
|
|
+++ b/third_party/blink/renderer/platform/BUILD.gn
|
|
|
-@@ -1454,6 +1454,7 @@ jumbo_component("platform") {
|
|
|
+@@ -1467,6 +1467,7 @@ jumbo_component("platform") {
|
|
|
"//third_party/ced",
|
|
|
"//third_party/emoji-segmenter",
|
|
|
"//third_party/icu",
|