Side by Side Diff: third_party/WebKit/LayoutTests/printing/page-height-zero-expected.txt
Issue 1552703003:
Internals: throw an exception when page height or width is 0. (Closed)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use js-test.js , which provides shouldThrow()
Created 4 years, 11 months ago
Use n/p to move between diff chunks;
N/P to move between comments.
Draft comments are only viewable by you.
1 Test that an exception is thrown when attempting to set zero page height
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
".
4
5
6 PASS internals.numberOfPages(100, 0) threw exception TypeError: Failed to execut
e 'numberOfPages' on 'Internals': Page width and height must be larger than 0..
7 PASS internals.pageNumber(document.body, 100, 0) threw exception TypeError: Fail
ed to execute 'pageNumber' on 'Internals': Page width and height must be larger
than 0..
Issue 1552703003: Internals: throw an exception when page height or width is 0.
(Closed)
Created 4 years, 11 months ago by mstensho (USE GERRIT)
Modified 4 years, 11 months ago
Reviewers: rune
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 2