Changeset 147618 in webkit
- Timestamp:
- Apr 4, 2013 3:52:08 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147616 r147618 1 2013-04-04 Seokju Kwon <seokju.kwon@gmail.com> 2 3 [Qt] WebSocket errors should be logged to console 4 https://bugs.webkit.org/show_bug.cgi?id=113842 5 6 Reviewed by Jocelyn Turcotte. 7 8 * platform/qt/TestExpectations: 9 * platform/qt/http/tests/inspector/console-websocket-error-expected.txt: Added. 10 1 11 2013-04-04 Ádám Kallai <kadam@inf.u-szeged.hu> 2 12 -
trunk/LayoutTests/platform/qt/TestExpectations
r147616 r147618 2060 2060 fast/writing-mode/vertical-baseline-alignment.html 2061 2061 fast/writing-mode/vertical-font-fallback.html 2062 http/tests/inspector/console-websocket-error.html2063 2062 svg/as-image/animated-svg-repaints-completely-in-hidpi.html 2064 2063 transitions/default-timing-function.html -
trunk/Source/WebCore/ChangeLog
r147615 r147618 1 2013-04-04 Seokju Kwon <seokju.kwon@gmail.com> 2 3 [Qt] WebSocket errors should be logged to console 4 https://bugs.webkit.org/show_bug.cgi?id=113842 5 6 Reviewed by Jocelyn Turcotte. 7 8 Pass the reason of a failure to SocketStreamError instance 9 and notify it via SocketStreamHandleClient::didFailSocketStream(). 10 11 Test : http/tests/inspector/console-websocket-error.html 12 13 * platform/network/qt/SocketStreamError.h: 14 (WebCore::SocketStreamError::SocketStreamError): 15 * platform/network/qt/SocketStreamHandleQt.cpp: 16 (WebCore::SocketStreamHandlePrivate::SocketStreamHandlePrivate): 17 (WebCore::SocketStreamHandlePrivate::socketErrorCallback): 18 1 19 2013-04-04 Ed Bartosh <bartosh@gmail.com> 2 20 -
trunk/Source/WebCore/platform/network/qt/SocketStreamError.h
r95901 r147618 1 1 /* 2 2 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Seokju Kwon (seokju.kwon@gmail.com) 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 43 44 { 44 45 } 45 46 SocketStreamError(int errorCode, const QString& description) 47 : SocketStreamErrorBase(errorCode, String(), description) 48 { 49 } 46 50 }; 47 51 -
trunk/Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
r121020 r147618 36 36 #include "Logging.h" 37 37 #include "NotImplemented.h" 38 #include "SocketStreamError.h" 38 39 #include "SocketStreamHandleClient.h" 39 40 #include "SocketStreamHandlePrivate.h" … … 168 169 SocketStreamHandle* streamHandle = m_streamHandle; 169 170 m_streamHandle = 0; 171 172 streamHandle->client()->didFailSocketStream(streamHandle, SocketStreamError(error, m_socket->errorString())); 173 170 174 // This following call deletes _this_. Nothing should be after it. 171 175 streamHandle->client()->didCloseSocketStream(streamHandle);
Note: See TracChangeset
for help on using the changeset viewer.