-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add a context parameter for browsingContext.create #153
Conversation
f9f81f6
to
dbaa5b5
Compare
This is ready for review again now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just one nit on top of the suggestions from @whimboo , thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor comments
@foolip would you have the time to take a look at this PR again? |
I'll come back to this soon. |
c039576
to
7aab2a4
Compare
I'll go ahead and merge, or I'm sure to forget about this for another month. If I got something wrong, I'll make it a priority to fix it, just poke me. |
7aab2a4
to
2ecae3b
Compare
This is based on @jgraham's suggestion: #133 (comment)
2ecae3b
to
54abb51
Compare
@foolip actually such a change would have required a wpt test addition as well. Would you have the chance to follow-up with that? |
@whimboo yes, I've asked @sadym-chromium to add a test when he implements this. |
Sounds good. So whoever is first with the implementation might do it. We can let you know in case we start to implement at first. Please do the same. Thanks. |
@sadym-chromium actually yesterday I checked if we already have a bug and found https://bugzilla.mozilla.org/show_bug.cgi?id=1765619. There are already wdspec tests attached. So maybe @juliandescottes could finish the set of patches and we can land it first. |
would be great, thanks! Actually, I'm not sure if there is a way to test if the parameter actually works, only the signature. |
Yes we had the same issue. I only added tests for the signature at https://phabricator.services.mozilla.com/D143653 , and I also added some gecko specific tests at https://phabricator.services.mozilla.com/D143654, but you need to assume a specific implementation in order to "test" the feature. My patches were written before the PR got its last few updates, so I guess they are a bit outdated. But I can update them next week. |
This is based on @jgraham's suggestion: w3c#133 (comment) Co-authored-by: Julian Descottes <jdescottes@mozilla.com> Co-authored-by: Maksim Sadym <69349599+sadym-chromium@users.noreply.github.com>
This is based on @jgraham's suggestion:
#133 (comment)
Preview | Diff
Preview | Diff