| Summary: | [GTK] Layout test inspector-protocol/debugger/setBreakpoint-dfg-callee-and-examine-dfg-local.html is flaky | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||||||
| Component: | WebKitGTK | Assignee: | Yury Semikhatsky <yurys> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bugs-noreply, commit-queue, ggaren, hi, msaboff, yurys | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Carlos Alberto Lopez Perez
2014-12-07 04:27:54 PST
Marked accordingly on the GTK expectations on https://trac.webkit.org/r176922 Created attachment 380683 [details]
Patch
Comment on attachment 380683 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=380683&action=review rs=me, but please run it through EWS one more time since it looks like there were some (possibly unrelated) failures on mac-debug-wk1 > LayoutTests/inspector/debugger/setBreakpoint-dfg-callee-and-examine-dfg-local.html:99 > + setTimeout(function (responseObject) { What about this? ``` InspectorProtocol.awaitEvent({event: "Debugger.resumed"}).then(() => { ProtocolTest.log("Resumed from breakpoint"); ProtocolTest.log("Test complete"); ProtocolTest.completeTest(); }); InspectorProtocol.sendCommand("Debugger.resume"); ``` Comment on attachment 380683 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=380683&action=review >> LayoutTests/inspector/debugger/setBreakpoint-dfg-callee-and-examine-dfg-local.html:99 >> + setTimeout(function (responseObject) { > > What about this? > ``` > InspectorProtocol.awaitEvent({event: "Debugger.resumed"}).then(() => { > ProtocolTest.log("Resumed from breakpoint"); > ProtocolTest.log("Test complete"); > ProtocolTest.completeTest(); > }); > InspectorProtocol.sendCommand("Debugger.resume"); > ``` Yes, this will work, because Debugger.resumed is sent after exiting from the nested loop. Updated the test. Created attachment 381997 [details]
Patch for landing
Created attachment 381998 [details]
Patch for landing
Comment on attachment 381998 [details] Patch for landing Clearing flags on attachment: 381998 Committed r251628: <https://trac.webkit.org/changeset/251628> All reviewed patches have been landed. Closing bug. |