aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlimageelement.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-02-22 09:46:27 -0800
committerGitHub <noreply@github.com>2017-02-22 09:46:27 -0800
commit78e8c31a4d1890260dda83f2db85672f693c1e97 (patch)
treed31e1478eeced21a5a53b714c3ba75b04e91c5c1 /components/script/dom/htmlimageelement.rs
parent2bfea912dccd5e76e062143f3d48d2a66118fc59 (diff)
parentbfd7b950ad1d2e9264563fc40d5684a96bbab23f (diff)
downloadservo-78e8c31a4d1890260dda83f2db85672f693c1e97.tar.gz
servo-78e8c31a4d1890260dda83f2db85672f693c1e97.zip
Auto merge of #15438 - asajeffrey:url-serializable-origin, r=jdm
Add ImmutableOrigin to allow for serializing origins <!-- Please describe your changes on the following line: --> This PR adds a serializable type `ImmutableOrigin` and a non-serializable type `MutableOrigin`. The immutable type represents an origin with `null` domain, and the mutable type represents an origin with a mutable domain. This separation is needed for implementing setting `document.domain`. --- <!-- 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 #14892. - [X] These changes do not require tests because it's a refactoring which will enable other features. <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15438) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlimageelement.rs')
0 files changed, 0 insertions, 0 deletions