| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> | 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> |
| 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> | 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> |
| 5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved. |
| 6 * Copyright (C) 2012 Intel Corporation | 6 * Copyright (C) 2012 Intel Corporation |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 && !name.startsWith(staticData->m_secHeaderPrefix, false); | 510 && !name.startsWith(staticData->m_secHeaderPrefix, false); |
| 511 } | 511 } |
| 512 | 512 |
| 513 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, Exception
State& exceptionState) | 513 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, Exception
State& exceptionState) |
| 514 { | 514 { |
| 515 open(method, url, true, exceptionState); | 515 open(method, url, true, exceptionState); |
| 516 } | 516 } |
| 517 | 517 |
| 518 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, bool asyn
c, ExceptionState& exceptionState) | 518 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, bool asyn
c, ExceptionState& exceptionState) |
| 519 { | 519 { |
| 520 WTF_LOG(Network, "XMLHttpRequest %p open('%s', '%s', %d)", this, method.stri
ng().utf8().data(), url.elidedString().utf8().data(), async); | 520 WTF_LOG(Network, "XMLHttpRequest %p open('%s', '%s', %d)", this, method.utf8
().data(), url.elidedString().utf8().data(), async); |
| 521 | 521 |
| 522 if (!internalAbort()) | 522 if (!internalAbort()) |
| 523 return; | 523 return; |
| 524 | 524 |
| 525 State previousState = m_state; | 525 State previousState = m_state; |
| 526 m_state = UNSENT; | 526 m_state = UNSENT; |
| 527 m_error = false; | 527 m_error = false; |
| 528 m_uploadComplete = false; | 528 m_uploadComplete = false; |
| 529 | 529 |
| 530 // clear stuff from possible previous load | 530 // clear stuff from possible previous load |
| (...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1423 { | 1423 { |
| 1424 return EventTargetNames::XMLHttpRequest; | 1424 return EventTargetNames::XMLHttpRequest; |
| 1425 } | 1425 } |
| 1426 | 1426 |
| 1427 ExecutionContext* XMLHttpRequest::executionContext() const | 1427 ExecutionContext* XMLHttpRequest::executionContext() const |
| 1428 { | 1428 { |
| 1429 return ActiveDOMObject::executionContext(); | 1429 return ActiveDOMObject::executionContext(); |
| 1430 } | 1430 } |
| 1431 | 1431 |
| 1432 } // namespace WebCore | 1432 } // namespace WebCore |
| OLD | NEW |