Changeset 240538 in webkit


Ignore:
Timestamp:
Jan 25, 2019 7:24:03 PM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Audit: unable to import audits
https://bugs.webkit.org/show_bug.cgi?id=193861

Reviewed by Joseph Pecoraro.

  • UserInterface/Controllers/AuditManager.js:

(WI.AuditManager.prototype.async processJSON):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r240534 r240538  
     12019-01-25  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Audit: unable to import audits
     4        https://bugs.webkit.org/show_bug.cgi?id=193861
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * UserInterface/Controllers/AuditManager.js:
     9        (WI.AuditManager.prototype.async processJSON):
     10
    1112019-01-25  Devin Rousso  <drousso@apple.com>
    212
  • trunk/Source/WebInspectorUI/UserInterface/Controllers/AuditManager.js

    r240471 r240538  
    199199        }
    200200
    201         if (json.type !== WI.AuditTestCase.TypeIdentifier || json.type !== WI.AuditTestGroup.TypeIdentifier
    202             || json.type !== WI.AuditTestCaseResult.TypeIdentifier || json.type !== WI.AuditTestGroupResult.TypeIdentifier) {
     201        if (json.type !== WI.AuditTestCase.TypeIdentifier && json.type !== WI.AuditTestGroup.TypeIdentifier
     202            && json.type !== WI.AuditTestCaseResult.TypeIdentifier && json.type !== WI.AuditTestGroupResult.TypeIdentifier) {
    203203            WI.AuditManager.synthesizeError(WI.UIString("unknown %s \u0022%s\u0022").format(WI.unlocalizedString("type"), json.type));
    204204            return;
Note: See TracChangeset for help on using the changeset viewer.