Bug 159375

Summary: REGRESSION(r189668): Notification tests are flakey
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, ap, beidson, commit-queue, ryanhaddad, sam
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ap: review+, ap: commit-queue-
Patch for committing
mmaxfield: review-, mmaxfield: commit-queue-
Patch for committing
none
Patch for committing none

Description Myles C. Maxfield 2016-07-01 15:26:29 PDT
REGRESSION(r189668): Notification tests are flakey
Comment 1 Myles C. Maxfield 2016-07-01 15:39:25 PDT
Created attachment 282595 [details]
Patch
Comment 2 Myles C. Maxfield 2016-07-01 15:39:44 PDT
*** Bug 159374 has been marked as a duplicate of this bug. ***
Comment 3 Alexey Proskuryakov 2016-07-01 17:04:11 PDT
Are bug 150736 and bug 149218 same as this one?
Comment 4 Myles C. Maxfield 2016-07-01 17:06:04 PDT
(In reply to comment #3)
> Are bug 150736 and bug 149218 same as this one?

Yep.
Comment 5 Myles C. Maxfield 2016-07-01 17:09:07 PDT
*** Bug 150736 has been marked as a duplicate of this bug. ***
Comment 6 Alexey Proskuryakov 2016-07-01 17:13:48 PDT
Comment on attachment 282595 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=282595&action=review

> Source/WebKit2/ChangeLog:13
> +        * UIProcess/API/C/WKNotificationManagerPrivate.h: Copied from Tools/WebKitTestRunner/WebNotificationProvider.h.

This should be WKNotificationManagerInternal.h, because it's only supposed to be used internally by WebKit tools, not as an SPI.

> Source/WebKit2/UIProcess/API/C/WKNotificationManagerPrivate.h:2
> + * Copyright (C) 2011 Apple Inc. All rights reserved.

2016

> Source/WebKit2/UIProcess/API/C/WKNotificationManagerPrivate.h:35
> +WK_EXPORT uint64_t WKNotificationManagerGetLocalID(WKNotificationManagerRef manager, WKNotificationRef notification);

May be good to have "ForTesting" in the name here too. Or just put into the regular WKNotificationManager.h with such a name - I'd ask Sam about what he prefers.

> Tools/ChangeLog:18
> +        The solution is for WebNotificationProvider, imlemented in WebKitTestRunner in the UI Process, to

imPlemented

> LayoutTests/platform/mac/TestExpectations:-1261
> -webkit.org/b/149218 http/tests/notifications/events.html [ Pass Crash ]

Was this the only test marked as a flaky crash? I expect that the other one from my comment should have been marked too.

> ChangeLog:9
> +        * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:

?
Comment 7 Myles C. Maxfield 2016-07-01 17:55:10 PDT
Created attachment 282620 [details]
Patch for committing
Comment 8 Myles C. Maxfield 2016-07-01 18:11:19 PDT
Created attachment 282623 [details]
Patch for committing
Comment 9 Myles C. Maxfield 2016-07-01 18:30:42 PDT
Created attachment 282624 [details]
Patch for committing
Comment 10 WebKit Commit Bot 2016-07-01 19:53:39 PDT
Comment on attachment 282624 [details]
Patch for committing

Clearing flags on attachment: 282624

Committed r202772: <http://trac.webkit.org/changeset/202772>
Comment 11 David Kilzer (:ddkilzer) 2016-07-05 23:41:07 PDT
<rdar://problem/22760990>