Home | History | Annotate | Download | only in page

Lines Matching full:other

12  *     documentation and/or other materials provided with the distribution.
108 SecurityOrigin::SecurityOrigin(const SecurityOrigin* other)
109 : m_sandboxFlags(other->m_sandboxFlags)
110 , m_protocol(other->m_protocol.threadsafeCopy())
111 , m_host(other->m_host.threadsafeCopy())
112 , m_domain(other->m_domain.threadsafeCopy())
113 , m_port(other->m_port)
114 , m_isUnique(other->m_isUnique)
115 , m_universalAccess(other->m_universalAccess)
116 , m_domainWasSetInDOM(other->m_domainWasSetInDOM)
117 , m_canLoadLocalResources(other->m_canLoadLocalResources)
174 bool SecurityOrigin::canAccess(const SecurityOrigin* other) const
179 if (isUnique() || other->isUnique())
202 if (m_protocol == other->m_protocol) {
203 if (!m_domainWasSetInDOM && !other->m_domainWasSetInDOM) {
204 if (m_host == other->m_host && m_port == other->m_port)
206 } else if (m_domainWasSetInDOM && other->m_domainWasSetInDOM) {
207 if (m_domain == other->m_domain)
300 RefPtr<SecurityOrigin> other = SecurityOrigin::create(url);
301 return canAccess(other.get());
375 bool SecurityOrigin::equal(const SecurityOrigin* other) const
377 if (other == this)
380 if (!isSameSchemeHostPort(other))
383 if (m_domainWasSetInDOM != other->m_domainWasSetInDOM)
386 if (m_domainWasSetInDOM && m_domain != other->m_domain)
392 bool SecurityOrigin::isSameSchemeHostPort(const SecurityOrigin* other) const
394 if (m_host != other->m_host)
397 if (m_protocol != other->m_protocol)
400 if (m_port != other->m_port)