[webkit-help] Testing content blocking

Robert Jones robert.jones.sv at gmail.com
Tue Jun 16 21:54:16 PDT 2015


Hi All,

I'm trying out some things with the new content blocking features in
WebKit.  Does anyone have suggestions on how to test content blocking
beyond the following technique:

 - Create JSON file
 - Force iOS Simulator to reload the JSON file
 - Reload the web page in mobile Safari
 - Visually observe the correct behavior

I've noticed, when using 'css-display-none', that the blocked content is
still visible in the web inspector, although the content is correctly
blocked in mobile Safari.  So, I don't think I can observe the output of
the web inspector.

Is it possible to hook into some other part of WebKit to find out what's
being blocked?  Are there perhaps some unit tests that do something like
this?

Thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20150616/74c18818/attachment.html>


More information about the webkit-help mailing list