<?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>164410</bug_id>
          
          <creation_ts>2016-11-04 04:48:32 -0700</creation_ts>
          <short_desc>Regex special-casing removed from WebIDL spec</short_desc>
          <delta_ts>2022-09-04 13:24:03 -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>Bindings</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=123416</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="Tobie Langel">tobie.langel</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1248097</commentid>
    <comment_count>0</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2016-11-04 04:48:32 -0700</bug_when>
    <thetext>Heads-up that we&apos;ve stopped special casing Regexp in the WebIDL spec as of
https://github.com/heycam/webidl/commit/bbb2bde

Here&apos;s a diff of what that looks like in the rendered HTML spec:
[diff]: https://services.w3.org/htmldiff?doc1=https%3A%2F%2Fcdn.rawgit.com%2Fheycam%2Fwebidl%2F001ba52%2Findex.html&amp;doc2=https%3A%2F%2Fcdn.rawgit.com%2Ftobie%2Fwebidl%2F00b9786%2Findex.html

That means that the following algorithms now allow regexes in places where they previously didn&apos;t:

1. to convert an ES value to a dictionary: https://heycam.github.io/webidl/#es-dictionary
2. to convert an ES value to a sequence: https://heycam.github.io/webidl/#es-sequence
3. to convert an ES value to a union type (step 5 and 11): https://heycam.github.io/webidl/#es-union
4. the substeps of step 11 of the overload resolution algorithm: https://heycam.github.io/webidl/#es-overloads

There are also some modifications to the section on User objects implementing callback interfaces:
https://heycam.github.io/webidl/#es-user-objects

I opened an issue against web-platform-tests&apos;s testharness to account for these changes:
https://github.com/w3c/testharness.js/issues/223

Please raise any concerns by opening an issue against the spec:
https://github.com/heycam/webidl/issues/new

Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>