Created attachment 20795 [details]
This fixes the two tests.
r=me if you use resolveBaseAndProperty instead.
Comment on attachment 20795 [details]
Cameron pointed out that resolveBaseAndProperty throws an exception for undefined variables. Doh!