Bug 159375 - REGRESSION(r189668): Notification tests are flakey
Summary: REGRESSION(r189668): Notification tests are flakey
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
: 150736 159374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-01 15:26 PDT by Myles C. Maxfield
Modified: 2016-07-05 23:41 PDT (History)
6 users (show)

See Also:


Attachments
Patch (19.23 KB, patch)
2016-07-01 15:39 PDT, Myles C. Maxfield
ap: review+
ap: commit-queue-
Details | Formatted Diff | Diff
Patch for committing (14.55 KB, patch)
2016-07-01 17:55 PDT, Myles C. Maxfield
mmaxfield: review-
mmaxfield: commit-queue-
Details | Formatted Diff | Diff
Patch for committing (14.50 KB, patch)
2016-07-01 18:11 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch for committing (14.51 KB, patch)
2016-07-01 18:30 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>