Skip to content

Partition embedded Audio platform source for MSVC #832

Description

@wieslawsoltes

Parent: #687. Release coordination: #227.

Problem

Exact native package run 35508413233 reaches the Windows full-V8 media build and MSVC rejects native/media/audio_platform.js.inc with C2026 because its single raw string literal is about 19.8 KiB. The existing bootstrap portability regression test covers editor, fetch, service-worker, and IndexedDB scripts but not the Audio platform script.

Scope

  • Partition the embedded Audio platform source into adjacent bounded raw literals without changing its JavaScript bytes.
  • Extend the shared portability regression test to cover every Audio literal and exact reassembly.
  • Keep the source static and allocation-neutral at runtime.

Acceptance

Every Audio raw literal remains below the repository's portable limit, byte-for-byte reassembly matches the existing script, the Python regression passes, and the Windows full-V8 package compiler no longer reports C2026.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingvscode-oss/mergedMerged for the AppScene/WebScene VS Code OSS integration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions