Bug 208251 - REGRESSION: (257410) [ macOS ] inspector/network/client-blocked-load.html is failing
Summary: REGRESSION: (257410) [ macOS ] inspector/network/client-blocked-load.html is ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on: 206911
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-26 11:07 PST by Jacob Uphoff
Modified: 2020-02-26 13:11 PST (History)
6 users (show)

See Also:


Attachments
Patch (1.76 KB, patch)
2020-02-26 11:30 PST, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Uphoff 2020-02-26 11:07:33 PST
inspector/network/client-blocked-load.html is failing after commit r257410 on all of Mac OS
Comment 1 Radar WebKit Bug Importer 2020-02-26 11:07:53 PST
<rdar://problem/59812765>
Comment 3 Jacob Uphoff 2020-02-26 11:20:23 PST
Diff: --- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/inspector/network/client-blocked-load-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/inspector/network/client-blocked-load-actual.txt
@@ -4,6 +4,8 @@
 == Running test suite: ClientBlockedResourceLoad
 -- Running test case: TriggerBlockedResourceLoad
 PASS: Resource should be created.
-PASS: Request url should be rewritten to the null string.
+FAIL: Request url should be rewritten to the null string.
+    Expected: truthy
+    Actual: false
 PASS: Resource load should fail.
Comment 4 Devin Rousso 2020-02-26 11:30:25 PST
Created attachment 391761 [details]
Patch
Comment 5 Timothy Hatcher 2020-02-26 12:09:55 PST
Comment on attachment 391761 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=391761&action=review

> Source/WebInspectorUI/UserInterface/Models/SourceCode.js:32
> +        this._url = url;

Could you use ?? Instead?
Comment 6 Devin Rousso 2020-02-26 12:27:29 PST
Comment on attachment 391761 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=391761&action=review

>> Source/WebInspectorUI/UserInterface/Models/SourceCode.js:32
>> +        this._url = url;
> 
> Could you use ?? Instead?

I could've, and initially I did just that :P

For the reason listed in the ChangeLog, I'd prefer to avoid introducing a potential other bug by changing functionality.  I think it's safer to just leave it as it was.
Comment 7 WebKit Commit Bot 2020-02-26 13:10:58 PST
Comment on attachment 391761 [details]
Patch

Clearing flags on attachment: 391761

Committed r257504: <https://trac.webkit.org/changeset/257504>
Comment 8 WebKit Commit Bot 2020-02-26 13:11:00 PST
All reviewed patches have been landed.  Closing bug.