Misc stuff for reflect.js

RESOLVED FIXED in mozilla7

Status

()

Core
DOM: Core & HTML
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: mounir, Assigned: mounir)

Tracking

Trunk
mozilla7
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

6 years ago
Created attachment 542416 [details] [diff] [review]
Patch v1
Attachment #542416 - Flags: review?(Ms2ger)
Comment on attachment 542416 [details] [diff] [review]
Patch v1

--- a/content/html/content/test/reflect.js
+++ b/content/html/content/test/reflect.js
@@ -1,19 +1,69 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ * ***** END LICENSE BLOCK ***** */

How about PD? <http://www.mozilla.org/MPL/boilerplate-1.1/pd-c>

+
+/**
+ * reflect.js is a collection of method which are going to help developers to
+ * test HTML attributes reflection.

"methods to test HTML attribute reflection"

+ * Each of attribute is reflected differently, depending on various parameter,

parameters

+ * see:
+ * http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#reflecting-content-attributes-in-idl-attributes

I'd use <http://www.whatwg.org/html/#reflecting-content-attributes-in-idl-attributes>.

+ *
+ * Do not forget to add this line at the beginning of all new reflect* method:

s/all/each/

+ * ok(aAttr in aElement, aAttr + " should be an IDL attribute of this element");

And typeof :)

r=me
Comment on attachment 542416 [details] [diff] [review]
Patch v1

And this
Attachment #542416 - Flags: review?(Ms2ger) → review+
(Assignee)

Comment 3

6 years ago
Created attachment 542759 [details] [diff] [review]
Patch v1.1

Ready to be pushed.
Attachment #542416 - Attachment is obsolete: true
(Assignee)

Updated

6 years ago
Flags: in-testsuite+
Whiteboard: [needs review] → [inbound]
(Assignee)

Comment 4

6 years ago
http://hg.mozilla.org/mozilla-central/rev/ffebdf4fb581
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla7
You need to log in before you can comment on or make changes to this bug.