Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Win] Implement WebView::removeAllUserContentFromGroup
https://bugs.webkit.org/show_bug.cgi?id=158343

Reviewed by Brent Fulgham.

* WebView.cpp:
(WebView::removeAllUserContentFromGroup):


Canonical link: https://commits.webkit.org/176435@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@201649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
peavo committed Jun 3, 2016
1 parent b87f900 commit 45244f1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Source/WebKit/win/ChangeLog
@@ -1,3 +1,13 @@
2016-06-03 Per Arne Vollan <pvollan@apple.com>

[Win] Implement WebView::removeAllUserContentFromGroup
https://bugs.webkit.org/show_bug.cgi?id=158343

Reviewed by Brent Fulgham.

* WebView.cpp:
(WebView::removeAllUserContentFromGroup):

2016-06-02 Per Arne Vollan <pvollan@apple.com>

[Win] Fetch API tests are failing.
Expand Down
11 changes: 10 additions & 1 deletion Source/WebKit/win/WebView.cpp
Expand Up @@ -6779,7 +6779,16 @@ HRESULT WebView::removeUserStyleSheetsFromGroup(_In_ BSTR groupName, _In_opt_ IW

HRESULT WebView::removeAllUserContentFromGroup(_In_ BSTR groupName)
{
return E_NOTIMPL;
String group = toString(groupName);
if (group.isEmpty())
return E_FAIL;

auto viewGroup = WebViewGroup::get(group);
if (!viewGroup)
return S_OK;

viewGroup->userContentController().removeAllUserContent();
return S_OK;
}

HRESULT WebView::invalidateBackingStore(_In_ const RECT* rect)
Expand Down

0 comments on commit 45244f1

Please sign in to comment.