Bug 185398 - Web Inspector: split-up async stack trace test suite to improve clarity and maintainability
Summary: Web Inspector: split-up async stack trace test suite to improve clarity and m...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Matt Baker
URL:
Keywords: InRadar
Depends on: 181580
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-07 15:54 PDT by Matt Baker
Modified: 2018-08-06 16:53 PDT (History)
8 users (show)

See Also:


Attachments
Patch (36.40 KB, patch)
2018-05-07 15:58 PDT, Matt Baker
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-sierra (2.22 MB, application/zip)
2018-05-07 17:03 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews104 for mac-sierra-wk2 (2.71 MB, application/zip)
2018-05-07 17:09 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews113 for mac-sierra (3.07 MB, application/zip)
2018-05-07 17:13 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews200 for win-future (12.89 MB, application/zip)
2018-05-07 19:37 PDT, EWS Watchlist
no flags Details
Patch (38.16 KB, patch)
2018-05-11 15:22 PDT, Matt Baker
no flags Details | Formatted Diff | Diff
Patch for landing (37.45 KB, patch)
2018-07-31 16:14 PDT, Matt Baker
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews200 for win-future (12.87 MB, application/zip)
2018-08-01 04:55 PDT, EWS Watchlist
no flags Details
Patch for landing (37.51 KB, patch)
2018-08-06 16:12 PDT, Matt Baker
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Baker 2018-05-07 15:54:16 PDT
Summary:
Split-up async stack trace test suite to improve clarity and maintainability. Currently this suite is marked '[ Pass Timeout ]', which can be removed since we'll be able to set test expectations at a finer level going forward.
Comment 1 Radar WebKit Bug Importer 2018-05-07 15:55:52 PDT
<rdar://problem/40040289>
Comment 2 Matt Baker 2018-05-07 15:58:43 PDT
Created attachment 339762 [details]
Patch
Comment 3 EWS Watchlist 2018-05-07 17:03:25 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2018-05-07 17:03:26 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2018-05-07 17:09:22 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2018-05-07 17:09:23 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2018-05-07 17:13:37 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2018-05-07 17:13:38 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2018-05-07 19:37:19 PDT Comment hidden (obsolete)
Comment 10 EWS Watchlist 2018-05-07 19:37:31 PDT Comment hidden (obsolete)
Comment 11 BJ Burg 2018-05-11 09:51:51 PDT
Comment on attachment 339762 [details]
Patch

This fails in EWS. Do you need to rebaseline or something?
Comment 12 Matt Baker 2018-05-11 15:22:09 PDT
Created attachment 340227 [details]
Patch
Comment 13 Joseph Pecoraro 2018-07-31 11:36:47 PDT
Comment on attachment 340227 [details]
Patch

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

Nice! r=me

> LayoutTests/inspector/debugger/async-stack-trace-basic.html:34
> +function triggerNestedSetTimeout() {
> +    setTimeout(function handleTimeout1() {
> +        setTimeout(function handleTimeout2() {
> +            debugger;
> +        });
> +    });
> +}

This is so very clean =)

> LayoutTests/inspector/debugger/async-stack-trace-basic.html:70
> +        expression: "triggerRequestAnimationFrame()",

Nit: We normally make strings that contain code templated strings. So use ``s instead of ""s. This ends up being convenient if your editor highlights strings and templated strings slightly differently, then the code snippets stand out!

> LayoutTests/inspector/debugger/async-stack-trace-truncate.html:82
> +        name: "AsyncStackTrace.",
> +        description: "",

More descriptive title?
Comment 14 Matt Baker 2018-07-31 11:39:40 PDT
Comment on attachment 340227 [details]
Patch

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

>> LayoutTests/inspector/debugger/async-stack-trace-truncate.html:82
>> +        description: "",
> 
> More descriptive title?

As in, any title at all? Hehe.
Comment 15 Matt Baker 2018-07-31 11:43:29 PDT
Comment on attachment 340227 [details]
Patch

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

>>> LayoutTests/inspector/debugger/async-stack-trace-truncate.html:82
>>> +        description: "",
>> 
>> More descriptive title?
> 
> As in, any title at all? Hehe.

Actually that last test is functionally identical to the one before. Looks like old copy paste junk. Will remove.
Comment 16 Matt Baker 2018-07-31 16:14:46 PDT
Created attachment 346215 [details]
Patch for landing
Comment 17 EWS Watchlist 2018-08-01 04:55:30 PDT
Comment on attachment 346215 [details]
Patch for landing

Attachment 346215 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/8722268

New failing tests:
http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-video.html
Comment 18 EWS Watchlist 2018-08-01 04:55:42 PDT
Created attachment 346271 [details]
Archive of layout-test-results from ews200 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews200  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 19 Matt Baker 2018-08-06 16:12:51 PDT
Created attachment 346664 [details]
Patch for landing
Comment 20 WebKit Commit Bot 2018-08-06 16:53:39 PDT
Comment on attachment 346664 [details]
Patch for landing

Clearing flags on attachment: 346664

Committed r234635: <https://trac.webkit.org/changeset/234635>
Comment 21 WebKit Commit Bot 2018-08-06 16:53:41 PDT
All reviewed patches have been landed.  Closing bug.