RESOLVED FIXED 149732
Cleaning up after revision 190339
https://bugs.webkit.org/show_bug.cgi?id=149732
Summary Cleaning up after revision 190339
Jiewen Tan
Reported 2015-10-01 16:36:51 PDT
Receiving new comments regarding to the revision.
Attachments
Patch (3.53 KB, patch)
2015-10-01 18:33 PDT, Jiewen Tan
no flags
Patch (3.78 KB, patch)
2015-10-05 12:28 PDT, Jiewen Tan
no flags
Patch (3.94 KB, patch)
2015-10-06 14:50 PDT, Jiewen Tan
no flags
Patch (3.94 KB, patch)
2015-10-08 10:30 PDT, Jiewen Tan
no flags
Patch (2.12 KB, patch)
2015-10-08 14:35 PDT, Jiewen Tan
no flags
Jiewen Tan
Comment 1 2015-10-01 18:33:26 PDT
WebKit Commit Bot
Comment 2 2015-10-02 12:29:03 PDT
Comment on attachment 262309 [details] Patch Rejecting attachment 262309 [details] from commit-queue. jiewen_tan@apple.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Myles C. Maxfield
Comment 3 2015-10-02 15:56:13 PDT
Comment on attachment 262309 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262309&action=review > LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 > -layer at (0,0) size 800x600 Please replace this file instead of deleting it.
Jiewen Tan
Comment 4 2015-10-05 10:18:46 PDT
Comment on attachment 262309 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262309&action=review >> LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 >> -layer at (0,0) size 800x600 > > Please replace this file instead of deleting it. Got you. I wonder under what condition should I use the TestExpectations file instead of generating a *-expected file?
Jiewen Tan
Comment 5 2015-10-05 10:44:31 PDT
Comment on attachment 262309 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262309&action=review >>> LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 >>> -layer at (0,0) size 800x600 >> >> Please replace this file instead of deleting it. > > Got you. I wonder under what condition should I use the TestExpectations file instead of generating a *-expected file? What other kinds of test-expected files can I generate for this case except for the render tree dump one? Do you have any suggestion?
Jiewen Tan
Comment 6 2015-10-05 12:28:33 PDT
Myles C. Maxfield
Comment 7 2015-10-05 13:27:13 PDT
Comment on attachment 262455 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262455&action=review > LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 > -layer at (0,0) size 800x600 You still should replace this file instead of deleting it.
Myles C. Maxfield
Comment 8 2015-10-05 13:29:08 PDT
Comment on attachment 262455 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262455&action=review >> LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 >> -layer at (0,0) size 800x600 > > You still should replace this file instead of deleting it. The file is replaced. With nothing.
WebKit Commit Bot
Comment 9 2015-10-05 14:21:48 PDT
Comment on attachment 262455 [details] Patch Clearing flags on attachment: 262455 Committed r190579: <http://trac.webkit.org/changeset/190579>
WebKit Commit Bot
Comment 10 2015-10-05 14:21:52 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 11 2015-10-05 16:09:36 PDT
Comment on attachment 262455 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262455&action=review >>> LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 >>> -layer at (0,0) size 800x600 >> >> You still should replace this file instead of deleting it. > > The file is replaced. With nothing. How did this get r+'ed and landed despite this comment? The test result is now missing. > LayoutTests/svg/custom/invalid-xslt-crash.svg:7 > + if (window.testRunner) > + testRunner.dumpAsText(); This didn't work, the test still dumps a render tree.
Alexey Proskuryakov
Comment 12 2015-10-05 16:14:52 PDT
Reverted these test changes in http://trac.webkit.org/r190586
Jiewen Tan
Comment 13 2015-10-05 16:15:39 PDT
Comment on attachment 262455 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262455&action=review >>>> LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 >>>> -layer at (0,0) size 800x600 >>> >>> You still should replace this file instead of deleting it. >> >> The file is replaced. With nothing. > > How did this get r+'ed and landed despite this comment? The test result is now missing. In my local commit, the status of this file is marked as changed not deleted. >> LayoutTests/svg/custom/invalid-xslt-crash.svg:7 >> + testRunner.dumpAsText(); > > This didn't work, the test still dumps a render tree. Why? What should I do then to make it a text dump?
Said Abou-Hallawa
Comment 14 2015-10-06 10:30:43 PDT
Comment on attachment 262455 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262455&action=review >>>>> LayoutTests/svg/custom/invalid-xslt-crash-expected.txt:-1 >>>>> -layer at (0,0) size 800x600 >>>> >>>> You still should replace this file instead of deleting it. >>> >>> The file is replaced. With nothing. >> >> How did this get r+'ed and landed despite this comment? The test result is now missing. > > In my local commit, the status of this file is marked as changed not deleted. Your expected file should include some text like PASS, Passed, Passed if it does not crash, or something like that instead of having an empty result file. > LayoutTests/svg/custom/invalid-xslt-crash.svg:2 > <svg xmlns="http://www.w3.org/2000/svg" What is the use of <?xml-stylesheet type="application/xml" href=""?> at the beginning of the SVG? It looks like this is preventing any script from running. >>> LayoutTests/svg/custom/invalid-xslt-crash.svg:7 >>> + testRunner.dumpAsText(); >> >> This didn't work, the test still dumps a render tree. > > Why? What should I do then to make it a text dump? Remove <?xml-stylesheet type="application/xml" href=""?> and your test should be dumped as text. > LayoutTests/svg/custom/invalid-xslt-crash.svg:11 > + <xslt:attribute nnnnnnnnnnname="fill">lime</xslt:attribute> Your test should include something like <text>PASS</text> or <foreignObject><p xmlns="http://www.w3.org/1999/xhtml">PASS</p></foreignObject> or you can create it from the script also.
Jiewen Tan
Comment 15 2015-10-06 14:50:53 PDT
Reopening to attach new patch.
Jiewen Tan
Comment 16 2015-10-06 14:50:55 PDT
Myles C. Maxfield
Comment 17 2015-10-07 17:08:43 PDT
Please wait to cq+ this until EWS comes back up and says everything is green.
Myles C. Maxfield
Comment 18 2015-10-07 19:06:26 PDT
Please re-upload the patch.
Jiewen Tan
Comment 19 2015-10-08 10:30:48 PDT
Jiewen Tan
Comment 20 2015-10-08 14:35:09 PDT
WebKit Commit Bot
Comment 21 2015-10-08 16:20:00 PDT
Comment on attachment 262710 [details] Patch Clearing flags on attachment: 262710 Committed r190757: <http://trac.webkit.org/changeset/190757>
WebKit Commit Bot
Comment 22 2015-10-08 16:20:05 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.