Summary: | Windows tests broken after r162816 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Roger Fong <roger_fong> | ||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | NEW --- | ||||||||
Severity: | Normal | CC: | aboxhall, apinheiro, ap, bfulgham, cfleizach, commit-queue, dmazzoni, jcraig, jdiggs, mario, roger_fong, samuel_white, thorton | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Roger Fong
2014-01-27 13:25:56 PST
gAccessibilityEnabled is exported from WebKit, so I don't see why this doesn't work. The variable should be shared across dynamic libraries. Created attachment 222356 [details]
patch
(In reply to comment #1) > gAccessibilityEnabled is exported from WebKit, so I don't see why this doesn't work. The variable should be shared across dynamic libraries. didn't read this before uploading the patch (which does seem to fix the issue) That is confusing, and in fact if i'm initializing the variable in WebCoreTestSupport.lib and WebKit.dll shouldn't there be some kinda multiple definition clash? (I did not see this, when running the tests with my patch in place) Comment on attachment 222356 [details]
patch
Won't the two gAccessibilityEnabled get out of sync now?
(In reply to comment #4) > (From update of attachment 222356 [details]) > Won't the two gAccessibilityEnabled get out of sync now? Right, which is why I was thinking about having WebCoreTestSupport compile AXObjectCache.cpp on its own. Or alternatively maybe just get rid of WebCoreTestSupport and stick it in WebCore (like it is on Mac??). I'm not quite sure why we need the separate project. Ignore all the things I said. Alexey and I think that there's something odd with how Windows data exporting works. What we should do is to make the added function non inline and then export the functions. Created attachment 222374 [details]
patch
Attachment 222374 [details] did not pass style-queue:
ERROR: Source/WebKit/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5]
ERROR: Source/WebCore/accessibility/AXObjectCache.cpp:112: More than one command on the same line [whitespace/newline] [4]
ERROR: Source/WebCore/accessibility/AXObjectCache.h:130: Tab found; better to use spaces [whitespace/tab] [1]
ERROR: Source/WebCore/accessibility/AXObjectCache.h:131: Tab found; better to use spaces [whitespace/tab] [1]
Total errors found: 4 in 5 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 222374 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=222374&action=review > Source/WebCore/ChangeLog:21 > +2014-01-27 Roger Fong <roger_fong@apple.com> > + > + [Windows] Tests crashing on Windows after r162816. > + https://bugs.webkit.org/show_bug.cgi?id=127703. > + > + Reviewed by NOBODY (OOPS!). > + > + * accessibility/AXObjectCache.cpp: > + (WebCore::AXObjectCache::enableAccessibility): > + (WebCore::AXObjectCache::disableAccessibility): > + * accessibility/AXObjectCache.h: Un-inline some methods so that they can be exported. > + > +2014-01-27 Roger Fong <roger_fong@apple.com> > + > + [Windows] Tests crashing on Windows after r162816. > + https://bugs.webkit.org/show_bug.cgi?id=127703. > + > + Reviewed by NOBODY (OOPS!). > + > + * testing/Internals.cpp: Initialize gAccessibilityEnabled in WebCoreTestSupport. > + Double ChangeLog. > Source/WebCore/accessibility/AXObjectCache.cpp:112 > +void AXObjectCache::enableAccessibility() { gAccessibilityEnabled = true; } > +void AXObjectCache::disableAccessibility() { gAccessibilityEnabled = false; }; Please format these as normal multi-line functions, and remove the trailing semicolon. > Source/WebKit/ChangeLog:4 > + Need a short description (OOPS!). > + Need the bug URL (OOPS!). Yup. |