DescriptionHave the Worker destructor handle non-started Workers better.
If the creation of a Worker fails early due to an invalid script URL, the
worker context proxy isn't created. Hence, the assumption that the
Worker's ExecutionContext is kept alive by it doesn't apply. Adjust
the asserting in the destructor to reflect that.
R=haraken@chromium.org
BUG=301575
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177474
Patch Set 1 #
Total comments: 4
Patch Set 2 : Add m_contextProxy asserts #Patch Set 3 : Swap lines; tidier. #Messages
Total messages: 6 (0 generated)
|