Skip to content

Store HTMLIFrameElement sandbox attr as TokenList - #4596

Merged
bors-servo merged 1 commit into
servo:masterfrom
jimrhoskins:sandbox-tokenlist
Jan 9, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
jimrhoskins:sandbox-tokenlist

Conversation

@jimrhoskins

Copy link
Copy Markdown
Contributor

Fixes #3758

Store the sandbox attribute of HTMLIFrameElement as a TokenList
internally. Use .tokens() to iterate over the tokens instead of
splitting on the string value.

The external interface for sandbox remains a DOMString, which will need
to be fixed when DOMSettableTokenList is implemented (#1717).

Fixes servo#3758

Store the sandbox attribute of HTMLIFrameElement as a TokenList
internally. Use .tokens() to iterate over the tokens instead of
splitting on the string value.

The external interface for sandbox remains a DOMString, which will need
to be fixed when DOMSettableTokenList is implemented (servo#1717).
@highfive

highfive commented Jan 9, 2015

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @metajack (or someone else) soon.

@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/3691

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@jdm jdm added S-awaiting-review There is new code that needs to be reviewed. S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 9, 2015
bors-servo pushed a commit that referenced this pull request Jan 9, 2015
Fixes #3758

Store the sandbox attribute of HTMLIFrameElement as a TokenList
internally. Use .tokens() to iterate over the tokens instead of
splitting on the string value.

The external interface for sandbox remains a DOMString, which will need
to be fixed when DOMSettableTokenList is implemented (#1717).
@bors-servo bors-servo closed this Jan 9, 2015
@bors-servo
bors-servo merged commit e8036ac into servo:master Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTMLIFrameElement should use token list instead of manual string splitting for sandbox attribute

5 participants