Fix location of assert
Created attachment 84512 [details] Patch
Comment on attachment 84512 [details] Patch Did the assertion fire in some case? If so, can we check in a test case that shows the failure?
(In reply to comment #2) > (From update of attachment 84512 [details]) > Did the assertion fire in some case? If so, can we check in a test case that shows the failure? It fired on one of our tests occasionally. It was always supposed to be below the scriptExecutionContext() test but accidentally was placed incorrectly (I think during some refactoring...because I always meant for it to be above). Off the top of my head, I'm not actually sure how we could deterministically cause it to fire. How much do you care about trying to create a test for it?
(In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 84512 [details] [details]) > > Did the assertion fire in some case? If so, can we check in a test case that shows the failure? > > It fired on one of our tests occasionally. It was always supposed to be below the scriptExecutionContext() test but accidentally was placed incorrectly (I think during some refactoring...because I always meant for it to be above). Off the top of my head, I'm not actually sure how we could deterministically cause it to fire. > > How much do you care about trying to create a test for it? Actually, I take that back. I think we should try to construct a test for this. But David is OOO for the next couple days and I'd like to get this in. Are you OK with this going in if I create a bug for a test to be created?
Comment on attachment 84512 [details] Patch Add test (or explain why it can't be done).
Obsolete.