Skip to content

Web platform integration #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bakkot opened this issue Feb 19, 2025 · 1 comment
Open

Web platform integration #43

bakkot opened this issue Feb 19, 2025 · 1 comment

Comments

@bakkot
Copy link
Contributor

bakkot commented Feb 19, 2025

There are various web specs which use SetValueInBuffer directly (via WebIDL). These need to be updated and WPT tests written.

Also, there are specs which do a defensive copy of the bytes in a view which can be avoided when the buffer is immutable. This technically is an as-if optimization, but it's probably worth updating the WebIDL and consuming specs to call this out anyway because otherwise people will not know to make this optimization.

See discussion in Matrix.

@anba
Copy link

anba commented May 7, 2025

I guess [AllowImmutable] should be added to WebIDL, similar to AllowResizable.

lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this issue May 27, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412
lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this issue May 27, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue May 27, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue May 27, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue May 28, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412

UltraBlame original commit: 57e9e89445aa69005a345700a9fd393b7038816e
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue May 28, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412

UltraBlame original commit: 99e5deaf6f0e1b2b48c6268dfce8b394f0b94c05
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue May 28, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412

UltraBlame original commit: 57e9e89445aa69005a345700a9fd393b7038816e
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue May 28, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412

UltraBlame original commit: 99e5deaf6f0e1b2b48c6268dfce8b394f0b94c05
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue May 28, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412

UltraBlame original commit: 57e9e89445aa69005a345700a9fd393b7038816e
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue May 28, 2025
… WebIDL. r=webidl,saschanaz,edgar

WebIDL integration for immutable array buffers isn't yet defined, so for now
disallow immutable array buffers and views to immutable array buffers.

See also <tc39/proposal-immutable-arraybuffer#43>.

Differential Revision: https://phabricator.services.mozilla.com/D249412

UltraBlame original commit: 99e5deaf6f0e1b2b48c6268dfce8b394f0b94c05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants