[Webkit-unassigned] [Bug 130377] Web Inspector: sourceMapResourceLoaded expects statusCode parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 17 18:07:25 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=130377


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #226992|                            |review?, commit-queue?
               Flag|                            |




--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2014-03-17 18:07:46 PST ---
Created an attachment (id=226992)
 --> (https://bugs.webkit.org/attachment.cgi?id=226992&action=review)
[PATCH] Proposed Fix

Harmless, but nice cleanup.

Context:
...
82:        function sourceMapResourceLoaded(error, body, mimeType, statusCode)
83-        {
84-            const base64encoded = false;
85-
86-            if (error || statusCode >= 400) {
87-                this.markAsFailed();
...

js> undefined >= 400
false

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list