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'
```
This commit is contained in:
Corey Farwell 2015-04-13 21:27:39 -07:00
parent 55de52d76a
commit 5eaa922045
152 changed files with 378 additions and 378 deletions

View file

@ -15,7 +15,7 @@ use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::document::{Document, DocumentHelpers};
use dom::node::{Node, NodeHelpers};
// http://dom.spec.whatwg.org/#interface-treewalker
// https://dom.spec.whatwg.org/#interface-treewalker
#[dom_struct]
pub struct TreeWalker {
reflector_: Reflector,
@ -149,7 +149,7 @@ trait PrivateTreeWalkerHelpers {
}
impl<'a> PrivateTreeWalkerHelpers for JSRef<'a, TreeWalker> {
// http://dom.spec.whatwg.org/#concept-traverse-children
// https://dom.spec.whatwg.org/#concept-traverse-children
fn traverse_children<F, G>(self,
next_child: F,
next_sibling: G)
@ -231,7 +231,7 @@ impl<'a> PrivateTreeWalkerHelpers for JSRef<'a, TreeWalker> {
Ok(None)
}
// http://dom.spec.whatwg.org/#concept-traverse-siblings
// https://dom.spec.whatwg.org/#concept-traverse-siblings
fn traverse_siblings<F, G>(self,
next_child: F,
next_sibling: G)
@ -296,7 +296,7 @@ impl<'a> PrivateTreeWalkerHelpers for JSRef<'a, TreeWalker> {
}
}
// http://dom.spec.whatwg.org/#concept-tree-following
// https://dom.spec.whatwg.org/#concept-tree-following
fn first_following_node_not_following_root(self, node: JSRef<Node>)
-> Option<Temporary<Node>> {
// "An object A is following an object B if A and B are in the same tree
@ -323,7 +323,7 @@ impl<'a> PrivateTreeWalkerHelpers for JSRef<'a, TreeWalker> {
}
}
// http://dom.spec.whatwg.org/#concept-node-filter
// https://dom.spec.whatwg.org/#concept-node-filter
fn accept_node(self, node: JSRef<Node>) -> Fallible<u16> {
// "To filter node run these steps:"
// "1. Let n be node's nodeType attribute value minus 1."
@ -364,7 +364,7 @@ pub trait TreeWalkerHelpers {
}
impl<'a> TreeWalkerHelpers for JSRef<'a, TreeWalker> {
// http://dom.spec.whatwg.org/#dom-treewalker-parentnode
// https://dom.spec.whatwg.org/#dom-treewalker-parentnode
fn parent_node(self) -> Fallible<Option<Temporary<Node>>> {
// "1. Let node be the value of the currentNode attribute."
let mut node = self.current_node.get().root().get_unsound_ref_forever();
@ -391,35 +391,35 @@ impl<'a> TreeWalkerHelpers for JSRef<'a, TreeWalker> {
Ok(None)
}
// http://dom.spec.whatwg.org/#dom-treewalker-firstchild
// https://dom.spec.whatwg.org/#dom-treewalker-firstchild
fn first_child(self) -> Fallible<Option<Temporary<Node>>> {
// "The firstChild() method must traverse children of type first."
self.traverse_children(|node| node.first_child(),
|node| node.next_sibling())
}
// http://dom.spec.whatwg.org/#dom-treewalker-lastchild
// https://dom.spec.whatwg.org/#dom-treewalker-lastchild
fn last_child(self) -> Fallible<Option<Temporary<Node>>> {
// "The lastChild() method must traverse children of type last."
self.traverse_children(|node| node.last_child(),
|node| node.prev_sibling())
}
// http://dom.spec.whatwg.org/#dom-treewalker-nextsibling
// https://dom.spec.whatwg.org/#dom-treewalker-nextsibling
fn next_sibling(self) -> Fallible<Option<Temporary<Node>>> {
// "The nextSibling() method must traverse siblings of type next."
self.traverse_siblings(|node| node.first_child(),
|node| node.next_sibling())
}
// http://dom.spec.whatwg.org/#dom-treewalker-previoussibling
// https://dom.spec.whatwg.org/#dom-treewalker-previoussibling
fn prev_sibling(self) -> Fallible<Option<Temporary<Node>>> {
// "The previousSibling() method must traverse siblings of type previous."
self.traverse_siblings(|node| node.last_child(),
|node| node.prev_sibling())
}
// http://dom.spec.whatwg.org/#dom-treewalker-previousnode
// https://dom.spec.whatwg.org/#dom-treewalker-previousnode
fn prev_node(self) -> Fallible<Option<Temporary<Node>>> {
// "1. Let node be the value of the currentNode attribute."
let mut node = self.current_node.get().root().get_unsound_ref_forever();
@ -479,7 +479,7 @@ impl<'a> TreeWalkerHelpers for JSRef<'a, TreeWalker> {
Ok(None)
}
// http://dom.spec.whatwg.org/#dom-treewalker-nextnode
// https://dom.spec.whatwg.org/#dom-treewalker-nextnode
fn next_node(self) -> Fallible<Option<Temporary<Node>>> {
// "1. Let node be the value of the currentNode attribute."
let mut node = self.current_node.get().root().get_unsound_ref_forever();