Bug 185432 - Consecutive messages logged as JSON are coalesced
Summary: Consecutive messages logged as JSON are coalesced
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-05-08 11:12 PDT by Eric Carlson
Modified: 2019-10-14 12:27 PDT (History)
9 users (show)

See Also:


Attachments
Patch (6.24 KB, patch)
2018-05-08 11:31 PDT, Eric Carlson
joepeck: review+
Details | Formatted Diff | Diff
Patch for landing (6.27 KB, patch)
2018-05-08 14:07 PDT, Eric Carlson
commit-queue: commit-queue-
Details | Formatted Diff | Diff
Patch for landing (6.27 KB, patch)
2018-05-08 14:26 PDT, Eric Carlson
ews-watchlist: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews201 for win-future (12.77 MB, application/zip)
2018-05-08 20:25 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2018-05-08 11:12:03 PDT
ConsoleMessage::isEqual returns true for two messages with the same arguments but different JSON arguments, so they are coalesced.
Comment 1 Eric Carlson 2018-05-08 11:31:59 PDT
Created attachment 339847 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2018-05-08 11:39:30 PDT
<rdar://problem/40065321>
Comment 3 Joseph Pecoraro 2018-05-08 13:52:30 PDT
Comment on attachment 339847 [details]
Patch

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

r=me

> LayoutTests/inspector/console/webcore-logging.html:165
> +        name: "Console.Logging.LogAsJSON",

Maybe this should mention not repeating? Console.Logging.LogAsJSONWithoutRepeat"

> LayoutTests/inspector/console/webcore-logging.html:192
> +                        if (++messageCount == 3) {

Style: We prefer `===` where possible, but tests we can be lenient on style. Feel free to cq as is.
Comment 4 Eric Carlson 2018-05-08 14:06:27 PDT
Comment on attachment 339847 [details]
Patch

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

>> LayoutTests/inspector/console/webcore-logging.html:165
>> +        name: "Console.Logging.LogAsJSON",
> 
> Maybe this should mention not repeating? Console.Logging.LogAsJSONWithoutRepeat"

Good idea, fixed.

>> LayoutTests/inspector/console/webcore-logging.html:192
>> +                        if (++messageCount == 3) {
> 
> Style: We prefer `===` where possible, but tests we can be lenient on style. Feel free to cq as is.

Fixed.
Comment 5 Eric Carlson 2018-05-08 14:07:23 PDT
Created attachment 339875 [details]
Patch for landing
Comment 6 WebKit Commit Bot 2018-05-08 14:10:12 PDT
Comment on attachment 339875 [details]
Patch for landing

Rejecting attachment 339875 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'validate-changelog', '--check-oops', '--non-interactive', 339875, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in LayoutTests/ChangeLog contains OOPS!.

Full output: http://webkit-queues.webkit.org/results/7612099
Comment 7 Eric Carlson 2018-05-08 14:26:15 PDT
Created attachment 339877 [details]
Patch for landing
Comment 8 WebKit Commit Bot 2018-05-08 14:53:06 PDT
Comment on attachment 339877 [details]
Patch for landing

Clearing flags on attachment: 339877

Committed r231515: <https://trac.webkit.org/changeset/231515>
Comment 9 EWS Watchlist 2018-05-08 15:46:31 PDT
Comment on attachment 339877 [details]
Patch for landing

Attachment 339877 [details] did not pass jsc-ews (mac):
Output: http://webkit-queues.webkit.org/results/7613073

New failing tests:
stress/ftl-put-by-id-setter-exception-interesting-live-state.js.dfg-eager-no-cjit-validate
Comment 10 EWS Watchlist 2018-05-08 20:25:47 PDT
Comment on attachment 339877 [details]
Patch for landing

Attachment 339877 [details] did not pass win-ews (win):
Output: http://webkit-queues.webkit.org/results/7619200

New failing tests:
http/tests/security/webaudio-render-remote-audio-allowed-crossorigin.html
Comment 11 EWS Watchlist 2018-05-08 20:25:58 PDT
Created attachment 339924 [details]
Archive of layout-test-results from ews201 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews201  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 12 Joseph Pecoraro 2019-10-14 12:27:23 PDT
This had landed:
<https://trac.webkit.org/changeset/231515/webkit>