Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDo not use u8 in HTMLIFrameElement::sandbox #11599
Comments
|
Please make a comment here if you intend to work on this issue. Thank you! |
|
@nox I want to fix this one. |
|
Ok. |
|
@nox I am going to be a little busy this month and the beginning of the next, I will do my best to get this issue solved between all the other things I have going on. Just to confirm, the issue is at this file (at line 66): https://github.com/servo/servo/blob/master/components/script/dom/htmliframeelement.rs |
|
Yes exactly! |
|
@nox Please see this fix: #11765 It is a combination of your issue and @asajeffrey |
|
Please do 2 separate PRs. |
|
@nox Ok, I had trouble getting GitHub Desktop to do that, it just wanted to add to the last PR... |
|
Just make a new branch with only the commit for that fix and make a PR out of it. |
|
@nox Ok perfect, will do momentarily |
|
@nox I just re cloned the repo as there were many errors and two PRs to mess with, I am just compiling to make sure it is running error free on my end, then I am going to PR the fix for your issue. |
|
@nox I am very sorry for saying I was going to remake a PR "momentarily" and now here we are 10 hours later. There were a few unexpected events in my day. It is my goal to have it done for this weekend, hopefully tonight. |
|
@nox You mean the sandbox_allowance field (https://github.com/servo/servo/blob/master/components/script/dom/htmliframeelement.rs#L70)? |
|
Yes. |
Removing u8 from HTMLIframeElement.rs file <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #11599 (github issue number if applicable). <!-- Either: --> - [x] These changes do not require tests because @nox did not request any so I am not sure which to do. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12113) <!-- Reviewable:end -->
The field
sandboxofHTMLIFrameElementshould be changed toCell<Option<SandboxAllowance>>.