Bug 151893 - Re-enable inspector/debugger/pause-reason after fixing 151892
Summary: Re-enable inspector/debugger/pause-reason after fixing 151892
Status: RESOLVED DUPLICATE of bug 159325
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords:
Depends on: 151892
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-04 16:27 PST by Michael Saboff
Modified: 2016-06-30 18:03 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.99 KB, patch)
2015-12-04 16:33 PST, Michael Saboff
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews106 for mac-yosemite-wk2 (999.05 KB, application/zip)
2015-12-04 17:23 PST, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2015-12-04 16:27:18 PST
After fixing bug #151892, we can re-enable the inspector/debugger/pause-reason test.
Comment 1 Michael Saboff 2015-12-04 16:33:08 PST
Created attachment 266680 [details]
Patch
Comment 2 Mark Lam 2015-12-04 16:45:46 PST
Comment on attachment 266680 [details]
Patch

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

> LayoutTests/platform/mac/TestExpectations:1413
> -webkit.org/b/149774 css3/font-variant-font-face-override.html [ Pass Failure ImageOnlyFailure ]
>  \ No newline at end of file
> +webkit.org/b/149774 css3/font-variant-font-face-override.html [ Pass Failure ImageOnlyFailure ]

Is this relevant?
Comment 3 Michael Saboff 2015-12-04 16:47:35 PST
(In reply to comment #2)
> Comment on attachment 266680 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=266680&action=review
> 
> > LayoutTests/platform/mac/TestExpectations:1413
> > -webkit.org/b/149774 css3/font-variant-font-face-override.html [ Pass Failure ImageOnlyFailure ]
> >  \ No newline at end of file
> > +webkit.org/b/149774 css3/font-variant-font-face-override.html [ Pass Failure ImageOnlyFailure ]
> 
> Is this relevant?

No.  Probably due to the last check-in.
Comment 4 Mark Lam 2015-12-04 16:53:44 PST
Comment on attachment 266680 [details]
Patch

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

> LayoutTests/inspector/debugger/pause-reason.html:62
> +        WebInspector.debuggerManager.addEventListener(WebInspector.DebuggerManager.Event.Resumed, function(event) {
> +            InspectorTest.log("RESUMED");
> +            InspectorTest.log("");
> +
> +            nextTestCase();
> +        });
> +

Why did you moved this in here?  Would this not add a new Resume listener every time the debugger pauses?  That doesn't seem right.
Comment 5 Mark Lam 2015-12-04 16:54:29 PST
Comment on attachment 266680 [details]
Patch

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

>> LayoutTests/inspector/debugger/pause-reason.html:62
>> +        WebInspector.debuggerManager.addEventListener(WebInspector.DebuggerManager.Event.Resumed, function(event) {
>> +            InspectorTest.log("RESUMED");
>> +            InspectorTest.log("");
>> +
>> +            nextTestCase();
>> +        });
>> +
> 
> Why did you moved this in here?  Would this not add a new Resume listener every time the debugger pauses?  That doesn't seem right.

Argh ... I meant the whole blob of "WebInspector.debuggerManager.addEventListener(WebInspector.DebuggerManager.Event.Resumed ..."
Comment 6 Joseph Pecoraro 2015-12-04 16:59:22 PST
Comment on attachment 266680 [details]
Patch

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

r=me, we know we have to clean up these debugger tests due to how DebuggerMangaer.Event.Pause/Resume fire. It is good that we have test coverage for this though.

>>> LayoutTests/inspector/debugger/pause-reason.html:62
>>> +
>> 
>> Why did you moved this in here?  Would this not add a new Resume listener every time the debugger pauses?  That doesn't seem right.
> 
> Argh ... I meant the whole blob of "WebInspector.debuggerManager.addEventListener(WebInspector.DebuggerManager.Event.Resumed ..."

This was moved up here because (1) reloadPage may trigger DebuggerManager.Event.Resumed and (2) we only want to listen for Resume and fire "nextTestCase" once the "pause-reasons.js" script has been added.

Because we listen for pause-reasons.js to get added, this should happen only once during this test.

>>> LayoutTests/platform/mac/TestExpectations:1413
>>> +webkit.org/b/149774 css3/font-variant-font-face-override.html [ Pass Failure ImageOnlyFailure ]
>> 
>> Is this relevant?
> 
> No.  Probably due to the last check-in.

This is just adding the missing newline at the end of the file. Keep it!
Comment 7 Build Bot 2015-12-04 17:23:35 PST
Comment on attachment 266680 [details]
Patch

Attachment 266680 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/517383

New failing tests:
inspector/debugger/pause-reason.html
Comment 8 Build Bot 2015-12-04 17:23:36 PST
Created attachment 266688 [details]
Archive of layout-test-results from ews106 for mac-yosemite-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5
Comment 9 Michael Saboff 2015-12-04 17:25:26 PST
(In reply to comment #8)
> Created attachment 266688 [details]
> Archive of layout-test-results from ews106 for mac-yosemite-wk2
> 
> The attached test failures were seen while running run-webkit-tests on the
> mac-wk2-ews.
> Bot: ews106  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5

Mac test crashed due to the fix for https://bugs.webkit.org/show_bug.cgi?id=151892 having not yet landed.
Comment 10 Joseph Pecoraro 2016-06-30 18:03:47 PDT
I will be fixing this test as part of bug 159325.

*** This bug has been marked as a duplicate of bug 159325 ***