Bug 162074

Summary: Web Inspector: adopt Object.awaitEvent in LayoutTests/inspector/model
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 161634    
Attachments:
Description Flags
Patch
none
Patch none

Description Devin Rousso 2016-09-16 10:51:02 PDT
.
Comment 1 Radar WebKit Bug Importer 2016-09-16 10:51:23 PDT
<rdar://problem/28340084>
Comment 2 Devin Rousso 2016-09-16 16:40:14 PDT
Created attachment 289135 [details]
Patch
Comment 3 BJ Burg 2016-09-19 06:59:03 PDT
Comment on attachment 289135 [details]
Patch

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

Please post a new version that reverts setTimeout changes for EWS. then I will r+ it.

> LayoutTests/inspector/model/scope-chain-node.html:77
> +            InspectorTest.evaluateInPage("testAllScopes()");

Please keep this as a setTimeout. Joe says it is necessary to do this whenever we rely on stack traces not including stack frames from InspectorTest code.

> LayoutTests/inspector/model/scope-chain-node.html:97
> +            InspectorTest.evaluateInPage("testFunctionNameScope1()");

See above.

> LayoutTests/inspector/model/scope-chain-node.html:117
> +            InspectorTest.evaluateInPage("testFunctionNameScope2()");

Ditto.

> LayoutTests/inspector/model/scope-chain-node.html:167
> +            InspectorTest.evaluateInPage("testBlockScopes()");

Ditto.
Comment 4 Devin Rousso 2016-09-19 16:23:04 PDT
Created attachment 289274 [details]
Patch
Comment 5 BJ Burg 2016-09-20 03:13:06 PDT
Comment on attachment 289274 [details]
Patch

r=me
Comment 6 WebKit Commit Bot 2016-09-20 10:31:04 PDT
Comment on attachment 289274 [details]
Patch

Clearing flags on attachment: 289274

Committed r206152: <http://trac.webkit.org/changeset/206152>
Comment 7 WebKit Commit Bot 2016-09-20 10:31:08 PDT
All reviewed patches have been landed.  Closing bug.