WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
29798
Move message-port-multi.js from resources to script-tests
https://bugs.webkit.org/show_bug.cgi?id=29798
Summary
Move message-port-multi.js from resources to script-tests
Shinichiro Hamaji
Reported
2009-09-28 00:42:11 PDT
While I was working for
Bug 25880
, some tests which weren't generated from TEMPLATE.html were added into resources directories. fast/js/resources/getOwnPropertyDescriptor.js fast/backgrounds/repeat/resources/margin-shorthand.js fast/events/resources/message-port-multi.js The fist two JS requires custom HTMLs so that we don't need to move them (they should have been added in exception lists of make-script-tests-wrappers). It seems we may want to move the last JS into script-tests directory.
Attachments
Patch v1
(8.25 KB, patch)
2009-09-28 00:44 PDT
,
Shinichiro Hamaji
no flags
Details
Formatted Diff
Diff
Revert patch v1
(5.27 KB, patch)
2009-09-29 10:38 PDT
,
Shinichiro Hamaji
no flags
Details
Formatted Diff
Diff
Revert patch v2
(5.35 KB, patch)
2009-09-29 22:02 PDT
,
Shinichiro Hamaji
no flags
Details
Formatted Diff
Diff
Revert patch v3
(8.40 KB, patch)
2009-09-29 23:23 PDT
,
Shinichiro Hamaji
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Shinichiro Hamaji
Comment 1
2009-09-28 00:44:53 PDT
Created
attachment 40220
[details]
Patch v1
WebKit Commit Bot
Comment 2
2009-09-28 11:51:20 PDT
Comment on
attachment 40220
[details]
Patch v1 Clearing flags on attachment: 40220 Committed
r48823
: <
http://trac.webkit.org/changeset/48823
>
WebKit Commit Bot
Comment 3
2009-09-28 11:51:26 PDT
All reviewed patches have been landed. Closing bug.
Andrew Wilson
Comment 4
2009-09-29 10:27:23 PDT
This test contains asynchronous tests, so including js-test-post.js is incorrect. Note that if you look at the test expections, it inserts "TEST COMPLETE" in the middle of the test output, which is not correct.
Shinichiro Hamaji
Comment 5
2009-09-29 10:31:34 PDT
(In reply to
comment #4
)
> This test contains asynchronous tests, so including js-test-post.js is > incorrect. > > Note that if you look at the test expections, it inserts "TEST COMPLETE" in the > middle of the test output, which is not correct.
I see. So, we can just revert my patch?
Eric Seidel (no email)
Comment 6
2009-09-29 10:33:16 PDT
Yes, it's a known issue that the js testing framework stuff doesn't handle async tests well. I thought I filed a bug about this a while back. Basically we'd like to eventually add an "imDone()" method of some sort that would print the TEST COMPLETED stuff for you. Many tests have already "hacked" this by removing js-test-post.js and done their own TEST COMPLETED writing. Eventually we should just make this function part of js-test-pre.js and have js-test-post call it when the test is a waitUntilDone() test.
Andrew Wilson
Comment 7
2009-09-29 10:35:57 PDT
It sounds like you were trying to get this test to be generated from TEMPLATE.html, but it's probably not appropriate for this test since it doesn't follow the standard form. I don't actually understand what the motivation behind the test was - if it was just an attempt at cleanup, then yeah, I'd revert it.
Shinichiro Hamaji
Comment 8
2009-09-29 10:38:47 PDT
Created
attachment 40309
[details]
Revert patch v1
Eric Seidel (no email)
Comment 9
2009-09-29 14:07:01 PDT
I think we're trying to slowly improve the "standard form" over time. The original dream of all the .js tests was that we wouldn't check in the .html files at all. I'm not sure we'll ever reach that dream though. Definitely js-test-pre.js and js-test-post.js need losts of love to support more types of testing (like async tests, XHTML tests, SVG tests, etc.)
Shinichiro Hamaji
Comment 10
2009-09-29 22:02:42 PDT
Created
attachment 40342
[details]
Revert patch v2
Shinichiro Hamaji
Comment 11
2009-09-29 22:04:04 PDT
(In reply to
comment #10
)
> Created an attachment (id=40342) [details] > Revert patch v2
I've updated the revert patch so it has a comment to mention we don't use js-test-post. Sorry for confusion by this bug.
WebKit Commit Bot
Comment 12
2009-09-29 22:58:57 PDT
Comment on
attachment 40342
[details]
Revert patch v2 Rejecting patch 40342 from commit-queue. Failed to run "['WebKitTools/Scripts/run-webkit-tests', '--no-launch-safari', '--quiet', '--exit-after-n-failures=1']" exit_code: 1 Running build-dumprendertree Running tests from /Users/eseidel/Projects/CommitQueue/LayoutTests Testing 11355 test cases. fast/events/message-port-multi.html -> failed Exiting early after 1 failures. 6051 tests run. 110.37s total testing time 6050 test cases (99%) succeeded 1 test case (<1%) had incorrect layout 2 test cases (<1%) had stderr output
Shinichiro Hamaji
Comment 13
2009-09-29 23:23:28 PDT
Created
attachment 40346
[details]
Revert patch v3
Shinichiro Hamaji
Comment 14
2009-09-29 23:24:54 PDT
(In reply to
comment #13
)
> Created an attachment (id=40346) [details] > Revert patch v3
Sorry, I used patch -R and resources/*.js wasn't tracked by git. I created the patch again using git mv.
WebKit Commit Bot
Comment 15
2009-09-30 05:02:07 PDT
Comment on
attachment 40346
[details]
Revert patch v3 Clearing flags on attachment: 40346 Committed
r48926
: <
http://trac.webkit.org/changeset/48926
>
WebKit Commit Bot
Comment 16
2009-09-30 05:02:11 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