aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
Diffstat (limited to 'components/script')
-rw-r--r--components/script/cors.rs18
-rw-r--r--components/script/dom/bindings/codegen/test/TestDictionary.webidl2
-rw-r--r--components/script/dom/characterdata.rs2
-rw-r--r--components/script/dom/document.rs86
-rw-r--r--components/script/dom/documentfragment.rs6
-rw-r--r--components/script/dom/documenttype.rs2
-rw-r--r--components/script/dom/domimplementation.rs8
-rw-r--r--components/script/dom/domparser.rs2
-rw-r--r--components/script/dom/domtokenlist.rs8
-rw-r--r--components/script/dom/element.rs50
-rw-r--r--components/script/dom/eventdispatcher.rs2
-rw-r--r--components/script/dom/htmlbuttonelement.rs4
-rw-r--r--components/script/dom/htmlcollection.rs6
-rw-r--r--components/script/dom/htmlelement.rs2
-rw-r--r--components/script/dom/htmlfieldsetelement.rs6
-rw-r--r--components/script/dom/htmliframeelement.rs2
-rw-r--r--components/script/dom/htmlinputelement.rs4
-rw-r--r--components/script/dom/htmloptgroupelement.rs4
-rw-r--r--components/script/dom/htmloptionelement.rs8
-rw-r--r--components/script/dom/htmlscriptelement.rs8
-rw-r--r--components/script/dom/htmlselectelement.rs4
-rw-r--r--components/script/dom/htmltableelement.rs4
-rw-r--r--components/script/dom/htmltextareaelement.rs4
-rw-r--r--components/script/dom/htmltitleelement.rs4
-rw-r--r--components/script/dom/node.rs82
-rw-r--r--components/script/dom/range.rs2
-rw-r--r--components/script/dom/treewalker.rs24
-rw-r--r--components/script/dom/urlsearchparams.rs10
-rw-r--r--components/script/dom/webidls/Attr.webidl2
-rw-r--r--components/script/dom/webidls/CanvasRenderingContext2D.webidl2
-rw-r--r--components/script/dom/webidls/CharacterData.webidl2
-rw-r--r--components/script/dom/webidls/ChildNode.webidl2
-rw-r--r--components/script/dom/webidls/Comment.webidl2
-rw-r--r--components/script/dom/webidls/CustomEvent.webidl2
-rw-r--r--components/script/dom/webidls/DOMException.webidl2
-rw-r--r--components/script/dom/webidls/DOMImplementation.webidl2
-rw-r--r--components/script/dom/webidls/DOMParser.webidl2
-rw-r--r--components/script/dom/webidls/DOMTokenList.webidl2
-rw-r--r--components/script/dom/webidls/DedicatedWorkerGlobalScope.webidl2
-rw-r--r--components/script/dom/webidls/Document.webidl8
-rw-r--r--components/script/dom/webidls/DocumentFragment.webidl2
-rw-r--r--components/script/dom/webidls/DocumentType.webidl2
-rw-r--r--components/script/dom/webidls/Element.webidl6
-rw-r--r--components/script/dom/webidls/EventHandler.webidl2
-rw-r--r--components/script/dom/webidls/File.webidl2
-rw-r--r--components/script/dom/webidls/FormData.webidl2
-rw-r--r--components/script/dom/webidls/Function.webidl2
-rw-r--r--components/script/dom/webidls/HTMLAnchorElement.webidl8
-rw-r--r--components/script/dom/webidls/HTMLAppletElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLAreaElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLAudioElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLBRElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLBaseElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLBodyElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLButtonElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLCanvasElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLDListElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLDataElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLDataListElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLDialogElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLDirectoryElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLDivElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLEmbedElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLFieldSetElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLFontElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLFormElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLFrameElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLFrameSetElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLHRElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLHeadElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLHeadingElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLHtmlElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLIFrameElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLImageElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLInputElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLLIElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLLabelElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLLegendElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLLinkElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLMapElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLMediaElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLMetaElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLMeterElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLModElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLOListElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLObjectElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLOptGroupElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLOptionElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLOutputElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLParagraphElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLParamElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLPreElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLProgressElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLQuoteElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLScriptElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLSelectElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLSourceElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLSpanElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLStyleElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLTableCaptionElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLTableCellElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLTableColElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLTableDataCellElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLTableElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLTableHeaderCellElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLTableRowElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLTableSectionElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLTemplateElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLTextAreaElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLTimeElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLTitleElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLTrackElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLUListElement.webidl4
-rw-r--r--components/script/dom/webidls/HTMLUnknownElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLVideoElement.webidl2
-rw-r--r--components/script/dom/webidls/ImageData.webidl4
-rw-r--r--components/script/dom/webidls/Location.webidl2
-rw-r--r--components/script/dom/webidls/MessageEvent.webidl2
-rw-r--r--components/script/dom/webidls/Navigator.webidl4
-rw-r--r--components/script/dom/webidls/Node.webidl2
-rw-r--r--components/script/dom/webidls/NodeFilter.webidl2
-rw-r--r--components/script/dom/webidls/NodeList.webidl2
-rw-r--r--components/script/dom/webidls/ParentNode.webidl2
-rw-r--r--components/script/dom/webidls/ProcessingInstruction.webidl2
-rw-r--r--components/script/dom/webidls/ProgressEvent.webidl2
-rw-r--r--components/script/dom/webidls/Range.webidl6
-rw-r--r--components/script/dom/webidls/Text.webidl4
-rw-r--r--components/script/dom/webidls/TreeWalker.webidl2
-rw-r--r--components/script/dom/webidls/URLSearchParams.webidl2
-rw-r--r--components/script/dom/webidls/URLUtils.webidl2
-rw-r--r--components/script/dom/webidls/URLUtilsReadOnly.webidl2
-rw-r--r--components/script/dom/webidls/ValidityState.webidl2
-rw-r--r--components/script/dom/webidls/Window.webidl6
-rw-r--r--components/script/dom/webidls/Worker.webidl4
-rw-r--r--components/script/dom/webidls/WorkerGlobalScope.webidl4
-rw-r--r--components/script/dom/webidls/WorkerLocation.webidl2
-rw-r--r--components/script/dom/webidls/WorkerNavigator.webidl2
-rw-r--r--components/script/dom/webidls/XMLHttpRequest.webidl4
-rw-r--r--components/script/dom/webidls/XMLHttpRequestEventTarget.webidl2
-rw-r--r--components/script/dom/webidls/XMLHttpRequestUpload.webidl2
-rw-r--r--components/script/dom/window.rs6
-rw-r--r--components/script/dom/worker.rs2
-rw-r--r--components/script/dom/xmlhttprequest.rs4
144 files changed, 349 insertions, 349 deletions
diff --git a/components/script/cors.rs b/components/script/cors.rs
index c11f8233c4a..e9521296464 100644
--- a/components/script/cors.rs
+++ b/components/script/cors.rs
@@ -32,12 +32,12 @@ pub struct CORSRequest {
pub mode: RequestMode,
pub method: Method,
pub headers: Headers,
- /// CORS preflight flag (http://fetch.spec.whatwg.org/#concept-http-fetch)
+ /// CORS preflight flag (https://fetch.spec.whatwg.org/#concept-http-fetch)
/// Indicates that a CORS preflight request and/or cache check is to be performed
pub preflight_flag: bool
}
-/// http://fetch.spec.whatwg.org/#concept-request-mode
+/// https://fetch.spec.whatwg.org/#concept-request-mode
/// This only covers some of the request modes. The
/// `same-origin` and `no CORS` modes are unnecessary for XHR.
#[derive(PartialEq, Copy, Clone)]
@@ -88,7 +88,7 @@ impl CORSRequest {
}
}
- /// http://fetch.spec.whatwg.org/#concept-http-fetch
+ /// https://fetch.spec.whatwg.org/#concept-http-fetch
/// This method assumes that the CORS flag is set
/// This does not perform the full HTTP fetch, rather it handles part of the CORS filtering
/// if self.mode is ForcedPreflight, then the CORS-with-forced-preflight
@@ -112,7 +112,7 @@ impl CORSRequest {
response
}
- /// http://fetch.spec.whatwg.org/#cors-preflight-fetch
+ /// https://fetch.spec.whatwg.org/#cors-preflight-fetch
fn preflight_fetch(&self) -> CORSResponse {
let error = CORSResponse::new_error();
let mut cors_response = CORSResponse::new();
@@ -159,7 +159,7 @@ impl CORSRequest {
_ => return error
}
cors_response.headers = response.headers.clone();
- // Substeps 1-3 (parsing rules: http://fetch.spec.whatwg.org/#http-new-header-syntax)
+ // Substeps 1-3 (parsing rules: https://fetch.spec.whatwg.org/#http-new-header-syntax)
let methods_substep4 = [self.method.clone()];
let mut methods = match response.headers.get() {
Some(&AccessControlAllowMethods(ref v)) => v.as_slice(),
@@ -292,7 +292,7 @@ impl CORSCacheEntry {
}
impl CORSCache {
- /// http://fetch.spec.whatwg.org/#concept-cache-clear
+ /// https://fetch.spec.whatwg.org/#concept-cache-clear
#[allow(dead_code)]
fn clear (&mut self, request: &CORSRequest) {
let CORSCache(buf) = self.clone();
@@ -308,7 +308,7 @@ impl CORSCache {
*self = CORSCache(new_buf);
}
- /// http://fetch.spec.whatwg.org/#concept-cache-match-header
+ /// https://fetch.spec.whatwg.org/#concept-cache-match-header
fn find_entry_by_header<'a>(&'a mut self, request: &CORSRequest, header_name: &str) -> Option<&'a mut CORSCacheEntry> {
self.cleanup();
let CORSCache(ref mut buf) = *self;
@@ -342,7 +342,7 @@ impl CORSCache {
entry
}
- /// http://fetch.spec.whatwg.org/#concept-cache-match-method
+ /// https://fetch.spec.whatwg.org/#concept-cache-match-method
fn match_method(&mut self, request: &CORSRequest, method: &Method) -> bool {
self.find_entry_by_method(request, method).is_some()
}
@@ -383,7 +383,7 @@ fn is_simple_method(m: &Method) -> bool {
}
/// Perform a CORS check on a header list and CORS request
-/// http://fetch.spec.whatwg.org/#cors-check
+/// https://fetch.spec.whatwg.org/#cors-check
pub fn allow_cross_origin_request(req: &CORSRequest, headers: &Headers) -> bool {
//FIXME(seanmonstar): use req.headers.get::<AccessControlAllowOrigin>()
match headers.get() {
diff --git a/components/script/dom/bindings/codegen/test/TestDictionary.webidl b/components/script/dom/bindings/codegen/test/TestDictionary.webidl
index 3dd91bd6500..37b7f5e84fb 100644
--- a/components/script/dom/bindings/codegen/test/TestDictionary.webidl
+++ b/components/script/dom/bindings/codegen/test/TestDictionary.webidl
@@ -6,4 +6,4 @@
dictionary GrandparentDict {
double someNum;
-}; \ No newline at end of file
+};
diff --git a/components/script/dom/characterdata.rs b/components/script/dom/characterdata.rs
index 92f3283c759..a638683c0ea 100644
--- a/components/script/dom/characterdata.rs
+++ b/components/script/dom/characterdata.rs
@@ -117,7 +117,7 @@ impl<'a> CharacterDataMethods for JSRef<'a, CharacterData> {
Ok(())
}
- // http://dom.spec.whatwg.org/#dom-childnode-remove
+ // https://dom.spec.whatwg.org/#dom-childnode-remove
fn Remove(self) {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.remove_self();
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index f001f0268f3..6d8ba9c9489 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -264,7 +264,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
true
}
- // http://dom.spec.whatwg.org/#dom-document-url
+ // https://dom.spec.whatwg.org/#dom-document-url
fn url(self) -> Url {
self.url.clone()
}
@@ -764,17 +764,17 @@ impl Document {
content_type: match content_type {
Some(string) => string.clone(),
None => match is_html_document {
- // http://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument
+ // https://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument
IsHTMLDocument::HTMLDocument => "text/html".to_owned(),
- // http://dom.spec.whatwg.org/#concept-document-content-type
+ // https://dom.spec.whatwg.org/#concept-document-content-type
IsHTMLDocument::NonHTMLDocument => "application/xml".to_owned()
}
},
last_modified: last_modified,
url: url,
- // http://dom.spec.whatwg.org/#concept-document-quirks
+ // https://dom.spec.whatwg.org/#concept-document-quirks
quirks_mode: Cell::new(NoQuirks),
- // http://dom.spec.whatwg.org/#concept-document-encoding
+ // https://dom.spec.whatwg.org/#concept-document-encoding
encoding_name: DOMRefCell::new("UTF-8".to_owned()),
is_html_document: is_html_document == IsHTMLDocument::HTMLDocument,
images: Default::default(),
@@ -792,7 +792,7 @@ impl Document {
}
}
- // http://dom.spec.whatwg.org/#dom-document
+ // https://dom.spec.whatwg.org/#dom-document
pub fn Constructor(global: GlobalRef) -> Fallible<Temporary<Document>> {
Ok(Document::new(global.as_window(), None,
IsHTMLDocument::NonHTMLDocument, None,
@@ -866,12 +866,12 @@ impl<'a> PrivateClickEventHelpers for JSRef<'a, Node> {
}
impl<'a> DocumentMethods for JSRef<'a, Document> {
- // http://dom.spec.whatwg.org/#dom-document-implementation
+ // https://dom.spec.whatwg.org/#dom-document-implementation
fn Implementation(self) -> Temporary<DOMImplementation> {
self.implementation.or_init(|| DOMImplementation::new(self))
}
- // http://dom.spec.whatwg.org/#dom-document-url
+ // https://dom.spec.whatwg.org/#dom-document-url
fn URL(self) -> DOMString {
self.url().serialize()
}
@@ -889,12 +889,12 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
}
}
- // http://dom.spec.whatwg.org/#dom-document-documenturi
+ // https://dom.spec.whatwg.org/#dom-document-documenturi
fn DocumentURI(self) -> DOMString {
self.URL()
}
- // http://dom.spec.whatwg.org/#dom-document-compatmode
+ // https://dom.spec.whatwg.org/#dom-document-compatmode
fn CompatMode(self) -> DOMString {
match self.quirks_mode.get() {
LimitedQuirks | NoQuirks => "CSS1Compat".to_owned(),
@@ -902,26 +902,26 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
}
}
- // http://dom.spec.whatwg.org/#dom-document-characterset
+ // https://dom.spec.whatwg.org/#dom-document-characterset
fn CharacterSet(self) -> DOMString {
// FIXME(https://github.com/rust-lang/rust/issues/23338)
let encoding_name = self.encoding_name.borrow();
encoding_name.clone()
}
- // http://dom.spec.whatwg.org/#dom-document-inputencoding
+ // https://dom.spec.whatwg.org/#dom-document-inputencoding
fn InputEncoding(self) -> DOMString {
// FIXME(https://github.com/rust-lang/rust/issues/23338)
let encoding_name = self.encoding_name.borrow();
encoding_name.clone()
}
- // http://dom.spec.whatwg.org/#dom-document-content_type
+ // https://dom.spec.whatwg.org/#dom-document-content_type
fn ContentType(self) -> DOMString {
self.content_type.clone()
}
- // http://dom.spec.whatwg.org/#dom-document-doctype
+ // https://dom.spec.whatwg.org/#dom-document-doctype
fn GetDoctype(self) -> Option<Temporary<DocumentType>> {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.children()
@@ -930,33 +930,33 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
.next()
}
- // http://dom.spec.whatwg.org/#dom-document-documentelement
+ // https://dom.spec.whatwg.org/#dom-document-documentelement
fn GetDocumentElement(self) -> Option<Temporary<Element>> {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.child_elements().next()
}
- // http://dom.spec.whatwg.org/#dom-document-getelementsbytagname
+ // https://dom.spec.whatwg.org/#dom-document-getelementsbytagname
fn GetElementsByTagName(self, tag_name: DOMString) -> Temporary<HTMLCollection> {
let window = self.window.root();
HTMLCollection::by_tag_name(window.r(), NodeCast::from_ref(self), tag_name)
}
- // http://dom.spec.whatwg.org/#dom-document-getelementsbytagnamens
+ // https://dom.spec.whatwg.org/#dom-document-getelementsbytagnamens
fn GetElementsByTagNameNS(self, maybe_ns: Option<DOMString>, tag_name: DOMString)
-> Temporary<HTMLCollection> {
let window = self.window.root();
HTMLCollection::by_tag_name_ns(window.r(), NodeCast::from_ref(self), tag_name, maybe_ns)
}
- // http://dom.spec.whatwg.org/#dom-document-getelementsbyclassname
+ // https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname
fn GetElementsByClassName(self, classes: DOMString) -> Temporary<HTMLCollection> {
let window = self.window.root();
HTMLCollection::by_class_name(window.r(), NodeCast::from_ref(self), classes)
}
- // http://dom.spec.whatwg.org/#dom-nonelementparentnode-getelementbyid
+ // https://dom.spec.whatwg.org/#dom-nonelementparentnode-getelementbyid
fn GetElementById(self, id: DOMString) -> Option<Temporary<Element>> {
let id = Atom::from_slice(&id);
// FIXME(https://github.com/rust-lang/rust/issues/23338)
@@ -964,7 +964,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
idmap.get(&id).map(|ref elements| Temporary::new((*elements)[0].clone()))
}
- // http://dom.spec.whatwg.org/#dom-document-createelement
+ // https://dom.spec.whatwg.org/#dom-document-createelement
fn CreateElement(self, mut local_name: DOMString) -> Fallible<Temporary<Element>> {
if xml_name_type(&local_name) == InvalidXMLName {
debug!("Not a valid element name");
@@ -977,7 +977,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(Element::create(name, None, self, ElementCreator::ScriptCreated))
}
- // http://dom.spec.whatwg.org/#dom-document-createelementns
+ // https://dom.spec.whatwg.org/#dom-document-createelementns
fn CreateElementNS(self,
namespace: Option<DOMString>,
qualified_name: DOMString) -> Fallible<Temporary<Element>> {
@@ -987,7 +987,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(Element::create(name, prefix, self, ElementCreator::ScriptCreated))
}
- // http://dom.spec.whatwg.org/#dom-document-createattribute
+ // https://dom.spec.whatwg.org/#dom-document-createattribute
fn CreateAttribute(self, local_name: DOMString) -> Fallible<Temporary<Attr>> {
if xml_name_type(&local_name) == InvalidXMLName {
debug!("Not a valid element name");
@@ -1003,7 +1003,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(Attr::new(window.r(), name, value, l_name, ns!(""), None, None))
}
- // http://dom.spec.whatwg.org/#dom-document-createattributens
+ // https://dom.spec.whatwg.org/#dom-document-createattributens
fn CreateAttributeNS(self, namespace: Option<DOMString>, qualified_name: DOMString)
-> Fallible<Temporary<Attr>> {
let (namespace, prefix, local_name) =
@@ -1015,22 +1015,22 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
namespace, prefix, None))
}
- // http://dom.spec.whatwg.org/#dom-document-createdocumentfragment
+ // https://dom.spec.whatwg.org/#dom-document-createdocumentfragment
fn CreateDocumentFragment(self) -> Temporary<DocumentFragment> {
DocumentFragment::new(self)
}
- // http://dom.spec.whatwg.org/#dom-document-createtextnode
+ // https://dom.spec.whatwg.org/#dom-document-createtextnode
fn CreateTextNode(self, data: DOMString) -> Temporary<Text> {
Text::new(data, self)
}
- // http://dom.spec.whatwg.org/#dom-document-createcomment
+ // https://dom.spec.whatwg.org/#dom-document-createcomment
fn CreateComment(self, data: DOMString) -> Temporary<Comment> {
Comment::new(data, self)
}
- // http://dom.spec.whatwg.org/#dom-document-createprocessinginstruction
+ // https://dom.spec.whatwg.org/#dom-document-createprocessinginstruction
fn CreateProcessingInstruction(self, target: DOMString, data: DOMString) ->
Fallible<Temporary<ProcessingInstruction>> {
// Step 1.
@@ -1047,7 +1047,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(ProcessingInstruction::new(target, data, self))
}
- // http://dom.spec.whatwg.org/#dom-document-importnode
+ // https://dom.spec.whatwg.org/#dom-document-importnode
fn ImportNode(self, node: JSRef<Node>, deep: bool) -> Fallible<Temporary<Node>> {
// Step 1.
if node.is_document() {
@@ -1063,7 +1063,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(Node::clone(node, Some(self), clone_children))
}
- // http://dom.spec.whatwg.org/#dom-document-adoptnode
+ // https://dom.spec.whatwg.org/#dom-document-adoptnode
fn AdoptNode(self, node: JSRef<Node>) -> Fallible<Temporary<Node>> {
// Step 1.
if node.is_document() {
@@ -1077,7 +1077,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(Temporary::from_rooted(node))
}
- // http://dom.spec.whatwg.org/#dom-document-createevent
+ // https://dom.spec.whatwg.org/#dom-document-createevent
fn CreateEvent(self, interface: DOMString) -> Fallible<Temporary<Event>> {
let window = self.window.root();
@@ -1098,7 +1098,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
}
}
- // http://www.whatwg.org/html/#dom-document-lastmodified
+ // https://www.whatwg.org/html/#dom-document-lastmodified
fn LastModified(self) -> DOMString {
match self.last_modified {
Some(ref t) => t.clone(),
@@ -1106,19 +1106,19 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
}
}
- // http://dom.spec.whatwg.org/#dom-document-createrange
+ // https://dom.spec.whatwg.org/#dom-document-createrange
fn CreateRange(self) -> Temporary<Range> {
Range::new(self)
}
- // http://dom.spec.whatwg.org/#dom-document-createtreewalker
+ // https://dom.spec.whatwg.org/#dom-document-createtreewalker
fn CreateTreeWalker(self, root: JSRef<Node>, whatToShow: u32, filter: Option<NodeFilter>)
-> Temporary<TreeWalker> {
TreeWalker::new(self, root, whatToShow, filter)
}
// TODO: Support root SVG namespace: https://github.com/servo/servo/issues/5315
- // http://www.whatwg.org/specs/web-apps/current-work/#document.title
+ // https://www.whatwg.org/specs/web-apps/current-work/#document.title
fn Title(self) -> DOMString {
let title_element = self.GetDocumentElement().root().and_then(|root| {
NodeCast::from_ref(root.r()).traverse_preorder().find(|node| {
@@ -1140,7 +1140,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
}
// TODO: Support root SVG namespace: https://github.com/servo/servo/issues/5315
- // http://www.whatwg.org/specs/web-apps/current-work/#document.title
+ // https://www.whatwg.org/specs/web-apps/current-work/#document.title
fn SetTitle(self, title: DOMString) -> ErrorResult {
self.GetDocumentElement().root().map(|root| {
let root: JSRef<Node> = NodeCast::from_ref(root.r());
@@ -1179,7 +1179,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(())
}
- // http://www.whatwg.org/specs/web-apps/current-work/#dom-document-head
+ // https://www.whatwg.org/specs/web-apps/current-work/#dom-document-head
fn GetHead(self) -> Option<Temporary<HTMLHeadElement>> {
self.get_html_element().and_then(|root| {
let root = root.root();
@@ -1191,12 +1191,12 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
})
}
- // http://www.whatwg.org/specs/web-apps/current-work/#dom-document-currentscript
+ // https://www.whatwg.org/specs/web-apps/current-work/#dom-document-currentscript
fn GetCurrentScript(self) -> Option<Temporary<HTMLScriptElement>> {
self.current_script.get()
}
- // http://www.whatwg.org/specs/web-apps/current-work/#dom-document-body
+ // https://www.whatwg.org/specs/web-apps/current-work/#dom-document-body
fn GetBody(self) -> Option<Temporary<HTMLElement>> {
self.get_html_element().and_then(|root| {
let root = root.root();
@@ -1213,7 +1213,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
})
}
- // http://www.whatwg.org/specs/web-apps/current-work/#dom-document-body
+ // https://www.whatwg.org/specs/web-apps/current-work/#dom-document-body
fn SetBody(self, new_body: Option<JSRef<HTMLElement>>) -> ErrorResult {
// Step 1.
let new_body = match new_body {
@@ -1256,7 +1256,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
Ok(())
}
- // http://www.whatwg.org/specs/web-apps/current-work/#dom-document-getelementsbyname
+ // https://www.whatwg.org/specs/web-apps/current-work/#dom-document-getelementsbyname
fn GetElementsByName(self, name: DOMString) -> Temporary<NodeList> {
self.create_node_list(|node| {
let element: JSRef<Element> = match ElementCast::to_ref(node) {
@@ -1355,7 +1355,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
self.location.or_init(|| Location::new(window))
}
- // http://dom.spec.whatwg.org/#dom-parentnode-children
+ // https://dom.spec.whatwg.org/#dom-parentnode-children
fn Children(self) -> Temporary<HTMLCollection> {
let window = self.window.root();
HTMLCollection::children(window.r(), NodeCast::from_ref(self))
@@ -1376,13 +1376,13 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
NodeCast::from_ref(self).child_elements().count() as u32
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselector
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselector
fn QuerySelector(self, selectors: DOMString) -> Fallible<Option<Temporary<Element>>> {
let root: JSRef<Node> = NodeCast::from_ref(self);
root.query_selector(selectors)
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
fn QuerySelectorAll(self, selectors: DOMString) -> Fallible<Temporary<NodeList>> {
let root: JSRef<Node> = NodeCast::from_ref(self);
root.query_selector_all(selectors)
diff --git a/components/script/dom/documentfragment.rs b/components/script/dom/documentfragment.rs
index 2a61aa98460..606a2066bca 100644
--- a/components/script/dom/documentfragment.rs
+++ b/components/script/dom/documentfragment.rs
@@ -51,7 +51,7 @@ impl DocumentFragment {
}
impl<'a> DocumentFragmentMethods for JSRef<'a, DocumentFragment> {
- // http://dom.spec.whatwg.org/#dom-parentnode-children
+ // https://dom.spec.whatwg.org/#dom-parentnode-children
fn Children(self) -> Temporary<HTMLCollection> {
let window = window_from_node(self).root();
HTMLCollection::children(window.r(), NodeCast::from_ref(self))
@@ -72,13 +72,13 @@ impl<'a> DocumentFragmentMethods for JSRef<'a, DocumentFragment> {
NodeCast::from_ref(self).child_elements().count() as u32
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselector
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselector
fn QuerySelector(self, selectors: DOMString) -> Fallible<Option<Temporary<Element>>> {
let root: JSRef<Node> = NodeCast::from_ref(self);
root.query_selector(selectors)
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
fn QuerySelectorAll(self, selectors: DOMString) -> Fallible<Temporary<NodeList>> {
let root: JSRef<Node> = NodeCast::from_ref(self);
root.query_selector_all(selectors)
diff --git a/components/script/dom/documenttype.rs b/components/script/dom/documenttype.rs
index a2deb8ecf5b..0f2f675d4d5 100644
--- a/components/script/dom/documenttype.rs
+++ b/components/script/dom/documenttype.rs
@@ -83,7 +83,7 @@ impl<'a> DocumentTypeMethods for JSRef<'a, DocumentType> {
self.system_id.clone()
}
- // http://dom.spec.whatwg.org/#dom-childnode-remove
+ // https://dom.spec.whatwg.org/#dom-childnode-remove
fn Remove(self) {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.remove_self();
diff --git a/components/script/dom/domimplementation.rs b/components/script/dom/domimplementation.rs
index e5cac62f4e7..22f853bd2ab 100644
--- a/components/script/dom/domimplementation.rs
+++ b/components/script/dom/domimplementation.rs
@@ -47,9 +47,9 @@ impl DOMImplementation {
}
}
-// http://dom.spec.whatwg.org/#domimplementation
+// https://dom.spec.whatwg.org/#domimplementation
impl<'a> DOMImplementationMethods for JSRef<'a, DOMImplementation> {
- // http://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype
+ // https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype
fn CreateDocumentType(self, qualified_name: DOMString, pubid: DOMString, sysid: DOMString)
-> Fallible<Temporary<DocumentType>> {
try!(validate_qualified_name(&qualified_name));
@@ -57,7 +57,7 @@ impl<'a> DOMImplementationMethods for JSRef<'a, DOMImplementation> {
Ok(DocumentType::new(qualified_name, Some(pubid), Some(sysid), document.r()))
}
- // http://dom.spec.whatwg.org/#dom-domimplementation-createdocument
+ // https://dom.spec.whatwg.org/#dom-domimplementation-createdocument
fn CreateDocument(self, namespace: Option<DOMString>, qname: DOMString,
maybe_doctype: Option<JSRef<DocumentType>>) -> Fallible<Temporary<Document>> {
let doc = self.document.root();
@@ -104,7 +104,7 @@ impl<'a> DOMImplementationMethods for JSRef<'a, DOMImplementation> {
Ok(Temporary::from_rooted(doc.r()))
}
- // http://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument
+ // https://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument
fn CreateHTMLDocument(self, title: Option<DOMString>) -> Temporary<Document> {
let document = self.document.root();
let win = document.r().window().root();
diff --git a/components/script/dom/domparser.rs b/components/script/dom/domparser.rs
index 72190ccb1b6..b8e59316128 100644
--- a/components/script/dom/domparser.rs
+++ b/components/script/dom/domparser.rs
@@ -43,7 +43,7 @@ impl DOMParser {
}
impl<'a> DOMParserMethods for JSRef<'a, DOMParser> {
- // http://domparsing.spec.whatwg.org/#the-domparser-interface
+ // https://domparsing.spec.whatwg.org/#the-domparser-interface
fn ParseFromString(self,
s: DOMString,
ty: DOMParserBinding::SupportedType)
diff --git a/components/script/dom/domtokenlist.rs b/components/script/dom/domtokenlist.rs
index 508322da0ed..119028f6552 100644
--- a/components/script/dom/domtokenlist.rs
+++ b/components/script/dom/domtokenlist.rs
@@ -62,9 +62,9 @@ impl<'a> PrivateDOMTokenListHelpers for JSRef<'a, DOMTokenList> {
}
}
-// http://dom.spec.whatwg.org/#domtokenlist
+// https://dom.spec.whatwg.org/#domtokenlist
impl<'a> DOMTokenListMethods for JSRef<'a, DOMTokenList> {
- // http://dom.spec.whatwg.org/#dom-domtokenlist-length
+ // https://dom.spec.whatwg.org/#dom-domtokenlist-length
fn Length(self) -> u32 {
self.attribute().root().map(|attr| {
// FIXME(https://github.com/rust-lang/rust/issues/23338)
@@ -74,7 +74,7 @@ impl<'a> DOMTokenListMethods for JSRef<'a, DOMTokenList> {
}).unwrap_or(0) as u32
}
- // http://dom.spec.whatwg.org/#dom-domtokenlist-item
+ // https://dom.spec.whatwg.org/#dom-domtokenlist-item
fn Item(self, index: u32) -> Option<DOMString> {
self.attribute().root().and_then(|attr| {
// FIXME(https://github.com/rust-lang/rust/issues/23338)
@@ -92,7 +92,7 @@ impl<'a> DOMTokenListMethods for JSRef<'a, DOMTokenList> {
item
}
- // http://dom.spec.whatwg.org/#dom-domtokenlist-contains
+ // https://dom.spec.whatwg.org/#dom-domtokenlist-contains
fn Contains(self, token: DOMString) -> Fallible<bool> {
self.check_token_exceptions(&token).map(|token| {
self.attribute().root().map(|attr| {
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs
index 523caf59a92..fd6d56ec1dc 100644
--- a/components/script/dom/element.rs
+++ b/components/script/dom/element.rs
@@ -497,7 +497,7 @@ impl<'a> ElementHelpers<'a> for JSRef<'a, Element> {
}
match self.local_name.as_slice() {
/* List of void elements from
- http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#html-fragment-serialization-algorithm */
+ https://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#html-fragment-serialization-algorithm */
"area" | "base" | "basefont" | "bgsound" | "br" | "col" | "embed" |
"frame" | "hr" | "img" | "input" | "keygen" | "link" | "menuitem" |
"meta" | "param" | "source" | "track" | "wbr" => true,
@@ -685,7 +685,7 @@ pub trait AttributeHandlers {
fn set_atomic_attribute(self, local_name: &Atom, value: DOMString);
- // http://www.whatwg.org/html/#reflecting-content-attributes-in-idl-attributes
+ // https://www.whatwg.org/html/#reflecting-content-attributes-in-idl-attributes
fn has_attribute(self, local_name: &Atom) -> bool;
fn set_bool_attribute(self, local_name: &Atom, value: bool);
fn get_url_attribute(self, local_name: &Atom) -> DOMString;
@@ -973,7 +973,7 @@ impl<'a> AttributeHandlers for JSRef<'a, Element> {
}
impl<'a> ElementMethods for JSRef<'a, Element> {
- // http://dom.spec.whatwg.org/#dom-element-namespaceuri
+ // https://dom.spec.whatwg.org/#dom-element-namespaceuri
fn GetNamespaceURI(self) -> Option<DOMString> {
match self.namespace {
ns!("") => None,
@@ -986,12 +986,12 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
self.local_name.as_slice().to_owned()
}
- // http://dom.spec.whatwg.org/#dom-element-prefix
+ // https://dom.spec.whatwg.org/#dom-element-prefix
fn GetPrefix(self) -> Option<DOMString> {
self.prefix.clone()
}
- // http://dom.spec.whatwg.org/#dom-element-tagname
+ // https://dom.spec.whatwg.org/#dom-element-tagname
fn TagName(self) -> DOMString {
let qualified_name = match self.prefix {
Some(ref prefix) => {
@@ -1008,32 +1008,32 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
}
}
- // http://dom.spec.whatwg.org/#dom-element-id
+ // https://dom.spec.whatwg.org/#dom-element-id
fn Id(self) -> DOMString {
self.get_string_attribute(&atom!("id"))
}
- // http://dom.spec.whatwg.org/#dom-element-id
+ // https://dom.spec.whatwg.org/#dom-element-id
fn SetId(self, id: DOMString) {
self.set_atomic_attribute(&atom!("id"), id);
}
- // http://dom.spec.whatwg.org/#dom-element-classname
+ // https://dom.spec.whatwg.org/#dom-element-classname
fn ClassName(self) -> DOMString {
self.get_string_attribute(&atom!("class"))
}
- // http://dom.spec.whatwg.org/#dom-element-classname
+ // https://dom.spec.whatwg.org/#dom-element-classname
fn SetClassName(self, class: DOMString) {
self.set_tokenlist_attribute(&atom!("class"), class);
}
- // http://dom.spec.whatwg.org/#dom-element-classlist
+ // https://dom.spec.whatwg.org/#dom-element-classlist
fn ClassList(self) -> Temporary<DOMTokenList> {
self.class_list.or_init(|| DOMTokenList::new(self, &atom!("class")))
}
- // http://dom.spec.whatwg.org/#dom-element-attributes
+ // https://dom.spec.whatwg.org/#dom-element-attributes
fn Attributes(self) -> Temporary<NamedNodeMap> {
self.attr_list.or_init(|| {
let doc = {
@@ -1045,14 +1045,14 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
})
}
- // http://dom.spec.whatwg.org/#dom-element-getattribute
+ // https://dom.spec.whatwg.org/#dom-element-getattribute
fn GetAttribute(self, name: DOMString) -> Option<DOMString> {
let name = self.parsed_name(name);
self.get_attribute_by_name(&Atom::from_slice(&name)).root()
.map(|s| s.r().Value())
}
- // http://dom.spec.whatwg.org/#dom-element-getattributens
+ // https://dom.spec.whatwg.org/#dom-element-getattributens
fn GetAttributeNS(self,
namespace: Option<DOMString>,
local_name: DOMString) -> Option<DOMString> {
@@ -1061,7 +1061,7 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
.map(|attr| attr.r().Value())
}
- // http://dom.spec.whatwg.org/#dom-element-setattribute
+ // https://dom.spec.whatwg.org/#dom-element-setattribute
fn SetAttribute(self,
name: DOMString,
value: DOMString) -> ErrorResult {
@@ -1082,7 +1082,7 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
Ok(())
}
- // http://dom.spec.whatwg.org/#dom-element-setattributens
+ // https://dom.spec.whatwg.org/#dom-element-setattributens
fn SetAttributeNS(self,
namespace: Option<DOMString>,
qualified_name: DOMString,
@@ -1100,13 +1100,13 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
Ok(())
}
- // http://dom.spec.whatwg.org/#dom-element-removeattribute
+ // https://dom.spec.whatwg.org/#dom-element-removeattribute
fn RemoveAttribute(self, name: DOMString) {
let name = Atom::from_slice(&self.parsed_name(name));
self.remove_attribute_by_name(&name);
}
- // http://dom.spec.whatwg.org/#dom-element-removeattributens
+ // https://dom.spec.whatwg.org/#dom-element-removeattributens
fn RemoveAttributeNS(self,
namespace: Option<DOMString>,
local_name: DOMString) {
@@ -1115,12 +1115,12 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
self.remove_attribute(&namespace, &local_name);
}
- // http://dom.spec.whatwg.org/#dom-element-hasattribute
+ // https://dom.spec.whatwg.org/#dom-element-hasattribute
fn HasAttribute(self, name: DOMString) -> bool {
self.GetAttribute(name).is_some()
}
- // http://dom.spec.whatwg.org/#dom-element-hasattributens
+ // https://dom.spec.whatwg.org/#dom-element-hasattributens
fn HasAttributeNS(self,
namespace: Option<DOMString>,
local_name: DOMString) -> bool {
@@ -1244,7 +1244,7 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
.filter_map(ElementCast::to_temporary).next()
}
- // http://dom.spec.whatwg.org/#dom-parentnode-children
+ // https://dom.spec.whatwg.org/#dom-parentnode-children
fn Children(self) -> Temporary<HTMLCollection> {
let window = window_from_node(self).root();
HTMLCollection::children(window.r(), NodeCast::from_ref(self))
@@ -1265,25 +1265,25 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
NodeCast::from_ref(self).child_elements().count() as u32
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselector
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselector
fn QuerySelector(self, selectors: DOMString) -> Fallible<Option<Temporary<Element>>> {
let root: JSRef<Node> = NodeCast::from_ref(self);
root.query_selector(selectors)
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
fn QuerySelectorAll(self, selectors: DOMString) -> Fallible<Temporary<NodeList>> {
let root: JSRef<Node> = NodeCast::from_ref(self);
root.query_selector_all(selectors)
}
- // http://dom.spec.whatwg.org/#dom-childnode-remove
+ // https://dom.spec.whatwg.org/#dom-childnode-remove
fn Remove(self) {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.remove_self();
}
- // http://dom.spec.whatwg.org/#dom-element-matches
+ // https://dom.spec.whatwg.org/#dom-element-matches
fn Matches(self, selectors: DOMString) -> Fallible<bool> {
match parse_author_origin_selector_list_from_str(&selectors) {
Err(()) => Err(Syntax),
@@ -1481,7 +1481,7 @@ impl<'a> style::node::TElement<'a> for JSRef<'a, Element> {
// FIXME: This is HTML only.
let node: JSRef<Node> = NodeCast::from_ref(self);
match node.type_id() {
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#
+ // https://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#
// selector-link
NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLAnchorElement)) |
NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLAreaElement)) |
diff --git a/components/script/dom/eventdispatcher.rs b/components/script/dom/eventdispatcher.rs
index 6882c3f4599..e4faed47f62 100644
--- a/components/script/dom/eventdispatcher.rs
+++ b/components/script/dom/eventdispatcher.rs
@@ -12,7 +12,7 @@ use dom::event::{Event, EventPhase};
use dom::node::{Node, NodeHelpers};
use dom::virtualmethods::vtable_for;
-// See http://dom.spec.whatwg.org/#concept-event-dispatch for the full dispatch algorithm
+// See https://dom.spec.whatwg.org/#concept-event-dispatch for the full dispatch algorithm
pub fn dispatch_event<'a, 'b>(target: JSRef<'a, EventTarget>,
pseudo_target: Option<JSRef<'b, EventTarget>>,
event: JSRef<Event>) -> bool {
diff --git a/components/script/dom/htmlbuttonelement.rs b/components/script/dom/htmlbuttonelement.rs
index a4877e72aa4..40d95cfe91d 100644
--- a/components/script/dom/htmlbuttonelement.rs
+++ b/components/script/dom/htmlbuttonelement.rs
@@ -71,10 +71,10 @@ impl<'a> HTMLButtonElementMethods for JSRef<'a, HTMLButtonElement> {
ValidityState::new(window.r())
}
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_getter!(Disabled);
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage/forms.html#dom-button-type
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() {
diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs
index ee004837262..4021e91f246 100644
--- a/components/script/dom/htmlelement.rs
+++ b/components/script/dom/htmlelement.rs
@@ -92,7 +92,7 @@ impl<'a> HTMLElementMethods for JSRef<'a, HTMLElement> {
make_getter!(Lang);
make_setter!(SetLang, "lang");
- // http://html.spec.whatwg.org/multipage/#dom-hidden
+ // https://html.spec.whatwg.org/multipage/#dom-hidden
make_bool_getter!(Hidden);
make_bool_setter!(SetHidden, "hidden");
diff --git a/components/script/dom/htmlfieldsetelement.rs b/components/script/dom/htmlfieldsetelement.rs
index e3b8397e4bc..197e8d67b5a 100644
--- a/components/script/dom/htmlfieldsetelement.rs
+++ b/components/script/dom/htmlfieldsetelement.rs
@@ -48,7 +48,7 @@ impl HTMLFieldSetElement {
}
impl<'a> HTMLFieldSetElementMethods for JSRef<'a, HTMLFieldSetElement> {
- // http://www.whatwg.org/html/#dom-fieldset-elements
+ // https://www.whatwg.org/html/#dom-fieldset-elements
fn Elements(self) -> Temporary<HTMLCollection> {
#[jstraceable]
struct ElementsFilter;
@@ -70,10 +70,10 @@ impl<'a> HTMLFieldSetElementMethods for JSRef<'a, HTMLFieldSetElement> {
ValidityState::new(window.r())
}
- // http://www.whatwg.org/html/#dom-fieldset-disabled
+ // https://www.whatwg.org/html/#dom-fieldset-disabled
make_bool_getter!(Disabled);
- // http://www.whatwg.org/html/#dom-fieldset-disabled
+ // https://www.whatwg.org/html/#dom-fieldset-disabled
make_bool_setter!(SetDisabled, "disabled");
}
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs
index cbb6ee436a3..755e1168e40 100644
--- a/components/script/dom/htmliframeelement.rs
+++ b/components/script/dom/htmliframeelement.rs
@@ -68,7 +68,7 @@ impl HTMLIFrameElementDerived for EventTarget {
pub trait HTMLIFrameElementHelpers {
fn is_sandboxed(self) -> bool;
fn get_url(self) -> Option<Url>;
- /// http://www.whatwg.org/html/#process-the-iframe-attributes
+ /// https://www.whatwg.org/html/#process-the-iframe-attributes
fn process_the_iframe_attributes(self);
fn generate_new_subpage_id(self) -> (SubpageId, Option<SubpageId>);
fn navigate_child_browsing_context(self, url: Url);
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 30cd0676eb1..c792cec2aa7 100644
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -209,10 +209,10 @@ impl RawLayoutHTMLInputElementHelpers for HTMLInputElement {
}
impl<'a> HTMLInputElementMethods for JSRef<'a, HTMLInputElement> {
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_getter!(Disabled);
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage/forms.html#dom-input-defaultchecked
diff --git a/components/script/dom/htmloptgroupelement.rs b/components/script/dom/htmloptgroupelement.rs
index 1333fa6a966..cc0cfa654dd 100644
--- a/components/script/dom/htmloptgroupelement.rs
+++ b/components/script/dom/htmloptgroupelement.rs
@@ -46,10 +46,10 @@ impl HTMLOptGroupElement {
}
impl<'a> HTMLOptGroupElementMethods for JSRef<'a, HTMLOptGroupElement> {
- // http://www.whatwg.org/html#dom-optgroup-disabled
+ // https://www.whatwg.org/html#dom-optgroup-disabled
make_bool_getter!(Disabled);
- // http://www.whatwg.org/html#dom-optgroup-disabled
+ // https://www.whatwg.org/html#dom-optgroup-disabled
make_bool_setter!(SetDisabled, "disabled");
}
diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs
index 2ae9ad7c2a1..0a306995011 100644
--- a/components/script/dom/htmloptionelement.rs
+++ b/components/script/dom/htmloptionelement.rs
@@ -69,16 +69,16 @@ fn collect_text(node: &JSRef<Node>, value: &mut DOMString) {
}
impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> {
- // http://www.whatwg.org/html/#dom-option-disabled
+ // https://www.whatwg.org/html/#dom-option-disabled
make_bool_getter!(Disabled);
- // http://www.whatwg.org/html/#dom-option-disabled
+ // https://www.whatwg.org/html/#dom-option-disabled
fn SetDisabled(self, disabled: bool) {
let elem: JSRef<Element> = ElementCast::from_ref(self);
elem.set_bool_attribute(&atom!("disabled"), disabled)
}
- // http://www.whatwg.org/html/#dom-option-text
+ // https://www.whatwg.org/html/#dom-option-text
fn Text(self) -> DOMString {
let node: JSRef<Node> = NodeCast::from_ref(self);
let mut content = String::new();
@@ -87,7 +87,7 @@ impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> {
v.connect(" ")
}
- // http://www.whatwg.org/html/#dom-option-text
+ // https://www.whatwg.org/html/#dom-option-text
fn SetText(self, value: DOMString) {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.SetTextContent(Some(value))
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))
diff --git a/components/script/dom/htmlselectelement.rs b/components/script/dom/htmlselectelement.rs
index 12f88281eba..011ea699c61 100644
--- a/components/script/dom/htmlselectelement.rs
+++ b/components/script/dom/htmlselectelement.rs
@@ -60,10 +60,10 @@ impl<'a> HTMLSelectElementMethods for JSRef<'a, HTMLSelectElement> {
fn Add(self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) {
}
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_getter!(Disabled);
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage/forms.html#dom-select-type
diff --git a/components/script/dom/htmltableelement.rs b/components/script/dom/htmltableelement.rs
index 79f278d4487..437e5f6fa96 100644
--- a/components/script/dom/htmltableelement.rs
+++ b/components/script/dom/htmltableelement.rs
@@ -60,7 +60,7 @@ impl HTMLTableElement {
}
impl<'a> HTMLTableElementMethods for JSRef<'a, HTMLTableElement> {
- // http://www.whatwg.org/html/#dom-table-caption
+ // https://www.whatwg.org/html/#dom-table-caption
fn GetCaption(self) -> Option<Temporary<HTMLTableCaptionElement>> {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.children()
@@ -71,7 +71,7 @@ impl<'a> HTMLTableElementMethods for JSRef<'a, HTMLTableElement> {
.next()
}
- // http://www.whatwg.org/html/#dom-table-caption
+ // https://www.whatwg.org/html/#dom-table-caption
fn SetCaption(self, new_caption: Option<JSRef<HTMLTableCaptionElement>>) {
let node: JSRef<Node> = NodeCast::from_ref(self);
let old_caption = self.GetCaption();
diff --git a/components/script/dom/htmltextareaelement.rs b/components/script/dom/htmltextareaelement.rs
index f45bedd791d..edcfc60ba4b 100644
--- a/components/script/dom/htmltextareaelement.rs
+++ b/components/script/dom/htmltextareaelement.rs
@@ -116,10 +116,10 @@ impl<'a> HTMLTextAreaElementMethods for JSRef<'a, HTMLTextAreaElement> {
// https://html.spec.whatwg.org/multipage/forms.html#dom-textarea-cols
make_uint_setter!(SetCols, "cols");
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_getter!(Disabled);
- // http://www.whatwg.org/html/#dom-fe-disabled
+ // https://www.whatwg.org/html/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage/forms.html#attr-fe-name
diff --git a/components/script/dom/htmltitleelement.rs b/components/script/dom/htmltitleelement.rs
index 5fb9cd3b25f..411a67e71d5 100644
--- a/components/script/dom/htmltitleelement.rs
+++ b/components/script/dom/htmltitleelement.rs
@@ -44,7 +44,7 @@ impl HTMLTitleElement {
}
impl<'a> HTMLTitleElementMethods for JSRef<'a, HTMLTitleElement> {
- // http://www.whatwg.org/html/#dom-title-text
+ // https://www.whatwg.org/html/#dom-title-text
fn Text(self) -> DOMString {
let node: JSRef<Node> = NodeCast::from_ref(self);
let mut content = String::new();
@@ -59,7 +59,7 @@ impl<'a> HTMLTitleElementMethods for JSRef<'a, HTMLTitleElement> {
content
}
- // http://www.whatwg.org/html/#dom-title-text
+ // https://www.whatwg.org/html/#dom-title-text
fn SetText(self, value: DOMString) {
let node: JSRef<Node> = NodeCast::from_ref(self);
node.SetTextContent(Some(value))
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 6e96e560101..5d0aad8c01b 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -185,8 +185,8 @@ impl Drop for Node {
}
/// suppress observers flag
-/// http://dom.spec.whatwg.org/#concept-node-insert
-/// http://dom.spec.whatwg.org/#concept-node-remove
+/// https://dom.spec.whatwg.org/#concept-node-insert
+/// https://dom.spec.whatwg.org/#concept-node-remove
#[derive(Copy)]
enum SuppressObserver {
Suppressed,
@@ -283,7 +283,7 @@ trait PrivateNodeHelpers {
}
impl<'a> PrivateNodeHelpers for JSRef<'a, Node> {
- // http://dom.spec.whatwg.org/#node-is-inserted
+ // https://dom.spec.whatwg.org/#node-is-inserted
fn node_inserted(self) {
assert!(self.parent_node().is_some());
let document = document_from_node(self).root();
@@ -299,7 +299,7 @@ impl<'a> PrivateNodeHelpers for JSRef<'a, Node> {
document.r().content_and_heritage_changed(self, NodeDamage::OtherNodeDamage);
}
- // http://dom.spec.whatwg.org/#node-is-removed
+ // https://dom.spec.whatwg.org/#node-is-removed
fn node_removed(self, parent_in_doc: bool) {
assert!(self.parent_node().is_none());
for node in self.traverse_preorder() {
@@ -802,7 +802,7 @@ impl<'a> NodeHelpers for JSRef<'a, Node> {
window_from_node(self).root().r().content_boxes_query(self.to_trusted_node_address())
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselector
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselector
fn query_selector(self, selectors: DOMString) -> Fallible<Option<Temporary<Element>>> {
// Step 1.
match parse_author_origin_selector_list_from_str(selectors.as_slice()) {
@@ -841,7 +841,7 @@ impl<'a> NodeHelpers for JSRef<'a, Node> {
Ok(nodes)
}
- // http://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
+ // https://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
#[allow(unsafe_code)]
fn query_selector_all(self, selectors: DOMString) -> Fallible<Temporary<NodeList>> {
let mut nodes = RootedVec::new();
@@ -1292,7 +1292,7 @@ impl Node {
self.layout_data.borrow_unchecked()
}
- // http://dom.spec.whatwg.org/#concept-node-adopt
+ // https://dom.spec.whatwg.org/#concept-node-adopt
pub fn adopt(node: JSRef<Node>, document: JSRef<Document>) {
// Step 1.
match node.parent_node().root() {
@@ -1314,7 +1314,7 @@ impl Node {
// If node is an element, it is _affected by a base URL change_.
}
- // http://dom.spec.whatwg.org/#concept-node-pre-insert
+ // https://dom.spec.whatwg.org/#concept-node-pre-insert
fn pre_insert(node: JSRef<Node>, parent: JSRef<Node>, child: Option<JSRef<Node>>)
-> Fallible<Temporary<Node>> {
// Step 1.
@@ -1452,7 +1452,7 @@ impl Node {
return Ok(Temporary::from_rooted(node))
}
- // http://dom.spec.whatwg.org/#concept-node-insert
+ // https://dom.spec.whatwg.org/#concept-node-insert
fn insert(node: JSRef<Node>,
parent: JSRef<Node>,
child: Option<JSRef<Node>>,
@@ -1519,7 +1519,7 @@ impl Node {
}
}
- // http://dom.spec.whatwg.org/#concept-node-replace-all
+ // https://dom.spec.whatwg.org/#concept-node-replace-all
pub fn replace_all(node: Option<JSRef<Node>>, parent: JSRef<Node>) {
// Step 1.
match node {
@@ -1571,7 +1571,7 @@ impl Node {
}
}
- // http://dom.spec.whatwg.org/#concept-node-pre-remove
+ // https://dom.spec.whatwg.org/#concept-node-pre-remove
fn pre_remove(child: JSRef<Node>, parent: JSRef<Node>) -> Fallible<Temporary<Node>> {
// Step 1.
match child.parent_node() {
@@ -1587,7 +1587,7 @@ impl Node {
Ok(Temporary::from_rooted(child))
}
- // http://dom.spec.whatwg.org/#concept-node-remove
+ // https://dom.spec.whatwg.org/#concept-node-remove
fn remove(node: JSRef<Node>, parent: JSRef<Node>, suppress_observers: SuppressObserver) {
assert!(node.parent_node().map_or(false, |node_parent| node_parent == Temporary::from_rooted(parent)));
@@ -1605,7 +1605,7 @@ impl Node {
}
}
- // http://dom.spec.whatwg.org/#concept-node-clone
+ // https://dom.spec.whatwg.org/#concept-node-clone
pub fn clone(node: JSRef<Node>, maybe_doc: Option<JSRef<Document>>,
clone_children: CloneChildrenFlag) -> Temporary<Node> {
@@ -1734,7 +1734,7 @@ impl Node {
}
impl<'a> NodeMethods for JSRef<'a, Node> {
- // http://dom.spec.whatwg.org/#dom-node-nodetype
+ // https://dom.spec.whatwg.org/#dom-node-nodetype
fn NodeType(self) -> u16 {
match self.type_id {
NodeTypeId::Element(_) => NodeConstants::ELEMENT_NODE,
@@ -1747,7 +1747,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-nodename
+ // https://dom.spec.whatwg.org/#dom-node-nodename
fn NodeName(self) -> DOMString {
match self.type_id {
NodeTypeId::Element(..) => {
@@ -1770,13 +1770,13 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-baseuri
+ // https://dom.spec.whatwg.org/#dom-node-baseuri
fn GetBaseURI(self) -> Option<DOMString> {
// FIXME (#1824) implement.
None
}
- // http://dom.spec.whatwg.org/#dom-node-ownerdocument
+ // https://dom.spec.whatwg.org/#dom-node-ownerdocument
fn GetOwnerDocument(self) -> Option<Temporary<Document>> {
match self.type_id {
NodeTypeId::Element(..) |
@@ -1789,12 +1789,12 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-parentnode
+ // https://dom.spec.whatwg.org/#dom-node-parentnode
fn GetParentNode(self) -> Option<Temporary<Node>> {
self.parent_node.get()
}
- // http://dom.spec.whatwg.org/#dom-node-parentelement
+ // https://dom.spec.whatwg.org/#dom-node-parentelement
fn GetParentElement(self) -> Option<Temporary<Element>> {
self.parent_node.get()
.and_then(|parent| {
@@ -1805,12 +1805,12 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
})
}
- // http://dom.spec.whatwg.org/#dom-node-haschildnodes
+ // https://dom.spec.whatwg.org/#dom-node-haschildnodes
fn HasChildNodes(self) -> bool {
self.first_child.get().is_some()
}
- // http://dom.spec.whatwg.org/#dom-node-childnodes
+ // https://dom.spec.whatwg.org/#dom-node-childnodes
fn ChildNodes(self) -> Temporary<NodeList> {
self.child_list.or_init(|| {
let doc = self.owner_doc().root();
@@ -1819,27 +1819,27 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
})
}
- // http://dom.spec.whatwg.org/#dom-node-firstchild
+ // https://dom.spec.whatwg.org/#dom-node-firstchild
fn GetFirstChild(self) -> Option<Temporary<Node>> {
self.first_child.get()
}
- // http://dom.spec.whatwg.org/#dom-node-lastchild
+ // https://dom.spec.whatwg.org/#dom-node-lastchild
fn GetLastChild(self) -> Option<Temporary<Node>> {
self.last_child.get()
}
- // http://dom.spec.whatwg.org/#dom-node-previoussibling
+ // https://dom.spec.whatwg.org/#dom-node-previoussibling
fn GetPreviousSibling(self) -> Option<Temporary<Node>> {
self.prev_sibling.get()
}
- // http://dom.spec.whatwg.org/#dom-node-nextsibling
+ // https://dom.spec.whatwg.org/#dom-node-nextsibling
fn GetNextSibling(self) -> Option<Temporary<Node>> {
self.next_sibling.get()
}
- // http://dom.spec.whatwg.org/#dom-node-nodevalue
+ // https://dom.spec.whatwg.org/#dom-node-nodevalue
fn GetNodeValue(self) -> Option<DOMString> {
match self.type_id {
NodeTypeId::Comment |
@@ -1854,7 +1854,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-nodevalue
+ // https://dom.spec.whatwg.org/#dom-node-nodevalue
fn SetNodeValue(self, val: Option<DOMString>) {
match self.type_id {
NodeTypeId::Comment |
@@ -1866,7 +1866,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-textcontent
+ // https://dom.spec.whatwg.org/#dom-node-textcontent
fn GetTextContent(self) -> Option<DOMString> {
match self.type_id {
NodeTypeId::DocumentFragment |
@@ -1887,7 +1887,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-textcontent
+ // https://dom.spec.whatwg.org/#dom-node-textcontent
fn SetTextContent(self, value: Option<DOMString>) {
let value = null_str_as_empty(&value);
match self.type_id {
@@ -1919,17 +1919,17 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-insertbefore
+ // https://dom.spec.whatwg.org/#dom-node-insertbefore
fn InsertBefore(self, node: JSRef<Node>, child: Option<JSRef<Node>>) -> Fallible<Temporary<Node>> {
Node::pre_insert(node, self, child)
}
- // http://dom.spec.whatwg.org/#dom-node-appendchild
+ // https://dom.spec.whatwg.org/#dom-node-appendchild
fn AppendChild(self, node: JSRef<Node>) -> Fallible<Temporary<Node>> {
Node::pre_insert(node, self, None)
}
- // http://dom.spec.whatwg.org/#concept-node-replace
+ // https://dom.spec.whatwg.org/#concept-node-replace
fn ReplaceChild(self, node: JSRef<Node>, child: JSRef<Node>) -> Fallible<Temporary<Node>> {
// Step 1.
@@ -2085,13 +2085,13 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
Ok(Temporary::from_rooted(child))
}
- // http://dom.spec.whatwg.org/#dom-node-removechild
+ // https://dom.spec.whatwg.org/#dom-node-removechild
fn RemoveChild(self, node: JSRef<Node>)
-> Fallible<Temporary<Node>> {
Node::pre_remove(node, self)
}
- // http://dom.spec.whatwg.org/#dom-node-normalize
+ // https://dom.spec.whatwg.org/#dom-node-normalize
fn Normalize(self) {
let mut prev_text: Option<Temporary<Text>> = None;
for child in self.children() {
@@ -2121,7 +2121,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-clonenode
+ // https://dom.spec.whatwg.org/#dom-node-clonenode
fn CloneNode(self, deep: bool) -> Temporary<Node> {
Node::clone(self, None, if deep {
CloneChildrenFlag::CloneChildren
@@ -2130,7 +2130,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
})
}
- // http://dom.spec.whatwg.org/#dom-node-isequalnode
+ // https://dom.spec.whatwg.org/#dom-node-isequalnode
fn IsEqualNode(self, maybe_node: Option<JSRef<Node>>) -> bool {
fn is_equal_doctype(node: JSRef<Node>, other: JSRef<Node>) -> bool {
let doctype: JSRef<DocumentType> = DocumentTypeCast::to_ref(node).unwrap();
@@ -2211,7 +2211,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-comparedocumentposition
+ // https://dom.spec.whatwg.org/#dom-node-comparedocumentposition
fn CompareDocumentPosition(self, other: JSRef<Node>) -> u16 {
if self == other {
// step 2.
@@ -2269,7 +2269,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-contains
+ // https://dom.spec.whatwg.org/#dom-node-contains
fn Contains(self, maybe_other: Option<JSRef<Node>>) -> bool {
match maybe_other {
None => false,
@@ -2277,19 +2277,19 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
}
}
- // http://dom.spec.whatwg.org/#dom-node-lookupprefix
+ // https://dom.spec.whatwg.org/#dom-node-lookupprefix
fn LookupPrefix(self, _prefix: Option<DOMString>) -> Option<DOMString> {
// FIXME (#1826) implement.
None
}
- // http://dom.spec.whatwg.org/#dom-node-lookupnamespaceuri
+ // https://dom.spec.whatwg.org/#dom-node-lookupnamespaceuri
fn LookupNamespaceURI(self, _namespace: Option<DOMString>) -> Option<DOMString> {
// FIXME (#1826) implement.
None
}
- // http://dom.spec.whatwg.org/#dom-node-isdefaultnamespace
+ // https://dom.spec.whatwg.org/#dom-node-isdefaultnamespace
fn IsDefaultNamespace(self, _namespace: Option<DOMString>) -> bool {
// FIXME (#1826) implement.
false
diff --git a/components/script/dom/range.rs b/components/script/dom/range.rs
index 3f73e55bf34..4d79b008402 100644
--- a/components/script/dom/range.rs
+++ b/components/script/dom/range.rs
@@ -37,7 +37,7 @@ impl Range {
}
impl<'a> RangeMethods for JSRef<'a, Range> {
- /// http://dom.spec.whatwg.org/#dom-range-detach
+ /// https://dom.spec.whatwg.org/#dom-range-detach
fn Detach(self) {
// This method intentionally left blank.
}
diff --git a/components/script/dom/treewalker.rs b/components/script/dom/treewalker.rs
index d25dba20d1b..37e920cf9b1 100644
--- a/components/script/dom/treewalker.rs
+++ b/components/script/dom/treewalker.rs
@@ -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();
diff --git a/components/script/dom/urlsearchparams.rs b/components/script/dom/urlsearchparams.rs
index 0158b76a377..0c234cb2664 100644
--- a/components/script/dom/urlsearchparams.rs
+++ b/components/script/dom/urlsearchparams.rs
@@ -47,7 +47,7 @@ impl URLSearchParams {
match init {
Some(eString(_s)) => {
// XXXManishearth we need to parse the input here
- // http://url.spec.whatwg.org/#concept-urlencoded-parser
+ // https://url.spec.whatwg.org/#concept-urlencoded-parser
// We can use rust-url's implementation here:
// https://github.com/SimonSapin/rust-url/blob/master/form_urlencoded.rs#L29
},
@@ -115,9 +115,9 @@ pub trait URLSearchParamsHelpers {
impl URLSearchParamsHelpers for URLSearchParams {
fn serialize(&self, encoding: Option<EncodingRef>) -> Vec<u8> {
- // http://url.spec.whatwg.org/#concept-urlencoded-serializer
+ // https://url.spec.whatwg.org/#concept-urlencoded-serializer
fn serialize_string(value: &DOMString, encoding: EncodingRef) -> Vec<u8> {
- // http://url.spec.whatwg.org/#concept-urlencoded-byte-serializer
+ // https://url.spec.whatwg.org/#concept-urlencoded-byte-serializer
let value = value.as_slice();
// XXXManishearth should this be a strict encoding? Can unwrap()ing the result fail?
@@ -139,7 +139,7 @@ impl URLSearchParamsHelpers for URLSearchParams {
0x41...0x5A | 0x5F | 0x61...0x7A => vec!(*i),
// Encode everything else using 'percented-encoded bytes'
- // http://url.spec.whatwg.org/#percent-encode
+ // https://url.spec.whatwg.org/#percent-encode
a => format!("%{:X}", a).into_bytes(),
};
buf.push_all(&append);
@@ -170,6 +170,6 @@ impl URLSearchParamsHelpers for URLSearchParams {
fn update_steps(&self) {
// XXXManishearth Implement this when the URL interface is implemented
- // http://url.spec.whatwg.org/#concept-uq-update
+ // https://url.spec.whatwg.org/#concept-uq-update
}
}
diff --git a/components/script/dom/webidls/Attr.webidl b/components/script/dom/webidls/Attr.webidl
index 356bc7ed26e..beb4779fe4d 100644
--- a/components/script/dom/webidls/Attr.webidl
+++ b/components/script/dom/webidls/Attr.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#interface-attr
+ * https://dom.spec.whatwg.org/#interface-attr
*
*/
diff --git a/components/script/dom/webidls/CanvasRenderingContext2D.webidl b/components/script/dom/webidls/CanvasRenderingContext2D.webidl
index 4c4b94374f2..8b3070c6f64 100644
--- a/components/script/dom/webidls/CanvasRenderingContext2D.webidl
+++ b/components/script/dom/webidls/CanvasRenderingContext2D.webidl
@@ -5,7 +5,7 @@
enum CanvasWindingRule { "nonzero", "evenodd" };
-// http://www.whatwg.org/html/#2dcontext
+// https://www.whatwg.org/html/#2dcontext
typedef (HTMLImageElement or
/* HTMLVideoElement or */
HTMLCanvasElement or
diff --git a/components/script/dom/webidls/CharacterData.webidl b/components/script/dom/webidls/CharacterData.webidl
index e758adb4d30..470263c51b2 100644
--- a/components/script/dom/webidls/CharacterData.webidl
+++ b/components/script/dom/webidls/CharacterData.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#characterdata
+ * https://dom.spec.whatwg.org/#characterdata
*
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
* liability, trademark and document use rules apply.
diff --git a/components/script/dom/webidls/ChildNode.webidl b/components/script/dom/webidls/ChildNode.webidl
index fbcf8ea1208..de8d8271537 100644
--- a/components/script/dom/webidls/ChildNode.webidl
+++ b/components/script/dom/webidls/ChildNode.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is:
- * http://dom.spec.whatwg.org/#interface-childnode
+ * https://dom.spec.whatwg.org/#interface-childnode
*/
[NoInterfaceObject]
diff --git a/components/script/dom/webidls/Comment.webidl b/components/script/dom/webidls/Comment.webidl
index 023335f166a..6def109ef12 100644
--- a/components/script/dom/webidls/Comment.webidl
+++ b/components/script/dom/webidls/Comment.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#comment
+ * https://dom.spec.whatwg.org/#comment
*
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
* liability, trademark and document use rules apply.
diff --git a/components/script/dom/webidls/CustomEvent.webidl b/components/script/dom/webidls/CustomEvent.webidl
index bfc99c99954..da8849bf82e 100644
--- a/components/script/dom/webidls/CustomEvent.webidl
+++ b/components/script/dom/webidls/CustomEvent.webidl
@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* For more information on this interface please see
- * http://dom.spec.whatwg.org/#interface-customevent
+ * https://dom.spec.whatwg.org/#interface-customevent
*
* To the extent possible under law, the editors have waived
* all copyright and related or neighboring rights to this work.
diff --git a/components/script/dom/webidls/DOMException.webidl b/components/script/dom/webidls/DOMException.webidl
index 7347d2e76cc..da135df192f 100644
--- a/components/script/dom/webidls/DOMException.webidl
+++ b/components/script/dom/webidls/DOMException.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is:
- * http://dom.spec.whatwg.org/#domexception
+ * https://dom.spec.whatwg.org/#domexception
*/
// XXXkhuey this is an 'exception', not an interface, but we don't have any
diff --git a/components/script/dom/webidls/DOMImplementation.webidl b/components/script/dom/webidls/DOMImplementation.webidl
index 7069bb81615..f74b6ea4bb8 100644
--- a/components/script/dom/webidls/DOMImplementation.webidl
+++ b/components/script/dom/webidls/DOMImplementation.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#interface-domimplementation
+ * https://dom.spec.whatwg.org/#interface-domimplementation
*
* Copyright:
* To the extent possible under law, the editors have waived all copyright and
diff --git a/components/script/dom/webidls/DOMParser.webidl b/components/script/dom/webidls/DOMParser.webidl
index 2cb50530627..e8ce5f6915b 100644
--- a/components/script/dom/webidls/DOMParser.webidl
+++ b/components/script/dom/webidls/DOMParser.webidl
@@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://domparsing.spec.whatwg.org/#the-domparser-interface
+ * https://domparsing.spec.whatwg.org/#the-domparser-interface
*/
enum SupportedType {
diff --git a/components/script/dom/webidls/DOMTokenList.webidl b/components/script/dom/webidls/DOMTokenList.webidl
index 4cdcea84255..764f18d6dfa 100644
--- a/components/script/dom/webidls/DOMTokenList.webidl
+++ b/components/script/dom/webidls/DOMTokenList.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://dom.spec.whatwg.org/#domtokenlist
+// https://dom.spec.whatwg.org/#domtokenlist
interface DOMTokenList {
readonly attribute unsigned long length;
getter DOMString? item(unsigned long index);
diff --git a/components/script/dom/webidls/DedicatedWorkerGlobalScope.webidl b/components/script/dom/webidls/DedicatedWorkerGlobalScope.webidl
index 2fd34392dc9..93727f5f60e 100644
--- a/components/script/dom/webidls/DedicatedWorkerGlobalScope.webidl
+++ b/components/script/dom/webidls/DedicatedWorkerGlobalScope.webidl
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#dedicatedworkerglobalscope
+// https://www.whatwg.org/html/#dedicatedworkerglobalscope
[Global/*=Worker,DedicatedWorker*/]
/*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
[Throws]
diff --git a/components/script/dom/webidls/Document.webidl b/components/script/dom/webidls/Document.webidl
index c57b09fff1b..69e76bd668b 100644
--- a/components/script/dom/webidls/Document.webidl
+++ b/components/script/dom/webidls/Document.webidl
@@ -4,11 +4,11 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is:
- * http://dom.spec.whatwg.org/#interface-document
- * http://www.whatwg.org/specs/web-apps/current-work/#the-document-object
+ * https://dom.spec.whatwg.org/#interface-document
+ * https://www.whatwg.org/specs/web-apps/current-work/#the-document-object
*/
-/* http://dom.spec.whatwg.org/#interface-document */
+/* https://dom.spec.whatwg.org/#interface-document */
[Constructor]
interface Document : Node {
readonly attribute DOMImplementation implementation;
@@ -66,7 +66,7 @@ Document implements ParentNode;
enum DocumentReadyState { "loading", "interactive", "complete" };
-/* http://www.whatwg.org/specs/web-apps/current-work/#the-document-object */
+/* https://www.whatwg.org/specs/web-apps/current-work/#the-document-object */
partial interface Document {
// resource metadata management
readonly attribute DocumentReadyState readyState;
diff --git a/components/script/dom/webidls/DocumentFragment.webidl b/components/script/dom/webidls/DocumentFragment.webidl
index 4248975f768..7dfbcc573df 100644
--- a/components/script/dom/webidls/DocumentFragment.webidl
+++ b/components/script/dom/webidls/DocumentFragment.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://dom.spec.whatwg.org/#interface-documentfragment
+// https://dom.spec.whatwg.org/#interface-documentfragment
[Constructor]
interface DocumentFragment : Node {
};
diff --git a/components/script/dom/webidls/DocumentType.webidl b/components/script/dom/webidls/DocumentType.webidl
index 89190266fde..86b7c3a7919 100644
--- a/components/script/dom/webidls/DocumentType.webidl
+++ b/components/script/dom/webidls/DocumentType.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#documenttype
+ * https://dom.spec.whatwg.org/#documenttype
*
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
* liability, trademark and document use rules apply.
diff --git a/components/script/dom/webidls/Element.webidl b/components/script/dom/webidls/Element.webidl
index 1090ad91588..cbaf599d25e 100644
--- a/components/script/dom/webidls/Element.webidl
+++ b/components/script/dom/webidls/Element.webidl
@@ -4,8 +4,8 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#element and
- * http://domparsing.spec.whatwg.org/ and
+ * https://dom.spec.whatwg.org/#element and
+ * https://domparsing.spec.whatwg.org/ and
* http://dev.w3.org/csswg/cssom-view/ and
* http://www.w3.org/TR/selectors-api/
*
@@ -61,7 +61,7 @@ partial interface Element {
DOMRect getBoundingClientRect();
};
-// http://domparsing.spec.whatwg.org/#extensions-to-the-element-interface
+// https://domparsing.spec.whatwg.org/#extensions-to-the-element-interface
partial interface Element {
[Throws,TreatNullAs=EmptyString]
attribute DOMString innerHTML;
diff --git a/components/script/dom/webidls/EventHandler.webidl b/components/script/dom/webidls/EventHandler.webidl
index 0ab01a113d4..c0ee3f290a8 100644
--- a/components/script/dom/webidls/EventHandler.webidl
+++ b/components/script/dom/webidls/EventHandler.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#eventhandler
+ * https://www.whatwg.org/specs/web-apps/current-work/#eventhandler
*
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
* Opera Software ASA. You are granted a license to use, reproduce
diff --git a/components/script/dom/webidls/File.webidl b/components/script/dom/webidls/File.webidl
index 0d5967b5e55..362d4fa251d 100644
--- a/components/script/dom/webidls/File.webidl
+++ b/components/script/dom/webidls/File.webidl
@@ -12,4 +12,4 @@ interface File : Blob {
readonly attribute DOMString name;
// readonly attribute Date lastModifiedDate;
-}; \ No newline at end of file
+};
diff --git a/components/script/dom/webidls/FormData.webidl b/components/script/dom/webidls/FormData.webidl
index cfa3e89b3cd..2937d5bb9a6 100644
--- a/components/script/dom/webidls/FormData.webidl
+++ b/components/script/dom/webidls/FormData.webidl
@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://xhr.spec.whatwg.org
+ * https://xhr.spec.whatwg.org
*/
typedef (File or DOMString) FormDataEntryValue;
diff --git a/components/script/dom/webidls/Function.webidl b/components/script/dom/webidls/Function.webidl
index 55bec0811c7..93784103a0e 100644
--- a/components/script/dom/webidls/Function.webidl
+++ b/components/script/dom/webidls/Function.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#functiocn
+ * https://www.whatwg.org/specs/web-apps/current-work/#functiocn
*
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
* Opera Software ASA. You are granted a license to use, reproduce
diff --git a/components/script/dom/webidls/HTMLAnchorElement.webidl b/components/script/dom/webidls/HTMLAnchorElement.webidl
index d5a120ce822..f144652fb88 100644
--- a/components/script/dom/webidls/HTMLAnchorElement.webidl
+++ b/components/script/dom/webidls/HTMLAnchorElement.webidl
@@ -4,14 +4,14 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-a-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
+ * https://www.whatwg.org/specs/web-apps/current-work/#the-a-element
+ * https://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
* Opera Software ASA. You are granted a license to use, reproduce
* and create derivative works of this document.
*/
-// http://www.whatwg.org/html/#htmlanchorelement
+// https://www.whatwg.org/html/#htmlanchorelement
interface HTMLAnchorElement : HTMLElement {
// attribute DOMString target;
// attribute DOMString download;
@@ -28,7 +28,7 @@ interface HTMLAnchorElement : HTMLElement {
};
//HTMLAnchorElement implements URLUtils;
-// http://www.whatwg.org/html/#HTMLAnchorElement-partial
+// https://www.whatwg.org/html/#HTMLAnchorElement-partial
partial interface HTMLAnchorElement {
// attribute DOMString coords;
// attribute DOMString charset;
diff --git a/components/script/dom/webidls/HTMLAppletElement.webidl b/components/script/dom/webidls/HTMLAppletElement.webidl
index 2612ffee2a1..ff86973dac4 100644
--- a/components/script/dom/webidls/HTMLAppletElement.webidl
+++ b/components/script/dom/webidls/HTMLAppletElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlappletelement
+// https://www.whatwg.org/html/#htmlappletelement
interface HTMLAppletElement : HTMLElement {
// attribute DOMString align;
// attribute DOMString alt;
diff --git a/components/script/dom/webidls/HTMLAreaElement.webidl b/components/script/dom/webidls/HTMLAreaElement.webidl
index 9184b76dfdf..1f13c0ffa25 100644
--- a/components/script/dom/webidls/HTMLAreaElement.webidl
+++ b/components/script/dom/webidls/HTMLAreaElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlareaelement
+// https://www.whatwg.org/html/#htmlareaelement
interface HTMLAreaElement : HTMLElement {
// attribute DOMString alt;
// attribute DOMString coords;
@@ -20,7 +20,7 @@ interface HTMLAreaElement : HTMLElement {
};
//HTMLAreaElement implements URLUtils;
-// http://www.whatwg.org/html/#HTMLAreaElement-partial
+// https://www.whatwg.org/html/#HTMLAreaElement-partial
partial interface HTMLAreaElement {
// attribute boolean noHref;
};
diff --git a/components/script/dom/webidls/HTMLAudioElement.webidl b/components/script/dom/webidls/HTMLAudioElement.webidl
index 9832eeda044..d3e685e43ab 100644
--- a/components/script/dom/webidls/HTMLAudioElement.webidl
+++ b/components/script/dom/webidls/HTMLAudioElement.webidl
@@ -3,6 +3,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlaudioelement
+// https://www.whatwg.org/html/#htmlaudioelement
//[NamedConstructor=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};
diff --git a/components/script/dom/webidls/HTMLBRElement.webidl b/components/script/dom/webidls/HTMLBRElement.webidl
index 972b9377a0e..eba2470d6f8 100644
--- a/components/script/dom/webidls/HTMLBRElement.webidl
+++ b/components/script/dom/webidls/HTMLBRElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlbrelement
+// https://www.whatwg.org/html/#htmlbrelement
interface HTMLBRElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLBRElement-partial
+// https://www.whatwg.org/html/#HTMLBRElement-partial
partial interface HTMLBRElement {
// attribute DOMString clear;
};
diff --git a/components/script/dom/webidls/HTMLBaseElement.webidl b/components/script/dom/webidls/HTMLBaseElement.webidl
index c39951b6783..8b744b49812 100644
--- a/components/script/dom/webidls/HTMLBaseElement.webidl
+++ b/components/script/dom/webidls/HTMLBaseElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlbaseelement
+// https://www.whatwg.org/html/#htmlbaseelement
interface HTMLBaseElement : HTMLElement {
// attribute DOMString href;
// attribute DOMString target;
diff --git a/components/script/dom/webidls/HTMLBodyElement.webidl b/components/script/dom/webidls/HTMLBodyElement.webidl
index 6d6967d2709..981ff03490a 100644
--- a/components/script/dom/webidls/HTMLBodyElement.webidl
+++ b/components/script/dom/webidls/HTMLBodyElement.webidl
@@ -3,14 +3,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlbodyelement
+// https://www.whatwg.org/html/#htmlbodyelement
interface HTMLBodyElement : HTMLElement {
// also has obsolete members
};
HTMLBodyElement implements WindowEventHandlers;
-// http://www.whatwg.org/html/#HTMLBodyElement-partial
+// https://www.whatwg.org/html/#HTMLBodyElement-partial
partial interface HTMLBodyElement {
//[TreatNullAs=EmptyString] attribute DOMString text;
//[TreatNullAs=EmptyString] attribute DOMString link;
diff --git a/components/script/dom/webidls/HTMLButtonElement.webidl b/components/script/dom/webidls/HTMLButtonElement.webidl
index a04b9dd6737..110d483a2b4 100644
--- a/components/script/dom/webidls/HTMLButtonElement.webidl
+++ b/components/script/dom/webidls/HTMLButtonElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlbuttonelement
+// https://www.whatwg.org/html/#htmlbuttonelement
interface HTMLButtonElement : HTMLElement {
// attribute boolean autofocus;
attribute boolean disabled;
diff --git a/components/script/dom/webidls/HTMLCanvasElement.webidl b/components/script/dom/webidls/HTMLCanvasElement.webidl
index baff0dc745c..e1192d215f8 100644
--- a/components/script/dom/webidls/HTMLCanvasElement.webidl
+++ b/components/script/dom/webidls/HTMLCanvasElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlcanvaselement
+// https://www.whatwg.org/html/#htmlcanvaselement
//typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
interface HTMLCanvasElement : HTMLElement {
diff --git a/components/script/dom/webidls/HTMLDListElement.webidl b/components/script/dom/webidls/HTMLDListElement.webidl
index 3c0a8b9c63d..22c7288349e 100644
--- a/components/script/dom/webidls/HTMLDListElement.webidl
+++ b/components/script/dom/webidls/HTMLDListElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmldlistelement
+// https://www.whatwg.org/html/#htmldlistelement
interface HTMLDListElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLDListElement-partial
+// https://www.whatwg.org/html/#HTMLDListElement-partial
partial interface HTMLDListElement {
// attribute boolean compact;
};
diff --git a/components/script/dom/webidls/HTMLDataElement.webidl b/components/script/dom/webidls/HTMLDataElement.webidl
index c6025423fb0..48f8a5a85f4 100644
--- a/components/script/dom/webidls/HTMLDataElement.webidl
+++ b/components/script/dom/webidls/HTMLDataElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmldataelement
+// https://www.whatwg.org/html/#htmldataelement
interface HTMLDataElement : HTMLElement {
// attribute DOMString value;
};
diff --git a/components/script/dom/webidls/HTMLDataListElement.webidl b/components/script/dom/webidls/HTMLDataListElement.webidl
index ae7055bb48c..4e9eaa3ce0f 100644
--- a/components/script/dom/webidls/HTMLDataListElement.webidl
+++ b/components/script/dom/webidls/HTMLDataListElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmldatalistelement
+// https://www.whatwg.org/html/#htmldatalistelement
interface HTMLDataListElement : HTMLElement {
readonly attribute HTMLCollection options;
};
diff --git a/components/script/dom/webidls/HTMLDialogElement.webidl b/components/script/dom/webidls/HTMLDialogElement.webidl
index 1f2084b1b0f..659096994e7 100644
--- a/components/script/dom/webidls/HTMLDialogElement.webidl
+++ b/components/script/dom/webidls/HTMLDialogElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmldialogelement
+// https://www.whatwg.org/html/#htmldialogelement
interface HTMLDialogElement : HTMLElement {
//attribute boolean open;
//attribute DOMString returnValue;
diff --git a/components/script/dom/webidls/HTMLDirectoryElement.webidl b/components/script/dom/webidls/HTMLDirectoryElement.webidl
index 6015b4e8859..56507d5b442 100644
--- a/components/script/dom/webidls/HTMLDirectoryElement.webidl
+++ b/components/script/dom/webidls/HTMLDirectoryElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmldirectoryelement
+// https://www.whatwg.org/html/#htmldirectoryelement
interface HTMLDirectoryElement : HTMLElement {
// attribute boolean compact;
};
diff --git a/components/script/dom/webidls/HTMLDivElement.webidl b/components/script/dom/webidls/HTMLDivElement.webidl
index be451ce3e23..1e1319fe573 100644
--- a/components/script/dom/webidls/HTMLDivElement.webidl
+++ b/components/script/dom/webidls/HTMLDivElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmldivelement
+// https://www.whatwg.org/html/#htmldivelement
interface HTMLDivElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLDivElement-partial
+// https://www.whatwg.org/html/#HTMLDivElement-partial
partial interface HTMLDivElement {
// attribute DOMString align;
};
diff --git a/components/script/dom/webidls/HTMLElement.webidl b/components/script/dom/webidls/HTMLElement.webidl
index fa3ecb6bbb2..f4c0376b618 100644
--- a/components/script/dom/webidls/HTMLElement.webidl
+++ b/components/script/dom/webidls/HTMLElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlelement
+// https://www.whatwg.org/html/#htmlelement
interface HTMLElement : Element {
// metadata attributes
attribute DOMString title;
diff --git a/components/script/dom/webidls/HTMLEmbedElement.webidl b/components/script/dom/webidls/HTMLEmbedElement.webidl
index 0b708113b55..7cb69cc4412 100644
--- a/components/script/dom/webidls/HTMLEmbedElement.webidl
+++ b/components/script/dom/webidls/HTMLEmbedElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlembedelement
+// https://www.whatwg.org/html/#htmlembedelement
interface HTMLEmbedElement : HTMLElement {
// attribute DOMString src;
// attribute DOMString type;
@@ -14,7 +14,7 @@ interface HTMLEmbedElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLEmbedElement-partial
+// https://www.whatwg.org/html/#HTMLEmbedElement-partial
partial interface HTMLEmbedElement {
// attribute DOMString align;
// attribute DOMString name;
diff --git a/components/script/dom/webidls/HTMLFieldSetElement.webidl b/components/script/dom/webidls/HTMLFieldSetElement.webidl
index 6b64c60bd21..eb5f4fcc840 100644
--- a/components/script/dom/webidls/HTMLFieldSetElement.webidl
+++ b/components/script/dom/webidls/HTMLFieldSetElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlfieldsetelement
+// https://www.whatwg.org/html/#htmlfieldsetelement
interface HTMLFieldSetElement : HTMLElement {
attribute boolean disabled;
//readonly attribute HTMLFormElement? form;
diff --git a/components/script/dom/webidls/HTMLFontElement.webidl b/components/script/dom/webidls/HTMLFontElement.webidl
index 4bdcb766745..9a58672baf5 100644
--- a/components/script/dom/webidls/HTMLFontElement.webidl
+++ b/components/script/dom/webidls/HTMLFontElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlfontelement
+// https://www.whatwg.org/html/#htmlfontelement
interface HTMLFontElement : HTMLElement {
//[TreatNullAs=EmptyString] attribute DOMString color;
// attribute DOMString face;
diff --git a/components/script/dom/webidls/HTMLFormElement.webidl b/components/script/dom/webidls/HTMLFormElement.webidl
index ce64cac7ec6..e74e173cc11 100644
--- a/components/script/dom/webidls/HTMLFormElement.webidl
+++ b/components/script/dom/webidls/HTMLFormElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlformelement
+// https://www.whatwg.org/html/#htmlformelement
//[OverrideBuiltins]
interface HTMLFormElement : HTMLElement {
attribute DOMString acceptCharset;
diff --git a/components/script/dom/webidls/HTMLFrameElement.webidl b/components/script/dom/webidls/HTMLFrameElement.webidl
index effa8d13e99..ffd3fff9cd0 100644
--- a/components/script/dom/webidls/HTMLFrameElement.webidl
+++ b/components/script/dom/webidls/HTMLFrameElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlframeelement
+// https://www.whatwg.org/html/#htmlframeelement
interface HTMLFrameElement : HTMLElement {
// attribute DOMString name;
// attribute DOMString scrolling;
diff --git a/components/script/dom/webidls/HTMLFrameSetElement.webidl b/components/script/dom/webidls/HTMLFrameSetElement.webidl
index 50245baa049..cbb888928f1 100644
--- a/components/script/dom/webidls/HTMLFrameSetElement.webidl
+++ b/components/script/dom/webidls/HTMLFrameSetElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlframesetelement
+// https://www.whatwg.org/html/#htmlframesetelement
interface HTMLFrameSetElement : HTMLElement {
// attribute DOMString cols;
// attribute DOMString rows;
diff --git a/components/script/dom/webidls/HTMLHRElement.webidl b/components/script/dom/webidls/HTMLHRElement.webidl
index 482e1bca516..977b181204c 100644
--- a/components/script/dom/webidls/HTMLHRElement.webidl
+++ b/components/script/dom/webidls/HTMLHRElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlhrelement
+// https://www.whatwg.org/html/#htmlhrelement
interface HTMLHRElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLHRElement-partial
+// https://www.whatwg.org/html/#HTMLHRElement-partial
partial interface HTMLHRElement {
// attribute DOMString align;
// attribute DOMString color;
diff --git a/components/script/dom/webidls/HTMLHeadElement.webidl b/components/script/dom/webidls/HTMLHeadElement.webidl
index b7a53d2052b..ce2d8805028 100644
--- a/components/script/dom/webidls/HTMLHeadElement.webidl
+++ b/components/script/dom/webidls/HTMLHeadElement.webidl
@@ -3,5 +3,5 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlheadelement
+// https://www.whatwg.org/html/#htmlheadelement
interface HTMLHeadElement : HTMLElement {};
diff --git a/components/script/dom/webidls/HTMLHeadingElement.webidl b/components/script/dom/webidls/HTMLHeadingElement.webidl
index 21a6060c335..16d2b99ede7 100644
--- a/components/script/dom/webidls/HTMLHeadingElement.webidl
+++ b/components/script/dom/webidls/HTMLHeadingElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlheadingelement
+// https://www.whatwg.org/html/#htmlheadingelement
interface HTMLHeadingElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLHeadingElement-partial
+// https://www.whatwg.org/html/#HTMLHeadingElement-partial
partial interface HTMLHeadingElement {
// attribute DOMString align;
};
diff --git a/components/script/dom/webidls/HTMLHtmlElement.webidl b/components/script/dom/webidls/HTMLHtmlElement.webidl
index f48fc6dafac..a9aec499f19 100644
--- a/components/script/dom/webidls/HTMLHtmlElement.webidl
+++ b/components/script/dom/webidls/HTMLHtmlElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlhtmlelement
+// https://www.whatwg.org/html/#htmlhtmlelement
interface HTMLHtmlElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLHtmlElement-partial
+// https://www.whatwg.org/html/#HTMLHtmlElement-partial
partial interface HTMLHtmlElement {
// attribute DOMString version;
};
diff --git a/components/script/dom/webidls/HTMLIFrameElement.webidl b/components/script/dom/webidls/HTMLIFrameElement.webidl
index 558cdfd8030..528ee2aa47b 100644
--- a/components/script/dom/webidls/HTMLIFrameElement.webidl
+++ b/components/script/dom/webidls/HTMLIFrameElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmliframeelement
+// https://www.whatwg.org/html/#htmliframeelement
interface HTMLIFrameElement : HTMLElement {
attribute DOMString src;
// attribute DOMString srcdoc;
@@ -21,7 +21,7 @@ interface HTMLIFrameElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLIFrameElement-partial
+// https://www.whatwg.org/html/#HTMLIFrameElement-partial
partial interface HTMLIFrameElement {
// attribute DOMString align;
// attribute DOMString scrolling;
diff --git a/components/script/dom/webidls/HTMLImageElement.webidl b/components/script/dom/webidls/HTMLImageElement.webidl
index 08e71ff8ee7..ab9b4ce72a1 100644
--- a/components/script/dom/webidls/HTMLImageElement.webidl
+++ b/components/script/dom/webidls/HTMLImageElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlimageelement
+// https://www.whatwg.org/html/#htmlimageelement
//[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
attribute DOMString alt;
@@ -21,7 +21,7 @@ interface HTMLImageElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLImageElement-partial
+// https://www.whatwg.org/html/#HTMLImageElement-partial
partial interface HTMLImageElement {
attribute DOMString name;
// attribute DOMString lowsrc;
diff --git a/components/script/dom/webidls/HTMLInputElement.webidl b/components/script/dom/webidls/HTMLInputElement.webidl
index f08f2334fbb..c62d29ddeeb 100644
--- a/components/script/dom/webidls/HTMLInputElement.webidl
+++ b/components/script/dom/webidls/HTMLInputElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlinputelement
+// https://www.whatwg.org/html/#htmlinputelement
interface HTMLInputElement : HTMLElement {
// attribute DOMString accept;
// attribute DOMString alt;
@@ -69,7 +69,7 @@ interface HTMLInputElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLInputElement-partial
+// https://www.whatwg.org/html/#HTMLInputElement-partial
partial interface HTMLInputElement {
// attribute DOMString align;
// attribute DOMString useMap;
diff --git a/components/script/dom/webidls/HTMLLIElement.webidl b/components/script/dom/webidls/HTMLLIElement.webidl
index 87d8b78b175..a3cb686056d 100644
--- a/components/script/dom/webidls/HTMLLIElement.webidl
+++ b/components/script/dom/webidls/HTMLLIElement.webidl
@@ -3,14 +3,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmllielement
+// https://www.whatwg.org/html/#htmllielement
interface HTMLLIElement : HTMLElement {
// attribute long value;
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLLIElement-partial
+// https://www.whatwg.org/html/#HTMLLIElement-partial
partial interface HTMLLIElement {
// attribute DOMString type;
};
diff --git a/components/script/dom/webidls/HTMLLabelElement.webidl b/components/script/dom/webidls/HTMLLabelElement.webidl
index c3ff7fb50cd..6794b4673af 100644
--- a/components/script/dom/webidls/HTMLLabelElement.webidl
+++ b/components/script/dom/webidls/HTMLLabelElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmllabelelement
+// https://www.whatwg.org/html/#htmllabelelement
interface HTMLLabelElement : HTMLElement {
//readonly attribute HTMLFormElement? form;
// attribute DOMString htmlFor;
diff --git a/components/script/dom/webidls/HTMLLegendElement.webidl b/components/script/dom/webidls/HTMLLegendElement.webidl
index 3622cd27672..e1f1620f1a0 100644
--- a/components/script/dom/webidls/HTMLLegendElement.webidl
+++ b/components/script/dom/webidls/HTMLLegendElement.webidl
@@ -3,14 +3,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmllegendelement
+// https://www.whatwg.org/html/#htmllegendelement
interface HTMLLegendElement : HTMLElement {
//readonly attribute HTMLFormElement? form;
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLLegendElement-partial
+// https://www.whatwg.org/html/#HTMLLegendElement-partial
partial interface HTMLLegendElement {
// attribute DOMString align;
};
diff --git a/components/script/dom/webidls/HTMLLinkElement.webidl b/components/script/dom/webidls/HTMLLinkElement.webidl
index 1d0bd92816e..9d32ec5b7b3 100644
--- a/components/script/dom/webidls/HTMLLinkElement.webidl
+++ b/components/script/dom/webidls/HTMLLinkElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmllinkelement
+// https://www.whatwg.org/html/#htmllinkelement
interface HTMLLinkElement : HTMLElement {
attribute DOMString href;
// attribute DOMString crossOrigin;
@@ -18,7 +18,7 @@ interface HTMLLinkElement : HTMLElement {
};
//HTMLLinkElement implements LinkStyle;
-// http://www.whatwg.org/html/#HTMLLinkElement-partial
+// https://www.whatwg.org/html/#HTMLLinkElement-partial
partial interface HTMLLinkElement {
// attribute DOMString charset;
// attribute DOMString rev;
diff --git a/components/script/dom/webidls/HTMLMapElement.webidl b/components/script/dom/webidls/HTMLMapElement.webidl
index c5eb1cea3e4..7551bcee696 100644
--- a/components/script/dom/webidls/HTMLMapElement.webidl
+++ b/components/script/dom/webidls/HTMLMapElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlmapelement
+// https://www.whatwg.org/html/#htmlmapelement
interface HTMLMapElement : HTMLElement {
// attribute DOMString name;
//readonly attribute HTMLCollection areas;
diff --git a/components/script/dom/webidls/HTMLMediaElement.webidl b/components/script/dom/webidls/HTMLMediaElement.webidl
index 53f5770f54f..e7b0383d1a3 100644
--- a/components/script/dom/webidls/HTMLMediaElement.webidl
+++ b/components/script/dom/webidls/HTMLMediaElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlmediaelement
+// https://www.whatwg.org/html/#htmlmediaelement
//enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
interface HTMLMediaElement : HTMLElement {
diff --git a/components/script/dom/webidls/HTMLMetaElement.webidl b/components/script/dom/webidls/HTMLMetaElement.webidl
index 97f89b35576..bef266bc9fe 100644
--- a/components/script/dom/webidls/HTMLMetaElement.webidl
+++ b/components/script/dom/webidls/HTMLMetaElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlmetaelement
+// https://www.whatwg.org/html/#htmlmetaelement
interface HTMLMetaElement : HTMLElement {
// attribute DOMString name;
// attribute DOMString httpEquiv;
@@ -12,7 +12,7 @@ interface HTMLMetaElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLMetaElement-partial
+// https://www.whatwg.org/html/#HTMLMetaElement-partial
partial interface HTMLMetaElement {
// attribute DOMString scheme;
};
diff --git a/components/script/dom/webidls/HTMLMeterElement.webidl b/components/script/dom/webidls/HTMLMeterElement.webidl
index 96c40ba6114..957af09d8e1 100644
--- a/components/script/dom/webidls/HTMLMeterElement.webidl
+++ b/components/script/dom/webidls/HTMLMeterElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlmeterelement
+// https://www.whatwg.org/html/#htmlmeterelement
interface HTMLMeterElement : HTMLElement {
// attribute double value;
// attribute double min;
diff --git a/components/script/dom/webidls/HTMLModElement.webidl b/components/script/dom/webidls/HTMLModElement.webidl
index 3f8f0e62638..6a6b69eb0db 100644
--- a/components/script/dom/webidls/HTMLModElement.webidl
+++ b/components/script/dom/webidls/HTMLModElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlmodelement
+// https://www.whatwg.org/html/#htmlmodelement
interface HTMLModElement : HTMLElement {
// attribute DOMString cite;
// attribute DOMString dateTime;
diff --git a/components/script/dom/webidls/HTMLOListElement.webidl b/components/script/dom/webidls/HTMLOListElement.webidl
index 9f9f654acc5..3fd65236178 100644
--- a/components/script/dom/webidls/HTMLOListElement.webidl
+++ b/components/script/dom/webidls/HTMLOListElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlolistelement
+// https://www.whatwg.org/html/#htmlolistelement
interface HTMLOListElement : HTMLElement {
// attribute boolean reversed;
// attribute long start;
@@ -12,7 +12,7 @@ interface HTMLOListElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLOListElement-partial
+// https://www.whatwg.org/html/#HTMLOListElement-partial
partial interface HTMLOListElement {
// attribute boolean compact;
};
diff --git a/components/script/dom/webidls/HTMLObjectElement.webidl b/components/script/dom/webidls/HTMLObjectElement.webidl
index e2f6aa3cb75..13f4a5ee285 100644
--- a/components/script/dom/webidls/HTMLObjectElement.webidl
+++ b/components/script/dom/webidls/HTMLObjectElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlobjectelement
+// https://www.whatwg.org/html/#htmlobjectelement
interface HTMLObjectElement : HTMLElement {
// attribute DOMString data;
attribute DOMString type;
@@ -28,7 +28,7 @@ interface HTMLObjectElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLObjectElement-partial
+// https://www.whatwg.org/html/#HTMLObjectElement-partial
partial interface HTMLObjectElement {
// attribute DOMString align;
// attribute DOMString archive;
diff --git a/components/script/dom/webidls/HTMLOptGroupElement.webidl b/components/script/dom/webidls/HTMLOptGroupElement.webidl
index 13646f00ab1..c9e815e2ff1 100644
--- a/components/script/dom/webidls/HTMLOptGroupElement.webidl
+++ b/components/script/dom/webidls/HTMLOptGroupElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmloptgroupelement
+// https://www.whatwg.org/html/#htmloptgroupelement
interface HTMLOptGroupElement : HTMLElement {
attribute boolean disabled;
// attribute DOMString label;
diff --git a/components/script/dom/webidls/HTMLOptionElement.webidl b/components/script/dom/webidls/HTMLOptionElement.webidl
index 9126e24d790..a3493879e5c 100644
--- a/components/script/dom/webidls/HTMLOptionElement.webidl
+++ b/components/script/dom/webidls/HTMLOptionElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmloptionelement
+// https://www.whatwg.org/html/#htmloptionelement
//[NamedConstructor=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
interface HTMLOptionElement : HTMLElement {
attribute boolean disabled;
diff --git a/components/script/dom/webidls/HTMLOutputElement.webidl b/components/script/dom/webidls/HTMLOutputElement.webidl
index d0d23d87d42..8fd7acb2d22 100644
--- a/components/script/dom/webidls/HTMLOutputElement.webidl
+++ b/components/script/dom/webidls/HTMLOutputElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmloutputelement
+// https://www.whatwg.org/html/#htmloutputelement
interface HTMLOutputElement : HTMLElement {
//[PutForwards=value] readonly attribute DOMSettableTokenList htmlFor;
//readonly attribute HTMLFormElement? form;
diff --git a/components/script/dom/webidls/HTMLParagraphElement.webidl b/components/script/dom/webidls/HTMLParagraphElement.webidl
index 86cae7cbe87..b1abeda9b88 100644
--- a/components/script/dom/webidls/HTMLParagraphElement.webidl
+++ b/components/script/dom/webidls/HTMLParagraphElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlparagraphelement
+// https://www.whatwg.org/html/#htmlparagraphelement
interface HTMLParagraphElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLParagraphElement-partial
+// https://www.whatwg.org/html/#HTMLParagraphElement-partial
partial interface HTMLParagraphElement {
// attribute DOMString align;
};
diff --git a/components/script/dom/webidls/HTMLParamElement.webidl b/components/script/dom/webidls/HTMLParamElement.webidl
index afcb6ec1d9b..1c646cc6f31 100644
--- a/components/script/dom/webidls/HTMLParamElement.webidl
+++ b/components/script/dom/webidls/HTMLParamElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlparamelement
+// https://www.whatwg.org/html/#htmlparamelement
interface HTMLParamElement : HTMLElement {
// attribute DOMString name;
// attribute DOMString value;
@@ -11,7 +11,7 @@ interface HTMLParamElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLParamElement-partial
+// https://www.whatwg.org/html/#HTMLParamElement-partial
partial interface HTMLParamElement {
// attribute DOMString type;
// attribute DOMString valueType;
diff --git a/components/script/dom/webidls/HTMLPreElement.webidl b/components/script/dom/webidls/HTMLPreElement.webidl
index f0498ebd32c..8420ca434f7 100644
--- a/components/script/dom/webidls/HTMLPreElement.webidl
+++ b/components/script/dom/webidls/HTMLPreElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlpreelement
+// https://www.whatwg.org/html/#htmlpreelement
interface HTMLPreElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLPreElement-partial
+// https://www.whatwg.org/html/#HTMLPreElement-partial
partial interface HTMLPreElement {
// attribute long width;
};
diff --git a/components/script/dom/webidls/HTMLProgressElement.webidl b/components/script/dom/webidls/HTMLProgressElement.webidl
index 53a95297afb..372b8d89f10 100644
--- a/components/script/dom/webidls/HTMLProgressElement.webidl
+++ b/components/script/dom/webidls/HTMLProgressElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlprogresselement
+// https://www.whatwg.org/html/#htmlprogresselement
interface HTMLProgressElement : HTMLElement {
// attribute double value;
// attribute double max;
diff --git a/components/script/dom/webidls/HTMLQuoteElement.webidl b/components/script/dom/webidls/HTMLQuoteElement.webidl
index a7b1ae41276..804e91dcb6b 100644
--- a/components/script/dom/webidls/HTMLQuoteElement.webidl
+++ b/components/script/dom/webidls/HTMLQuoteElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlquoteelement
+// https://www.whatwg.org/html/#htmlquoteelement
interface HTMLQuoteElement : HTMLElement {
// attribute DOMString cite;
};
diff --git a/components/script/dom/webidls/HTMLScriptElement.webidl b/components/script/dom/webidls/HTMLScriptElement.webidl
index 447c01d2bfc..7f5d014bece 100644
--- a/components/script/dom/webidls/HTMLScriptElement.webidl
+++ b/components/script/dom/webidls/HTMLScriptElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlscriptelement
+// https://www.whatwg.org/html/#htmlscriptelement
interface HTMLScriptElement : HTMLElement {
attribute DOMString src;
// attribute DOMString type;
@@ -17,7 +17,7 @@ interface HTMLScriptElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLScriptElement-partial
+// https://www.whatwg.org/html/#HTMLScriptElement-partial
partial interface HTMLScriptElement {
// attribute DOMString event;
// attribute DOMString htmlFor;
diff --git a/components/script/dom/webidls/HTMLSelectElement.webidl b/components/script/dom/webidls/HTMLSelectElement.webidl
index 6b36b65e709..c246eddb850 100644
--- a/components/script/dom/webidls/HTMLSelectElement.webidl
+++ b/components/script/dom/webidls/HTMLSelectElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlselectelement
+// https://www.whatwg.org/html/#htmlselectelement
interface HTMLSelectElement : HTMLElement {
// attribute boolean autofocus;
attribute boolean disabled;
diff --git a/components/script/dom/webidls/HTMLSourceElement.webidl b/components/script/dom/webidls/HTMLSourceElement.webidl
index 6739f1cd0c1..34c9db0b022 100644
--- a/components/script/dom/webidls/HTMLSourceElement.webidl
+++ b/components/script/dom/webidls/HTMLSourceElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlsourceelement
+// https://www.whatwg.org/html/#htmlsourceelement
interface HTMLSourceElement : HTMLElement {
// attribute DOMString src;
// attribute DOMString type;
diff --git a/components/script/dom/webidls/HTMLSpanElement.webidl b/components/script/dom/webidls/HTMLSpanElement.webidl
index ab7ac3edc85..f4ffe7f5b9f 100644
--- a/components/script/dom/webidls/HTMLSpanElement.webidl
+++ b/components/script/dom/webidls/HTMLSpanElement.webidl
@@ -3,5 +3,5 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlspanelement
+// https://www.whatwg.org/html/#htmlspanelement
interface HTMLSpanElement : HTMLElement {};
diff --git a/components/script/dom/webidls/HTMLStyleElement.webidl b/components/script/dom/webidls/HTMLStyleElement.webidl
index 0dd71a58769..178ef6de2a5 100644
--- a/components/script/dom/webidls/HTMLStyleElement.webidl
+++ b/components/script/dom/webidls/HTMLStyleElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlstyleelement
+// https://www.whatwg.org/html/#htmlstyleelement
interface HTMLStyleElement : HTMLElement {
// attribute DOMString media;
// attribute DOMString type;
diff --git a/components/script/dom/webidls/HTMLTableCaptionElement.webidl b/components/script/dom/webidls/HTMLTableCaptionElement.webidl
index 7ab036c8eb1..8942ff705d6 100644
--- a/components/script/dom/webidls/HTMLTableCaptionElement.webidl
+++ b/components/script/dom/webidls/HTMLTableCaptionElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltablecaptionelement
+// https://www.whatwg.org/html/#htmltablecaptionelement
interface HTMLTableCaptionElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLTableCaptionElement-partial
+// https://www.whatwg.org/html/#HTMLTableCaptionElement-partial
partial interface HTMLTableCaptionElement {
// attribute DOMString align;
};
diff --git a/components/script/dom/webidls/HTMLTableCellElement.webidl b/components/script/dom/webidls/HTMLTableCellElement.webidl
index 131bf02b5bc..8f9ce054dd1 100644
--- a/components/script/dom/webidls/HTMLTableCellElement.webidl
+++ b/components/script/dom/webidls/HTMLTableCellElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltablecellelement
+// https://www.whatwg.org/html/#htmltablecellelement
interface HTMLTableCellElement : HTMLElement {
// attribute unsigned long colSpan;
// attribute unsigned long rowSpan;
@@ -13,7 +13,7 @@ interface HTMLTableCellElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLTableCellElement-partial
+// https://www.whatwg.org/html/#HTMLTableCellElement-partial
partial interface HTMLTableCellElement {
// attribute DOMString align;
// attribute DOMString axis;
diff --git a/components/script/dom/webidls/HTMLTableColElement.webidl b/components/script/dom/webidls/HTMLTableColElement.webidl
index 5a7cfc4b5c4..79feaa876e7 100644
--- a/components/script/dom/webidls/HTMLTableColElement.webidl
+++ b/components/script/dom/webidls/HTMLTableColElement.webidl
@@ -3,14 +3,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltablecolelement
+// https://www.whatwg.org/html/#htmltablecolelement
interface HTMLTableColElement : HTMLElement {
// attribute unsigned long span;
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLTableColElement-partial
+// https://www.whatwg.org/html/#HTMLTableColElement-partial
partial interface HTMLTableColElement {
// attribute DOMString align;
// attribute DOMString ch;
diff --git a/components/script/dom/webidls/HTMLTableDataCellElement.webidl b/components/script/dom/webidls/HTMLTableDataCellElement.webidl
index 62669ae026a..e507723a2fb 100644
--- a/components/script/dom/webidls/HTMLTableDataCellElement.webidl
+++ b/components/script/dom/webidls/HTMLTableDataCellElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltabledatacellelement
+// https://www.whatwg.org/html/#htmltabledatacellelement
interface HTMLTableDataCellElement : HTMLTableCellElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLTableDataCellElement-partial
+// https://www.whatwg.org/html/#HTMLTableDataCellElement-partial
partial interface HTMLTableDataCellElement {
// attribute DOMString abbr;
};
diff --git a/components/script/dom/webidls/HTMLTableElement.webidl b/components/script/dom/webidls/HTMLTableElement.webidl
index d71a38c12a5..7aca85e2b60 100644
--- a/components/script/dom/webidls/HTMLTableElement.webidl
+++ b/components/script/dom/webidls/HTMLTableElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltableelement
+// https://www.whatwg.org/html/#htmltableelement
interface HTMLTableElement : HTMLElement {
attribute HTMLTableCaptionElement? caption;
//HTMLElement createCaption();
@@ -25,7 +25,7 @@ interface HTMLTableElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLTableElement-partial
+// https://www.whatwg.org/html/#HTMLTableElement-partial
partial interface HTMLTableElement {
// attribute DOMString align;
// attribute DOMString border;
diff --git a/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl b/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl
index 9bbf4d6f436..179674c5422 100644
--- a/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl
+++ b/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltableheadercellelement
+// https://www.whatwg.org/html/#htmltableheadercellelement
interface HTMLTableHeaderCellElement : HTMLTableCellElement {
// attribute DOMString scope;
// attribute DOMString abbr;
diff --git a/components/script/dom/webidls/HTMLTableRowElement.webidl b/components/script/dom/webidls/HTMLTableRowElement.webidl
index 7cacb013936..77475ce1630 100644
--- a/components/script/dom/webidls/HTMLTableRowElement.webidl
+++ b/components/script/dom/webidls/HTMLTableRowElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltablerowelement
+// https://www.whatwg.org/html/#htmltablerowelement
interface HTMLTableRowElement : HTMLElement {
//readonly attribute long rowIndex;
//readonly attribute long sectionRowIndex;
@@ -14,7 +14,7 @@ interface HTMLTableRowElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLTableRowElement-partial
+// https://www.whatwg.org/html/#HTMLTableRowElement-partial
partial interface HTMLTableRowElement {
// attribute DOMString align;
// attribute DOMString ch;
diff --git a/components/script/dom/webidls/HTMLTableSectionElement.webidl b/components/script/dom/webidls/HTMLTableSectionElement.webidl
index c3909f3f3e0..b2d22b25947 100644
--- a/components/script/dom/webidls/HTMLTableSectionElement.webidl
+++ b/components/script/dom/webidls/HTMLTableSectionElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltablesectionelement
+// https://www.whatwg.org/html/#htmltablesectionelement
interface HTMLTableSectionElement : HTMLElement {
//readonly attribute HTMLCollection rows;
//HTMLElement insertRow(optional long index = -1);
@@ -12,7 +12,7 @@ interface HTMLTableSectionElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLTableSectionElement-partial
+// https://www.whatwg.org/html/#HTMLTableSectionElement-partial
partial interface HTMLTableSectionElement {
// attribute DOMString align;
// attribute DOMString ch;
diff --git a/components/script/dom/webidls/HTMLTemplateElement.webidl b/components/script/dom/webidls/HTMLTemplateElement.webidl
index e148dfe2236..66a1dd6ef62 100644
--- a/components/script/dom/webidls/HTMLTemplateElement.webidl
+++ b/components/script/dom/webidls/HTMLTemplateElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltemplateelement
+// https://www.whatwg.org/html/#htmltemplateelement
interface HTMLTemplateElement : HTMLElement {
//readonly attribute DocumentFragment content;
};
diff --git a/components/script/dom/webidls/HTMLTextAreaElement.webidl b/components/script/dom/webidls/HTMLTextAreaElement.webidl
index 4bc4510d2a2..7feec003ba5 100644
--- a/components/script/dom/webidls/HTMLTextAreaElement.webidl
+++ b/components/script/dom/webidls/HTMLTextAreaElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltextareaelement
+// https://www.whatwg.org/html/#htmltextareaelement
interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete;
// attribute boolean autofocus;
diff --git a/components/script/dom/webidls/HTMLTimeElement.webidl b/components/script/dom/webidls/HTMLTimeElement.webidl
index 20ab9b04556..c884a6ce730 100644
--- a/components/script/dom/webidls/HTMLTimeElement.webidl
+++ b/components/script/dom/webidls/HTMLTimeElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltimeelement
+// https://www.whatwg.org/html/#htmltimeelement
interface HTMLTimeElement : HTMLElement {
// attribute DOMString dateTime;
};
diff --git a/components/script/dom/webidls/HTMLTitleElement.webidl b/components/script/dom/webidls/HTMLTitleElement.webidl
index 789fba3cf17..58e4ebc235e 100644
--- a/components/script/dom/webidls/HTMLTitleElement.webidl
+++ b/components/script/dom/webidls/HTMLTitleElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltitleelement
+// https://www.whatwg.org/html/#htmltitleelement
interface HTMLTitleElement : HTMLElement {
[Pure]
attribute DOMString text;
diff --git a/components/script/dom/webidls/HTMLTrackElement.webidl b/components/script/dom/webidls/HTMLTrackElement.webidl
index bab698709ab..10b0df9fab2 100644
--- a/components/script/dom/webidls/HTMLTrackElement.webidl
+++ b/components/script/dom/webidls/HTMLTrackElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmltrackelement
+// https://www.whatwg.org/html/#htmltrackelement
interface HTMLTrackElement : HTMLElement {
// attribute DOMString kind;
// attribute DOMString src;
diff --git a/components/script/dom/webidls/HTMLUListElement.webidl b/components/script/dom/webidls/HTMLUListElement.webidl
index 10c6451d4c7..67840c03348 100644
--- a/components/script/dom/webidls/HTMLUListElement.webidl
+++ b/components/script/dom/webidls/HTMLUListElement.webidl
@@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlulistelement
+// https://www.whatwg.org/html/#htmlulistelement
interface HTMLUListElement : HTMLElement {
// also has obsolete members
};
-// http://www.whatwg.org/html/#HTMLUListElement-partial
+// https://www.whatwg.org/html/#HTMLUListElement-partial
partial interface HTMLUListElement {
// attribute boolean compact;
// attribute DOMString type;
diff --git a/components/script/dom/webidls/HTMLUnknownElement.webidl b/components/script/dom/webidls/HTMLUnknownElement.webidl
index db1307ae714..dff8a5ac81e 100644
--- a/components/script/dom/webidls/HTMLUnknownElement.webidl
+++ b/components/script/dom/webidls/HTMLUnknownElement.webidl
@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/ and
+ * https://www.whatwg.org/specs/web-apps/current-work/ and
* http://dev.w3.org/csswg/cssom-view/
*
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
diff --git a/components/script/dom/webidls/HTMLVideoElement.webidl b/components/script/dom/webidls/HTMLVideoElement.webidl
index 9d5d02cc530..83071c4f03c 100644
--- a/components/script/dom/webidls/HTMLVideoElement.webidl
+++ b/components/script/dom/webidls/HTMLVideoElement.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#htmlvideoelement
+// https://www.whatwg.org/html/#htmlvideoelement
interface HTMLVideoElement : HTMLMediaElement {
// attribute unsigned long width;
// attribute unsigned long height;
diff --git a/components/script/dom/webidls/ImageData.webidl b/components/script/dom/webidls/ImageData.webidl
index 23f54a61e7d..0d1207148fc 100644
--- a/components/script/dom/webidls/ImageData.webidl
+++ b/components/script/dom/webidls/ImageData.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
+ * https://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
*
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA.
* You are granted a license to use, reproduce and create derivative works of this document.
@@ -20,4 +20,4 @@ interface ImageData {
readonly attribute unsigned long height;
//[Constant, StoreInSlot]
readonly attribute Uint8ClampedArray data;
-}; \ No newline at end of file
+};
diff --git a/components/script/dom/webidls/Location.webidl b/components/script/dom/webidls/Location.webidl
index 95d5cf1872b..97cdb87dda0 100644
--- a/components/script/dom/webidls/Location.webidl
+++ b/components/script/dom/webidls/Location.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#location
+// https://www.whatwg.org/html/#location
/*[Unforgeable]*/ interface Location {
void assign(DOMString url);
//void replace(DOMString url);
diff --git a/components/script/dom/webidls/MessageEvent.webidl b/components/script/dom/webidls/MessageEvent.webidl
index 7198708499e..a26b6cfbe20 100644
--- a/components/script/dom/webidls/MessageEvent.webidl
+++ b/components/script/dom/webidls/MessageEvent.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#messageevent
+// https://www.whatwg.org/html/#messageevent
[Constructor(DOMString type, optional MessageEventInit eventInitDict)/*, Exposed=Window,Worker*/]
interface MessageEvent : Event {
readonly attribute any data;
diff --git a/components/script/dom/webidls/Navigator.webidl b/components/script/dom/webidls/Navigator.webidl
index 67b5cf95018..aa604957c2e 100644
--- a/components/script/dom/webidls/Navigator.webidl
+++ b/components/script/dom/webidls/Navigator.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#navigator
+// https://www.whatwg.org/html/#navigator
interface Navigator {
// objects implementing this interface also implement the interfaces given below
};
@@ -14,7 +14,7 @@ Navigator implements NavigatorID;
//Navigator implements NavigatorStorageUtils;
//Navigator implements NavigatorPlugins;
-// http://www.whatwg.org/html/#navigatorid
+// https://www.whatwg.org/html/#navigatorid
[NoInterfaceObject/*, Exposed=Window,Worker*/]
interface NavigatorID {
readonly attribute DOMString appCodeName; // constant "Mozilla"
diff --git a/components/script/dom/webidls/Node.webidl b/components/script/dom/webidls/Node.webidl
index 3297b2c3ab1..2bc3624157a 100644
--- a/components/script/dom/webidls/Node.webidl
+++ b/components/script/dom/webidls/Node.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is:
- * http://dom.spec.whatwg.org/#interface-node
+ * https://dom.spec.whatwg.org/#interface-node
*/
interface Node : EventTarget {
diff --git a/components/script/dom/webidls/NodeFilter.webidl b/components/script/dom/webidls/NodeFilter.webidl
index 2b0b1763c89..c944e13111e 100644
--- a/components/script/dom/webidls/NodeFilter.webidl
+++ b/components/script/dom/webidls/NodeFilter.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#interface-nodefilter
+ * https://dom.spec.whatwg.org/#interface-nodefilter
*/
// Import from http://hg.mozilla.org/mozilla-central/file/a5a720259d79/dom/webidl/NodeFilter.webidl
diff --git a/components/script/dom/webidls/NodeList.webidl b/components/script/dom/webidls/NodeList.webidl
index 9773f8efcef..29d91c69f73 100644
--- a/components/script/dom/webidls/NodeList.webidl
+++ b/components/script/dom/webidls/NodeList.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is:
- * http://dom.spec.whatwg.org/#interface-nodelist
+ * https://dom.spec.whatwg.org/#interface-nodelist
*/
interface NodeList {
diff --git a/components/script/dom/webidls/ParentNode.webidl b/components/script/dom/webidls/ParentNode.webidl
index 9df1143f625..6d1d3037265 100644
--- a/components/script/dom/webidls/ParentNode.webidl
+++ b/components/script/dom/webidls/ParentNode.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#interface-parentnode
+ * https://dom.spec.whatwg.org/#interface-parentnode
*/
[NoInterfaceObject]
diff --git a/components/script/dom/webidls/ProcessingInstruction.webidl b/components/script/dom/webidls/ProcessingInstruction.webidl
index 96426538900..a8610bcf8f1 100644
--- a/components/script/dom/webidls/ProcessingInstruction.webidl
+++ b/components/script/dom/webidls/ProcessingInstruction.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#interface-processinginstruction
+ * https://dom.spec.whatwg.org/#interface-processinginstruction
*/
interface ProcessingInstruction : CharacterData {
diff --git a/components/script/dom/webidls/ProgressEvent.webidl b/components/script/dom/webidls/ProgressEvent.webidl
index 420d745fe14..66c1404bd42 100644
--- a/components/script/dom/webidls/ProgressEvent.webidl
+++ b/components/script/dom/webidls/ProgressEvent.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://xhr.spec.whatwg.org/#interface-progressevent
+ * https://xhr.spec.whatwg.org/#interface-progressevent
*
* To the extent possible under law, the editor has waived all copyright
* and related or neighboring rights to this work. In addition, as of 1 May 2014,
diff --git a/components/script/dom/webidls/Range.webidl b/components/script/dom/webidls/Range.webidl
index d74411b1dd9..5ef37a47ecb 100644
--- a/components/script/dom/webidls/Range.webidl
+++ b/components/script/dom/webidls/Range.webidl
@@ -4,8 +4,8 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#range
- * http://domparsing.spec.whatwg.org/#dom-range-createcontextualfragment
+ * https://dom.spec.whatwg.org/#range
+ * https://domparsing.spec.whatwg.org/#dom-range-createcontextualfragment
* http://dvcs.w3.org/hg/csswg/raw-file/tip/cssom-view/Overview.html#extensions-to-the-range-interface
*/
@@ -72,7 +72,7 @@ interface Range {
// stringifier;
};
-// http://domparsing.spec.whatwg.org/#dom-range-createcontextualfragment
+// https://domparsing.spec.whatwg.org/#dom-range-createcontextualfragment
partial interface Range {
// [Throws]
// DocumentFragment createContextualFragment(DOMString fragment);
diff --git a/components/script/dom/webidls/Text.webidl b/components/script/dom/webidls/Text.webidl
index e46d4e24d9c..b318accb822 100644
--- a/components/script/dom/webidls/Text.webidl
+++ b/components/script/dom/webidls/Text.webidl
@@ -4,13 +4,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/
+ * https://dom.spec.whatwg.org/
*
* To the extent possible under law, the editors have waived all copyright
* and related or neighboring rights to this work.
*/
-// http://dom.spec.whatwg.org/#text
+// https://dom.spec.whatwg.org/#text
[Constructor(optional DOMString data = "")]
interface Text : CharacterData {
//[NewObject] Text splitText(unsigned long offset);
diff --git a/components/script/dom/webidls/TreeWalker.webidl b/components/script/dom/webidls/TreeWalker.webidl
index 42617f3a0bb..a1084f3dee1 100644
--- a/components/script/dom/webidls/TreeWalker.webidl
+++ b/components/script/dom/webidls/TreeWalker.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://dom.spec.whatwg.org/#interface-treewalker
+ * https://dom.spec.whatwg.org/#interface-treewalker
*/
interface TreeWalker {
diff --git a/components/script/dom/webidls/URLSearchParams.webidl b/components/script/dom/webidls/URLSearchParams.webidl
index c2e401c45f0..3d61263cbc9 100644
--- a/components/script/dom/webidls/URLSearchParams.webidl
+++ b/components/script/dom/webidls/URLSearchParams.webidl
@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://url.spec.whatwg.org/#interface-urlsearchparams
+ * https://url.spec.whatwg.org/#interface-urlsearchparams
*/
[Constructor(optional (DOMString or URLSearchParams) init)]
diff --git a/components/script/dom/webidls/URLUtils.webidl b/components/script/dom/webidls/URLUtils.webidl
index 29d060c344c..be3174afb62 100644
--- a/components/script/dom/webidls/URLUtils.webidl
+++ b/components/script/dom/webidls/URLUtils.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://url.spec.whatwg.org/#urlutils
+// https://url.spec.whatwg.org/#urlutils
[NoInterfaceObject]
interface URLUtils {
//stringifier attribute USVString href;
diff --git a/components/script/dom/webidls/URLUtilsReadOnly.webidl b/components/script/dom/webidls/URLUtilsReadOnly.webidl
index 3b152ad8036..0e07a221cd6 100644
--- a/components/script/dom/webidls/URLUtilsReadOnly.webidl
+++ b/components/script/dom/webidls/URLUtilsReadOnly.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://url.spec.whatwg.org/#urlutilsreadonly
+// https://url.spec.whatwg.org/#urlutilsreadonly
[NoInterfaceObject/*,
Exposed=(Window,Worker)*/]
interface URLUtilsReadOnly {
diff --git a/components/script/dom/webidls/ValidityState.webidl b/components/script/dom/webidls/ValidityState.webidl
index d99677574cd..945f622b80c 100644
--- a/components/script/dom/webidls/ValidityState.webidl
+++ b/components/script/dom/webidls/ValidityState.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#validitystate
+// https://www.whatwg.org/html/#validitystate
interface ValidityState {
//readonly attribute boolean valueMissing;
//readonly attribute boolean typeMismatch;
diff --git a/components/script/dom/webidls/Window.webidl b/components/script/dom/webidls/Window.webidl
index ff0d9f31388..a259729f691 100644
--- a/components/script/dom/webidls/Window.webidl
+++ b/components/script/dom/webidls/Window.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#window
+// https://www.whatwg.org/html/#window
[PrimaryGlobal]
/*sealed*/ interface Window : EventTarget {
// the current browsing context
@@ -61,7 +61,7 @@
Window implements GlobalEventHandlers;
Window implements WindowEventHandlers;
-// http://www.whatwg.org/html/#windowtimers
+// https://www.whatwg.org/html/#windowtimers
[NoInterfaceObject/*, Exposed=Window,Worker*/]
interface WindowTimers {
long setTimeout(Function handler, optional long timeout = 0, any... arguments);
@@ -73,7 +73,7 @@ interface WindowTimers {
};
Window implements WindowTimers;
-// http://www.whatwg.org/html/#atob
+// https://www.whatwg.org/html/#atob
[NoInterfaceObject/*, Exposed=Window,Worker*/]
interface WindowBase64 {
[Throws]
diff --git a/components/script/dom/webidls/Worker.webidl b/components/script/dom/webidls/Worker.webidl
index aa8a1c1e5d3..9e5d2c36ad9 100644
--- a/components/script/dom/webidls/Worker.webidl
+++ b/components/script/dom/webidls/Worker.webidl
@@ -3,13 +3,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#abstractworker
+// https://www.whatwg.org/html/#abstractworker
[NoInterfaceObject/*, Exposed=Window,Worker*/]
interface AbstractWorker {
// attribute EventHandler onerror;
};
-// http://www.whatwg.org/html/#worker
+// https://www.whatwg.org/html/#worker
[Constructor(DOMString scriptURL)/*, Exposed=Window,Worker*/]
interface Worker : EventTarget {
//void terminate();
diff --git a/components/script/dom/webidls/WorkerGlobalScope.webidl b/components/script/dom/webidls/WorkerGlobalScope.webidl
index 1a53893b53e..c8427b95fd0 100644
--- a/components/script/dom/webidls/WorkerGlobalScope.webidl
+++ b/components/script/dom/webidls/WorkerGlobalScope.webidl
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#workerglobalscope
+// https://www.whatwg.org/html/#workerglobalscope
//[Exposed=Worker]
interface WorkerGlobalScope : EventTarget {
[BinaryName="Self_"] readonly attribute WorkerGlobalScope self;
@@ -15,7 +15,7 @@ interface WorkerGlobalScope : EventTarget {
// attribute EventHandler ononline;
};
-// http://www.whatwg.org/html/#WorkerGlobalScope-partial
+// https://www.whatwg.org/html/#WorkerGlobalScope-partial
//[Exposed=Worker]
partial interface WorkerGlobalScope { // not obsolete
[Throws]
diff --git a/components/script/dom/webidls/WorkerLocation.webidl b/components/script/dom/webidls/WorkerLocation.webidl
index 04d4c8e5cc7..c339a2aab67 100644
--- a/components/script/dom/webidls/WorkerLocation.webidl
+++ b/components/script/dom/webidls/WorkerLocation.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#worker-locations
+// https://www.whatwg.org/html/#worker-locations
//[Exposed=Worker]
interface WorkerLocation { };
WorkerLocation implements URLUtilsReadOnly;
diff --git a/components/script/dom/webidls/WorkerNavigator.webidl b/components/script/dom/webidls/WorkerNavigator.webidl
index aa8e19342e4..b193449bc20 100644
--- a/components/script/dom/webidls/WorkerNavigator.webidl
+++ b/components/script/dom/webidls/WorkerNavigator.webidl
@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://www.whatwg.org/html/#workernavigator
+// https://www.whatwg.org/html/#workernavigator
//[Exposed=Worker]
interface WorkerNavigator {};
WorkerNavigator implements NavigatorID;
diff --git a/components/script/dom/webidls/XMLHttpRequest.webidl b/components/script/dom/webidls/XMLHttpRequest.webidl
index 6066ba9c17b..97e6232cbfc 100644
--- a/components/script/dom/webidls/XMLHttpRequest.webidl
+++ b/components/script/dom/webidls/XMLHttpRequest.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://xhr.spec.whatwg.org/#interface-xmlhttprequest
+ * https://xhr.spec.whatwg.org/#interface-xmlhttprequest
*
* To the extent possible under law, the editor has waived all copyright
* and related or neighboring rights to this work. In addition, as of 1 May 2014,
@@ -13,7 +13,7 @@
* http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0.
*/
-// http://fetch.spec.whatwg.org/#fetchbodyinit
+// https://fetch.spec.whatwg.org/#fetchbodyinit
typedef (/*ArrayBuffer or ArrayBufferView or Blob or FormData or */DOMString or URLSearchParams) FetchBodyInit;
enum XMLHttpRequestResponseType {
diff --git a/components/script/dom/webidls/XMLHttpRequestEventTarget.webidl b/components/script/dom/webidls/XMLHttpRequestEventTarget.webidl
index efe265ef115..a519dc77c1d 100644
--- a/components/script/dom/webidls/XMLHttpRequestEventTarget.webidl
+++ b/components/script/dom/webidls/XMLHttpRequestEventTarget.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://xhr.spec.whatwg.org/#interface-xmlhttprequest
+ * https://xhr.spec.whatwg.org/#interface-xmlhttprequest
*
* To the extent possible under law, the editor has waived all copyright
* and related or neighboring rights to this work. In addition, as of 1 May 2014,
diff --git a/components/script/dom/webidls/XMLHttpRequestUpload.webidl b/components/script/dom/webidls/XMLHttpRequestUpload.webidl
index 9ff8b4cc8e6..fc939152e39 100644
--- a/components/script/dom/webidls/XMLHttpRequestUpload.webidl
+++ b/components/script/dom/webidls/XMLHttpRequestUpload.webidl
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
- * http://xhr.spec.whatwg.org/#interface-xmlhttprequest
+ * https://xhr.spec.whatwg.org/#interface-xmlhttprequest
*
* To the extent possible under law, the editor has waived all copyright
* and related or neighboring rights to this work. In addition, as of 1 May 2014,
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 408f4da4ea7..9c4b12fac23 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -223,7 +223,7 @@ impl Window {
}
}
-// http://www.whatwg.org/html/#atob
+// https://www.whatwg.org/html/#atob
pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
// "The btoa() method must throw an InvalidCharacterError exception if
// the method's first argument contains any character whose code point
@@ -243,7 +243,7 @@ pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
}
}
-// http://www.whatwg.org/html/#atob
+// https://www.whatwg.org/html/#atob
pub fn base64_atob(input: DOMString) -> Fallible<DOMString> {
// "Remove all space characters from input."
// serialize::base64::from_base64 ignores \r and \n,
@@ -397,7 +397,7 @@ impl<'a> WindowMethods for JSRef<'a, Window> {
self.Window()
}
- // http://www.whatwg.org/html/#dom-frames
+ // https://www.whatwg.org/html/#dom-frames
fn Frames(self) -> Temporary<Window> {
self.Window()
}
diff --git a/components/script/dom/worker.rs b/components/script/dom/worker.rs
index 04924bd4c86..1da422c79e0 100644
--- a/components/script/dom/worker.rs
+++ b/components/script/dom/worker.rs
@@ -60,7 +60,7 @@ impl Worker {
WorkerBinding::Wrap)
}
- // http://www.whatwg.org/html/#dom-worker
+ // https://www.whatwg.org/html/#dom-worker
pub fn Constructor(global: GlobalRef, script_url: DOMString) -> Fallible<Temporary<Worker>> {
// Step 2-4.
let worker_url = match UrlParser::new().base_url(&global.get_url())
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs
index 50616d2ee06..5d0f76e5463 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -1036,7 +1036,7 @@ impl<'a> PrivateXMLHttpRequestHelpers for JSRef<'a, XMLHttpRequest> {
encoding.decode(response.as_slice(), DecoderTrap::Replace).unwrap().to_owned()
}
fn filter_response_headers(self) -> Headers {
- // http://fetch.spec.whatwg.org/#concept-response-header-list
+ // https://fetch.spec.whatwg.org/#concept-response-header-list
use std::fmt;
use hyper::header::{Header, HeaderFormat};
use hyper::header::SetCookie;
@@ -1072,7 +1072,7 @@ trait Extractable {
}
impl Extractable for SendParam {
fn extract(&self) -> Vec<u8> {
- // http://fetch.spec.whatwg.org/#concept-fetchbodyinit-extract
+ // https://fetch.spec.whatwg.org/#concept-fetchbodyinit-extract
let encoding = UTF_8 as EncodingRef;
match *self {
eString(ref s) => encoding.encode(s.as_slice(), EncoderTrap::Replace).unwrap(),