<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>154213</bug_id>
          
          <creation_ts>2016-02-13 01:14:14 -0800</creation_ts>
          <short_desc>Web Inspector: Improve support for console logging within workers</short_desc>
          <delta_ts>2016-10-22 03:41:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>163844</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>127634</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Joseph Pecoraro">joepeck</assigned_to>
          <cc>bburg</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1164509</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-02-13 01:14:14 -0800</bug_when>
    <thetext>* SUMMARY
Improve support for console logging within workers

* STEPS TO REPRODUCE
1. Start a worker
2. Log objects from within the worker
  =&gt; expect to interact with the objects via Inspector&apos;s console

* NOTES
- Worker&apos;s ScriptExecutionContext needs to be made visible to the Page&apos;s Inspector
- Previously Worker console messages had a flow like this
  -&gt; console.log
    -&gt; WorkerGlobalObject (worker thread)
      -&gt; InspectorInstrumentation::addConsoleMessage
        -&gt; WorkerConsoleAgent/WorkerInspectorController
          -&gt; WorkerFrontendChannel send workerId + JSON message to Page
            -&gt; Page executes task (main thread)
              -&gt; Worker.dispatchMessageFromWorker (json message)
                -&gt; frontend re-dispatches message within dispatch message

The rest can work with ConsoleAgent/RuntimeAgent for the Worker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164510</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-02-13 01:14:26 -0800</bug_when>
    <thetext>&lt;rdar://problem/24643249&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1243352</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-10-22 03:40:52 -0700</bug_when>
    <thetext>This will be addressed by bug 163844.

*** This bug has been marked as a duplicate of bug 163844 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1243354</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-10-22 03:41:00 -0700</bug_when>
    <thetext>This will be addressed by bug 163844.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>