Commit b9731554 authored by criss's avatar criss
Browse files

Backed out changeset ba320f40c889 (bug 1706179) for causing wpt failures on...

Backed out changeset ba320f40c889 (bug 1706179) for causing wpt failures on reflection-metadata.html . CLOSED TREE
parent d87f2984
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -53,12 +53,9 @@ class HTMLMetaElement final : public nsGenericHTMLElement {
  void SetScheme(const nsAString& aScheme, ErrorResult& aRv) {
    SetHTMLAttr(nsGkAtoms::scheme, aScheme, aRv);
  }
  void GetMedia(nsAString& aValue) { GetHTMLAttr(nsGkAtoms::media, aValue); }
  void SetMedia(const nsAString& aMedia, ErrorResult& aRv) {
    SetHTMLAttr(nsGkAtoms::media, aMedia, aRv);
  }

  JSObject* WrapNode(JSContext*, JS::Handle<JSObject*> aGivenProto) override;
  virtual JSObject* WrapNode(JSContext* aCx,
                             JS::Handle<JSObject*> aGivenProto) override;

 protected:
  virtual ~HTMLMetaElement();
+1 −3
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
 * and create derivative works of this document.
 */

// https://html.spec.whatwg.org/#the-meta-element
// http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element
[Exposed=Window]
interface HTMLMetaElement : HTMLElement {
  [HTMLConstructor] constructor();
@@ -22,8 +22,6 @@ interface HTMLMetaElement : HTMLElement {
           attribute DOMString httpEquiv;
  [CEReactions, SetterThrows, Pure]
           attribute DOMString content;
  [CEReactions, SetterThrows, Pure]
           attribute DOMString media;
};

// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
+6 −0
Original line number Diff line number Diff line
@@ -674,6 +674,12 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
  [HTMLElement interface: document.createElement("noscript") must inherit property "oncontextrestored" with the proper type]
    expected: FAIL

  [HTMLMetaElement interface: attribute media]
    expected: FAIL

  [HTMLMetaElement interface: document.createElement("meta") must inherit property "media" with the proper type]
    expected: FAIL

  [HTMLLinkElement interface: attribute blocking]
    expected: FAIL