From 484cd78d3742c47dfea5f252fbd365cd32a82d0c Mon Sep 17 00:00:00 2001 From: Matt Falkenhagen Date: Fri, 6 Jul 2018 17:47:24 +0900 Subject: [PATCH 1/3] Link to TC39 spec for "abrupt completion". It wasn't immediately obvious what abrupt completion referred to. --- source | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source b/source index b99a3a21c71..9cbd990bbe8 100644 --- a/source +++ b/source @@ -3031,6 +3031,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The Script production
  • The Type notation
  • +
  • The Completion Record specification type
  • The List and Record specification types
  • The Property Descriptor specification type
  • @@ -87319,7 +87320,7 @@ interface ApplicationCache : EventTarget {
  • -

    If evaluationStatus is an abrupt completion, then:

    +

    If evaluationStatus is an abrupt completion, then:

    1. @@ -87416,7 +87417,7 @@ interface ApplicationCache : EventTarget {
    2. -

      If evaluationStatus is an abrupt completion, then:

      +

      If evaluationStatus is an abrupt completion, then:

      1. If rethrow errors is true, rethrow the exception given by @@ -88160,7 +88161,7 @@ document.querySelector("button").addEventListener("click", bound);

      2. Clean up after running script with job settings.

      3. -
      4. If result is an abrupt completion, report the exception given by +

      5. If result is an abrupt completion, report the exception given by result.[[Value]].

    3. From 825ed0c02fe2cdbbda2b78dd06a7af53b6177586 Mon Sep 17 00:00:00 2001 From: Matt Falkenhagen Date: Fri, 6 Jul 2018 17:53:19 +0900 Subject: [PATCH 2/3] line-wrap --- source | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source b/source index 9cbd990bbe8..62418bd61d1 100644 --- a/source +++ b/source @@ -88161,8 +88161,10 @@ document.querySelector("button").addEventListener("click", bound);
    4. Clean up after running script with job settings.

    5. -
    6. If result is an abrupt completion, report the exception given by - result.[[Value]].

    7. +
    8. +

      If result is an abrupt completion, + report the exception given by result.[[Value]].

      +
  • From a1f9ce748b01dd3ef6fc407c7ada4865d8491f53 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 10 Jul 2018 15:11:28 -0400 Subject: [PATCH 3/3] Source formatting tweaks --- source | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/source b/source index 62418bd61d1..5735cb1775e 100644 --- a/source +++ b/source @@ -3031,7 +3031,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The Script production
  • The Type notation
  • -
  • The Completion Record specification type
  • +
  • The Completion Record specification type
  • The List and Record specification types
  • The Property Descriptor specification type
  • @@ -87320,7 +87320,7 @@ interface ApplicationCache : EventTarget {
  • -

    If evaluationStatus is an abrupt completion, then:

    +

    If evaluationStatus is an abrupt completion, then:

    1. @@ -87417,7 +87417,7 @@ interface ApplicationCache : EventTarget {
    2. -

      If evaluationStatus is an abrupt completion, then:

      +

      If evaluationStatus is an abrupt completion, then:

      1. If rethrow errors is true, rethrow the exception given by @@ -88161,10 +88161,8 @@ document.querySelector("button").addEventListener("click", bound);

      2. Clean up after running script with job settings.

      3. -
      4. -

        If result is an abrupt completion, - report the exception given by result.[[Value]].

        -
      5. +
      6. If result is an abrupt completion, then report the + exception given by result.[[Value]].