OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:targetOrigin
(Results
1 - 3
of
3
) sorted by null
/external/webkit/Source/WebCore/page/
SecurityOrigin.cpp
267
RefPtr<SecurityOrigin>
targetOrigin
= SecurityOrigin::create(url);
269
if (
targetOrigin
->isUnique())
274
if (isSameSchemeHostPort(
targetOrigin
.get()))
277
if (isAccessWhiteListed(
targetOrigin
.get()))
315
bool SecurityOrigin::isAccessWhiteListed(const SecurityOrigin*
targetOrigin
) const
319
if (list->at(i).matchesOrigin(*
targetOrigin
))
328
RefPtr<SecurityOrigin>
targetOrigin
= SecurityOrigin::create(url);
329
return isAccessWhiteListed(
targetOrigin
.get());
DOMWindow.cpp
123
PostMessageTimer(DOMWindow* window, PassRefPtr<SerializedScriptValue> message, const String& sourceOrigin, PassRefPtr<DOMWindow> source, PassOwnPtr<MessagePortChannelArray> channels, SecurityOrigin*
targetOrigin
)
129
, m_targetOrigin(
targetOrigin
)
138
SecurityOrigin*
targetOrigin
() const { return m_targetOrigin.get(); }
797
void DOMWindow::postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort* port, const String&
targetOrigin
, DOMWindow* source, ExceptionCode& ec)
802
postMessage(message, &ports,
targetOrigin
, source, ec);
805
void DOMWindow::postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, const String&
targetOrigin
, DOMWindow* source, ExceptionCode& ec)
813
if (
targetOrigin
!= "*") {
814
target = SecurityOrigin::createFromString(
targetOrigin
);
844
if (timer->
targetOrigin
()) {
846
if (!timer->
targetOrigin
()->isSameSchemeHostPort(document()->securityOrigin()))
[
all
...]
/external/webkit/Source/WebCore/bindings/v8/custom/
V8DOMWindowCustom.cpp
329
String
targetOrigin
;
332
// postMessage(message, port,
targetOrigin
);
334
// postMessage(message,
targetOrigin
);
339
targetOrigin
= toWebCoreStringWithNullOrUndefinedCheck(args[2]);
341
targetOrigin
= toWebCoreStringWithNullOrUndefinedCheck(args[1]);
348
window->postMessage(message.release(), &portArray,
targetOrigin
, source, ec);
Completed in 55 milliseconds