blob: 75659d8531664ba4d96363c83cfd16364901a65a [file] [edit]
Tests that a data: URL over 1024 characters is cut down in a stack frame, that the cut avoids %XX escapes, and that short URLs and other schemes are left alone.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS plainLength is 1024
PASS escapeAtEndLength is 1023
PASS escapeStraddlingLength is 1022
PASS shortLength is 500
PASS ordinaryFrameSurvives is true
PASS successfullyParsed is true
TEST COMPLETE