| 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 2878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2889 DOMTimerCoordinator* Document::timers() | 2889 DOMTimerCoordinator* Document::timers() |
| 2890 { | 2890 { |
| 2891 return &m_timers; | 2891 return &m_timers; |
| 2892 } | 2892 } |
| 2893 | 2893 |
| 2894 EventTarget* Document::errorEventTarget() | 2894 EventTarget* Document::errorEventTarget() |
| 2895 { | 2895 { |
| 2896 return domWindow(); | 2896 return domWindow(); |
| 2897 } | 2897 } |
| 2898 | 2898 |
| 2899 void Document::exceptionThrown(const String& errorMessage, std::unique_ptr<Sourc
eLocation> location) | 2899 void Document::exceptionThrown(ErrorEvent* event) |
| 2900 { | 2900 { |
| 2901 MainThreadDebugger::instance()->exceptionThrown(m_frame.get(), errorMessage,
std::move(location)); | 2901 MainThreadDebugger::instance()->exceptionThrown(this, event); |
| 2902 } | 2902 } |
| 2903 | 2903 |
| 2904 void Document::setURL(const KURL& url) | 2904 void Document::setURL(const KURL& url) |
| 2905 { | 2905 { |
| 2906 const KURL& newURL = url.isEmpty() ? blankURL() : url; | 2906 const KURL& newURL = url.isEmpty() ? blankURL() : url; |
| 2907 if (newURL == m_url) | 2907 if (newURL == m_url) |
| 2908 return; | 2908 return; |
| 2909 | 2909 |
| 2910 m_url = newURL; | 2910 m_url = newURL; |
| 2911 m_accessEntryFromURL = nullptr; | 2911 m_accessEntryFromURL = nullptr; |
| (...skipping 3126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6038 } | 6038 } |
| 6039 | 6039 |
| 6040 void showLiveDocumentInstances() | 6040 void showLiveDocumentInstances() |
| 6041 { | 6041 { |
| 6042 WeakDocumentSet& set = liveDocumentSet(); | 6042 WeakDocumentSet& set = liveDocumentSet(); |
| 6043 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6043 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6044 for (Document* document : set) | 6044 for (Document* document : set) |
| 6045 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); | 6045 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); |
| 6046 } | 6046 } |
| 6047 #endif | 6047 #endif |
| OLD | NEW |