WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
42532
Auto-generate the JS bindings for WebKitTestRunner's script objects
https://bugs.webkit.org/show_bug.cgi?id=42532
Summary
Auto-generate the JS bindings for WebKitTestRunner's script objects
Sam Weinig
Reported
2010-07-18 18:16:16 PDT
Auto-generate the JS bindings for WebKitTestRunner's script objects. It will make it easier to add more.
Attachments
Patch
(56.86 KB, patch)
2010-07-18 18:16 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch 2
(65.10 KB, patch)
2010-07-19 14:31 PDT
,
Sam Weinig
aroben
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2010-07-18 18:16:51 PDT
Created
attachment 61922
[details]
Patch
WebKit Review Bot
Comment 2
2010-07-18 18:21:19 PDT
Attachment 61922
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Adam Barth
Comment 3
2010-07-19 02:06:47 PDT
Comment on
attachment 61922
[details]
Patch I really like the idea behind this patch. I wanted to review it, but it was made of Perl. :)
Adam Roben (:aroben)
Comment 4
2010-07-19 09:35:54 PDT
Comment on
attachment 61922
[details]
Patch It looks like _nullStringPolicy isn't needed. It's only called in one place, and its result is never used. It looks like _monthDayYearString isn't needed. What about Windows? Maybe JSWrapper should be a namespace rather than a class? r=me other than those concerns.
Adam Roben (:aroben)
Comment 5
2010-07-19 09:40:06 PDT
Comment on
attachment 61922
[details]
Patch Also, have you thought about hooking this into the test system in WebCore/bindings/scripts/test?
Sam Weinig
Comment 6
2010-07-19 14:31:57 PDT
Created
attachment 61992
[details]
Patch 2
WebKit Review Bot
Comment 7
2010-07-19 14:33:41 PDT
Attachment 61992
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Adam Roben (:aroben)
Comment 8
2010-07-19 14:39:31 PDT
Comment on
attachment 61992
[details]
Patch 2 r=me
Eric Seidel (no email)
Comment 9
2010-07-22 18:43:33 PDT
Comment on
attachment 61922
[details]
Patch Cleared Adam Roben's review+ from obsolete
attachment 61922
[details]
so that this bug does not appear in
http://webkit.org/pending-commit
.
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