<?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>117313</bug_id>
          
          <creation_ts>2013-06-06 12:00:26 -0700</creation_ts>
          <short_desc>Custom uri scheme does not work with synchronous XMLHttpRequest</short_desc>
          <delta_ts>2025-01-09 10:11:44 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=61007</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>0</everconfirmed>
          <reporter name="Daniel Narvaez">dwnarvaez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>897869</commentid>
    <comment_count>0</comment_count>
      <attachid>203955</attachid>
    <who name="Daniel Narvaez">dwnarvaez</who>
    <bug_when>2013-06-06 12:00:26 -0700</bug_when>
    <thetext>Created attachment 203955
Testcase. Put it in the same dir of the python file.

The page hangs for a few seconds then the following error is printed

(WebKitWebProcess:4793): GLib-GIO-WARNING **: g_simple_async_result_complete() called from wrong context!

Attaching a testcase. I have tested with Webkit 2.0.2, I&apos;ll also test with master as soon as I have the source pulled and built.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897870</commentid>
    <comment_count>1</comment_count>
      <attachid>203956</attachid>
    <who name="Daniel Narvaez">dwnarvaez</who>
    <bug_when>2013-06-06 12:00:57 -0700</bug_when>
    <thetext>Created attachment 203956
Testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>898212</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Narvaez">dwnarvaez</who>
    <bug_when>2013-06-07 09:44:41 -0700</bug_when>
    <thetext>At the moment I can&apos;t test on master because of https://bugs.webkit.org/show_bug.cgi?id=117178</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900610</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Narvaez">dwnarvaez</who>
    <bug_when>2013-06-14 11:35:27 -0700</bug_when>
    <thetext>I confirmed this happens on latest master too.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>203955</attachid>
            <date>2013-06-06 12:00:26 -0700</date>
            <delta_ts>2013-06-06 12:00:26 -0700</delta_ts>
            <desc>Testcase. Put it in the same dir of the python file.</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>496</size>
            <attacher name="Daniel Narvaez">dwnarvaez</attacher>
            
              <data encoding="base64">aTwhRE9DVFlQRSBodG1sPgo8aHRtbCBsYW5nPSJlbiI+Cgo8aGVhZD4KPG1ldGEgY2hhcnNldD0i
dXRmLTgiIC8+Cjx0aXRsZT48L3RpdGxlPgo8c2NyaXB0PgpmdW5jdGlvbiBsb2FkKCkgewogICAg
ZnVuY3Rpb24gaGFuZGxlcigpIHsKICAgICAgICBpZiAodGhpcy5yZWFkeVN0YXRlID09IHRoaXMu
RE9ORSkgewogICAgICAgICAgICBhbGVydCh0aGlzLnJlc3BvbnNlWG1sKTsKICAgICAgICB9CiAg
ICB9CgogICAgdmFyIGNsaWVudCA9IG5ldyBYTUxIdHRwUmVxdWVzdCgpOwogICAgY2xpZW50Lm9u
cmVhZHlzdGF0ZWNoYW5nZSA9IGhhbmRsZXI7CiAgICBjbGllbnQub3BlbigiR0VUIiwgInRlc3Q6
L2V0Yy9yZXNvbHYuY29uZiIsIGZhbHNlKTsKICAgIGNsaWVudC5zZW5kKCk7CgogICAgcmV0dXJu
IGZhbHNlOwp9Cjwvc2NyaXB0PgoKPC9oZWFkPgoKPGJvZHk+CjxhIGhyZWY9IiMiIG9uY2xpY2s9
ImxvYWQoKTsiPkNsaWNrIG1lPC9hPgo8L2JvZHk+Cgo8L2h0bWw+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>203956</attachid>
            <date>2013-06-06 12:00:57 -0700</date>
            <delta_ts>2013-06-06 12:00:57 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>test.py</filename>
            <type>text/x-python</type>
            <size>580</size>
            <attacher name="Daniel Narvaez">dwnarvaez</attacher>
            
              <data encoding="base64">aW1wb3J0IG9zCgpmcm9tIGdpLnJlcG9zaXRvcnkgaW1wb3J0IFdlYktpdDIKZnJvbSBnaS5yZXBv
c2l0b3J5IGltcG9ydCBHdGsKZnJvbSBnaS5yZXBvc2l0b3J5IGltcG9ydCBHaW8KCmRlZiB0ZXN0
X3NjaGVtZV9jYihyZXF1ZXN0LCB1c2VyX2RhdGEpOgogICAgcGF0aCA9IHJlcXVlc3QuZ2V0X3Bh
dGgoKQogICAgcHJpbnQgcGF0aAogICAgcmVxdWVzdC5maW5pc2goR2lvLkZpbGUubmV3X2Zvcl9w
YXRoKHBhdGgpLnJlYWQoTm9uZSksCiAgICAgICAgICAgICAgICAgICAtMSwgR2lvLmNvbnRlbnRf
dHlwZV9ndWVzcyhwYXRoLCBOb25lKVswXSkKCndpbmRvdyA9IEd0ay5XaW5kb3coKQp3ZWJfdmll
dyA9IFdlYktpdDIuV2ViVmlldygpCndpbmRvdy5hZGQod2ViX3ZpZXcpCndpbmRvdy5zaG93X2Fs
bCgpCgpjb250ZXh0ID0gV2ViS2l0Mi5XZWJDb250ZXh0LmdldF9kZWZhdWx0KCkKY29udGV4dC5y
ZWdpc3Rlcl91cmlfc2NoZW1lKCJ0ZXN0IiwgdGVzdF9zY2hlbWVfY2IsIE5vbmUpCgp3ZWJfdmll
dy5sb2FkX3VyaSgidGVzdDovLyVzIiAlIG9zLnBhdGguYWJzcGF0aCgidGVzdC5odG1sIikpCgpH
dGsubWFpbigpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>