Bug 115701
Summary: | Make DOM objects constructible with new | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, arv, bfulgham, eoconnor, glenn, mjs, rniwa, sam, syoichi |
Priority: | P2 | Keywords: | BlinkMergeCandidate |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 115639, 115640, 115641, 115642, 115643, 115644, 139173 | ||
Bug Blocks: |
Ryosuke Niwa
We should consider merging
https://chromium.googlesource.com/chromium/blink/+/cdd5a914daf3862379a5ce4596149bd690d0fa08
https://chromium.googlesource.com/chromium/blink/+/06e4a37f6b11348606de5405edac1ada97499d2a
https://chromium.googlesource.com/chromium/blink/+/47ca40efdf58a4787aa33aa75a35778899b1c002
and others to allow constructs like:
new Text(~);
possible per DOM4.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Glenn Adams
Should this be proposed and accepted as an extension to DOM4 [1] first? Otherwise, is this not a vendor specific extension to the DOM?
[1] http://www.w3.org/TR/domcore/#interface-text
Ryosuke Niwa
(In reply to comment #1)
> Should this be proposed and accepted as an extension to DOM4 [1] first?
It has been.
Glenn Adams
(In reply to comment #2)
> (In reply to comment #1)
> > Should this be proposed and accepted as an extension to DOM4 [1] first?
>
> It has been.
Do you have a reference to the proposal/acceptance thread? It is not in the DOM4 spec I referenced.
Erik Arvidsson
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Should this be proposed and accepted as an extension to DOM4 [1] first?
> >
> > It has been.
>
> Do you have a reference to the proposal/acceptance thread? It is not in the DOM4 spec I referenced.
http://dom.spec.whatwg.org/#interface-text
Glenn Adams
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > (In reply to comment #1)
> > > > Should this be proposed and accepted as an extension to DOM4 [1] first?
> > >
> > > It has been.
> >
> > Do you have a reference to the proposal/acceptance thread? It is not in the DOM4 spec I referenced.
>
> http://dom.spec.whatwg.org/#interface-text
tnx!
Ahmad Saleem
rniwa@webkit.org - All dependent bugs are now fixed, is something needed here?