Loading tools/under-control/src/RELEASE +1 −1 Original line number Diff line number Diff line 145.0.7632.120 146.0.7680.31 tools/under-control/src/android_webview/browser/aw_content_browser_client.cc +11 −13 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ #include "base/base_paths_android.h" #include "base/base_switches.h" #include "base/command_line.h" #include "base/containers/contains.h" #include "base/feature_list.h" #include "base/files/scoped_file.h" #include "base/functional/bind.h" Loading Loading @@ -238,7 +237,7 @@ std::string AwContentBrowserClient::GetAcceptLangsImpl() { // If accept languages do not contain en-US, add in en-US which will be // used with a lower q-value. if (!base::Contains(locales_string, "en-US")) { if (!locales_string.contains("en-US")) { locales_string += ",en-US"; } return locales_string; Loading Loading @@ -1095,12 +1094,6 @@ bool AwContentBrowserClient::ShouldLockProcessToSite( return false; } bool AwContentBrowserClient::ShouldEnforceNewCanCommitUrlChecks() { // TODO(https://crbug.com/326250356): Diagnose any remaining Android WebView // crashes from these new checks and then remove this function. return true; } void AwContentBrowserClient::WillCreateURLLoaderFactory( content::BrowserContext* browser_context, content::RenderFrameHost* frame, Loading Loading @@ -1303,16 +1296,16 @@ void AwContentBrowserClient::LogWebDXFeatureForCurrentPage( render_frame_host, feature); } content::ContentBrowserClient::PrivateNetworkRequestPolicyOverride AwContentBrowserClient::ShouldOverridePrivateNetworkRequestPolicy( content::ContentBrowserClient::LocalNetworkAccessRequestPolicyOverride AwContentBrowserClient::ShouldOverrideLocalNetworkAccessRequestPolicy( content::BrowserContext* browser_context, const url::Origin& origin) { // Webview does not implement support for deprecation trials, so webview apps // broken by Private Network Access restrictions cannot help themselves by // broken by Local Network Access restrictions cannot help themselves by // registering for the trial. // See crbug.com/1255675. return content::ContentBrowserClient::PrivateNetworkRequestPolicyOverride:: kForceAllow; return content::ContentBrowserClient:: LocalNetworkAccessRequestPolicyOverride::kForceAllow; } content::SpeechRecognitionManagerDelegate* Loading Loading @@ -1527,4 +1520,9 @@ bool AwContentBrowserClient::ShouldAnimateBackForwardTransitions() { return false; } bool AwContentBrowserClient::OriginSupportsConcreteCrossOriginIsolation( const url::Origin& origin) { return false; } } // namespace android_webview tools/under-control/src/android_webview/browser/aw_field_trials.cc +5 −5 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include "components/payments/content/android/payment_feature_map.h" #include "components/permissions/features.h" #include "components/safe_browsing/core/common/features.h" #include "components/stylus_handwriting/android/stylus_handwriting_feature_map.h" #include "components/variations/feature_overrides.h" #include "components/viz/common/features.h" #include "content/public/common/content_features.h" Loading @@ -32,7 +33,6 @@ #include "third_party/blink/public/common/features_generated.h" #include "ui/android/ui_android_features.h" #include "ui/base/ui_base_features.h" #include "ui/events/features.h" #include "ui/gl/gl_features.h" #include "ui/gl/gl_switches.h" Loading Loading @@ -82,10 +82,6 @@ void AwFieldTrials::RegisterFeatureOverrides(base::FeatureList* feature_list) { // HDR does not support webview yet. See crbug.com/1493153 for an explanation. aw_feature_overrides.DisableFeature(ui::kAndroidHDR); // TODO(crbug.com/450845471): Remove this once webview experiment has // concluded. aw_feature_overrides.DisableFeature(ui::kCompensateGestureDetectorTimeouts); // Disable launch_handler on WebView. aw_feature_overrides.DisableFeature(::features::kAndroidWebAppLaunchHandler); Loading Loading @@ -317,4 +313,8 @@ void AwFieldTrials::RegisterFeatureOverrides(base::FeatureList* feature_list) { // Don't pass the data about browser window position on screen to WebView. aw_feature_overrides.DisableFeature(ui::kAndroidUseCorrectWindowBounds); // Launched for WebView. Experimentation needed for Chrome on Android. aw_feature_overrides.EnableFeature( stylus_handwriting::android::kProbeStylusWritingInBackground); } tools/under-control/src/android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt +48 −4 Original line number Diff line number Diff line Loading @@ -180,6 +180,7 @@ interface AudioContext : BaseAudioContext getter onerror getter onsinkchange getter outputLatency getter playbackStats getter playoutStats getter sinkId method close Loading Loading @@ -292,6 +293,17 @@ interface AudioParamMap method has method keys method values interface AudioPlaybackStats attribute @@toStringTag getter averageLatency getter maximumLatency getter minimumLatency getter totalDuration getter underrunDuration getter underrunEvents method constructor method resetLatency method toJSON interface AudioPlayoutStats attribute @@toStringTag getter averageLatency Loading Loading @@ -352,6 +364,11 @@ interface AudioWorkletNode : AudioNode getter port method constructor setter onprocessorerror interface AutofillEvent : Event attribute @@toStringTag getter autofillValues getter refill method constructor interface BackForwardCacheRestoration : PerformanceEntry attribute @@toStringTag getter pageshowEventEnd Loading Loading @@ -1365,11 +1382,18 @@ interface ChildNodePart : Part method replaceChildren interface Clipboard : EventTarget attribute @@toStringTag getter onclipboardchange method constructor method read method readText method write method writeText setter onclipboardchange interface ClipboardChangeEvent : Event attribute @@toStringTag getter changeId getter types method constructor interface ClipboardEvent : Event attribute @@toStringTag getter clipboardData Loading Loading @@ -1514,6 +1538,7 @@ interface CustomElementRegistry method define method get method getName method initialize method upgrade method whenDefined interface CustomEvent : Event Loading Loading @@ -1890,6 +1915,7 @@ interface Document : Node getter contentType getter cookie getter currentScript getter customElementRegistry getter defaultView getter designMode getter dir Loading Loading @@ -2346,6 +2372,7 @@ interface EditContext : EventTarget interface Element : Node attribute @@toStringTag attribute @@unscopables getter activeViewTransition getter anchorElement getter ariaActiveDescendantElement getter ariaAtomic Loading Loading @@ -2414,6 +2441,7 @@ interface Element : Node getter containerTiming getter containerTimingIgnore getter currentCSSZoom getter customElementRegistry getter elementTiming getter firstElementChild getter headingOffset Loading Loading @@ -5042,12 +5070,14 @@ interface HTMLTemplateElement : HTMLElement getter content getter parseparts getter shadowRootClonable getter shadowRootCustomElementRegistry getter shadowRootDelegatesFocus getter shadowRootMode getter shadowRootSerializable method constructor setter parseparts setter shadowRootClonable setter shadowRootCustomElementRegistry setter shadowRootDelegatesFocus setter shadowRootMode setter shadowRootSerializable Loading Loading @@ -6438,6 +6468,7 @@ interface NavigateEvent : Event getter sourceElement getter userInitiated method constructor method deferPageSwap method intercept method scroll interface Navigation : EventTarget Loading Loading @@ -6474,6 +6505,10 @@ interface NavigationCurrentEntryChangeEvent : Event getter from getter navigationType method constructor interface NavigationDeferPageSwapController attribute @@toStringTag method addRestoreCallback method constructor interface NavigationDestination attribute @@toStringTag getter id Loading Loading @@ -7119,6 +7154,7 @@ interface PerformanceLongAnimationFrameTiming : PerformanceEntry getter renderStart getter scripts getter styleAndLayoutStart getter styleDuration method constructor method toJSON interface PerformanceLongTaskTiming : PerformanceEntry Loading Loading @@ -7219,6 +7255,7 @@ interface PerformanceScriptTiming : PerformanceEntry attribute @@toStringTag getter executionStart getter forcedStyleAndLayoutDuration getter forcedStyleDuration getter invoker getter invokerType getter pauseDuration Loading Loading @@ -9282,6 +9319,7 @@ interface ShadowRoot : DocumentFragment getter activeElement getter adoptedStyleSheets getter clonable getter customElementRegistry getter delegatesFocus getter fullscreenElement getter host Loading Loading @@ -9552,8 +9590,10 @@ interface StyleSheetList method item interface SubmitEvent : Event attribute @@toStringTag getter agentInvoked getter submitter method constructor method respondWith interface Subscriber attribute @@toStringTag getter active Loading Loading @@ -9766,10 +9806,10 @@ interface TimelineTrigger : AnimationTrigger method constructor interface TimelineTriggerRange attribute @@toStringTag getter exitRangeEnd getter exitRangeStart getter rangeEnd getter rangeStart getter activationRangeEnd getter activationRangeStart getter activeRangeEnd getter activeRangeStart getter timeline method constructor interface TimelineTriggerRangeList Loading Loading @@ -11594,6 +11634,10 @@ interface WebKitMutationObserver method disconnect method observe method takeRecords interface WebMCPEvent : Event attribute @@toStringTag getter toolName method constructor interface WebSocket : EventTarget attribute @@toStringTag attribute CLOSED Loading tools/under-control/src/chrome/android/java/AndroidManifest.xml +3 −3 Original line number Diff line number Diff line Loading @@ -168,6 +168,9 @@ by a child template that "extends" this file. <uses-permission android:name="com.google.android.apps.now.CURRENT_ACCOUNT_ACCESS" /> <!-- Permission for using pinned windowing layer for document picture-in-picture. --> <uses-permission android:name="android.permission.USE_PINNED_WINDOWING_LAYER" /> {% block extra_uses_permissions %} {% endblock %} Loading Loading @@ -1116,7 +1119,6 @@ by a child template that "extends" this file. android:exported="false" android:autoRemoveFromRecents="true" android:excludeFromRecents="true" android:documentLaunchMode="always" android:noHistory="true"/> <activity Loading @@ -1125,7 +1127,6 @@ by a child template that "extends" this file. android:exported="false" android:autoRemoveFromRecents="true" android:excludeFromRecents="true" android:documentLaunchMode="always" android:noHistory="true"/> <activity Loading @@ -1134,7 +1135,6 @@ by a child template that "extends" this file. android:exported="false" android:autoRemoveFromRecents="true" android:excludeFromRecents="true" android:documentLaunchMode="always" android:noHistory="true"/> <!-- Activities for task manager. --> Loading Loading
tools/under-control/src/RELEASE +1 −1 Original line number Diff line number Diff line 145.0.7632.120 146.0.7680.31
tools/under-control/src/android_webview/browser/aw_content_browser_client.cc +11 −13 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ #include "base/base_paths_android.h" #include "base/base_switches.h" #include "base/command_line.h" #include "base/containers/contains.h" #include "base/feature_list.h" #include "base/files/scoped_file.h" #include "base/functional/bind.h" Loading Loading @@ -238,7 +237,7 @@ std::string AwContentBrowserClient::GetAcceptLangsImpl() { // If accept languages do not contain en-US, add in en-US which will be // used with a lower q-value. if (!base::Contains(locales_string, "en-US")) { if (!locales_string.contains("en-US")) { locales_string += ",en-US"; } return locales_string; Loading Loading @@ -1095,12 +1094,6 @@ bool AwContentBrowserClient::ShouldLockProcessToSite( return false; } bool AwContentBrowserClient::ShouldEnforceNewCanCommitUrlChecks() { // TODO(https://crbug.com/326250356): Diagnose any remaining Android WebView // crashes from these new checks and then remove this function. return true; } void AwContentBrowserClient::WillCreateURLLoaderFactory( content::BrowserContext* browser_context, content::RenderFrameHost* frame, Loading Loading @@ -1303,16 +1296,16 @@ void AwContentBrowserClient::LogWebDXFeatureForCurrentPage( render_frame_host, feature); } content::ContentBrowserClient::PrivateNetworkRequestPolicyOverride AwContentBrowserClient::ShouldOverridePrivateNetworkRequestPolicy( content::ContentBrowserClient::LocalNetworkAccessRequestPolicyOverride AwContentBrowserClient::ShouldOverrideLocalNetworkAccessRequestPolicy( content::BrowserContext* browser_context, const url::Origin& origin) { // Webview does not implement support for deprecation trials, so webview apps // broken by Private Network Access restrictions cannot help themselves by // broken by Local Network Access restrictions cannot help themselves by // registering for the trial. // See crbug.com/1255675. return content::ContentBrowserClient::PrivateNetworkRequestPolicyOverride:: kForceAllow; return content::ContentBrowserClient:: LocalNetworkAccessRequestPolicyOverride::kForceAllow; } content::SpeechRecognitionManagerDelegate* Loading Loading @@ -1527,4 +1520,9 @@ bool AwContentBrowserClient::ShouldAnimateBackForwardTransitions() { return false; } bool AwContentBrowserClient::OriginSupportsConcreteCrossOriginIsolation( const url::Origin& origin) { return false; } } // namespace android_webview
tools/under-control/src/android_webview/browser/aw_field_trials.cc +5 −5 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include "components/payments/content/android/payment_feature_map.h" #include "components/permissions/features.h" #include "components/safe_browsing/core/common/features.h" #include "components/stylus_handwriting/android/stylus_handwriting_feature_map.h" #include "components/variations/feature_overrides.h" #include "components/viz/common/features.h" #include "content/public/common/content_features.h" Loading @@ -32,7 +33,6 @@ #include "third_party/blink/public/common/features_generated.h" #include "ui/android/ui_android_features.h" #include "ui/base/ui_base_features.h" #include "ui/events/features.h" #include "ui/gl/gl_features.h" #include "ui/gl/gl_switches.h" Loading Loading @@ -82,10 +82,6 @@ void AwFieldTrials::RegisterFeatureOverrides(base::FeatureList* feature_list) { // HDR does not support webview yet. See crbug.com/1493153 for an explanation. aw_feature_overrides.DisableFeature(ui::kAndroidHDR); // TODO(crbug.com/450845471): Remove this once webview experiment has // concluded. aw_feature_overrides.DisableFeature(ui::kCompensateGestureDetectorTimeouts); // Disable launch_handler on WebView. aw_feature_overrides.DisableFeature(::features::kAndroidWebAppLaunchHandler); Loading Loading @@ -317,4 +313,8 @@ void AwFieldTrials::RegisterFeatureOverrides(base::FeatureList* feature_list) { // Don't pass the data about browser window position on screen to WebView. aw_feature_overrides.DisableFeature(ui::kAndroidUseCorrectWindowBounds); // Launched for WebView. Experimentation needed for Chrome on Android. aw_feature_overrides.EnableFeature( stylus_handwriting::android::kProbeStylusWritingInBackground); }
tools/under-control/src/android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt +48 −4 Original line number Diff line number Diff line Loading @@ -180,6 +180,7 @@ interface AudioContext : BaseAudioContext getter onerror getter onsinkchange getter outputLatency getter playbackStats getter playoutStats getter sinkId method close Loading Loading @@ -292,6 +293,17 @@ interface AudioParamMap method has method keys method values interface AudioPlaybackStats attribute @@toStringTag getter averageLatency getter maximumLatency getter minimumLatency getter totalDuration getter underrunDuration getter underrunEvents method constructor method resetLatency method toJSON interface AudioPlayoutStats attribute @@toStringTag getter averageLatency Loading Loading @@ -352,6 +364,11 @@ interface AudioWorkletNode : AudioNode getter port method constructor setter onprocessorerror interface AutofillEvent : Event attribute @@toStringTag getter autofillValues getter refill method constructor interface BackForwardCacheRestoration : PerformanceEntry attribute @@toStringTag getter pageshowEventEnd Loading Loading @@ -1365,11 +1382,18 @@ interface ChildNodePart : Part method replaceChildren interface Clipboard : EventTarget attribute @@toStringTag getter onclipboardchange method constructor method read method readText method write method writeText setter onclipboardchange interface ClipboardChangeEvent : Event attribute @@toStringTag getter changeId getter types method constructor interface ClipboardEvent : Event attribute @@toStringTag getter clipboardData Loading Loading @@ -1514,6 +1538,7 @@ interface CustomElementRegistry method define method get method getName method initialize method upgrade method whenDefined interface CustomEvent : Event Loading Loading @@ -1890,6 +1915,7 @@ interface Document : Node getter contentType getter cookie getter currentScript getter customElementRegistry getter defaultView getter designMode getter dir Loading Loading @@ -2346,6 +2372,7 @@ interface EditContext : EventTarget interface Element : Node attribute @@toStringTag attribute @@unscopables getter activeViewTransition getter anchorElement getter ariaActiveDescendantElement getter ariaAtomic Loading Loading @@ -2414,6 +2441,7 @@ interface Element : Node getter containerTiming getter containerTimingIgnore getter currentCSSZoom getter customElementRegistry getter elementTiming getter firstElementChild getter headingOffset Loading Loading @@ -5042,12 +5070,14 @@ interface HTMLTemplateElement : HTMLElement getter content getter parseparts getter shadowRootClonable getter shadowRootCustomElementRegistry getter shadowRootDelegatesFocus getter shadowRootMode getter shadowRootSerializable method constructor setter parseparts setter shadowRootClonable setter shadowRootCustomElementRegistry setter shadowRootDelegatesFocus setter shadowRootMode setter shadowRootSerializable Loading Loading @@ -6438,6 +6468,7 @@ interface NavigateEvent : Event getter sourceElement getter userInitiated method constructor method deferPageSwap method intercept method scroll interface Navigation : EventTarget Loading Loading @@ -6474,6 +6505,10 @@ interface NavigationCurrentEntryChangeEvent : Event getter from getter navigationType method constructor interface NavigationDeferPageSwapController attribute @@toStringTag method addRestoreCallback method constructor interface NavigationDestination attribute @@toStringTag getter id Loading Loading @@ -7119,6 +7154,7 @@ interface PerformanceLongAnimationFrameTiming : PerformanceEntry getter renderStart getter scripts getter styleAndLayoutStart getter styleDuration method constructor method toJSON interface PerformanceLongTaskTiming : PerformanceEntry Loading Loading @@ -7219,6 +7255,7 @@ interface PerformanceScriptTiming : PerformanceEntry attribute @@toStringTag getter executionStart getter forcedStyleAndLayoutDuration getter forcedStyleDuration getter invoker getter invokerType getter pauseDuration Loading Loading @@ -9282,6 +9319,7 @@ interface ShadowRoot : DocumentFragment getter activeElement getter adoptedStyleSheets getter clonable getter customElementRegistry getter delegatesFocus getter fullscreenElement getter host Loading Loading @@ -9552,8 +9590,10 @@ interface StyleSheetList method item interface SubmitEvent : Event attribute @@toStringTag getter agentInvoked getter submitter method constructor method respondWith interface Subscriber attribute @@toStringTag getter active Loading Loading @@ -9766,10 +9806,10 @@ interface TimelineTrigger : AnimationTrigger method constructor interface TimelineTriggerRange attribute @@toStringTag getter exitRangeEnd getter exitRangeStart getter rangeEnd getter rangeStart getter activationRangeEnd getter activationRangeStart getter activeRangeEnd getter activeRangeStart getter timeline method constructor interface TimelineTriggerRangeList Loading Loading @@ -11594,6 +11634,10 @@ interface WebKitMutationObserver method disconnect method observe method takeRecords interface WebMCPEvent : Event attribute @@toStringTag getter toolName method constructor interface WebSocket : EventTarget attribute @@toStringTag attribute CLOSED Loading
tools/under-control/src/chrome/android/java/AndroidManifest.xml +3 −3 Original line number Diff line number Diff line Loading @@ -168,6 +168,9 @@ by a child template that "extends" this file. <uses-permission android:name="com.google.android.apps.now.CURRENT_ACCOUNT_ACCESS" /> <!-- Permission for using pinned windowing layer for document picture-in-picture. --> <uses-permission android:name="android.permission.USE_PINNED_WINDOWING_LAYER" /> {% block extra_uses_permissions %} {% endblock %} Loading Loading @@ -1116,7 +1119,6 @@ by a child template that "extends" this file. android:exported="false" android:autoRemoveFromRecents="true" android:excludeFromRecents="true" android:documentLaunchMode="always" android:noHistory="true"/> <activity Loading @@ -1125,7 +1127,6 @@ by a child template that "extends" this file. android:exported="false" android:autoRemoveFromRecents="true" android:excludeFromRecents="true" android:documentLaunchMode="always" android:noHistory="true"/> <activity Loading @@ -1134,7 +1135,6 @@ by a child template that "extends" this file. android:exported="false" android:autoRemoveFromRecents="true" android:excludeFromRecents="true" android:documentLaunchMode="always" android:noHistory="true"/> <!-- Activities for task manager. --> Loading