[EFL][WK2] Provide implementation for WebFrameNetworkingContext

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

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-05
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

Remove EFL-specific and empty implementation for WebFrameNetworkingContext
and use the existing soup implementation instead.

* PlatformEfl.cmake:
* WebProcess/WebCoreSupport/efl/WebFrameNetworkingContext.h: Removed.

LayoutTests:

Unskip several cookie-related test cases for WK2 EFL
now that WebFrameNetworkingContext is implemented.

* platform/efl-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d8d9adfe
2012-09-05 Christophe Dumez <christophe.dumez@intel.com>
[EFL][WK2] Provide implementation for WebFrameNetworkingContext
https://bugs.webkit.org/show_bug.cgi?id=95826
Reviewed by Kenneth Rohde Christiansen.
Unskip several cookie-related test cases for WK2 EFL
now that WebFrameNetworkingContext is implemented.
* platform/efl-wk2/TestExpectations:
2012-09-05 MORITA Hajime <morrita@google.com>
ShadowRoot.cloneNode() must always throw a DATA_CLONE_ERR exception.
......@@ -203,22 +203,6 @@ BUGWKEFL : fast/ruby/rubyDOM-remove-rt2.html = TEXT
BUGWKEFL : fast/ruby/rubyDOM-remove-text1.html = TEXT
BUGWKEFL : fast/ruby/rubyDOM-remove-text2.html = TEXT
// Failing Security tests
BUGWKEFL : http/tests/security/aboutBlank/security-context-grandchildren-lexical.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context-grandchildren.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context-window-open.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context-with-base-tag.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context-write.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context-writeln.html = TEXT
BUGWKEFL : http/tests/security/aboutBlank/security-context.html = TEXT
BUGWKEFL : http/tests/security/cookies/assign-document-url.html = TEXT
BUGWKEFL : http/tests/security/cookies/base-about-blank.html = TEXT
BUGWKEFL : http/tests/security/cookies/base-tag.html = TEXT
BUGWKEFL : http/tests/security/cookies/basic.html = TEXT
BUGWKEFL : http/tests/security/cookies/document-open.html = TEXT
// WebKitTestRunner needs an implementation for testRunner.setStorageDatabaseIdleInterval
BUGWKEFL : storage/domstorage/storage-close-database-on-idle.html = TEXT
......@@ -240,7 +224,6 @@ BUGWKEFL : editing/execCommand/format-block-multiple-paragraphs-in-pre.html = TE
BUGWKEFL : editing/input/emacs-ctrl-o.html = TEXT
BUGWKEFL : editing/input/page-up-down-scrolls.html = TEXT
BUGWKEFL : fast/block/float/float-in-float-hit-testing.html = TEXT
BUGWKEFL : fast/cookies/local-file-can-set-cookies.html = TEXT
BUGWKEFL : fast/css/bidi-override-in-anonymous-block.html = TEXT
BUGWKEFL : fast/css/relative-positioned-block-crash.html = TEXT
BUGWKEFL : fast/dom/Window/mozilla-focus-blur.html = TEXT
......
2012-09-05 Christophe Dumez <christophe.dumez@intel.com>
[EFL][WK2] Provide implementation for WebFrameNetworkingContext
https://bugs.webkit.org/show_bug.cgi?id=95826
Reviewed by Kenneth Rohde Christiansen.
Remove EFL-specific and empty implementation for WebFrameNetworkingContext
and use the existing soup implementation instead.
* PlatformEfl.cmake:
* WebProcess/WebCoreSupport/efl/WebFrameNetworkingContext.h: Removed.
2012-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
......
......@@ -108,6 +108,8 @@ LIST(APPEND WebKit2_SOURCES
WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp
WebProcess/WebPage/efl/WebInspectorEfl.cpp
WebProcess/WebPage/efl/WebPageEfl.cpp
......@@ -139,6 +141,7 @@ LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
"${WEBKIT2_DIR}/WebProcess/efl"
"${WEBKIT2_DIR}/WebProcess/soup"
"${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
"${WEBKIT2_DIR}/WebProcess/WebCoreSupport/soup"
"${WTF_DIR}/wtf/gobject"
${CAIRO_INCLUDE_DIRS}
${ECORE_X_INCLUDE_DIRS}
......
/*
* Copyright (C) 2011 Samsung Electronics. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WebFrameNetworkingContext_h
#define WebFrameNetworkingContext_h
#include "WebFrame.h"
#include <WebCore/FrameNetworkingContext.h>
class WebFrameNetworkingContext : public WebCore::FrameNetworkingContext {
public:
static PassRefPtr<WebFrameNetworkingContext> create(WebKit::WebFrame*)
{
return 0;
}
private:
explicit WebFrameNetworkingContext(WebKit::WebFrame* frame)
: WebCore::FrameNetworkingContext(frame->coreFrame())
{
}
virtual WTF::String userAgent() const;
virtual WTF::String referrer() const;
WTF::String m_userAgent;
};
#endif // WebFrameNetworkingContext_h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment