Bug 30751 - HTMLOptionsCollection should not inherit from HTMLCollection (according to HTML5)
Summary: HTMLOptionsCollection should not inherit from HTMLCollection (according to HT...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 32997 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-24 17:27 PDT by Sam Weinig
Modified: 2009-12-29 02:38 PST (History)
3 users (show)

See Also:


Attachments
patch (30.44 KB, patch)
2009-10-24 17:36 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2009-10-24 17:27:21 PDT
HTMLOptionsCollection should not inherit from HTMLCollection (according to HTML5).  Right now, only our JS bindings have this issue.
Comment 1 Sam Weinig 2009-10-24 17:36:23 PDT
Created attachment 41800 [details]
patch
Comment 2 mitz 2009-10-24 18:04:24 PDT
Comment on attachment 41800 [details]
patch

r=me assuming you add the new .h file to other project files and address the comments from IRC.
Comment 3 Sam Weinig 2009-10-24 19:45:26 PDT
Fixed in r50037.
Comment 4 Brian Weinstein 2009-10-25 00:23:46 PDT
This broke the Windows build, so rolled out in r50040.

Build error: http://build.webkit.org/builders/Windows%20Release%20%28Build%29/builds/6258/steps/compile-webkit/logs/stdio
Comment 5 Joseph Pecoraro 2009-10-25 08:58:52 PDT
Hmm, this bug was made 10/24 but it must have been a few hours later that the following was committed to HTML5

  Make collections inherit from HTMLCollection
  Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8035

Commit Diff:
http://html5.org/tools/web-apps-tracker?from=4322&to=4323

> -  <pre class="idl">interface <dfn>HTMLOptionsCollection</dfn> {
-           attribute unsigned long <span title="dom-HTMLOptionsCollection-length">length</span>;
> +  <pre class="idl">interface <dfn>HTMLOptionsCollection</dfn> : <span>HTMLCollection</span> {
Comment 6 Sam Weinig 2009-10-25 09:14:19 PDT
(In reply to comment #5)
> Hmm, this bug was made 10/24 but it must have been a few hours later that the
> following was committed to HTML5
> 
>   Make collections inherit from HTMLCollection
>   Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8035
> 
> Commit Diff:
> http://html5.org/tools/web-apps-tracker?from=4322&to=4323
> 
> > -  <pre class="idl">interface <dfn>HTMLOptionsCollection</dfn> {
> -           attribute unsigned long <span
> title="dom-HTMLOptionsCollection-length">length</span>;
> > +  <pre class="idl">interface <dfn>HTMLOptionsCollection</dfn> : <span>HTMLCollection</span> {

Wow.  That is quite upsetting.  Fun times.
Comment 7 Eric Seidel (no email) 2009-10-26 12:01:39 PDT
Comment on attachment 41800 [details]
patch

Clearing mitz's r+ on this patch since it was rolled out.  (This was it's not in the to-be-committed list).
Comment 8 Sam Weinig 2009-10-26 13:05:39 PDT
I rolled out this change in r50087.
Comment 9 Alexey Proskuryakov 2009-12-29 02:38:13 PST
*** Bug 32997 has been marked as a duplicate of this bug. ***