Bug 185432

Summary: Consecutive messages logged as JSON are coalesced
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: Web InspectorAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, inspector-bugzilla-changes, joepeck, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
joepeck: review+
Patch for landing
commit-queue: commit-queue-
Patch for landing
ews-watchlist: commit-queue-
Archive of layout-test-results from ews201 for win-future none

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>