RESOLVED FIXED 83137
[GTK][DRT] Fail fast/filesystem/flags-passing.html on JSC
https://bugs.webkit.org/show_bug.cgi?id=83137
Summary [GTK][DRT] Fail fast/filesystem/flags-passing.html on JSC
ChangSeok Oh
Reported 2012-04-04 03:34:19 PDT
This is the bug to fix the failure for fast/filesystem/flags-passing.html
Attachments
Patch (1.94 KB, patch)
2012-04-05 00:16 PDT, ChangSeok Oh
no flags
Patch (2.41 KB, patch)
2012-04-05 01:45 PDT, ChangSeok Oh
no flags
ChangSeok Oh
Comment 1 2012-04-04 20:11:35 PDT
The error message is like that... CONSOLE MESSAGE: line 27: TypeError: 'undefined' is not a function (evaluating 'this[testsList[testCounter++]]()') FAIL: Timed out waiting for notifyDone to be called
ChangSeok Oh
Comment 2 2012-04-05 00:16:27 PDT
Kentaro Hara
Comment 3 2012-04-05 00:52:26 PDT
Comment on attachment 135768 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135768&action=review > LayoutTests/fast/filesystem/script-tests/flags-passing.js:27 > + window[testsList[testCounter++]](); The change looks OK, but we can simplify the code more, like this: var testsList = [runObjectTest, cleanupAndRunNext, ...]; // An array of functions (not function names) ... else { (testsList[testCounter++])(); }
ChangSeok Oh
Comment 4 2012-04-05 01:45:09 PDT
ChangSeok Oh
Comment 5 2012-04-05 01:46:00 PDT
Comment on attachment 135768 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135768&action=review Thanks for the review! >> LayoutTests/fast/filesystem/script-tests/flags-passing.js:27 >> + window[testsList[testCounter++]](); > > The change looks OK, but we can simplify the code more, like this: > > var testsList = [runObjectTest, cleanupAndRunNext, ...]; // An array of functions (not function names) > > ... else { > (testsList[testCounter++])(); > } Done. :)
Kentaro Hara
Comment 6 2012-04-05 01:46:06 PDT
Comment on attachment 135781 [details] Patch Looks OK. Thanks for fixing the bug!
WebKit Review Bot
Comment 7 2012-04-05 02:25:35 PDT
Comment on attachment 135781 [details] Patch Clearing flags on attachment: 135781 Committed r113305: <http://trac.webkit.org/changeset/113305>
WebKit Review Bot
Comment 8 2012-04-05 02:25:40 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.