-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Determine the nuances of aliasing chrome
and browser
#532
Comments
I see the benefit of having separate namespace objects for each, while sharing everything else internally. However, that would be technically tricky for Safari/WebKit to support. In practice, we don't anticipate the need to have them be separate for us, so we will likely keep our implantation as-is (direct aliases of one another, described above). @patrickkettner What APIs do you plan to "sluff off" of |
This implies |
@xeenon |
During the call outlined in #537, I believe that the following was agreed on
@oliverdunk @zombie @xeenon @Rob--W is the above true? |
Sounds good. |
Sounds good to me. |
Now that #508 has been merged (🎉), our team began discussing the specifics on how to alias
chrome
tobrowser
. It turns out, what we want to do is different from everyone, but also everyone is different from everyone.In Firefox,
chrome
andbrowser
appear to be clones of the same object. So the values are the same, but updating one does not change another.In Safari, chrome and browser appear to be a direct alias to one another
What Chrome wants to do is make
chrome
andbrowser
separate objects, but make the various properties of each object a direct alias.So in the above example, the Firefox behavior would be matched
But modifying a specific property or value inside of
chrome
orbrowser
would update the other.The reason why we like this option is the mix of ease of implementation from aliasing, while also allowing us to sluff off APIs we do not want to carry forward into
browser
.The text was updated successfully, but these errors were encountered: