Benvie/dom.js — comment on commit b2f7804e3de5d93c43f879590dfbd4dfd5f74292
File:  line 0
By Benvie:

There wasn't any change to Location aside from the wrapper. I agree after thinking about it, at least unless the lazy wrapper is changed to be a proxy to handle the issue with accessors morphing into data descriptors. But unless that is done, there's no reason to wrap items which will always be on every instance of a window.

The one other change is the bug fix in /URLDecompositionAttributes, which is just wrapping the ternary statement in parenthesis to cause correct order of operations when concatenating strings together. Without the parenthesis hostname shows up as ":undefined".