Commit 31873301 authored by abarth@webkit.org's avatar abarth@webkit.org
Browse files

2008-10-23 Adam Barth <abarth@webkit.org>

        Reviewed by Sam Weinig.

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

        Add accessor for SecurityOrigin::m_domainWasSetInDOM.

        * page/SecurityOrigin.h:
        (WebCore::SecurityOrigin::domainWasSetInDOM):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e6216bea
2008-10-23 Adam Barth <abarth@webkit.org>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21826
Add accessor for SecurityOrigin::m_domainWasSetInDOM.
* page/SecurityOrigin.h:
(WebCore::SecurityOrigin::domainWasSetInDOM):
2008-10-23 Darin Adler <darin@apple.com>
 
- roll out https://bugs.webkit.org/show_bug.cgi?id=21732
......
/*
* Copyright (C) 2007 Apple Inc. All rights reserved.
* Copyright (C) 2007,2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
......@@ -54,6 +54,7 @@ namespace WebCore {
// function does not check whether newDomain is a suffix of the current
// domain. The caller is responsible for validating newDomain.
void setDomainFromDOM(const String& newDomain);
bool domainWasSetInDOM() const { return m_domainWasSetInDOM; }
String protocol() const { return m_protocol; }
String host() const { return m_host; }
......
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