Changeset 264745 in webkit


Ignore:
Timestamp:
Jul 22, 2020 9:20:47 PM (4 years ago)
Author:
keith_miller@apple.com
Message:

iOS simulator does not support WebAssembly
https://bugs.webkit.org/show_bug.cgi?id=191064

Reviewed by Yusuke Suzuki.

Now that it seems we can JIT in the Simulator we should enable
WebAssembly there. This just means enabling FTL/B3 so WASM gets
enabled.

  • wtf/PlatformEnable.h:
  • wtf/PlatformEnableCocoa.h:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/platform/ios-simulator/TestExpectations

    r264561 r264745  
    4141# we explicitly disallow this because this font is too slow.
    4242fast/text/initial-advance-in-intermediate-run-complex.html [ ImageOnlyFailure ]
    43 
    44 # Simulator doesn't support WebAssembly.
    45 http/tests/security/contentSecurityPolicy/WebAssembly-allowed.html [ Failure ]
    46 http/tests/security/contentSecurityPolicy/WebAssembly-blocked-in-about-blank-iframe.html [ Failure ]
    47 http/tests/security/contentSecurityPolicy/WebAssembly-blocked-in-external-script.html [ Failure ]
    48 http/tests/security/contentSecurityPolicy/WebAssembly-blocked-in-subframe.html [ Failure ]
    49 http/tests/security/contentSecurityPolicy/WebAssembly-blocked.html [ Failure ]
    50 imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.html [ Failure ]
    51 imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.serviceworker.html [ Failure ]
    52 imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.worker.html [ Failure ]
    53 wasm/iframe-postmessage.html [ Skip ]
    54 wasm/iframe-parent-postmessage.html [ Skip ]
    55 wasm/window-postmessage.html [ Skip ]
    56 imported/w3c/web-platform-tests/encoding/encodeInto.any.html [ Skip ]
    57 imported/w3c/web-platform-tests/encoding/encodeInto.any.worker.html [ Skip ]
    58 imported/w3c/web-platform-tests/encoding/streams/decode-utf8.any.html [ Skip ]
    59 imported/w3c/web-platform-tests/encoding/streams/decode-utf8.any.worker.html [ Skip ]
    60 imported/w3c/web-platform-tests/encoding/textdecoder-copy.any.html [ Skip ]
    61 imported/w3c/web-platform-tests/encoding/textdecoder-copy.any.worker.html [ Skip ]
    62 imported/w3c/web-platform-tests/encoding/textdecoder-streaming.any.html [ Skip ]
    63 imported/w3c/web-platform-tests/encoding/textdecoder-streaming.any.worker.html [ Skip ]
    6443
    6544# These tests seem to fail due pixel rounding errors in the absolute positioned elements used as reference.
  • trunk/Source/WTF/ChangeLog

    r264743 r264745  
     12020-07-22  Keith Miller  <keith_miller@apple.com>
     2
     3        iOS simulator does not support WebAssembly
     4        https://bugs.webkit.org/show_bug.cgi?id=191064
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        Now that it seems we can JIT in the Simulator we should enable
     9        WebAssembly there. This just means enabling FTL/B3 so WASM gets
     10        enabled.
     11
     12        * wtf/PlatformEnable.h:
     13        * wtf/PlatformEnableCocoa.h:
     14
    1152020-07-22  Geoffrey Garen  <ggaren@apple.com>
    216
  • trunk/Source/WTF/wtf/PlatformEnable.h

    r264219 r264745  
    611611#endif
    612612
    613 /* FIXME: This should be turned into an #error invariant */
    614 /* The FTL is disabled on the iOS simulator, mostly for simplicity. */
    615 #if PLATFORM(IOS_FAMILY_SIMULATOR)
    616 #undef ENABLE_FTL_JIT
    617 #define ENABLE_FTL_JIT 0
    618 #endif
    619 
    620613/* If possible, try to enable a disassembler. This is optional. We proceed in two
    621614   steps: first we try to find some disassembler that we can use, and then we
  • trunk/Source/WTF/wtf/PlatformEnableCocoa.h

    r263977 r264745  
    205205#endif
    206206
    207 #if !defined(ENABLE_FTL_JIT) && !USE(JSVALUE32_64) && !PLATFORM(IOS_FAMILY_SIMULATOR)
     207#if !defined(ENABLE_FTL_JIT) && !USE(JSVALUE32_64)
    208208#define ENABLE_FTL_JIT 1
    209209#endif
Note: See TracChangeset for help on using the changeset viewer.