WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
71868
Remove redundant [CanBeConstructed] IDLs
https://bugs.webkit.org/show_bug.cgi?id=71868
Summary
Remove redundant [CanBeConstructed] IDLs
Kentaro Hara
Reported
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].
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
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kentaro Hara
Comment 1
2011-11-08 17:43:29 PST
Created
attachment 114184
[details]
Patch
Gyuyoung Kim
Comment 2
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
Early Warning System Bot
Comment 3
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
Gustavo Noronha (kov)
Comment 4
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
WebKit Review Bot
Comment 5
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
Kentaro Hara
Comment 6
2011-11-09 09:26:14 PST
Created
attachment 114302
[details]
Patch
Adam Barth
Comment 7
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!
WebKit Review Bot
Comment 8
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
>
WebKit Review Bot
Comment 9
2011-11-09 10:07:35 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug