<?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>77160</bug_id>
          
          <creation_ts>2012-01-26 16:24:57 -0800</creation_ts>
          <short_desc>SchemeRegistry scheme registration is racey</short_desc>
          <delta_ts>2013-03-16 22:54:30 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <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="Cris Neckar">cdn</reporter>
          <assigned_to name="Cris Neckar">cdn</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>543637</commentid>
    <comment_count>0</comment_count>
    <who name="Cris Neckar">cdn</who>
    <bug_when>2012-01-26 16:24:57 -0800</bug_when>
    <thetext>Scheme registration within SchemeRegistry should only be able to occur from the main thread as pointed out by ap@ on https://bugs.webkit.org/show_bug.cgi?id=77041. Currently this is not enforced and in some cases this may cause a race.

We should fix this and add asserts (as AP suggested) to all of the scheme registries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>543649</commentid>
    <comment_count>1</comment_count>
      <attachid>124213</attachid>
    <who name="Cris Neckar">cdn</who>
    <bug_when>2012-01-26 16:44:27 -0800</bug_when>
    <thetext>Created attachment 124213
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>543651</commentid>
    <comment_count>2</comment_count>
      <attachid>124213</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-01-26 16:46:30 -0800</bug_when>
    <thetext>Comment on attachment 124213
Patch

WebKit usually prefers links to bugs rather than parenthetical comments.  (We&apos;re lazy that way.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>543659</commentid>
    <comment_count>3</comment_count>
    <who name="Cris Neckar">cdn</who>
    <bug_when>2012-01-26 16:54:43 -0800</bug_when>
    <thetext>Committed r106064: &lt;http://trac.webkit.org/changeset/106064&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>543664</commentid>
    <comment_count>4</comment_count>
    <who name="Cris Neckar">cdn</who>
    <bug_when>2012-01-26 16:57:42 -0800</bug_when>
    <thetext>This patch was just to remove the assert and add a fixme</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>856678</commentid>
    <comment_count>5</comment_count>
      <attachid>124213</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-03-16 22:54:30 -0700</bug_when>
    <thetext>Comment on attachment 124213
Patch

Clearing r+ flag from a landed patch, so that this doesn&apos;t show up in commit queue.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>124213</attachid>
            <date>2012-01-26 16:44:27 -0800</date>
            <delta_ts>2013-03-16 22:54:29 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-77160-20120126164426.patch</filename>
            <type>text/plain</type>
            <size>1433</size>
            <attacher name="Cris Neckar">cdn</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9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