| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
| (...skipping 2877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2888 DOMTimerCoordinator* Document::timers() | 2888 DOMTimerCoordinator* Document::timers() |
| 2889 { | 2889 { |
| 2890 return &m_timers; | 2890 return &m_timers; |
| 2891 } | 2891 } |
| 2892 | 2892 |
| 2893 EventTarget* Document::errorEventTarget() | 2893 EventTarget* Document::errorEventTarget() |
| 2894 { | 2894 { |
| 2895 return domWindow(); | 2895 return domWindow(); |
| 2896 } | 2896 } |
| 2897 | 2897 |
| 2898 void Document::exceptionThrown(const String& errorMessage, std::unique_ptr<Sourc
eLocation> location) | 2898 void Document::exceptionThrown(ErrorEvent* event) |
| 2899 { | 2899 { |
| 2900 MainThreadDebugger::instance()->exceptionThrown(m_frame.get(), errorMessage,
std::move(location)); | 2900 MainThreadDebugger::instance()->exceptionThrown(m_frame.get(), event); |
| 2901 } | 2901 } |
| 2902 | 2902 |
| 2903 void Document::setURL(const KURL& url) | 2903 void Document::setURL(const KURL& url) |
| 2904 { | 2904 { |
| 2905 const KURL& newURL = url.isEmpty() ? blankURL() : url; | 2905 const KURL& newURL = url.isEmpty() ? blankURL() : url; |
| 2906 if (newURL == m_url) | 2906 if (newURL == m_url) |
| 2907 return; | 2907 return; |
| 2908 | 2908 |
| 2909 m_url = newURL; | 2909 m_url = newURL; |
| 2910 m_accessEntryFromURL = nullptr; | 2910 m_accessEntryFromURL = nullptr; |
| (...skipping 3137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6048 } | 6048 } |
| 6049 | 6049 |
| 6050 void showLiveDocumentInstances() | 6050 void showLiveDocumentInstances() |
| 6051 { | 6051 { |
| 6052 WeakDocumentSet& set = liveDocumentSet(); | 6052 WeakDocumentSet& set = liveDocumentSet(); |
| 6053 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6053 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6054 for (Document* document : set) | 6054 for (Document* document : set) |
| 6055 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); | 6055 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); |
| 6056 } | 6056 } |
| 6057 #endif | 6057 #endif |
| OLD | NEW |