12016-07-01 Joseph Pecoraro <pecoraro@apple.com>
2
3 REGRESSION (r202529?) inspector/debugger/break-on-* tests are flaky
4 https://bugs.webkit.org/show_bug.cgi?id=159272
5 <rdar://problem/27087938>
6
7 Reviewed by NOBODY (OOPS!).
8
9 Rewrite the break on exception and uncaught exception tests
10 to be easier to read and understand, reduce duplicated code,
11 and avoid unnecessary work (such as a reload and script check).
12
13 * TestExpectations:
14 * platform/mac-wk2/TestExpectations:
15 * platform/mac/TestExpectations:
16 Unskip the core break-on-* tests, but mark them as Slow.
17
18 * inspector/debugger/break-on-exception-throw-in-promise.html:
19 * inspector/debugger/break-on-exception-throw-in-promise-expected.txt:
20 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-expected.txt:
21 * inspector/debugger/break-on-uncaught-exception-throw-in-promise.html:
22 * inspector/debugger/break-on-exception-expected.txt:
23 * inspector/debugger/break-on-exception.html:
24 * inspector/debugger/break-on-uncaught-exception-expected.txt:
25 * inspector/debugger/break-on-uncaught-exception.html:
26 Converge into 4 tests, share a significant amount of code,
27 and make them easier to read and understand.
28
29 * inspector/debugger/break-on-exception-catch-expected.txt: Removed.
30 * inspector/debugger/break-on-exception-catch.html: Removed.
31 * inspector/debugger/break-on-exception-finally-expected.txt: Removed.
32 * inspector/debugger/break-on-exception-finally.html: Removed.
33 * inspector/debugger/break-on-exception-native-expected.txt: Removed.
34 * inspector/debugger/break-on-exception-native.html: Removed.
35 * inspector/debugger/break-on-exception-throw-in-promise-rethrow-in-catch-expected.txt: Removed.
36 * inspector/debugger/break-on-exception-throw-in-promise-rethrow-in-catch.html: Removed.
37 * inspector/debugger/break-on-exception-throw-in-promise-then-expected.txt: Removed.
38 * inspector/debugger/break-on-exception-throw-in-promise-then-with-catch-expected.txt: Removed.
39 * inspector/debugger/break-on-exception-throw-in-promise-then-with-catch.html: Removed.
40 * inspector/debugger/break-on-exception-throw-in-promise-then.html: Removed.
41 * inspector/debugger/break-on-exception-throw-in-promise-with-catch-expected.txt: Removed.
42 * inspector/debugger/break-on-exception-throw-in-promise-with-catch.html: Removed.
43 * inspector/debugger/break-on-uncaught-exception-catch-expected.txt: Removed.
44 * inspector/debugger/break-on-uncaught-exception-catch.html: Removed.
45 * inspector/debugger/break-on-uncaught-exception-finally-expected.txt: Removed.
46 * inspector/debugger/break-on-uncaught-exception-finally.html: Removed.
47 * inspector/debugger/break-on-uncaught-exception-native-expected.txt: Removed.
48 * inspector/debugger/break-on-uncaught-exception-native.html: Removed.
49 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-rethrow-in-catch-expected.txt: Removed.
50 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-rethrow-in-catch.html: Removed.
51 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-then-expected.txt: Removed.
52 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-then-with-catch-expected.txt: Removed.
53 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-then-with-catch.html: Removed.
54 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-then.html: Removed.
55 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-with-catch-expected.txt: Removed.
56 * inspector/debugger/break-on-uncaught-exception-throw-in-promise-with-catch.html: Removed.
57 Merged into the 4 tests above.
58
59 * inspector/debugger/break-on-exception-window-onerror-expected.txt: Removed.
60 * inspector/debugger/break-on-exception-window-onerror.html: Removed.
61 * inspector/debugger/break-on-uncaught-exception-window-onerror-expected.txt: Removed.
62 * inspector/debugger/break-on-uncaught-exception-window-onerror.html: Removed.
63 Eliminate these entirely. Tests already have an onerror listener,
64 so these were actually already equivalent to the basic tests.
65