PresentationConnection.url should be optional? #325
Comments
|
Three algorithms that create PresentationConnection objects and set attributes after construction:
Alternatively, we could define a constructor that takes the url and id and modify the algorithms to use that; which seems better, since the API is not intended is to expose PresentationConnections without these properties set. |
|
Reviewing the spec, in all cases where the user agent instantiates a PresentationConnection, it sets both the URL and the ID before returning it to the caller. So it makes more sense to make both |
mfoltzgoogle
referenced
this issue
Aug 18, 2016
Merged
Make PresentationConnection.id mandatory. #332
mfoltzgoogle
closed this
Aug 19, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mfoltzgoogle commentedJul 13, 2016
•
edited
The algorithm steps for creating a PresentationConnection set the
urlattribute after construction. It seems like we should make the attribute optional (likeid) since it is not set in the constructor.