[Webkit-unassigned] [Bug 162057] New: Content Blocker 'css-display-none' rules aren't applied when you open a website first time (from the address bar)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 16 03:45:12 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=162057

            Bug ID: 162057
           Summary: Content Blocker 'css-display-none' rules aren't
                    applied when you open a website first time (from the
                    address bar)
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Macintosh
                OS: Other
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: am at adguard.com

#### My configuration:
Safari Version 10.0 (12602.1.50.0.10)
macOS Sierra 10.12 (16A323)

#### Steps to reproduce

1. Register a simple content blocker:
```
[{ "trigger": { "url-filter": ".*" }, "action": { "type": "css-display-none", "selector": "body" } }]
```

2. Open a new tab
3. Enter "google.com" (or any other website) and press Enter

#### Expected result
Page is empty

#### Actual result
Page is not empty. The rule will be applied after you refresh the page.


Relevant bug reports:
https://github.com/AdguardTeam/AdguardBrowserExtension/issues/153
https://github.com/AdguardTeam/AdguardBrowserExtension/issues/359

Also there was a similar issue with searching from the address bar:
https://bugs.webkit.org/show_bug.cgi?id=153743

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160916/7bab2e56/attachment-0001.html>


More information about the webkit-unassigned mailing list