WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
141355
Add some dictionary lookup tests
https://bugs.webkit.org/show_bug.cgi?id=141355
Summary
Add some dictionary lookup tests
Tim Horton
Reported
2015-02-07 02:38:55 PST
Add some dictionary lookup tests
Attachments
Patch
(20.01 KB, patch)
2015-02-07 02:40 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(20.01 KB, patch)
2015-02-07 02:50 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(20.02 KB, patch)
2015-02-07 03:32 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-mavericks
(550.52 KB, application/zip)
2015-02-07 04:18 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews104 for mac-mavericks-wk2
(709.44 KB, application/zip)
2015-02-07 04:24 PST
,
Build Bot
no flags
Details
Patch for EWS
(16.13 KB, patch)
2015-02-07 17:44 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch for EWS
(16.25 KB, patch)
2015-02-07 18:04 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2015-02-07 02:40:22 PST
Created
attachment 246203
[details]
Patch
Tim Horton
Comment 2
2015-02-07 02:50:04 PST
Created
attachment 246204
[details]
Patch
Tim Horton
Comment 3
2015-02-07 03:32:02 PST
Created
attachment 246205
[details]
Patch
WebKit Commit Bot
Comment 4
2015-02-07 03:34:29 PST
Attachment 246205
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.cpp:1105: Declaration has space between type name and * in NSDictionary *options [whitespace/declaration] [3] Total errors found: 1 in 25 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 5
2015-02-07 04:18:51 PST
Comment on
attachment 246205
[details]
Patch
Attachment 246205
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/6090105475301376
New failing tests: platform/mac/editing/dictionary-lookup/dictionary-lookup-input.html
Build Bot
Comment 6
2015-02-07 04:18:56 PST
Created
attachment 246206
[details]
Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 7
2015-02-07 04:24:24 PST
Comment on
attachment 246205
[details]
Patch
Attachment 246205
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/4817938041274368
New failing tests: platform/mac/editing/dictionary-lookup/dictionary-lookup-input.html
Build Bot
Comment 8
2015-02-07 04:24:29 PST
Created
attachment 246207
[details]
Archive of layout-test-results from ews104 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Tim Horton
Comment 9
2015-02-07 04:25:00 PST
Hmm, I guess I better use a fixed-width font and an explicit point size. Or adjust the words so it's harder to vary what you hit. Or figure out how to target just a word like all the other tests...
Darin Adler
Comment 10
2015-02-07 11:11:39 PST
Comment on
attachment 246205
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=246205&action=review
Do all these tests need to be separate? Can we combine more than one test in a single HTML/expected pair? dictionary-lookup-input.html seems to be failing on the bot so please don’t land until that’s fixed
> Source/WebCore/testing/Internals.cpp:1108 > + ec = INVALID_ACCESS_ERR;
UNUSED_PARAM for x and y?
> Source/WebCore/testing/Internals.h:165 > + PassRefPtr<Range> rangeForDictionaryLookupAtLocation(long x, long y, ExceptionCode&);
Return value should just be RefPtr. Argument types should be int, not long. Confusingly, IDL file “long” corresponds to C++ file “int”.
Tim Horton
Comment 11
2015-02-07 17:44:23 PST
Created
attachment 246228
[details]
Patch for EWS
WebKit Commit Bot
Comment 12
2015-02-07 17:47:05 PST
Attachment 246228
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.cpp:1105: Declaration has space between type name and * in NSDictionary *options [whitespace/declaration] [3] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 13
2015-02-07 18:01:11 PST
Forgot to add some annotations.
Tim Horton
Comment 14
2015-02-07 18:04:16 PST
Created
attachment 246229
[details]
Patch for EWS
WebKit Commit Bot
Comment 15
2015-02-07 18:06:31 PST
Attachment 246229
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.cpp:1105: Declaration has space between type name and * in NSDictionary *options [whitespace/declaration] [3] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 16
2015-02-07 18:44:19 PST
http://trac.webkit.org/changeset/179792
Tim Horton
Comment 17
2015-02-07 18:45:53 PST
(In reply to
comment #10
)
> Comment on
attachment 246205
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=246205&action=review
> > Do all these tests need to be separate? Can we combine more than one test in > a single HTML/expected pair?
I merged a bunch. Not all of them, but into semi-logical chunks.
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