aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlscriptelement.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/htmlscriptelement.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/htmlscriptelement.rs')
-rw-r--r--components/script/dom/htmlscriptelement.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs
index 49cf5f257ed..6bfdf6afd9b 100644
--- a/components/script/dom/htmlscriptelement.rs
+++ b/components/script/dom/htmlscriptelement.rs
@@ -96,7 +96,7 @@ impl HTMLScriptElement {
}
pub trait HTMLScriptElementHelpers {
- /// Prepare a script (<http://www.whatwg.org/html/#prepare-a-script>)
+ /// Prepare a script (<https://www.whatwg.org/html/#prepare-a-script>)
fn prepare(self);
/// [Execute a script block]
@@ -126,7 +126,7 @@ pub trait HTMLScriptElementHelpers {
}
/// Supported script types as defined by
-/// <http://whatwg.org/html/#support-the-scripting-language>.
+/// <https://whatwg.org/html/#support-the-scripting-language>.
static SCRIPT_JS_MIMES: StaticStringVec = &[
"application/ecmascript",
"application/javascript",
@@ -522,12 +522,12 @@ impl<'a> HTMLScriptElementMethods for JSRef<'a, HTMLScriptElement> {
make_setter!(SetSrc, "src");
- // http://www.whatwg.org/html/#dom-script-text
+ // https://www.whatwg.org/html/#dom-script-text
fn Text(self) -> DOMString {
Node::collect_text_contents(NodeCast::from_ref(self).children())
}
- // http://www.whatwg.org/html/#dom-script-text
+ // https://www.whatwg.org/html/#dom-script-text
fn SetText(self, value: DOMString) {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.SetTextContent(Some(value))