New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 712946 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 1
Type: Bug

Blocking:
issue 710184



Sign in to add a comment

Crash in cross-context custom element constructor reuse

Project Member Reported by dominicc@chromium.org, Apr 19 2017

Issue description

Chrome Version: ToT r465173
OS: Linux/all

What steps will reproduce the problem?
(1) Apply the attached patch
(2) Run that layout test

What is the expected result?

Pass the test, or at least don't crash.

What happens instead?

It crashes.

I discovered this while investigating Issue 710184. I haven't investigated this in depth but my theory is this: Chrome uses a private to store the custom element's registered name on the constructor so registering it twice overwrites that property. As a consequence using it in the original context crashes when it fails to find a definition.

Those private properties should be per context, not per isolate.
 
failing-test.patch
1.1 KB Download
Blocking: 710184
Status: WontFix (was: Started)
False alarm; I was running some random local bits which broke this.

Sign in to add a comment