mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
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:
parent
55de52d76a
commit
5eaa922045
152 changed files with 378 additions and 378 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue