<?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>182603</bug_id>
          
          <creation_ts>2018-02-08 07:02:49 -0800</creation_ts>
          <short_desc>REGRESSION(r228260): [GTK] Broke several web workers tests</short_desc>
          <delta_ts>2018-02-09 16:15:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=179591</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miguel Gomez">magomez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cdumez</cc>
    
    <cc>darin</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1397522</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2018-02-08 07:02:49 -0800</bug_when>
    <thetext>r228260 caused several tests to start failing, crashing or timing out:

imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_colno.htm [ Failure ]
imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_filename.htm [ Failure ]
imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_lineno.htm [ Failure ]
imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_message.htm [ Failure ]
imported/w3c/web-platform-tests/workers/Worker_ErrorEvent_error.htm [ Failure ]
imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/exception-in-onerror.html [ Failure ]
imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/handled.html [ Failure ]
storage/indexeddb/transaction-complete-workers-private.html [ Crash ]
storage/indexeddb/transaction-complete-workers.html [ Crash ]
fast/workers/worker-script-error.html [ Timeout ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1397535</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-02-08 08:33:00 -0800</bug_when>
    <thetext>Can you post text diffs for the tests with failure results, and backtraces for the tests that crash? Otherwise, it&apos;s not likely that anybody will look at this bug.

Also, it&apos;s helpful to include the name of the commit alongside the revision number. These regressions were caused by r228260 &quot;Event improvements&quot;. The commit name should help Darin understand why he was CCed. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1397851</commentid>
    <comment_count>2</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2018-02-09 00:31:00 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #1)
&gt; Can you post text diffs for the tests with failure results, and backtraces
&gt; for the tests that crash? Otherwise, it&apos;s not likely that anybody will look
&gt; at this bug.

Incoming diffs!!

imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_colno.htm [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_colno-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_colno-actual.txt
@@ -1,4 +1,6 @@
 CONSOLE MESSAGE: line 3: Error: Error Message
 
-PASS  WorkerGlobalScope onerror event handler argument: col  
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT  WorkerGlobalScope onerror event handler argument: col  Test timed out
+

imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_filename.htm [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_filename-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_filename-actual.txt
@@ -1,4 +1,6 @@
 CONSOLE MESSAGE: line 3: Error: Error Message
 
-PASS  WorkerGlobalScope onerror event handler argument: location  
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT  WorkerGlobalScope onerror event handler argument: location  Test timed out
+

imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_lineno.htm [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_lineno-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_lineno-actual.txt
@@ -1,4 +1,6 @@
 CONSOLE MESSAGE: line 3: Error: Error Message
 
-PASS  WorkerGlobalScope onerror event handler argument: line  
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT  WorkerGlobalScope onerror event handler argument: line  Test timed out
+

imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_message.htm [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_message-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/WorkerGlobalScope_ErrorEvent_message-actual.txt
@@ -1,4 +1,6 @@
 CONSOLE MESSAGE: line 3: Error: Error Message
 
-PASS  WorkerGlobalScope onerror event handler argument: message  
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT  WorkerGlobalScope onerror event handler argument: message  Test timed out
+

imported/w3c/web-platform-tests/workers/Worker_ErrorEvent_error.htm [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/Worker_ErrorEvent_error-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/Worker_ErrorEvent_error-actual.txt
@@ -1,6 +1,8 @@
 CONSOLE MESSAGE: line 9: hello
 
+Harness Error (TIMEOUT), message = null
+
 PASS Error handler outside the worker should not see the error value 
-PASS Error handlers inside a worker should see the error value 
+TIMEOUT Error handlers inside a worker should see the error value Test timed out
 PASS Untitled 
 

imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/exception-in-onerror.html [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/exception-in-onerror-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/exception-in-onerror-actual.txt
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 3: ReferenceError: Can&apos;t find variable: y
 
 PASS onerror, &quot;not handled&quot; with an error in the onerror function 
 

imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/handled.html [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/handled-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/workers/interfaces/WorkerGlobalScope/onerror/handled-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 7: ReferenceError: Can&apos;t find variable: y
 
-PASS onerror, &quot;handled&quot; 
+FAIL onerror, &quot;handled&quot; assert_unreached: Reached unreachable code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1398111</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-02-09 15:10:30 -0800</bug_when>
    <thetext>I believe I fixed this in trac.webkit.org/r228276. Do you still experience these issues in the GTK port? The issues when away on Mac / iOS ports.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1398115</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-02-09 15:14:58 -0800</bug_when>
    <thetext>Tentatively marking as resolved by trac.webkit.org/changeset/228276/webkit as I do not see these tests failing on the GTK bots (anymore). Please reopen if there is still an issue for the GTK port caused by r228260 and I will help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1398145</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-02-09 16:15:16 -0800</bug_when>
    <thetext>Thanks Chris! I bet you solved it, indeed. I&apos;ll remove the expectations.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>