<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I suggest reopening and restarting investigation on:</div><div class=""><<a href="https://webkit.org/b/135830" class="">https://webkit.org/b/135830</a>> Promise reactions in the Inspector page do not run when the debugger is paused on the inspected page</div><div class=""><br class=""></div><div class="">The bug already has some analysis. You could use that to verify if your case is the same and investigate a fix. Since the time that bug was closed Promises have been used in other places in the inspector, so WebKit1 inspection may suffer from other more subtle issues with the same cause.<br class=""><br class=""></div><div class="">Further communication can happen in the bugzilla bug.</div><div class=""><br class=""></div><div class="">- Joe</div><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 2, 2015, at 4:20 PM, Vienneau, Christopher <<a href="mailto:cvienneau@ea.com" class="">cvienneau@ea.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: MyriadSet-Text; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">WinCairo and our port are both WebKit1, so your suggestion sounds quite plausible. On our port we also hooked up remote WebInpsector but it suffers from the same issue, due to the way its hooked up I think it would be pretty much with WebKit1 way of doing things here too. Are there any suggestions on how we might verify and workaround this issue?<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Chris<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div class=""><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0in 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><b class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="Apple-converted-space"> </span><a href="mailto:pecoraro@apple.com" class="">pecoraro@apple.com</a> [<a href="mailto:pecoraro@apple.com" class="">mailto:pecoraro@apple.com</a>]<span class="Apple-converted-space"> </span><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Friday, October 02, 2015 3:12 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Vienneau, Christopher <<a href="mailto:cvienneau@ea.com" class="">cvienneau@ea.com</a>><br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>WebKit Development <<a href="mailto:webkit-dev@lists.webkit.org" class="">webkit-dev@lists.webkit.org</a>>; Alex Christensen <<a href="mailto:achristensen@apple.com" class="">achristensen@apple.com</a>>; Sharma, Rupali <<a href="mailto:rupsharma@ea.com" class="">rupsharma@ea.com</a>><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [webkit-dev] [webkit-help] Issue with Web Inspector debugger breakpoint handling (on Wincairo)<o:p class=""></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">Here are the simple steps to reproduce it,</span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></div></div><div style="margin-left: 0.5in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -0.25in;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">1.</span><span style="font-size: 7pt; color: rgb(32, 56, 100);" class=""> <span class="apple-converted-space"> </span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">Launch WinCairo and go to<span class="apple-converted-space"> </span><a href="http://google.com/" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(149, 79, 114);" class="">google.com</span></a></span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></div></div><div style="margin-left: 0.5in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -0.25in;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">2.</span><span style="font-size: 7pt; color: rgb(32, 56, 100);" class=""> <span class="apple-converted-space"> </span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">Open Web inspector and open the script source of any .js script</span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></div></div><div style="margin-left: 0.5in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -0.25in;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">3.</span><span style="font-size: 7pt; color: rgb(32, 56, 100);" class=""> <span class="apple-converted-space"> </span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">Set a breakpoint anywhere</span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></div></div><div style="margin-left: 0.5in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -0.25in;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">4.</span><span style="font-size: 7pt; color: rgb(32, 56, 100);" class=""> <span class="apple-converted-space"> </span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">Reload the web page</span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class=""> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(32, 56, 100);" class="">What we see is the spinner spinning and never the script source. However, if one presses continue-script-execution from the debugger controls, we get the view back.</span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></div></div></div></blockquote><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Is WinCairo using WebKit1 or WebKit2?<o:p class=""></o:p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">This sounds like a known issue with WebKit1 where the inspector frontend page lives in the same process as the inspected page. In this situation pausing a page prevents Promise reactions from firing in the inspector frontend page. Loading resource content in the frontend depends on Promises. This should not be a problem in a WebKit2 world where the inspector frontend page lives in a separate process.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">- Joe</div></div></div></div></blockquote></div><br class=""></body></html>