Yoshi Cheng-Hao Huang d1bd808795 Bug 1605633 - Check if it's a dead wrapper in WeakRef constructor. r=jonco
Throw error if the wrapped WeakRef is a dead wrapper.
Also do the checking earlier so we can bail out early before setting the
target slot.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 14:50:21 +00:00
..