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
147828
Remove promise attribute specific handling from binding generator
https://bugs.webkit.org/show_bug.cgi?id=147828
Summary
Remove promise attribute specific handling from binding generator
youenn fablet
Reported
2015-08-10 08:43:53 PDT
We should revert
http://trac.webkit.org/changeset/184643
,
https://bugs.webkit.org/show_bug.cgi?id=145056
now that we are using CachedAttribute instead.
Attachments
Patch
(10.78 KB, patch)
2015-08-10 08:47 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch for landing
(8.92 KB, patch)
2015-08-12 02:36 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2015-08-10 08:47:46 PDT
Created
attachment 258619
[details]
Patch
Darin Adler
Comment 2
2015-08-10 09:39:12 PDT
Comment on
attachment 258619
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=258619&action=review
> Source/WebCore/ChangeLog:-25843 > 2015-05-20 Youenn Fablet <
youenn.fablet@crf.canon.fr
> > > - JS binding generator should create a member variable for each Promise attribute of an interface > -
https://bugs.webkit.org/show_bug.cgi?id=145056
> - > - Reviewed by Darin Adler. > - > - For each attribute XXX whose type is Promise, a member m_XXXPromiseDeferred is created, its type being a JSC::Strong of JSPromiseDeferred. > - The purpose is to enable custom getters to create the JSPromiseDeferred and store ino the class member to ensure the same promise is returned each time > - the custom getter is called. > - This patch will enable simplifying ReadableStreamReader custom binding. > - > - Covered by added attribute in TestObj.idl. > - > - * bindings/scripts/CodeGeneratorJS.pm: > - (GenerateHeader): > - * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: > - (webkit_dom_test_obj_get_property): > - (webkit_dom_test_obj_class_init): > - (webkit_dom_test_obj_get_test_promise_attr): > - (webkit_dom_test_obj_set_nullable_string_value): Deleted. > - * bindings/scripts/test/GObject/WebKitDOMTestObj.h: > - * bindings/scripts/test/JS/JSTestObj.cpp: > - (WebCore::jsTestObjTestPromiseAttr): > - (WebCore::jsTestObjAttributeWithReservedEnumType): Deleted. > - * bindings/scripts/test/JS/JSTestObj.h: > - * bindings/scripts/test/ObjC/DOMTestObj.h: > - * bindings/scripts/test/ObjC/DOMTestObj.mm: > - (-[DOMTestObj testPromiseAttr]): > - (-[DOMTestObj attribute]): Deleted. > - * bindings/scripts/test/TestObj.idl: > - > -2015-05-20 Youenn Fablet <
youenn.fablet@crf.canon.fr
> > -
Shouldn’t include this.
youenn fablet
Comment 3
2015-08-12 02:36:44 PDT
Created
attachment 258819
[details]
Patch for landing
WebKit Commit Bot
Comment 4
2015-08-12 03:34:03 PDT
Comment on
attachment 258819
[details]
Patch for landing Clearing flags on attachment: 258819 Committed
r188334
: <
http://trac.webkit.org/changeset/188334
>
WebKit Commit Bot
Comment 5
2015-08-12 03:34:07 PDT
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