Changeset 175166 in webkit
- Timestamp:
- Oct 24, 2014 10:03:53 AM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js
r173322 r175166 137 137 }.bind(this), 138 138 function(data) { 139 if (data.errorType !== JSON.LoadError || data.errorHTTPCode !== 401) 140 return; 139 141 if (this.buildbot.isAuthenticated) { 140 142 // FIXME (128006): Safari/WebKit should coalesce authentication requests with the same origin and authentication realm. … … 146 148 return; 147 149 } 148 if (data.errorType === JSON.LoadError && data.errorHTTPCode === 401) { 149 this.buildbot.isAuthenticated = false; 150 this.dispatchEventToListeners(BuildbotQueue.Event.UnauthorizedAccess, { }); 151 } 150 151 this.buildbot.isAuthenticated = false; 152 this.dispatchEventToListeners(BuildbotQueue.Event.UnauthorizedAccess, { }); 152 153 }.bind(this), 153 154 {withCredentials: this.buildbot.needsAuthentication} -
trunk/Tools/ChangeLog
r175160 r175166 1 2014-10-24 Dan Bernstein <mitz@apple.com> 2 3 build.webkit.org/dashboard immediately retries a request to buildbot when the response is 404 4 https://bugs.webkit.org/show_bug.cgi?id=138046 5 6 Reviewed by Alexey Proskuryakov. 7 8 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js: 9 (BuildbotQueue.prototype._load): Only consider retrying immediately if the error code was 10 401. Otherwise, we’ll retry normally in 45 seconds. 11 1 12 2014-10-24 Marcos Chavarría Teijeiro <chavarria1991@gmail.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.