[html5] r8361 - [giow] (2) Describe what happens when you try to run a bad script as a worker Fi [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 16 15:20:46 PST 2013


Author: ianh
Date: 2013-12-16 15:20:45 -0800 (Mon, 16 Dec 2013)
New Revision: 8361

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Describe what happens when you try to run a bad script as a worker
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24088
Affected topics: DOM APIs, Workers

Modified: complete.html
===================================================================
--- complete.html	2013-12-16 23:05:11 UTC (rev 8360)
+++ complete.html	2013-12-16 23:20:45 UTC (rev 8361)
@@ -82621,7 +82621,9 @@
 
     <p>Parse/compile/initialize <var title="">source</var> using that <a href=#script-execution-environment>script execution
     environment</a>, as appropriate for <var title="">language</var>, and thus obtain a
-    <a href=#code-entry-point>code entry-point</a>.</p>
+    <a href=#code-entry-point>code entry-point</a>. If the script was not compiled successfully, let the <a href=#code-entry-point>code
+    entry-point</a> be a no-op script, and act as if a corresponding uncaught script error had
+    occurred.</p>
 
     <p>Let <var title="">script</var>'s <a href=#settings-object>settings object</a> be <var title="">settings
     object</var>.</p>

Modified: index
===================================================================
--- index	2013-12-16 23:05:11 UTC (rev 8360)
+++ index	2013-12-16 23:20:45 UTC (rev 8361)
@@ -82621,7 +82621,9 @@
 
     <p>Parse/compile/initialize <var title="">source</var> using that <a href=#script-execution-environment>script execution
     environment</a>, as appropriate for <var title="">language</var>, and thus obtain a
-    <a href=#code-entry-point>code entry-point</a>.</p>
+    <a href=#code-entry-point>code entry-point</a>. If the script was not compiled successfully, let the <a href=#code-entry-point>code
+    entry-point</a> be a no-op script, and act as if a corresponding uncaught script error had
+    occurred.</p>
 
     <p>Let <var title="">script</var>'s <a href=#settings-object>settings object</a> be <var title="">settings
     object</var>.</p>

Modified: source
===================================================================
--- source	2013-12-16 23:05:11 UTC (rev 8360)
+++ source	2013-12-16 23:20:45 UTC (rev 8361)
@@ -91901,7 +91901,9 @@
 
     <p>Parse/compile/initialize <var data-x="">source</var> using that <span>script execution
     environment</span>, as appropriate for <var data-x="">language</var>, and thus obtain a
-    <span>code entry-point</span>.</p>
+    <span>code entry-point</span>. If the script was not compiled successfully, let the <span>code
+    entry-point</span> be a no-op script, and act as if a corresponding uncaught script error had
+    occurred.</p>
 
     <p>Let <var data-x="">script</var>'s <span>settings object</span> be <var data-x="">settings
     object</var>.</p>




More information about the Commit-Watchers mailing list