Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 246673dcae2a1e008f9ebf8b3ac37b68417de4f0
      
https://github.com/WebKit/WebKit/commit/246673dcae2a1e008f9ebf8b3ac37b68417de4f0
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M Source/WebCore/xml/XMLHttpRequest.cpp

  Log Message:
  -----------
  Remove duplicate m_exceptionCode assignment in 
XMLHttpRequest::didReachTimeout()
https://bugs.webkit.org/show_bug.cgi?id=320893
rdar://183909305

Reviewed by Chris Dumez.

didReachTimeout() sets m_exceptionCode to ExceptionCode::TimeoutError
unconditionally, and then sets it to the same value again inside the
!m_async branch. Nothing in between can change it, so the second
assignment is dead. Remove it; no behavior change.

* Source/WebCore/xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::didReachTimeout):

Canonical link: https://commits.webkit.org/318533@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to