aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-04-13 21:27:39 -0700
committerCorey Farwell <coreyf@rwell.org>2015-04-13 21:34:27 -0700
commit5eaa92204599332d8f1fdfb04da302136161db55 (patch)
tree41f08a5e7bc2a22c2b83accbf401d620597068e4 /components/script/dom/htmlcollection.rs
parent55de52d76ad0c864b7875c561df5c5f3867b2d73 (diff)
downloadservo-5eaa92204599332d8f1fdfb04da302136161db55.tar.gz
servo-5eaa92204599332d8f1fdfb04da302136161db55.zip
Update WHATWG links to use HTTPS
Extracted this out of #5649 This commit was created with the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ```
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r--components/script/dom/htmlcollection.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs
index a2cf605bc7e..a6871bf107f 100644
--- a/components/script/dom/htmlcollection.rs
+++ b/components/script/dom/htmlcollection.rs
@@ -175,7 +175,7 @@ impl HTMLCollection {
}
impl<'a> HTMLCollectionMethods for JSRef<'a, HTMLCollection> {
- // http://dom.spec.whatwg.org/#dom-htmlcollection-length
+ // https://dom.spec.whatwg.org/#dom-htmlcollection-length
fn Length(self) -> u32 {
match self.collection {
CollectionTypeId::Static(ref elems) => elems.len() as u32,
@@ -188,7 +188,7 @@ impl<'a> HTMLCollectionMethods for JSRef<'a, HTMLCollection> {
}
}
- // http://dom.spec.whatwg.org/#dom-htmlcollection-item
+ // https://dom.spec.whatwg.org/#dom-htmlcollection-item
fn Item(self, index: u32) -> Option<Temporary<Element>> {
let index = index as usize;
match self.collection {
@@ -205,7 +205,7 @@ impl<'a> HTMLCollectionMethods for JSRef<'a, HTMLCollection> {
}
}
- // http://dom.spec.whatwg.org/#dom-htmlcollection-nameditem
+ // https://dom.spec.whatwg.org/#dom-htmlcollection-nameditem
fn NamedItem(self, key: DOMString) -> Option<Temporary<Element>> {
// Step 1.
if key.is_empty() {