Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 408546

Summary: [Client] IE10 returns statusCode = 0 in case of connection error
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: tbuschto
Version: unspecified   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
fix ivan: review+

Description Ivan Furnadjiev CLA 2013-05-21 04:40:17 EDT
IE10 does not return MS specific codes in case of connection error anymore. It behaves as other browsers - return statusCode = 0. We have to adjust Server.js#_isConnectionError to respect this behavior.
Comment 1 Tim Buschtoens CLA 2013-05-24 09:13:50 EDT
Created attachment 231462 [details]
fix

Fix tested with connection and server errors in IE10/Win8, IE9 mode of IE10 in Win8, and IE8/WinXP. Someone should test IE9/Win7 before granting review.
Comment 2 Ivan Furnadjiev CLA 2013-05-24 09:24:16 EDT
Comment on attachment 231462 [details]
fix

Tested on Windows 7 (x86) with IE9 -> the correct "Network Error" pops up when terminating the server.
Comment 3 Tim Buschtoens CLA 2013-05-24 11:06:59 EDT
Applied patch with commit 8ff47e7650ec8b4f68981601776fb1f245d5fbb9.