Compare commits
21
Commits
81.0.4044.63
...
gitpages
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c8125a264 | ||
|
|
d95a22bd89 | ||
|
|
4aa8a44ec6 | ||
|
|
dc19294b5e | ||
|
|
ac1ea62042 | ||
|
|
fa3a3518a2 | ||
|
|
3ac7252ca5 | ||
|
|
c499ee04f0 | ||
|
|
12d3489b14 | ||
|
|
41f3eb6400 | ||
|
|
154ff73784 | ||
|
|
6981d4ee4c | ||
|
|
3c9c050df0 | ||
|
|
119088d986 | ||
|
|
d12c186bbc | ||
|
|
95dca6a146 | ||
|
|
3c510a3a8e | ||
|
|
7f15412ae0 | ||
|
|
406bedb7a2 | ||
|
|
c696b6f939 | ||
|
|
97ad845a27 |
@@ -14,37 +14,41 @@ Device model: (example: `SM-G960UZKABST`)
|
|||||||
### Is this bug about the SystemWebView?
|
### Is this bug about the SystemWebView?
|
||||||
Yes/No
|
Yes/No
|
||||||
|
|
||||||
No support for SystemWebView installations is provided.
|
<!-- No support for SystemWebView installations is provided. -->
|
||||||
|
|
||||||
### Is the bug reproducible with latest version?
|
### Is the bug reproducible with latest version?
|
||||||
|
|
||||||
Do not report bugs which are not reproducible with latest version
|
<!-- Do not report bugs which are not reproducible with latest version. -->
|
||||||
|
|
||||||
### Can the bug be reproduced with corresponding Chromium version?
|
### Can the bug be reproduced with corresponding Chromium version?
|
||||||
|
|
||||||
|
<!--
|
||||||
Please pick the same version of Chromium as Bromite from here: https://github.com/bromite/chromium/releases
|
Please pick the same version of Chromium as Bromite from here: https://github.com/bromite/chromium/releases
|
||||||
If the bug is reproducible then it might be a configuration issue or an upstream bug. Upstream bugs can be reported on the [Chromium issue tracker](https://bugs.chromium.org/p/chromium/issues/list) and do not forget to read [Chromium project bug reporting guidelines](https://www.chromium.org/for-testers/bug-reporting-guidelines) first.
|
If the bug is reproducible then it might be a configuration issue or an upstream bug. Upstream bugs can be reported on the [Chromium issue tracker](https://bugs.chromium.org/p/chromium/issues/list) and do not forget to read [Chromium project bug reporting guidelines](https://www.chromium.org/for-testers/bug-reporting-guidelines) first.
|
||||||
|
-->
|
||||||
|
|
||||||
### Is the bug a crash?
|
### Is the bug a crash?
|
||||||
|
|
||||||
|
<!--
|
||||||
If yes then individuate and post the logcat dump (remove privacy sensitive information, if any), otherwise remove this section.
|
If yes then individuate and post the logcat dump (remove privacy sensitive information, if any), otherwise remove this section.
|
||||||
|
-->
|
||||||
|
|
||||||
### Describe the bug
|
### Describe the bug
|
||||||
|
|
||||||
Write here a clear and concise description of the bug.
|
<!-- Write here a clear and concise description of the bug. -->
|
||||||
|
|
||||||
### Steps to reproduce the bug
|
### Steps to reproduce the bug
|
||||||
|
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the bug:
|
||||||
1. Go to '...'
|
1. Go to '...'
|
||||||
2. Click on '....'
|
2. Click on '...'
|
||||||
3. Scroll down to '....'
|
3. Scroll down to '...'
|
||||||
4. See error
|
4. See error
|
||||||
|
|
||||||
### Expected behavior
|
### Expected behavior
|
||||||
|
|
||||||
A clear and concise description of what you expected to happen.
|
<!-- A clear and concise description of what you expected to happen. -->
|
||||||
|
|
||||||
### Screenshots
|
### Screenshots
|
||||||
|
|
||||||
If applicable, add screenshots to help explain your problem. Otherwise remove this section.
|
<!-- If applicable, add screenshots to help explain your problem. Otherwise remove this section. -->
|
||||||
|
|||||||
@@ -6,18 +6,18 @@ about: Suggest a privacy-related idea for this project
|
|||||||
|
|
||||||
### Is your feature request related to privacy?
|
### Is your feature request related to privacy?
|
||||||
|
|
||||||
Features that are not related to privacy are unlikely to be considered.
|
<!-- Features that are not related to privacy are not considered. -->
|
||||||
|
|
||||||
### Is there a patch available for this feature somewhere?
|
### Is there a patch available for this feature somewhere?
|
||||||
|
|
||||||
If yes then provide URL and license information.
|
<!-- If yes then provide URL and license information. -->
|
||||||
|
|
||||||
### Describe the solution you would like
|
### Describe the solution you would like
|
||||||
|
|
||||||
A clear and concise description of what you want to happen.
|
<!-- A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
Do not ask "I would like feature X which is available in browser Y"; such issues are closed immediately.
|
Do not ask "I would like feature X which is available in browser Y"; such issues are closed immediately. -->
|
||||||
|
|
||||||
### Describe alternatives you have considered
|
### Describe alternatives you have considered
|
||||||
|
|
||||||
A clear and concise description of any alternative solutions or features you have considered.
|
<!-- A clear and concise description of any alternative solutions or features you have considered. -->
|
||||||
|
|||||||
@@ -1,3 +1,17 @@
|
|||||||
|
# 81.0.4044.106
|
||||||
|
* remove option to add NTP as homepage (fixes https://github.com/bromite/bromite/issues/517)
|
||||||
|
|
||||||
|
# 81.0.4044.97
|
||||||
|
* disable browser auto-login by default
|
||||||
|
* show download prompt again
|
||||||
|
|
||||||
|
# 81.0.4044.83
|
||||||
|
|
||||||
|
# 81.0.4044.76
|
||||||
|
|
||||||
|
# 81.0.4044.70
|
||||||
|
* backport surface control fix (fixes https://github.com/bromite/bromite/issues/445)
|
||||||
|
|
||||||
# 81.0.4044.63
|
# 81.0.4044.63
|
||||||
* use upstream fix for SD card not found issue (fixes https://github.com/bromite/bromite/issues/485)
|
* use upstream fix for SD card not found issue (fixes https://github.com/bromite/bromite/issues/485)
|
||||||
* do not compile QR code sharing
|
* do not compile QR code sharing
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<img title="Bromite - take back your browser!" src="https://www.bromite.org/android-icon-192x192.png" width="96" alt="Bromite" />
|
<img title="Bromite - take back your browser!" src="https://www.bromite.org/android-icon-192x192.png" width="96" alt="Bromite" />
|
||||||
|
|
||||||
Bromite is [Chromium](https://www.chromium.org/Home) plus some patches for ad blocking and enhanced privacy.
|
Bromite is a [Chromium](https://www.chromium.org/Home) fork with support for ad blocking and enhanced privacy.
|
||||||
|
|
||||||
Bromite is only available for Android v4.4 and above.
|
Bromite is only available for Android v4.4 and above.
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ ETH donations address: `0xf47ff39223d828f99fec5ab53bd068c5c0522042`
|
|||||||
* enable site-per-process isolation for all devices with memory > 1GB
|
* enable site-per-process isolation for all devices with memory > 1GB
|
||||||
* completely remove safe browsing and other privacy-unfriendly features
|
* completely remove safe browsing and other privacy-unfriendly features
|
||||||
* [proxy configuration page](https://github.com/bromite/bromite/wiki/ProxyConfiguration) with PAC and custom proxy lists support
|
* [proxy configuration page](https://github.com/bromite/bromite/wiki/ProxyConfiguration) with PAC and custom proxy lists support
|
||||||
* [StartPage](https://startpage.com/), [DuckDuckGo](https://duckduckgo.com/) and [Qwant](https://www.qwant.com/) search engines available by default
|
* [DuckDuckGo](https://duckduckgo.com/) and [Qwant](https://www.qwant.com/) search engines available by default
|
||||||
* flags to disable custom intents and clear session on exit
|
* flags to disable custom intents and clear session on exit
|
||||||
* flags to toggle anti-fingerprinting mitigations for canvas, audio, client rects, webGL and sensor APIs
|
* flags to toggle anti-fingerprinting mitigations for canvas, audio, client rects, webGL and sensor APIs
|
||||||
* use frozen User-Agent to conceal real model and browser version
|
* use frozen User-Agent to conceal real model and browser version
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
document.write("<div>you shouldn't see this</div>");
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title></title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<iframe src="https://upload.wikimedia.org/wikipedia/commons/8/83/Artis%2C_enkele_flamingo%27s_-_SoundCloud_-_Beeld_en_Geluid.ogg" allow="autoplay" id="iframeAudio"></iframe>
|
||||||
|
<audio controls autoplay id="myAudio">
|
||||||
|
<!-- One or more source files, each referencing the same audio but in a different file format.
|
||||||
|
The browser will choose the first file which it is able to play. -->
|
||||||
|
<source src="https://upload.wikimedia.org/wikipedia/commons/8/83/Artis%2C_enkele_flamingo%27s_-_SoundCloud_-_Beeld_en_Geluid.ogg">
|
||||||
|
You will see this text if native audio playback is not supported.
|
||||||
|
<!-- You could use this fall-back feature to insert a JavaScript-based audio player. -->
|
||||||
|
</audio>
|
||||||
|
|
||||||
|
<small>Audio by <a href="https://soundcloud.com/beeldengeluid">Beeld en Geluid</a>
|
||||||
|
[<a href="http://creativecommons.org/licenses/by-sa/3.0">CC BY-SA 3.0</a>],
|
||||||
|
<a href="https://commons.wikimedia.org/wiki/File%3AArtis%2C_enkele_flamingo's_-_SoundCloud_-_Beeld_en_Geluid.ogg">via Wikimedia Commons</a>
|
||||||
|
</small>
|
||||||
|
<style>
|
||||||
|
#audio-example {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
Read more: https://html.com/attributes/audio-autoplay/#ixzz6dCxFrzCr
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
document.getElementById("myAudio").play();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -100,7 +100,6 @@ Disable-previews-by-default.patch
|
|||||||
Use-4-tile-rows-never-show-logo.patch
|
Use-4-tile-rows-never-show-logo.patch
|
||||||
Disable-metrics-collection-for-NTP-tiles.patch
|
Disable-metrics-collection-for-NTP-tiles.patch
|
||||||
Enable-site-per-process-isolation-for-devices-with-enough-memory.patch
|
Enable-site-per-process-isolation-for-devices-with-enough-memory.patch
|
||||||
Add-option-to-use-home-page-as-NTP.patch
|
|
||||||
Disable-dynamic-module-loading.patch
|
Disable-dynamic-module-loading.patch
|
||||||
prefs-disable-signinallowed-by-default.patch
|
prefs-disable-signinallowed-by-default.patch
|
||||||
prefs-always-prompt-for-download-directory-by-default.patch
|
prefs-always-prompt-for-download-directory-by-default.patch
|
||||||
@@ -137,5 +136,7 @@ Disable-smart-selection-by-default.patch
|
|||||||
Enable-user-agent-freeze-by-default.patch
|
Enable-user-agent-freeze-by-default.patch
|
||||||
Disable-AImageReader-for-ARM64-P-and-ARM64-Q.patch
|
Disable-AImageReader-for-ARM64-P-and-ARM64-Q.patch
|
||||||
Upstream-internal-DownloadCollectionBridge-code.patch
|
Upstream-internal-DownloadCollectionBridge-code.patch
|
||||||
Automated-domain-substitution.patch
|
|
||||||
Add-missing-android_provider.patch
|
Add-missing-android_provider.patch
|
||||||
|
Automated-domain-substitution.patch
|
||||||
|
show-download-prompt-again-by-default.patch
|
||||||
|
disable-browser-autologin-by-default.patch
|
||||||
|
|||||||
@@ -3,12 +3,12 @@ Date: Wed, 29 Aug 2018 11:03:44 +0200
|
|||||||
Subject: Add custom tab intents privacy option
|
Subject: Add custom tab intents privacy option
|
||||||
|
|
||||||
---
|
---
|
||||||
chrome/android/java/res/values/values.xml | 3 +++
|
chrome/android/java/res/values/values.xml | 3 +++
|
||||||
chrome/android/java/res/xml/privacy_preferences.xml | 5 +++++
|
chrome/android/java/res/xml/privacy_preferences.xml | 5 +++++
|
||||||
.../chrome/browser/LaunchIntentDispatcher.java | 3 +++
|
.../chrome/browser/LaunchIntentDispatcher.java | 3 +++
|
||||||
.../browser/settings/privacy/PrivacySettings.java | 13 ++++++++++++-
|
.../browser/settings/privacy/PrivacySettings.java | 11 +++++++++++
|
||||||
.../ui/android/strings/android_chrome_strings.grd | 7 +++++++
|
.../ui/android/strings/android_chrome_strings.grd | 7 +++++++
|
||||||
5 files changed, 30 insertions(+), 1 deletion(-)
|
5 files changed, 29 insertions(+)
|
||||||
|
|
||||||
diff --git a/chrome/android/java/res/values/values.xml b/chrome/android/java/res/values/values.xml
|
diff --git a/chrome/android/java/res/values/values.xml b/chrome/android/java/res/values/values.xml
|
||||||
--- a/chrome/android/java/res/values/values.xml
|
--- a/chrome/android/java/res/values/values.xml
|
||||||
@@ -61,15 +61,6 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/LaunchIntentDis
|
|||||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java
|
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java
|
||||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java
|
--- a/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java
|
||||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java
|
+++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/privacy/PrivacySettings.java
|
||||||
@@ -15,7 +15,7 @@ import android.view.MenuItem;
|
|
||||||
|
|
||||||
import org.chromium.base.BuildInfo;
|
|
||||||
import org.chromium.chrome.R;
|
|
||||||
-import org.chromium.chrome.browser.ChromeFeatureList;
|
|
||||||
+import org.chromium.chrome.browser.flags.ChromeFeatureList;
|
|
||||||
import org.chromium.chrome.browser.help.HelpAndFeedback;
|
|
||||||
import org.chromium.chrome.browser.preferences.Pref;
|
|
||||||
import org.chromium.chrome.browser.preferences.PrefServiceBridge;
|
|
||||||
@@ -41,6 +41,8 @@ public class PrivacySettings
|
@@ -41,6 +41,8 @@ public class PrivacySettings
|
||||||
|
|
||||||
private ManagedPreferenceDelegate mManagedPreferenceDelegate;
|
private ManagedPreferenceDelegate mManagedPreferenceDelegate;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||||||
// Ensure that all effective connection types returned by Network Quality
|
// Ensure that all effective connection types returned by Network Quality
|
||||||
// Estimator (NQE) are also exposed via flags.
|
// Estimator (NQE) are also exposed via flags.
|
||||||
static_assert(net::EFFECTIVE_CONNECTION_TYPE_LAST + 2 ==
|
static_assert(net::EFFECTIVE_CONNECTION_TYPE_LAST + 2 ==
|
||||||
@@ -2695,6 +2700,9 @@ const FeatureEntry kFeatureEntries[] = {
|
@@ -2702,6 +2707,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||||
flag_descriptions::kPassiveDocumentEventListenersName,
|
flag_descriptions::kPassiveDocumentEventListenersName,
|
||||||
flag_descriptions::kPassiveDocumentEventListenersDescription, kOsAll,
|
flag_descriptions::kPassiveDocumentEventListenersDescription, kOsAll,
|
||||||
FEATURE_VALUE_TYPE(features::kPassiveDocumentEventListeners)},
|
FEATURE_VALUE_TYPE(features::kPassiveDocumentEventListeners)},
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Subject: Add flag to disable IPv6 probes
|
|||||||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||||
--- a/chrome/browser/about_flags.cc
|
--- a/chrome/browser/about_flags.cc
|
||||||
+++ b/chrome/browser/about_flags.cc
|
+++ b/chrome/browser/about_flags.cc
|
||||||
@@ -3327,6 +3327,11 @@ const FeatureEntry kFeatureEntries[] = {
|
@@ -3334,6 +3334,11 @@ const FeatureEntry kFeatureEntries[] = {
|
||||||
kMarkHttpAsFeatureVariations,
|
kMarkHttpAsFeatureVariations,
|
||||||
"HTTPReallyBadFinal")},
|
"HTTPReallyBadFinal")},
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||||||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||||
--- a/chrome/browser/flag_descriptions.cc
|
--- a/chrome/browser/flag_descriptions.cc
|
||||||
+++ b/chrome/browser/flag_descriptions.cc
|
+++ b/chrome/browser/flag_descriptions.cc
|
||||||
@@ -2370,6 +2370,10 @@ const char kContextualSearchRankerQueryDescription[] =
|
@@ -2381,6 +2381,10 @@ const char kContextualSearchRankerQueryDescription[] =
|
||||||
|
|
||||||
const char kContextualSearchSecondTapName[] =
|
const char kContextualSearchSecondTapName[] =
|
||||||
"Contextual Search second tap triggering";
|
"Contextual Search second tap triggering";
|
||||||
|
|||||||
@@ -423,7 +423,7 @@ diff --git a/chrome/browser/net/system_network_context_manager.cc b/chrome/brows
|
|||||||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||||
@@ -804,6 +804,20 @@ Your Google account may have other forms of browsing history like searches and a
|
@@ -801,6 +801,20 @@ Your Google account may have other forms of browsing history like searches and a
|
||||||
Captions
|
Captions
|
||||||
</message>
|
</message>
|
||||||
|
|
||||||
@@ -447,7 +447,7 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|||||||
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
||||||
--- a/chrome/common/pref_names.cc
|
--- a/chrome/common/pref_names.cc
|
||||||
+++ b/chrome/common/pref_names.cc
|
+++ b/chrome/common/pref_names.cc
|
||||||
@@ -2002,6 +2002,9 @@ const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled";
|
@@ -1998,6 +1998,9 @@ const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled";
|
||||||
// capture devices without prompt.
|
// capture devices without prompt.
|
||||||
const char kAudioCaptureAllowedUrls[] = "hardware.audio_capture_allowed_urls";
|
const char kAudioCaptureAllowedUrls[] = "hardware.audio_capture_allowed_urls";
|
||||||
|
|
||||||
|
|||||||
@@ -1,204 +0,0 @@
|
|||||||
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
||||||
Date: Mon, 18 Mar 2019 21:47:12 +0100
|
|
||||||
Subject: Add option to use home page as NTP
|
|
||||||
|
|
||||||
Use about:blank as default homepage
|
|
||||||
---
|
|
||||||
.../java/res/xml/homepage_preferences.xml | 5 +++++
|
|
||||||
.../HomepageManager.java | 22 +++++++++++++++++--
|
|
||||||
.../settings/homepage/HomepageSettings.java | 11 ++++++++++
|
|
||||||
.../browser/tabmodel/TabCreatorManager.java | 11 ++++++++--
|
|
||||||
.../strings/android_chrome_strings.grd | 3 +++
|
|
||||||
chrome/browser/ui/browser_ui_prefs.cc | 2 ++
|
|
||||||
chrome/common/pref_names.cc | 4 ++++
|
|
||||||
chrome/common/pref_names.h | 1 +
|
|
||||||
8 files changed, 55 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/chrome/android/java/res/xml/homepage_preferences.xml b/chrome/android/java/res/xml/homepage_preferences.xml
|
|
||||||
--- a/chrome/android/java/res/xml/homepage_preferences.xml
|
|
||||||
+++ b/chrome/android/java/res/xml/homepage_preferences.xml
|
|
||||||
@@ -6,6 +6,11 @@
|
|
||||||
<PreferenceScreen
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
|
|
||||||
+ <org.chromium.chrome.browser.settings.ChromeSwitchPreference
|
|
||||||
+ android:key="ntp_is_homepage_switch"
|
|
||||||
+ android:summaryOn="@string/options_ntp_is_homepage_label"
|
|
||||||
+ android:summaryOff="@string/options_ntp_is_homepage_label" />
|
|
||||||
+
|
|
||||||
<org.chromium.chrome.browser.settings.ChromeSwitchPreference
|
|
||||||
android:key="homepage_switch"
|
|
||||||
android:summaryOn="@string/text_on"
|
|
||||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/HomepageManager.java b/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/HomepageManager.java
|
|
||||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/HomepageManager.java
|
|
||||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/HomepageManager.java
|
|
||||||
@@ -28,6 +28,7 @@ import java.lang.annotation.RetentionPolicy;
|
|
||||||
* This class serves as a single homepage logic gateway.
|
|
||||||
*/
|
|
||||||
public class HomepageManager implements HomepagePolicyManager.HomepagePolicyStateListener {
|
|
||||||
+ public static final String PREF_NTP_IS_HOMEPAGE = "newtabpage_is_homepage";
|
|
||||||
/**
|
|
||||||
* Possible states for HomeButton. Used for Histogram
|
|
||||||
* Settings.ShowHomeButtonPreferenceStateManaged. Currently {@link
|
|
||||||
@@ -123,7 +124,8 @@ public class HomepageManager implements HomepagePolicyManager.HomepagePolicyStat
|
|
||||||
*/
|
|
||||||
public static boolean shouldCloseAppWithZeroTabs() {
|
|
||||||
return HomepageManager.isHomepageEnabled()
|
|
||||||
- && !NewTabPage.isNTPUrl(HomepageManager.getHomepageUri());
|
|
||||||
+ && !NewTabPage.isNTPUrl(HomepageManager.getHomepageUri())
|
|
||||||
+ && (HomepageManager.getHomepageUri() != UrlConstants.CHROME_BLANK_URL);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@@ -141,7 +143,7 @@ public class HomepageManager implements HomepagePolicyManager.HomepagePolicyStat
|
|
||||||
* if the homepage button is force enabled via flag.
|
|
||||||
*/
|
|
||||||
private static String getDefaultHomepageUri() {
|
|
||||||
- return UrlConstants.NTP_NON_NATIVE_URL;
|
|
||||||
+ return UrlConstants.CHROME_BLANK_URL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@@ -170,6 +172,14 @@ public class HomepageManager implements HomepagePolicyManager.HomepagePolicyStat
|
|
||||||
return mSharedPreferencesManager.readBoolean(ChromePreferenceKeys.HOMEPAGE_ENABLED, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
+ /**
|
|
||||||
+ * Returns the user preference for whether the New Tab Page is the homepage or not.
|
|
||||||
+ *
|
|
||||||
+ */
|
|
||||||
+ public boolean getPrefNTPIsHomepageEnabled() {
|
|
||||||
+ return mSharedPreferencesManager.readBoolean(PREF_NTP_IS_HOMEPAGE, false);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
/**
|
|
||||||
* Sets the user preference for whether the homepage is enabled.
|
|
||||||
*/
|
|
||||||
@@ -181,6 +191,14 @@ public class HomepageManager implements HomepagePolicyManager.HomepagePolicyStat
|
|
||||||
notifyHomepageUpdated();
|
|
||||||
}
|
|
||||||
|
|
||||||
+ /**
|
|
||||||
+ * Sets the user preference for whether the new tab page is the homepage or not.
|
|
||||||
+ */
|
|
||||||
+ public void setPrefNTPIsHomepageEnabled(boolean enabled) {
|
|
||||||
+ mSharedPreferencesManager.writeBoolean(PREF_NTP_IS_HOMEPAGE, enabled);
|
|
||||||
+ notifyHomepageUpdated();
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
/**
|
|
||||||
* @return User specified homepage custom URI string.
|
|
||||||
*/
|
|
||||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/homepage/HomepageSettings.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/homepage/HomepageSettings.java
|
|
||||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/settings/homepage/HomepageSettings.java
|
|
||||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/homepage/HomepageSettings.java
|
|
||||||
@@ -27,6 +27,8 @@ public class HomepageSettings extends PreferenceFragmentCompat {
|
|
||||||
@VisibleForTesting
|
|
||||||
public static final String PREF_HOMEPAGE_EDIT = "homepage_edit";
|
|
||||||
|
|
||||||
+ private static final String PREF_NTP_HOMEPAGE_SWITCH = "ntp_is_homepage_switch";
|
|
||||||
+
|
|
||||||
/**
|
|
||||||
* Delegate used to mark that the homepage is being managed.
|
|
||||||
* Created for {@link org.chromium.chrome.browser.settings.HomepagePreferences}
|
|
||||||
@@ -63,6 +65,15 @@ public class HomepageSettings extends PreferenceFragmentCompat {
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
+ ChromeSwitchPreference mNTPIsHomepageSwitch =
|
|
||||||
+ (ChromeSwitchPreference) findPreference(PREF_NTP_HOMEPAGE_SWITCH);
|
|
||||||
+ boolean isHomepageNTPEnabled = mHomepageManager.getPrefNTPIsHomepageEnabled();
|
|
||||||
+ mNTPIsHomepageSwitch.setChecked(isHomepageNTPEnabled);
|
|
||||||
+ mNTPIsHomepageSwitch.setOnPreferenceChangeListener((preference, newValue) -> {
|
|
||||||
+ mHomepageManager.setPrefNTPIsHomepageEnabled((boolean) newValue);
|
|
||||||
+ return true;
|
|
||||||
+ });
|
|
||||||
+
|
|
||||||
mHomepageEdit = findPreference(PREF_HOMEPAGE_EDIT);
|
|
||||||
updateCurrentHomepageUrl();
|
|
||||||
}
|
|
||||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabCreatorManager.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabCreatorManager.java
|
|
||||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabCreatorManager.java
|
|
||||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabCreatorManager.java
|
|
||||||
@@ -13,6 +13,7 @@ import org.chromium.chrome.browser.tab.TabState;
|
|
||||||
import org.chromium.chrome.browser.util.UrlConstants;
|
|
||||||
import org.chromium.content_public.browser.LoadUrlParams;
|
|
||||||
import org.chromium.content_public.browser.WebContents;
|
|
||||||
+import org.chromium.chrome.browser.partnercustomizations.HomepageManager;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An interface to return a {@link TabCreator} either for regular or incognito tabs.
|
|
||||||
@@ -86,12 +87,18 @@ public interface TabCreatorManager {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
- * Creates a new tab and loads the NTP.
|
|
||||||
+ * Creates a new tab and loads the NTP or the homepage, depending on user preferences.
|
|
||||||
*/
|
|
||||||
public final void launchNTP() {
|
|
||||||
try {
|
|
||||||
+ String newTabURL;
|
|
||||||
+ if (HomepageManager.getInstance().getPrefNTPIsHomepageEnabled()) {
|
|
||||||
+ newTabURL = HomepageManager.getHomepageUri();
|
|
||||||
+ } else {
|
|
||||||
+ newTabURL = UrlConstants.NTP_URL;
|
|
||||||
+ }
|
|
||||||
TraceEvent.begin("TabCreator.launchNTP");
|
|
||||||
- launchUrl(UrlConstants.NTP_URL, TabLaunchType.FROM_CHROME_UI);
|
|
||||||
+ launchUrl(newTabURL, TabLaunchType.FROM_CHROME_UI);
|
|
||||||
} finally {
|
|
||||||
TraceEvent.end("TabCreator.launchNTP");
|
|
||||||
}
|
|
||||||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
|
||||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
|
||||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
|
||||||
@@ -732,6 +732,9 @@ Your Google account may have other forms of browsing history like searches and a
|
|
||||||
<message name="IDS_CLEAR_BROWSING_DATA_TAB_PERIOD_HOUR" desc="The option to delete browsing data from the last hour.">
|
|
||||||
Last hour
|
|
||||||
</message>
|
|
||||||
+ <message name="IDS_OPTIONS_NTP_IS_HOMEPAGE_LABEL" desc="The label for switch that allows the user to toggle whether opening a new tab leads to the new tab page or the home page.">
|
|
||||||
+ Use for new tabs
|
|
||||||
+ </message>
|
|
||||||
<message name="IDS_CLEAR_BROWSING_DATA_TAB_PERIOD_24_HOURS" desc="The option to delete browsing data from the last 24 hours.">
|
|
||||||
Last 24 hours
|
|
||||||
</message>
|
|
||||||
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
|
|
||||||
--- a/chrome/browser/ui/browser_ui_prefs.cc
|
|
||||||
+++ b/chrome/browser/ui/browser_ui_prefs.cc
|
|
||||||
@@ -55,6 +55,8 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
||||||
GetHomeButtonAndHomePageIsNewTabPageFlags());
|
|
||||||
registry->RegisterBooleanPref(prefs::kShowHomeButton, false,
|
|
||||||
GetHomeButtonAndHomePageIsNewTabPageFlags());
|
|
||||||
+ registry->RegisterBooleanPref(prefs::kNewTabPageIsHomePage, false,
|
|
||||||
+ GetHomeButtonAndHomePageIsNewTabPageFlags());
|
|
||||||
|
|
||||||
registry->RegisterInt64Pref(prefs::kDefaultBrowserLastDeclined, 0);
|
|
||||||
bool reset_check_default = false;
|
|
||||||
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
|
||||||
--- a/chrome/common/pref_names.cc
|
|
||||||
+++ b/chrome/common/pref_names.cc
|
|
||||||
@@ -59,6 +59,10 @@ const char kForceEphemeralProfiles[] = "profile.ephemeral_mode";
|
|
||||||
// A boolean specifying whether the New Tab page is the home page or not.
|
|
||||||
const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage";
|
|
||||||
|
|
||||||
+// A boolean specifying whether opening a new tab should open the Home page
|
|
||||||
+// instead of the New Tab page.
|
|
||||||
+const char kNewTabPageIsHomePage[] = "newtabpage_is_homepage";
|
|
||||||
+
|
|
||||||
// This is the URL of the page to load when opening new tabs.
|
|
||||||
const char kHomePage[] = "homepage";
|
|
||||||
|
|
||||||
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
|
|
||||||
--- a/chrome/common/pref_names.h
|
|
||||||
+++ b/chrome/common/pref_names.h
|
|
||||||
@@ -326,6 +326,7 @@ extern const char kSettingsShowOSBanner[];
|
|
||||||
extern const char kDeviceLoginScreenWebUsbAllowDevicesForUrls[];
|
|
||||||
#endif // defined(OS_CHROMEOS)
|
|
||||||
extern const char kShowHomeButton[];
|
|
||||||
+extern const char kNewTabPageIsHomePage[];
|
|
||||||
extern const char kSpeechRecognitionFilterProfanities[];
|
|
||||||
extern const char kAllowDeletingBrowserHistory[];
|
|
||||||
#if !defined(OS_ANDROID)
|
|
||||||
--
|
|
||||||
2.17.1
|
|
||||||
|
|
||||||
+13181
-13131
File diff suppressed because it is too large
Load Diff
@@ -5,8 +5,9 @@ Subject: Disable AImageReader for ARM64/P and ARM64/Q
|
|||||||
---
|
---
|
||||||
chrome/browser/android/chrome_startup_flags.cc | 9 +++++++++
|
chrome/browser/android/chrome_startup_flags.cc | 9 +++++++++
|
||||||
gpu/config/gpu_finch_features.cc | 4 ++++
|
gpu/config/gpu_finch_features.cc | 4 ++++
|
||||||
|
gpu/config/gpu_util.cc | 8 ++++++++
|
||||||
media/base/media_switches.cc | 4 ++++
|
media/base/media_switches.cc | 4 ++++
|
||||||
3 files changed, 17 insertions(+)
|
4 files changed, 25 insertions(+)
|
||||||
|
|
||||||
diff --git a/chrome/browser/android/chrome_startup_flags.cc b/chrome/browser/android/chrome_startup_flags.cc
|
diff --git a/chrome/browser/android/chrome_startup_flags.cc b/chrome/browser/android/chrome_startup_flags.cc
|
||||||
--- a/chrome/browser/android/chrome_startup_flags.cc
|
--- a/chrome/browser/android/chrome_startup_flags.cc
|
||||||
@@ -56,6 +57,31 @@ diff --git a/gpu/config/gpu_finch_features.cc b/gpu/config/gpu_finch_features.cc
|
|||||||
|
|
||||||
// Used only by webview to disable SurfaceControl.
|
// Used only by webview to disable SurfaceControl.
|
||||||
const base::Feature kDisableSurfaceControlForWebview{
|
const base::Feature kDisableSurfaceControlForWebview{
|
||||||
|
diff --git a/gpu/config/gpu_util.cc b/gpu/config/gpu_util.cc
|
||||||
|
--- a/gpu/config/gpu_util.cc
|
||||||
|
+++ b/gpu/config/gpu_util.cc
|
||||||
|
@@ -47,6 +47,9 @@ GpuFeatureStatus GetAndroidSurfaceControlFeatureStatus(
|
||||||
|
#if !defined(OS_ANDROID)
|
||||||
|
return kGpuFeatureStatusDisabled;
|
||||||
|
#else
|
||||||
|
+ if (blacklisted_features.count(GPU_FEATURE_TYPE_ANDROID_SURFACE_CONTROL))
|
||||||
|
+ return kGpuFeatureStatusBlacklisted;
|
||||||
|
+
|
||||||
|
if (!gpu_preferences.enable_android_surface_control)
|
||||||
|
return kGpuFeatureStatusDisabled;
|
||||||
|
|
||||||
|
@@ -288,6 +291,11 @@ void AdjustGpuFeatureStatusToWorkarounds(GpuFeatureInfo* gpu_feature_info) {
|
||||||
|
gpu_feature_info->status_values[GPU_FEATURE_TYPE_ACCELERATED_WEBGL2] =
|
||||||
|
kGpuFeatureStatusBlacklisted;
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ if (gpu_feature_info->IsWorkaroundEnabled(DISABLE_AIMAGEREADER)) {
|
||||||
|
+ gpu_feature_info->status_values[GPU_FEATURE_TYPE_ANDROID_SURFACE_CONTROL] =
|
||||||
|
+ kGpuFeatureStatusBlacklisted;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
GPUInfo* g_gpu_info_cache = nullptr;
|
||||||
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
|
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
|
||||||
--- a/media/base/media_switches.cc
|
--- a/media/base/media_switches.cc
|
||||||
+++ b/media/base/media_switches.cc
|
+++ b/media/base/media_switches.cc
|
||||||
|
|||||||
@@ -3,9 +3,99 @@ Date: Sun, 15 Dec 2019 22:39:56 +0100
|
|||||||
Subject: Disable password reuse detection on android
|
Subject: Disable password reuse detection on android
|
||||||
|
|
||||||
---
|
---
|
||||||
components/password_manager/core/browser/BUILD.gn | 6 +++---
|
.../android/password_reuse_controller_android.cc | 12 ++++++++++++
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
.../password_reuse_dialog_view_android.cc | 11 +++++++++--
|
||||||
|
components/password_manager/core/browser/BUILD.gn | 6 +++---
|
||||||
|
3 files changed, 24 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc b/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc
|
||||||
|
--- a/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc
|
||||||
|
+++ b/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc
|
||||||
|
@@ -17,17 +17,25 @@ PasswordReuseControllerAndroid::PasswordReuseControllerAndroid(
|
||||||
|
ChromePasswordProtectionService* service,
|
||||||
|
ReusedPasswordAccountType password_type,
|
||||||
|
OnWarningDone done_callback)
|
||||||
|
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
||||||
|
: service_(service),
|
||||||
|
+#else
|
||||||
|
+ :
|
||||||
|
+#endif
|
||||||
|
url_(web_contents->GetLastCommittedURL()),
|
||||||
|
password_type_(password_type),
|
||||||
|
window_android_(web_contents->GetTopLevelNativeWindow()),
|
||||||
|
done_callback_(std::move(done_callback)) {
|
||||||
|
modal_construction_start_time_ = base::TimeTicks::Now();
|
||||||
|
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
||||||
|
service_->AddObserver(this);
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
PasswordReuseControllerAndroid::~PasswordReuseControllerAndroid() {
|
||||||
|
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
||||||
|
service_->RemoveObserver(this);
|
||||||
|
+#endif
|
||||||
|
dialog_view_.reset();
|
||||||
|
LogModalWarningDialogLifetime(modal_construction_start_time_);
|
||||||
|
}
|
||||||
|
@@ -48,20 +56,24 @@ base::string16 PasswordReuseControllerAndroid::GetButtonText() const {
|
||||||
|
return l10n_util::GetStringUTF16(IDS_CLOSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
||||||
|
base::string16 PasswordReuseControllerAndroid::GetWarningDetailText(
|
||||||
|
std::vector<size_t>* placeholder_offsets) const {
|
||||||
|
return service_->GetWarningDetailText(password_type_, placeholder_offsets);
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
base::string16 PasswordReuseControllerAndroid::GetTitle() const {
|
||||||
|
return l10n_util::GetStringUTF16(IDS_PAGE_INFO_CHANGE_PASSWORD_SUMMARY);
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
||||||
|
const std::vector<base::string16>
|
||||||
|
PasswordReuseControllerAndroid::GetPlaceholdersForSavedPasswordWarningText()
|
||||||
|
const {
|
||||||
|
return service_->GetPlaceholdersForSavedPasswordWarningText();
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
void PasswordReuseControllerAndroid::OnGaiaPasswordChanged() {
|
||||||
|
delete this;
|
||||||
|
diff --git a/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc b/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc
|
||||||
|
--- a/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc
|
||||||
|
+++ b/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc
|
||||||
|
@@ -29,6 +29,7 @@ void PasswordReuseDialogViewAndroid::Show(ui::WindowAndroid* window_android) {
|
||||||
|
java_object_.Reset(Java_SafeBrowsingPasswordReuseDialogBridge_create(
|
||||||
|
env, window_android->GetJavaObject(), reinterpret_cast<intptr_t>(this)));
|
||||||
|
|
||||||
|
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
||||||
|
std::vector<size_t> placeholder_offsets;
|
||||||
|
base::string16 warning_detail_text =
|
||||||
|
controller_->GetWarningDetailText(&placeholder_offsets);
|
||||||
|
@@ -50,14 +51,20 @@ void PasswordReuseDialogViewAndroid::Show(ui::WindowAndroid* window_android) {
|
||||||
|
base::android::ToJavaIntArray(env, start_ranges, len);
|
||||||
|
base::android::ScopedJavaLocalRef<jintArray> j_end_ranges =
|
||||||
|
base::android::ToJavaIntArray(env, end_ranges, len);
|
||||||
|
-
|
||||||
|
+#else
|
||||||
|
+ int start_ranges[0], end_ranges[0];
|
||||||
|
+ base::android::ScopedJavaLocalRef<jintArray> j_start_ranges =
|
||||||
|
+ base::android::ToJavaIntArray(env, start_ranges, 0);
|
||||||
|
+ base::android::ScopedJavaLocalRef<jintArray> j_end_ranges =
|
||||||
|
+ base::android::ToJavaIntArray(env, end_ranges, 0);
|
||||||
|
Java_SafeBrowsingPasswordReuseDialogBridge_showDialog(
|
||||||
|
env, java_object_,
|
||||||
|
base::android::ConvertUTF16ToJavaString(env, controller_->GetTitle()),
|
||||||
|
- base::android::ConvertUTF16ToJavaString(env, warning_detail_text),
|
||||||
|
+ base::android::ConvertUTF16ToJavaString(env, controller_->GetTitle()),
|
||||||
|
base::android::ConvertUTF16ToJavaString(env,
|
||||||
|
controller_->GetButtonText()),
|
||||||
|
j_start_ranges, j_end_ranges);
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void PasswordReuseDialogViewAndroid::Close(
|
||||||
diff --git a/components/password_manager/core/browser/BUILD.gn b/components/password_manager/core/browser/BUILD.gn
|
diff --git a/components/password_manager/core/browser/BUILD.gn b/components/password_manager/core/browser/BUILD.gn
|
||||||
--- a/components/password_manager/core/browser/BUILD.gn
|
--- a/components/password_manager/core/browser/BUILD.gn
|
||||||
+++ b/components/password_manager/core/browser/BUILD.gn
|
+++ b/components/password_manager/core/browser/BUILD.gn
|
||||||
|
|||||||
@@ -47,14 +47,12 @@ Disable CrowdDeny feature
|
|||||||
...hrome_browser_main_extra_parts_profiles.cc | 1 -
|
...hrome_browser_main_extra_parts_profiles.cc | 1 -
|
||||||
chrome/browser/profiles/profile_impl.cc | 4 +-
|
chrome/browser/profiles/profile_impl.cc | 4 +-
|
||||||
chrome/browser/safe_browsing/BUILD.gn | 3 +-
|
chrome/browser/safe_browsing/BUILD.gn | 3 +-
|
||||||
.../password_reuse_controller_android.cc | 12 +++
|
|
||||||
.../password_reuse_controller_android.h | 6 ++
|
.../password_reuse_controller_android.h | 6 ++
|
||||||
.../download_protection_service.cc | 6 --
|
.../download_protection_service.cc | 6 --
|
||||||
.../download_protection_service.h | 5 --
|
.../download_protection_service.h | 5 --
|
||||||
.../browser/ssl/security_state_tab_helper.cc | 2 +
|
.../browser/ssl/security_state_tab_helper.cc | 2 +
|
||||||
.../chrome_subresource_filter_client.cc | 10 ---
|
.../chrome_subresource_filter_client.cc | 10 ---
|
||||||
chrome/browser/ui/BUILD.gn | 1 -
|
chrome/browser/ui/BUILD.gn | 1 -
|
||||||
.../password_reuse_dialog_view_android.cc | 11 ++-
|
|
||||||
.../strings/android_chrome_strings.grd | 33 --------
|
.../strings/android_chrome_strings.grd | 33 --------
|
||||||
chrome/browser/ui/tab_helpers.cc | 8 --
|
chrome/browser/ui/tab_helpers.cc | 8 --
|
||||||
.../ui/webui/interstitials/interstitial_ui.cc | 13 +---
|
.../ui/webui/interstitials/interstitial_ui.cc | 13 +---
|
||||||
@@ -67,7 +65,7 @@ Disable CrowdDeny feature
|
|||||||
.../native_file_system_file_writer_impl.cc | 48 +-----------
|
.../native_file_system_file_writer_impl.cc | 48 +-----------
|
||||||
.../native_file_system_file_writer_impl.h | 15 +---
|
.../native_file_system_file_writer_impl.h | 15 +---
|
||||||
.../native_file_system_permission_context.h | 7 --
|
.../native_file_system_permission_context.h | 7 --
|
||||||
61 files changed, 189 insertions(+), 647 deletions(-)
|
59 files changed, 168 insertions(+), 645 deletions(-)
|
||||||
|
|
||||||
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
||||||
--- a/chrome/android/BUILD.gn
|
--- a/chrome/android/BUILD.gn
|
||||||
@@ -1863,60 +1861,6 @@ diff --git a/chrome/browser/safe_browsing/BUILD.gn b/chrome/browser/safe_browsin
|
|||||||
|
|
||||||
if (safe_browsing_mode != 0) {
|
if (safe_browsing_mode != 0) {
|
||||||
# "Safe Browsing Basic" files used for safe browsing in full mode
|
# "Safe Browsing Basic" files used for safe browsing in full mode
|
||||||
diff --git a/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc b/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc
|
|
||||||
--- a/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc
|
|
||||||
+++ b/chrome/browser/safe_browsing/android/password_reuse_controller_android.cc
|
|
||||||
@@ -17,17 +17,25 @@ PasswordReuseControllerAndroid::PasswordReuseControllerAndroid(
|
|
||||||
ChromePasswordProtectionService* service,
|
|
||||||
ReusedPasswordAccountType password_type,
|
|
||||||
OnWarningDone done_callback)
|
|
||||||
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
|
||||||
: service_(service),
|
|
||||||
+#else
|
|
||||||
+ :
|
|
||||||
+#endif
|
|
||||||
url_(web_contents->GetLastCommittedURL()),
|
|
||||||
password_type_(password_type),
|
|
||||||
window_android_(web_contents->GetTopLevelNativeWindow()),
|
|
||||||
done_callback_(std::move(done_callback)) {
|
|
||||||
modal_construction_start_time_ = base::TimeTicks::Now();
|
|
||||||
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
|
||||||
service_->AddObserver(this);
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
PasswordReuseControllerAndroid::~PasswordReuseControllerAndroid() {
|
|
||||||
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
|
||||||
service_->RemoveObserver(this);
|
|
||||||
+#endif
|
|
||||||
dialog_view_.reset();
|
|
||||||
LogModalWarningDialogLifetime(modal_construction_start_time_);
|
|
||||||
}
|
|
||||||
@@ -48,20 +56,24 @@ base::string16 PasswordReuseControllerAndroid::GetButtonText() const {
|
|
||||||
return l10n_util::GetStringUTF16(IDS_CLOSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
|
||||||
base::string16 PasswordReuseControllerAndroid::GetWarningDetailText(
|
|
||||||
std::vector<size_t>* placeholder_offsets) const {
|
|
||||||
return service_->GetWarningDetailText(password_type_, placeholder_offsets);
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
base::string16 PasswordReuseControllerAndroid::GetTitle() const {
|
|
||||||
return l10n_util::GetStringUTF16(IDS_PAGE_INFO_CHANGE_PASSWORD_SUMMARY);
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
|
||||||
const std::vector<base::string16>
|
|
||||||
PasswordReuseControllerAndroid::GetPlaceholdersForSavedPasswordWarningText()
|
|
||||||
const {
|
|
||||||
return service_->GetPlaceholdersForSavedPasswordWarningText();
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
void PasswordReuseControllerAndroid::OnGaiaPasswordChanged() {
|
|
||||||
delete this;
|
|
||||||
diff --git a/chrome/browser/safe_browsing/android/password_reuse_controller_android.h b/chrome/browser/safe_browsing/android/password_reuse_controller_android.h
|
diff --git a/chrome/browser/safe_browsing/android/password_reuse_controller_android.h b/chrome/browser/safe_browsing/android/password_reuse_controller_android.h
|
||||||
--- a/chrome/browser/safe_browsing/android/password_reuse_controller_android.h
|
--- a/chrome/browser/safe_browsing/android/password_reuse_controller_android.h
|
||||||
+++ b/chrome/browser/safe_browsing/android/password_reuse_controller_android.h
|
+++ b/chrome/browser/safe_browsing/android/password_reuse_controller_android.h
|
||||||
@@ -2042,40 +1986,6 @@ diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|||||||
"views/download/download_in_progress_dialog_view.cc",
|
"views/download/download_in_progress_dialog_view.cc",
|
||||||
"views/download/download_in_progress_dialog_view.h",
|
"views/download/download_in_progress_dialog_view.h",
|
||||||
"views/download/download_item_view.cc",
|
"views/download/download_item_view.cc",
|
||||||
diff --git a/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc b/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc
|
|
||||||
--- a/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc
|
|
||||||
+++ b/chrome/browser/ui/android/safe_browsing/password_reuse_dialog_view_android.cc
|
|
||||||
@@ -29,6 +29,7 @@ void PasswordReuseDialogViewAndroid::Show(ui::WindowAndroid* window_android) {
|
|
||||||
java_object_.Reset(Java_SafeBrowsingPasswordReuseDialogBridge_create(
|
|
||||||
env, window_android->GetJavaObject(), reinterpret_cast<intptr_t>(this)));
|
|
||||||
|
|
||||||
+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
|
|
||||||
std::vector<size_t> placeholder_offsets;
|
|
||||||
base::string16 warning_detail_text =
|
|
||||||
controller_->GetWarningDetailText(&placeholder_offsets);
|
|
||||||
@@ -50,14 +51,20 @@ void PasswordReuseDialogViewAndroid::Show(ui::WindowAndroid* window_android) {
|
|
||||||
base::android::ToJavaIntArray(env, start_ranges, len);
|
|
||||||
base::android::ScopedJavaLocalRef<jintArray> j_end_ranges =
|
|
||||||
base::android::ToJavaIntArray(env, end_ranges, len);
|
|
||||||
-
|
|
||||||
+#else
|
|
||||||
+ int start_ranges[0], end_ranges[0];
|
|
||||||
+ base::android::ScopedJavaLocalRef<jintArray> j_start_ranges =
|
|
||||||
+ base::android::ToJavaIntArray(env, start_ranges, 0);
|
|
||||||
+ base::android::ScopedJavaLocalRef<jintArray> j_end_ranges =
|
|
||||||
+ base::android::ToJavaIntArray(env, end_ranges, 0);
|
|
||||||
Java_SafeBrowsingPasswordReuseDialogBridge_showDialog(
|
|
||||||
env, java_object_,
|
|
||||||
base::android::ConvertUTF16ToJavaString(env, controller_->GetTitle()),
|
|
||||||
- base::android::ConvertUTF16ToJavaString(env, warning_detail_text),
|
|
||||||
+ base::android::ConvertUTF16ToJavaString(env, controller_->GetTitle()),
|
|
||||||
base::android::ConvertUTF16ToJavaString(env,
|
|
||||||
controller_->GetButtonText()),
|
|
||||||
j_start_ranges, j_end_ranges);
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void PasswordReuseDialogViewAndroid::Close(
|
|
||||||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Subject: Restore enable-horizontal-tab-switcher flag
|
|||||||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||||
--- a/chrome/browser/flag-metadata.json
|
--- a/chrome/browser/flag-metadata.json
|
||||||
+++ b/chrome/browser/flag-metadata.json
|
+++ b/chrome/browser/flag-metadata.json
|
||||||
@@ -1459,7 +1459,7 @@
|
@@ -1464,7 +1464,7 @@
|
||||||
{
|
{
|
||||||
"name": "enable-horizontal-tab-switcher",
|
"name": "enable-horizontal-tab-switcher",
|
||||||
"owners": [ "memex-team@google.com" ],
|
"owners": [ "memex-team@google.com" ],
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/suggest
|
|||||||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||||
--- a/chrome/browser/about_flags.cc
|
--- a/chrome/browser/about_flags.cc
|
||||||
+++ b/chrome/browser/about_flags.cc
|
+++ b/chrome/browser/about_flags.cc
|
||||||
@@ -2071,6 +2071,9 @@ const FeatureEntry kFeatureEntries[] = {
|
@@ -2078,6 +2078,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||||
flag_descriptions::kAndroidAutofillAccessibilityName,
|
flag_descriptions::kAndroidAutofillAccessibilityName,
|
||||||
flag_descriptions::kAndroidAutofillAccessibilityDescription, kOsAndroid,
|
flag_descriptions::kAndroidAutofillAccessibilityDescription, kOsAndroid,
|
||||||
FEATURE_VALUE_TYPE(features::kAndroidAutofillAccessibility)},
|
FEATURE_VALUE_TYPE(features::kAndroidAutofillAccessibility)},
|
||||||
@@ -47,7 +47,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||||||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||||
--- a/chrome/browser/flag-metadata.json
|
--- a/chrome/browser/flag-metadata.json
|
||||||
+++ b/chrome/browser/flag-metadata.json
|
+++ b/chrome/browser/flag-metadata.json
|
||||||
@@ -1763,6 +1763,11 @@
|
@@ -1768,6 +1768,11 @@
|
||||||
"owners": [ "ginko", "newcomer" ],
|
"owners": [ "ginko", "newcomer" ],
|
||||||
"expiry_milestone": 78
|
"expiry_milestone": 78
|
||||||
},
|
},
|
||||||
@@ -62,7 +62,7 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
|
|||||||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||||
--- a/chrome/browser/flag_descriptions.cc
|
--- a/chrome/browser/flag_descriptions.cc
|
||||||
+++ b/chrome/browser/flag_descriptions.cc
|
+++ b/chrome/browser/flag_descriptions.cc
|
||||||
@@ -2620,6 +2620,11 @@ const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
|
@@ -2631,6 +2631,11 @@ const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
|
||||||
"process to check the Safe Browsing reputation of URLs without calling "
|
"process to check the Safe Browsing reputation of URLs without calling "
|
||||||
"into GmsCore for every URL.";
|
"into GmsCore for every URL.";
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||||||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||||
--- a/chrome/browser/flag_descriptions.h
|
--- a/chrome/browser/flag_descriptions.h
|
||||||
+++ b/chrome/browser/flag_descriptions.h
|
+++ b/chrome/browser/flag_descriptions.h
|
||||||
@@ -1518,6 +1518,9 @@ extern const char kRecoverFromNeverSaveAndroidDescription[];
|
@@ -1524,6 +1524,9 @@ extern const char kRecoverFromNeverSaveAndroidDescription[];
|
||||||
extern const char kSafeBrowsingUseLocalBlacklistsV2Name[];
|
extern const char kSafeBrowsingUseLocalBlacklistsV2Name[];
|
||||||
extern const char kSafeBrowsingUseLocalBlacklistsV2Description[];
|
extern const char kSafeBrowsingUseLocalBlacklistsV2Description[];
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -154,7 +154,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/privac
|
|||||||
|
|
||||||
import org.chromium.base.BuildInfo;
|
import org.chromium.base.BuildInfo;
|
||||||
import org.chromium.chrome.R;
|
import org.chromium.chrome.R;
|
||||||
+import org.chromium.chrome.browser.ChromeFeatureList;
|
+import org.chromium.chrome.browser.flags.ChromeFeatureList;
|
||||||
import org.chromium.chrome.browser.help.HelpAndFeedback;
|
import org.chromium.chrome.browser.help.HelpAndFeedback;
|
||||||
import org.chromium.chrome.browser.preferences.Pref;
|
import org.chromium.chrome.browser.preferences.Pref;
|
||||||
import org.chromium.chrome.browser.preferences.PrefServiceBridge;
|
import org.chromium.chrome.browser.preferences.PrefServiceBridge;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ This reverts commit 4e598f38a0e6dd3dbede009c6a99b2a520a94e1f.
|
|||||||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||||
--- a/chrome/browser/about_flags.cc
|
--- a/chrome/browser/about_flags.cc
|
||||||
+++ b/chrome/browser/about_flags.cc
|
+++ b/chrome/browser/about_flags.cc
|
||||||
@@ -2096,6 +2096,10 @@ const FeatureEntry kFeatureEntries[] = {
|
@@ -2103,6 +2103,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||||
SINGLE_VALUE_TYPE(switches::kHostedAppQuitNotification)},
|
SINGLE_VALUE_TYPE(switches::kHostedAppQuitNotification)},
|
||||||
#endif // OS_MACOSX
|
#endif // OS_MACOSX
|
||||||
#if defined(OS_ANDROID)
|
#if defined(OS_ANDROID)
|
||||||
@@ -27,7 +27,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||||||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||||
--- a/chrome/browser/flag-metadata.json
|
--- a/chrome/browser/flag-metadata.json
|
||||||
+++ b/chrome/browser/flag-metadata.json
|
+++ b/chrome/browser/flag-metadata.json
|
||||||
@@ -775,6 +775,11 @@
|
@@ -780,6 +780,11 @@
|
||||||
// enable-javascript-harmony.
|
// enable-javascript-harmony.
|
||||||
"expiry_milestone": -1
|
"expiry_milestone": -1
|
||||||
},
|
},
|
||||||
@@ -42,7 +42,7 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
|
|||||||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||||
--- a/chrome/browser/flag_descriptions.cc
|
--- a/chrome/browser/flag_descriptions.cc
|
||||||
+++ b/chrome/browser/flag_descriptions.cc
|
+++ b/chrome/browser/flag_descriptions.cc
|
||||||
@@ -2598,6 +2598,10 @@ const char kProcessSharingWithStrictSiteInstancesDescription[] =
|
@@ -2609,6 +2609,10 @@ const char kProcessSharingWithStrictSiteInstancesDescription[] =
|
||||||
"separated like strict site isolation, but process selection puts multiple "
|
"separated like strict site isolation, but process selection puts multiple "
|
||||||
"site instances in a single process.";
|
"site instances in a single process.";
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||||||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||||
--- a/chrome/browser/flag_descriptions.h
|
--- a/chrome/browser/flag_descriptions.h
|
||||||
+++ b/chrome/browser/flag_descriptions.h
|
+++ b/chrome/browser/flag_descriptions.h
|
||||||
@@ -1504,6 +1504,9 @@ extern const char kProcessSharingWithDefaultSiteInstancesDescription[];
|
@@ -1510,6 +1510,9 @@ extern const char kProcessSharingWithDefaultSiteInstancesDescription[];
|
||||||
extern const char kProcessSharingWithStrictSiteInstancesName[];
|
extern const char kProcessSharingWithStrictSiteInstancesName[];
|
||||||
extern const char kProcessSharingWithStrictSiteInstancesDescription[];
|
extern const char kProcessSharingWithStrictSiteInstancesDescription[];
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
From: Daniel Micay <danielmicay@gmail.com>
|
||||||
|
Date: Sun, 22 Mar 2020 03:07:08 -0400
|
||||||
|
Subject: disable browser autologin by default
|
||||||
|
|
||||||
|
---
|
||||||
|
.../signin/internal/identity_manager/primary_account_manager.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/components/signin/internal/identity_manager/primary_account_manager.cc b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||||
|
--- a/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||||
|
+++ b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||||
|
@@ -54,7 +54,7 @@ void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||||
|
std::string());
|
||||||
|
registry->RegisterStringPref(prefs::kGoogleServicesAccountId, std::string());
|
||||||
|
registry->RegisterBooleanPref(prefs::kGoogleServicesConsentedToSync, false);
|
||||||
|
- registry->RegisterBooleanPref(prefs::kAutologinEnabled, true);
|
||||||
|
+ registry->RegisterBooleanPref(prefs::kAutologinEnabled, false);
|
||||||
|
registry->RegisterListPref(prefs::kReverseAutologinRejectedEmailList);
|
||||||
|
registry->RegisterBooleanPref(prefs::kSigninAllowed, false);
|
||||||
|
registry->RegisterBooleanPref(prefs::kSignedInWithCredentialProvider, false);
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
From: Daniel Micay <danielmicay@gmail.com>
|
||||||
|
Date: Fri, 28 Jun 2019 17:48:49 -0400
|
||||||
|
Subject: show download prompt again by default
|
||||||
|
|
||||||
|
---
|
||||||
|
.../chrome/browser/download/DownloadLocationCustomView.java | 4 ----
|
||||||
|
1 file changed, 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationCustomView.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationCustomView.java
|
||||||
|
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationCustomView.java
|
||||||
|
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationCustomView.java
|
||||||
|
@@ -55,10 +55,6 @@ public class DownloadLocationCustomView
|
||||||
|
void initialize(@DownloadLocationDialogType int dialogType, File suggestedPath) {
|
||||||
|
mDialogType = dialogType;
|
||||||
|
|
||||||
|
- // Automatically check "don't show again" the first time the user is seeing the dialog.
|
||||||
|
- boolean isInitial =
|
||||||
|
- DownloadUtils.getPromptForDownloadAndroid() == DownloadPromptStatus.SHOW_INITIAL;
|
||||||
|
- mDontShowAgain.setChecked(isInitial);
|
||||||
|
mDontShowAgain.setOnCheckedChangeListener(this);
|
||||||
|
|
||||||
|
mFileName.setText(suggestedPath.getName());
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<iframe src="https://testsafebrowsing.appspot.com/s/phishing.html"></iframe><br>
|
||||||
|
<iframe src="https://testsafebrowsing.appspot.com/"></iframe>
|
||||||
|
|
||||||
|
<a href="https://testsafebrowsing.appspot.com/">https://testsafebrowsing.appspot.com/</a>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
alert(window.Intl.DateTimeFormat().resolvedOptions().timeZone);
|
||||||
|
alert(Date().toLocaleString('en-us',{timeZoneName:'long'}));
|
||||||
|
</script>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
|
|
||||||
|
<title>Test Document Write in scripts</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>Test site</h1>
|
||||||
|
<script src="ad-script.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Binary file not shown.
Reference in New Issue
Block a user