►
From YouTube: SES Meeting: Shadow Realm Serialization Boundary
Description
Wherein Leo proposes a graduated plan to add serialization at the ShadowRealm boundary.
A
Now
welcome
to
the
cess
meeting
today's
date
is
march.
9Th.
We
have
a
very
light
agenda
this
week,
so
it
will
probably
short
be
short.
Leo.
Has
a
couple
of
topics
he'd
like
to
announce,
if
not
discussed,
since
we
don't
have
enough
of
a
quorum
to
give
it
a
proper
conversation,
but
please
take
it
away
leo.
B
B
This
request
is
about
restricting
the
second
parameter
of
import
value.
Did
we?
Oh
people
are
still
here
zombies
kind
of
messing
up
the
windows,
the
restricting
the
second
parameter
of
import
value
to
be
string
only
to
only.
C
Are
you,
are
you
think
you're
sh?
Are
you
sharing
in
this
slides
or
something
because
I
don't
see
anything.
B
Okay,
okay,
sorry
about
this
confusion,
so
I
don't
have
anything
like
as
a
presentation.
It's
more
like.
I
think
it's
a
quick
topic.
The
example
in
the
agenda
might
be
good
enough
for
what
I'm
telling
and
the
reasons
so
import
value.
Today.
Those
have
two
parameters:
the
first
parameter
to
be
the
specifier
and
the
second
parameter
to
be
a
name.
There
will
be
parsed
as
a
string
saying
what
name
do
you
want
from
the
restore
module
name?
Space
object.
B
So
the
first
step
for
this
work
for
jack.
What
check
works
proposed
is
to
have
a
restriction
that
that
that
was
actually
a
suggestion
by
matthew,
hoffman,
sorry,
I
just
remember
here
and
given
the
the
names
of
who
actually
did
that
that
suggested.
B
I
like
that
a
lot,
because
if
we
restrict
the
second
parameter
of
import
value
to
be
a
string
only
that
avoids
people
trying
to
use
import
value
without
a
second
argument
to
have
a
parsed,
undivided
undefined
parse
to
a
string
and
try
to
capture
like
under
undefined
name
from
the
module
in
space
object,
a
string
undefined
name
from
from
that.
B
B
B
B
D
Like
and
symbols
are
currently
not,
and
I
don't
ever
see
them
being
allowed
as
import
exports,
because
they
are,
you
can
already
add
them
to
module.
Namespace
objects
as
user
lens,
which
is
weird,
but
that's
what
it
is.
B
Yeah
one
of
the
reasons
I'm
not
working
on
the
second
part,
which
is
which
is
actually
considering
iterable
values,
because
I
think
that
adds
a
lot
for
a
stage
three
proposal.
So
I
think
it's
worth
having
it.
That
is
as
a
separate
proposal
to
avoid.
B
Waiting
for
longer
for
shadow
rounds
and
that's
actually
a
little
bit
poly
fillable
as
well,
you
can
monkey
patching
or
import
value
and
do
some
word
there
and
work
there
in
user
land.
Also
there's
the
second
topic
here,
which
is
a
little
bit
sensitive
because
I
know
not.
Everyone
is
happy
about
it,
but
I
think
we
we
should
do
some
work
to
incubate
a
pragmatic
approach.
B
So
that
means
some
work
that
will
consider
what
we
have
today
from
shadow
realms,
what
is
evaluated,
how
things
are
evaluated
across
realms
and
what
is
the
just
like
structured
serialization,
which
is
not
the
desirable
part
and
what
is
a
like?
What
are
the
changes
that
I
would
want
on
top?
B
This
is
a
thing
I
just
briefly
discussed
internally.
You
need
some
expansion,
but
that's
what
I
mean
like.
I
want
all
sorts
of
feedback
like
if
this
can
move
to
a
workable
and
desirable
state.
C
B
B
If
you
go
through
the
levels
they're
like
there's
one
thing
that
we
want
and
we
discussed
in
the
past-
and
I
know
we
still
have
contentions
on
that,
but
that's
like
I
think
this
is
better
seen
as
a
whole
package,
so
shared
buffers
shared
array.
Buffers
are
one
of
the
steps,
but
also
bringing
some
other
serialization
there.
I
think,
which
is
represented
by
level
1b.
B
Can
we
thank
you
chris
yeah,
so
for
every
level,
like
all
the
bold
parts,
are
the
new
additions
for
each
one
of
these
levels
here,
so
with
that,
we
can
have
some
do
some
deep
serialization
of
array,
objects
or
ordinary
objects.
B
One
of
the
things
that
I
know
of
is
of
a
concern
is
how
we
handle
proxies,
and
so
we
have
some
considerations
as
well.
I
think
it's
down
below
this
level
is
like
from
where
I'm
starting
this
work,
I
don't
mean
like
we
should
have
separate
the
implementations
of
each
one
of
these
levels.
I'm
just
saying
like
how
I'm
progressing
like
from
applying
the
structure
serialization
to
all
all
the
the
other
parts.
My
desire
is
to
go
all
the
way
to
the
end.
Can
can
we
just
scroll
down
more?
Thank
you.
B
So
this
serialization
here
would
actually
lead
us
as
well
to
wrap
promises
and
iterators
as
we
do
wrap
up
functions
today.
That
would
be
helpful.
If
we
resolve
any
validation
into
a
promise,
we
can
do
some
wrapping
of
these
resolved
promises
as
well
in
iterators.
B
This
is
a
sort
of
like
complex
work,
but
I
think
it's
the
way
to
resolve
that,
and
this
work
with
proxies
is
one
of
I
think
it's
one
of
the
things
that
is
sensitive
like
how
we
do
resolve
proxies
as
structure
serialization.
Today.
The
known
issue
with
that
is
just
like
ignore
proxies,
and
I
don't
think
that's
that
should
be
the
approach.
D
I
think
the
issue
with
proxy
is
that,
if
there's
a
proxy
in
front
of
something
else
that
is
recognized
with
internal
state
such
as
a
date
or
something
like
that,
it
needs
to
work
the
same
as
if
you
had
actually
sent
the
date
and
the
only
way.
I
believe
this
kind
of
work
is
somehow
the
proxy
creator
is
able
to
say
like
this
is
how
you're
you
should
be
serializing.
This
object.
D
A
I
think
that
one
thing
that's
fair
to
say
is
that
the
scope
of
your
ambition
with
this
is
high,
but
less
than
hours
like
what
what
what
agoric
wants
to
build
or
what
we've
already
built,
provides
a
communication
channel.
That
goes
all
the
way
up
to
level
the
partner.
It
creates
a
means
for
for
inter-realm
communication.
A
That's
at
least
level
two,
but
then
goes
on
to
also
do
eventual
send
so
the
or
at
least
pardon
matches
the
scope
of
the
ambition
up
to
level
two
and
then
does
eventual
send
and
varies
in
detail,
and
I
can't
speak
to
that
myself.
But
what
I
can
say
is
that
in
the
long
term,
we
need
to
have
something
like
this.
We
we
agree
that
we
need
to
be
able
to
communicate
with
this
level
of
fidelity
between.
D
What
is
shared
between
the
realms
is
highly
dependent
on
the
application
and
whether
you
want
to
sterilize
just
data
like
objectives,
it's
just
a
record
that
you
serialize
or
whether
you
reify
something
on
the
other
side.
That's
a
proxy
that
can
do
live.
A
May
I
propose
that
as
a
litmus
test
for
whatever
whatever
designs
we
come
up
with
here,
we
would
want
it
to
mostly
be
the
same
as
inter-process
communication
right,
so
that
you
could
largely
do
the
same
thing
between
two
agents
that
you
can
do
between
a
shadow
realm
and
it's
among
shadow
realms
or
between
a
shadow
realm
and
the
incubator
realm.
Is
that
fair?
So.
D
I
guess
there's
one
question:
we
need
to
solve
ipc
and
eventual
send
and
all
those
things
are
asynchronous
over
asynchronous
communication
channels.
The
interaction
between
shadow
realms
is
actually
synchronous,
and
it
is
a
valid
question
whether
whatever
cloning
mechanism
and
sterilization
happens,
like
should
work
the
same
for
both
and
it's
actually
a
valid
question
for
what
platform
too.
Currently
web
platform
only
has
serial
full
serialization,
because
it
is
an
asynchronous
communication
channel.
B
Just
to
bring
some
of
the
signals
here,
our
initial
goal
was,
as
you
know,
heard,
was
to
create
a
channel
for
shared
raid
buffers,
because
that's
not
a
possibility
today
and
we
cannot
take
advantage
of
buffer
cross
realms.
A
When
they
say
that,
do
they
mean
that
in
the
sense
of
trading
horses
or
physical
limitation.
B
More
like
trading
horses
like
it's,
not
desirable,
for
them
to
just
create
a
channel
for
shared
array
buffers
only
and
if
we
want
to
create
a
channel
they
rather
they're,
they
would
be
very
positive.
That's
one
of
the
signal
like
that
would
be
very
positive
to
a
sap
structure.
Serialization
that
has
shared
a
radar
first
bundle
together,
but
structure
serialization,
as
is
it's
also
not
interesting,
and
so
the
idea
here
is
like
this
document
is
to
become
a
sort
of
like
expanded
structure
sterilization
like
or
enhanced
structure.
B
Serialization
is
like
a
structure
sterilization
that
does
the
things
that
it
is
already
doing,
as
is
today
for
many
of
the
values,
but
many
of
the
things
that
he
errors
today.
That
is
we're
gonna
fill
some
of
we're.
Gonna
fill
these
gaps
like
what
we
do
for
proxies.
What
we
do
for
promises,
what
we
do
for
not
iterators.
D
D
I
think
you
can
probably
decouple
I'm
wondering
if
it
would
be
worth
decoupling
the
promise
and
iterator
stuff
from
this.
I
I
I
somehow
always
consider
them
like
somewhat
orthogonal,
and
I
believe
you
can
actually
just
do
the
promise
and
iterator
handling
through
a
very
thin
membrane
type
approach
on
top
of
the
callable
boundary.
B
I
think
promises
in
iterators
are
very
requested
feature
and
that's
why
I
also
have
have
it
in
a
different
level
in
that
document.
C
D
But
putting
is
a
level
like
a
true
behind
the
rest,
like
I'm
saying
you
might
want
to
approach
it
entirely
orton
like
is
there
a
way
to
solve
those
things
without
sterilization.
B
It
can
be
one
of
the
things
that
I
can
tell
it's.
Unfortunately,
it's
not
unlike
a
as
a
a
hind
back
feature
for
me,
so
I
will
not
be
able
to
chant
on
that
part
as
I
for
many
things
I
I'm
like,
I
have
since
I
joined
the
product,
I
started
as
a
product
manager.
B
I
have
so
many
things
on
my
plate
right
now
and
I'm
having
to
say
no
to
so
many
so
many
things
that
are
like
I'd
love
to,
but
it's
unfortunately
not
on
my
priority
list
like
array.
Buffers
are
one
of
the
things
that
I
that
will
create
more
effect
for
me,
so
that
that
would
make
me
like.
If
I
divide
them,
I
would
probably
go
with
the
part
where
array
buffers
are
living.
C
A
C
With
well
I'm
not
even
talking
about
synchronous
versus
asynchronous,
but
it's
like
it's
a
it's
a
privileged
treatment
that
what
comes
over
the
channel
is
more
than
one
could
express
generically
through
serialization
right.
D
C
A
Yeah
yeah
and
in
general,
I'm
in
favor
of
starting
with
this
doing
the
work
at
this
at
the
tc39
level.
That
allows
more
to
be
done
in
user
space
before
before,
paving
account
pass
in
user
space.
D
B
Yeah,
as
I
mentioned,
like
the
functionality
that
I
don't
have
today,
that
I
cannot
afford
to
have
today
is
to
share
the
radar
first.
This
is
what
effects
and
like
virtualized
environment,
so
my
hope
is
to
provide
us
some
like
if
the
implementers
are
positive,
if
we
bring
them
structure
civilization.
B
What
is
also
like
the
modifications
that
we
do
with
search
structure,
civilization
that
wouldn't
suck
that
wouldn't
bring
like
problems
as
it
brings
you
to
proxies
today.