Bug 41680

Summary: [Qt] QtScript should provide an API for enumerating a JS object's properties
Product: WebKit Reporter: Kent Hansen <kent.hansen>
Component: JavaScriptCoreAssignee: Jędrzej Nowacki <jedrzej.nowacki>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, commit-queue, jedrzej.nowacki, webkit.review.bot
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on: 41769    
Bug Blocks: 31863    
Attachments:
Description Flags
Fix v1
none
Fix v1.01 none

Comment 1 Jędrzej Nowacki 2010-07-09 03:27:44 PDT
Created attachment 61029 [details]
Fix v1
Comment 2 WebKit Review Bot 2010-07-09 03:35:23 PDT
Attachment 61029 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/QtScript.pro"
JavaScriptCore/qt/tests/qscriptvalueiterator/tst_qscriptvalueiterator.cpp:23:  Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
JavaScriptCore/qt/tests/qscriptvalueiterator/tst_qscriptvalueiterator.cpp:24:  Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/qscriptvalueiterator.h"
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/qscriptvalueiterator_p.h"
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/qscriptvalueiterator.cpp"
Total errors found: 2 in 8 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Jędrzej Nowacki 2010-07-13 02:37:02 PDT
(In reply to comment #2)
> If any of these errors are false positives, please file a bug against check-webkit-style.

Bug 35151
Comment 4 Kent Hansen 2010-07-13 03:36:53 PDT
(In reply to comment #1)
> Created an attachment (id=61029) [details]
> Fix v1

Looks good except for the "to" in "Introduce to QScriptValueIterator". And why the trailing comma in "arguments[] = { *m_object, };"?
Comment 5 Jędrzej Nowacki 2010-07-13 08:15:56 PDT
Created attachment 61378 [details]
Fix v1.01
Comment 6 WebKit Review Bot 2010-07-13 08:18:19 PDT
Attachment 61378 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/QtScript.pro"
JavaScriptCore/qt/tests/qscriptvalueiterator/tst_qscriptvalueiterator.cpp:23:  Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
JavaScriptCore/qt/tests/qscriptvalueiterator/tst_qscriptvalueiterator.cpp:24:  Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/qscriptvalueiterator.h"
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/qscriptvalueiterator_p.h"
WARNING: File exempt from style guide. Skipping: "JavaScriptCore/qt/api/qscriptvalueiterator.cpp"
Total errors found: 2 in 8 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 WebKit Commit Bot 2010-07-13 12:34:13 PDT
Comment on attachment 61378 [details]
Fix v1.01

Clearing flags on attachment: 61378

Committed r63233: <http://trac.webkit.org/changeset/63233>
Comment 8 WebKit Commit Bot 2010-07-13 12:34:17 PDT
All reviewed patches have been landed.  Closing bug.