Bug 71868 - Remove redundant [CanBeConstructed] IDLs
Summary: Remove redundant [CanBeConstructed] IDLs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kentaro Hara
URL:
Keywords:
Depends on: 71871
Blocks: 71832
  Show dependency treegraph
 
Reported: 2011-11-08 17:39 PST by Kentaro Hara
Modified: 2011-11-09 10:07 PST (History)
9 users (show)

See Also:


Attachments
Patch (20.97 KB, patch)
2011-11-08 17:43 PST, Kentaro Hara
no flags Details | Formatted Diff | Diff
Patch (23.67 KB, patch)
2011-11-09 09:26 PST, Kentaro Hara
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kentaro Hara 2011-11-08 17:39:13 PST
If a class has [Constructor] or [CustomConstructor], then [CanBeConstructed] is not necessary. We can just remove [CanBeConstructed] from the classes that already have [Constructor] or [CustomConstructor].
Comment 1 Kentaro Hara 2011-11-08 17:43:29 PST
Created attachment 114184 [details]
Patch
Comment 2 Gyuyoung Kim 2011-11-08 17:50:48 PST
Comment on attachment 114184 [details]
Patch

Attachment 114184 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/10378237
Comment 3 Early Warning System Bot 2011-11-08 17:52:13 PST
Comment on attachment 114184 [details]
Patch

Attachment 114184 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/10375295
Comment 4 Gustavo Noronha (kov) 2011-11-08 20:59:35 PST
Comment on attachment 114184 [details]
Patch

Attachment 114184 [details] did not pass gtk-ews (gtk):
Output: http://queues.webkit.org/results/10369292
Comment 5 WebKit Review Bot 2011-11-08 21:05:27 PST
Comment on attachment 114184 [details]
Patch

Attachment 114184 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/10375347

New failing tests:
animations/animation-matrix-negative-scale-unmatrix.html
http/tests/eventsource/eventsource-bad-mime-type.html
fast/eventsource/eventsource-constructor.html
http/tests/eventsource/eventsource-reconnect.html
http/tests/eventsource/non-existent-eventsource-status-error-iframe-crash.html
fast/events/dispatchEvent-crash.html
http/tests/eventsource/eventsource-parse-event-stream.html
http/tests/eventsource/eventsource-status-code-states.html
fast/dom/dom-constructors.html
fast/dom/global-constructors.html
http/tests/inspector/network-preflight-options.html
fast/js/instanceof-XMLHttpRequest.html
fast/dom/call-a-constructor-as-a-function.html
fast/eventsource/eventsource-attribute-listeners.html
http/tests/eventsource/existent-eventsource-status-error-iframe-crash.html
fast/dom/Window/custom-constructors.html
http/tests/eventsource/eventsource-reconnect-during-navigate-crash.html
http/tests/eventsource/eventsource-content-type-charset.html
animations/combo-transform-translate+scale.html
Comment 6 Kentaro Hara 2011-11-09 09:26:14 PST
Created attachment 114302 [details]
Patch
Comment 7 Adam Barth 2011-11-09 09:28:16 PST
Comment on attachment 114302 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=114302&action=review

> Source/WebCore/bindings/scripts/CodeGeneratorV8.pm:2382
> -    if ($dataNode->extendedAttributes->{"CanBeConstructed"} || $dataNode->extendedAttributes->{"CustomConstructor"} || $dataNode->extendedAttributes->{"V8CustomConstructor"} || $dataNode->extendedAttributes->{"Constructer"}) {
> +    if ($dataNode->extendedAttributes->{"CanBeConstructed"} || $dataNode->extendedAttributes->{"CustomConstructor"} || $dataNode->extendedAttributes->{"V8CustomConstructor"} || $dataNode->extendedAttributes->{"Constructor"}) {

Sorry I missed in the last patch!
Comment 8 WebKit Review Bot 2011-11-09 10:07:30 PST
Comment on attachment 114302 [details]
Patch

Clearing flags on attachment: 114302

Committed r99732: <http://trac.webkit.org/changeset/99732>
Comment 9 WebKit Review Bot 2011-11-09 10:07:35 PST
All reviewed patches have been landed.  Closing bug.