Commit 9e8d7e11 authored by MozLando's avatar MozLando
Browse files

Merge #4231



4231: Updated the Safe Browsing changelog and formatting [ci skip] r=Amejia481 a=jonalmeida

Fixed a few nits and formatting issues on the changelog where the code block doesn't render correctly.



Co-authored-by: default avatarJonathan Almeida <jalmeida@mozilla.com>
parents 7048dcaa 1e78733b
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -47,10 +47,11 @@ permalink: /changelog/
  * Fixed issue [4191](https://github.com/mozilla-mobile/android-components/issues/4191) where the `recommended()` tracking category was not getting applied for `SystemEngine`.

* **concept-engine**, **browser-engine-gecko-nightly** and **browser-engine-gecko-beta**:
  * ⚠️ **This is a breaking change**: `TrackingProtectionPolicy` doesn't have a `safeBrowsingCategories` anymore, now safe browsing is a completely separate setting on the Engine level, to set a to change the default value of `SafeBrowsingPolicy.RECOMMENDED` you have set it through `engine.settings.safeBrowsingPolicy`,
  * this decouples the tracking protection API and safe browsing from each other, this way you can change the tracking protection policy without affecting your safe browsing policy as described in this issue [#4190](https://github.com/mozilla-mobile/android-components/issues/4190).
  * ⚠️ **Alert for SystemEngine consumers**: The safe browsing API is not yet supported on this engine, this will be covered on [#4206](https://github.com/mozilla-mobile/android-components/issues/4206), if you use this API you will get a `UnsupportedSettingException`, in the meantime you can use a manifest tag to activate it.
  ```kotlin
  * ⚠️ **This is a breaking change**: `TrackingProtectionPolicy` does not have a `safeBrowsingCategories` anymore, Safe Browsing is now a separate setting on the Engine level. To change the default value of `SafeBrowsingPolicy.RECOMMENDED` you have set it through `engine.settings.safeBrowsingPolicy`.
  * This decouples the tracking protection API and safe browsing from each other so you can change the tracking protection policy without affecting your safe browsing policy as described in this issue [#4190](https://github.com/mozilla-mobile/android-components/issues/4190).
  * ⚠️ **Alert for SystemEngine consumers**: The Safe Browsing API is not yet supported on this engine, this will be covered on [#4206](https://github.com/mozilla-mobile/android-components/issues/4206). If you use this API you will get a `UnsupportedSettingException`, however you can use a manifest tag to activate it.
  
  ```xml
    <manifest>
    <application>
        <meta-data android:name="android.webkit.WebView.EnableSafeBrowsing"
@@ -58,7 +59,7 @@ permalink: /changelog/
        ...
     </application>
    </manifest>
  ```kotlin
  ```

# 9.0.0