Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #7000: show about:blank for blank target popup windows #7125

Merged
merged 4 commits into from
Aug 14, 2020

Conversation

garvankeeley
Copy link
Contributor

@garvankeeley garvankeeley commented Aug 12, 2020

No description provided.

@mozillamobilebot
Copy link

mozillamobilebot commented Aug 12, 2020

1 Error
🚫 No new force try! or as!

SwiftLint found issues

Warnings

File Line Reason
TabLocationView.swift 267 Prefer empty collection over optional collection. (discouraged_optional_collection)
TabLocationView.swift 363 Prefer empty collection over optional collection. (discouraged_optional_collection)
TabLocationView.swift 481 Prefer empty collection over optional collection. (discouraged_optional_collection)
BrowserViewController+WebViewDelegates.swift 239 Don't add a space between the method name and the parentheses. (no_space_in_method_call)
BrowserViewController+WebViewDelegates.swift 238 Variables should not have redundant type annotation (redundant_type_annotation)
BrowserViewController+WebViewDelegates.swift 329 Prefer -> Void over -> (). (void_return)

Generated by 🚫 Danger

@@ -47,6 +47,11 @@ class TabLocationView: UIView {
}

func showLockIcon(forSecureContent isSecure: Bool) {
if (url?.absoluteString == "about:blank") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (url?.absoluteString == "about:blank") {
if url?.absoluteString == "about:blank" {

@kaylagalway kaylagalway self-requested a review August 13, 2020 16:28
@garvankeeley garvankeeley merged commit d798cdb into mozilla-mobile:main Aug 14, 2020
vphong added a commit to vphong/firefox-ios that referenced this pull request Aug 26, 2020
* main: (25 commits)
  FXIOS-708 ⁃ [iOS14 Widgets] : iOS14 Quick Action Widgets (Medium/Small) Versions (mozilla-mobile#7051)
  FXIOS-805 ⁃ Default browser change, remove adjust, remove photopicker string (mozilla-mobile#7215)
  Revert "Bug 1608838: Include data sensitivity category (mozilla-mobile#7112)" (mozilla-mobile#7216)
  FXIOS-759 ⁃ Fix mozilla-mobile#7123: Empty logins view after switching to a different app (mozilla-mobile#7164)
  Bug 1608838: Include data sensitivity category (mozilla-mobile#7112)
  Fix mozilla-mobile#5937: Re-enable more XCUI tests (mozilla-mobile#7158)
  Update default browser strings (mozilla-mobile#7180)
  FXIOS-714 ⁃ [Today Widget] Adding Close Private tabs button to today widget (mozilla-mobile#6971)
  Refactored small size search in title to be more clear (mozilla-mobile#7168)
  For mozilla-mobile#7130 - XCUITest fix Downloads tests (mozilla-mobile#7153)
  Added comments to new line strings for translators (mozilla-mobile#7162)
  For mozilla-mobile#7154 - UITests fix compilation error (mozilla-mobile#7155)
  Refactored strings for Quick Action - Small Size widget (mozilla-mobile#7157)
  Fix mozilla-mobile#6847 new tab button (mozilla-mobile#7038)
  Refactored some strings for v29 (mozilla-mobile#7152)
  Breach Alerts Feature (mozilla-mobile#7136)
  Fix mozilla-mobile#7000: show about:blank for blank target popup windows (mozilla-mobile#7125)
  Fix mozilla-mobile#7053: Add prompt visible UI test for HTTP Basic Auth (mozilla-mobile#7124)
  String update: Added missing serial comma (mozilla-mobile#7132)
  Fix mozilla-mobile#7091 mozilla-mobile#7092 mozilla-mobile#7113 - String updates for Widgets, Default Browser and ETP changes (mozilla-mobile#7129)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants