<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ossy&#64;webkit.org" title="Csaba Osztrogonác &lt;ossy&#64;webkit.org&gt;"> <span class="fn">Csaba Osztrogonác</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Fix the !ENABLE(FETCH_API) build"
   href="https://bugs.webkit.org/show_bug.cgi?id=164713">bug 164713</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>ossy&#64;webkit.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Fix the !ENABLE(FETCH_API) build"
   href="https://bugs.webkit.org/show_bug.cgi?id=164713#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Fix the !ENABLE(FETCH_API) build"
   href="https://bugs.webkit.org/show_bug.cgi?id=164713">bug 164713</a>
              from <span class="vcard"><a class="email" href="mailto:ossy&#64;webkit.org" title="Csaba Osztrogonác &lt;ossy&#64;webkit.org&gt;"> <span class="fn">Csaba Osztrogonác</span></a>
</span></b>
        <pre>...
#if ENABLE(FETCH_API)
JSC::EncodedJSValue JSC_HOST_CALL jsWorkerGlobalScopePrototypeFunctionFetchRequest(JSC::ExecState*);
#endif
...
void JSWorkerGlobalScopePrototype::finishCreation(VM&amp; vm)
{
    Base::finishCreation(vm);
    reifyStaticProperties(vm, JSWorkerGlobalScopePrototypeTableValues, *this);
#if ENABLE(FETCH_API)
    if (!RuntimeEnabledFeatures::sharedFeatures().fetchAPIEnabled()) {
        Identifier propertyName = Identifier::fromString(&amp;vm, reinterpret_cast&lt;const LChar*&gt;(&quot;fetch&quot;), strlen(&quot;fetch&quot;));
        VM::DeletePropertyModeScope scope(vm, VM::DeletePropertyMode::IgnoreConfigurable);
        JSObject::deleteProperty(this, globalObject()-&gt;globalExec(), propertyName);
    }
#endif
#if ENABLE(INDEXED_DATABASE_IN_WORKERS)
    if (!RuntimeEnabledFeatures::sharedFeatures().indexedDBWorkersEnabled()) {
        Identifier propertyName = Identifier::fromString(&amp;vm, reinterpret_cast&lt;const LChar*&gt;(&quot;indexedDB&quot;), strlen(&quot;indexedDB&quot;));
        VM::DeletePropertyModeScope scope(vm, VM::DeletePropertyMode::IgnoreConfigurable);
        JSObject::deleteProperty(this, globalObject()-&gt;globalExec(), propertyName);
    }
#endif
    JSVMClientData&amp; clientData = *static_cast&lt;JSVMClientData*&gt;(vm.clientData);
    putDirect(vm, clientData.builtinNames().fetchRequestPrivateName(), JSFunction::create(vm, globalObject(), 0, String(), jsWorkerGlobalScopePrototypeFunctionFetchRequest), ReadOnly | DontEnum); &lt;-------------------- BANG!!! This line should be guarded.
}</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>