Skip to content

[wasm] JS Interop tests failing with latest chrome - JavaScript host object 'SharedArrayBuffer' not found #61945

Closed

Description

@radical

#61937 upgrades chrome used to run the tests, to the latest stable version - 96.0.4664.45:

[22:46:06] fail: [FAIL] System.Runtime.InteropServices.JavaScript.Tests.JavaScriptTests.CoreTypes
[22:46:06] info: System.Runtime.InteropServices.JavaScript.JSException : JavaScript host object 'SharedArrayBuffer' not found.
[22:46:06] info:    at System.Runtime.InteropServices.JavaScript.Runtime.CreateCSOwnedObject(JSObject proxy, String typeName, Object[] parms)
[22:46:06] info:    at System.Runtime.InteropServices.JavaScript.JSObject..ctor(String typeName, Object[] _params)
[22:46:06] info:    at System.Runtime.InteropServices.JavaScript.CoreObject..ctor(String typeName, Object[] _params)
[22:46:06] info:    at System.Runtime.InteropServices.JavaScript.SharedArrayBuffer..ctor(Int32 length)
[22:46:06] info:    at System.Runtime.InteropServices.JavaScript.Tests.JavaScriptTests.CoreTypes()
[22:46:06] info:    at System.Reflection.RuntimeMethodInfo.InvokeWorker(Object obj, BindingFlags invokeAttr, Span`1 parameters)

Build, and Log

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Nov 22, 2021
  2. radical commented on Nov 22, 2021

    @radical
    MemberAuthor
  3. kg commented on Nov 22, 2021

    @kg
    Contributor

    What version of chrome was it previously? They're changing the requirements to access it. https://developer.chrome.com/blog/enabling-shared-array-buffer/

  4. radical commented on Nov 22, 2021

    @radical
    MemberAuthor

    We were running with - 84.0.4147.105

  5. added
    disabled-testThe test is disabled in source code against the issue
    on Nov 23, 2021
  6. kg commented on Nov 23, 2021

    @kg
    Contributor

    Then based on that post I linked, this is an expected failure and we need to make policy header changes. I don't know exactly how it works since COEP/COOP/etc headers are a nightmare. It might be as simple as generating the right headers in whatever httpd we use to serve tests.

  7. pavelsavara commented on Nov 23, 2021

    @pavelsavara
    Member

    I can reproduce it locally. I will have look at xharness http server and see if we could set the headers.
    Possibly there are few remaining endpoints we touch on Azure for HTTP unit tests in [OuterLoop] I wonder if that's impacted.

  8. removed
    untriagedNew issue has not been triaged by the area owner
    on Nov 23, 2021
  9. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Nov 24, 2021
  10. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Nov 29, 2021
  11. ghost locked as resolved and limited conversation to collaborators on Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions