Bug 39054 - [DRT/Chromium] Fix a repaint issue and textarea tests
Summary: [DRT/Chromium] Fix a repaint issue and textarea tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Kent Tamura
URL:
Keywords:
Depends on: 38926
Blocks: 38023
  Show dependency treegraph
 
Reported: 2010-05-13 03:20 PDT by Kent Tamura
Modified: 2010-05-18 22:28 PDT (History)
6 users (show)

See Also:


Attachments
Proposed patch (3.90 KB, patch)
2010-05-13 03:26 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff
Proposed patch (rev.2) (3.86 KB, patch)
2010-05-14 00:28 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2010-05-13 03:20:02 PDT
[DRT/Chromium] Fix repaint, WebGL, textarea tests
Comment 1 Kent Tamura 2010-05-13 03:26:34 PDT
Created attachment 55960 [details]
Proposed patch
Comment 2 Dimitri Glazkov (Google) 2010-05-13 08:35:49 PDT
Comment on attachment 55960 [details]
Proposed patch

WebKit/chromium/WebKit.gyp:607
 +                                  '<(chromium_src_dir)/webkit/tools/test_shell/resources/textAreaResizeCorner.png',
We probably shouldn't reach into a Chromium checkout here, right?
Comment 3 Kent Tamura 2010-05-13 08:50:52 PDT
(In reply to comment #2)
> (From update of attachment 55960 [details])
> WebKit/chromium/WebKit.gyp:607
>  +                                  '<(chromium_src_dir)/webkit/tools/test_shell/resources/textAreaResizeCorner.png',
> We probably shouldn't reach into a Chromium checkout here, right?

I see.  This path seems very specific and we had better avoid it.

So we shoud ...
  - Copy textAreaResizeCorner.png to SHARED_INTERMEDIATE_DIR in webkit_support.gyp
  - WebKit.gyp refer to SHARED_INTERMEDIATE_DIR
Comment 4 Dimitri Glazkov (Google) 2010-05-13 08:56:13 PDT
Sounds good.
Comment 5 Kent Tamura 2010-05-14 00:28:23 PDT
Created attachment 56059 [details]
Proposed patch (rev.2)
Comment 6 Kent Tamura 2010-05-14 00:29:11 PDT
>   - Copy textAreaResizeCorner.png to SHARED_INTERMEDIATE_DIR in webkit_support.gyp

This was done by Chromium r47248.
Comment 7 Dimitri Glazkov (Google) 2010-05-14 08:01:04 PDT
Comment on attachment 56059 [details]
Proposed patch (rev.2)

Thank you so much!
Comment 8 Adam Barth 2010-05-14 23:31:37 PDT
Attachment 56059 [details] was posted by a committer and has review+, assigning to Kent Tamura for commit.
Comment 9 Adam Barth 2010-05-15 18:26:29 PDT
Comment on attachment 56059 [details]
Proposed patch (rev.2)

I have a bad feeling about this patch, but let's give it a go.
Comment 10 WebKit Commit Bot 2010-05-16 01:47:25 PDT
Comment on attachment 56059 [details]
Proposed patch (rev.2)

Clearing flags on attachment: 56059

Committed r59571: <http://trac.webkit.org/changeset/59571>
Comment 11 WebKit Commit Bot 2010-05-16 01:47:34 PDT
All reviewed patches have been landed.  Closing bug.
Comment 12 Eric Seidel (no email) 2010-05-16 10:10:04 PDT
I think this broke cr win but due to dependency issues we did not notice until one commit later.
Comment 13 Eric Seidel (no email) 2010-05-16 10:20:21 PDT
Yes, I believe we hit https://bugs.webkit.org/show_bug.cgi?id=38926, which caused this to not fail immediately after checkin but rather after the next change which caused a larger rebuild.
Comment 14 Eric Seidel (no email) 2010-05-16 10:22:04 PDT
Actually, I think this break might just be a symptom of https://bugs.webkit.org/show_bug.cgi?id=38926 directly.  It's possible with a full rebuild that CrDRT would build just fine... not sure?


12>   Creating library C:\WebKitBuildSlave\chromium-win-release\build\WebKit\chromium\Release\lib\DumpRenderTree.lib and object C:\WebKitBuildSlave\chromium-win-release\build\WebKit\chromium\Release\lib\DumpRenderTree.exp
12>webcore_bindings.lib(V8DerivedSources3.obj) : error LNK2019: unresolved external symbol "public: __thiscall WebCore::ArrayBuffer::~ArrayBuffer(void)" (??1ArrayBuffer@WebCore@@QAE@XZ) referenced in function "public: void * __thiscall WebCore::ArrayBuffer::`scalar deleting destructor'(unsigned int)" (??_GArrayBuffer@WebCore@@QAEPAXI@Z)
12>webcore_bindings.lib(V8DerivedSources6.obj) : error LNK2001: unresolved external symbol "public: __thiscall WebCore::ArrayBuffer::~ArrayBuffer(void)" (??1ArrayBuffer@WebCore@@QAE@XZ)
12>webcore_bindings.lib(V8DerivedSources3.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall WebCore::ArrayBuffer::byteLength(void)const " (?byteLength@ArrayBuffer@WebCore@@QBEIXZ) referenced in function "class v8::Handle<class v8::Value> __cdecl WebCore::ArrayBufferInternal::byteLengthAttrGetter(class v8::Local<class v8::String>,class v8::AccessorInfo const &)" (?byteLengthAttrGetter@ArrayBufferInternal@WebCore@@YA?AV?$Handle@VValue@v8@@@v8@@V?$Local@VString@v8@@@4@ABVAccessorInfo@4@@Z)
12>webcore_bindings.lib(V8DerivedSources3.obj) : error LNK2019: unresolved external symbol "public: static class v8::Handle<class v8::Value> __cdecl WebCore::V8ArrayBuffer::constructorCallback(class v8::Arguments const &)" (?constructorCallback@V8ArrayBuffer@WebCore@@SA?AV?$Handle@VValue@v8@@@v8@@ABVArguments@4@@Z) referenced in function "class v8::Persistent<class v8::FunctionTemplate> __cdecl WebCore::ConfigureV8ArrayBufferTemplate(class v8::Persistent<class v8::FunctionTemplate>)" (?ConfigureV8ArrayBufferTemplate@WebCore@@YA?AV?$Persistent@VFunctionTemplate@v8@@@v8@@V23@@Z)
Comment 15 Eric Seidel (no email) 2010-05-16 10:39:02 PDT
I seem to be unable to get the cr win builder to do a clean build (using the abort during the svn update step trick).  So I"m going to roll this out in hopes of re-greening the tree.
Comment 16 Eric Seidel (no email) 2010-05-16 10:50:32 PDT
Reverted r59571 for reason:

Broke Cr Win, but we didn't notice immediately due to https://bugs.webkit.org/show_bug.cgi?id=38926.  It's possible that this didn't actually break Cr Win, but rather that bug 38926 necessitates a clean compile after this and sucessive checkins only produced a partial recompile and thus failed to build.

Committed r59578: <http://trac.webkit.org/changeset/59578>
Comment 17 Eric Seidel (no email) 2010-05-16 10:53:42 PDT
Basically, I wasn't able to sort this out myself on the bots.  Someone with a Cr Win checkout will need to take a look and either hack around bug 38926 or simply fix it when landing this again. :)
Comment 18 Kent Tamura 2010-05-17 21:50:54 PDT
We added a workaround for the features change issue.
I'll re-land the patch of this bug.
Comment 19 Kent Tamura 2010-05-17 22:06:19 PDT
I landed as r59650, and reverted it as r59651.
The workaround didn't work well.
Comment 20 Kent Tamura 2010-05-18 22:21:47 PDT
I'll land the patch without the features.gypi change.
Comment 21 Kent Tamura 2010-05-18 22:28:05 PDT
Landed as r59744.