Bug 149732 - Cleaning up after revision 190339
Summary: Cleaning up after revision 190339
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jiewen Tan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-01 16:36 PDT by Jiewen Tan
Modified: 2015-10-08 16:20 PDT (History)
4 users (show)

See Also:


Attachments
Patch (3.53 KB, patch)
2015-10-01 18:33 PDT, Jiewen Tan
no flags Details | Formatted Diff | Diff
Patch (3.78 KB, patch)
2015-10-05 12:28 PDT, Jiewen Tan
no flags Details | Formatted Diff | Diff
Patch (3.94 KB, patch)
2015-10-06 14:50 PDT, Jiewen Tan
no flags Details | Formatted Diff | Diff
Patch (3.94 KB, patch)
2015-10-08 10:30 PDT, Jiewen Tan
no flags Details | Formatted Diff | Diff
Patch (2.12 KB, patch)
2015-10-08 14:35 PDT, Jiewen Tan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiewen Tan 2015-10-01 16:36:51 PDT
Receiving new comments regarding to the revision.
Comment 1 Jiewen Tan 2015-10-01 18:33:26 PDT
Created attachment 262309 [details]
Patch
Comment 2 WebKit Commit Bot 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.
Comment 3 Myles C. Maxfield 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.
Comment 4 Jiewen Tan 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?
Comment 5 Jiewen Tan 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?
Comment 6 Jiewen Tan 2015-10-05 12:28:33 PDT
Created attachment 262455 [details]
Patch
Comment 7 Myles C. Maxfield 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.
Comment 8 Myles C. Maxfield 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.
Comment 9 WebKit Commit Bot 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>
Comment 10 WebKit Commit Bot 2015-10-05 14:21:52 PDT
All reviewed patches have been landed.  Closing bug.
Comment 11 Alexey Proskuryakov 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.
Comment 12 Alexey Proskuryakov 2015-10-05 16:14:52 PDT
Reverted these test changes in http://trac.webkit.org/r190586
Comment 13 Jiewen Tan 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?
Comment 14 Said Abou-Hallawa 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.
Comment 15 Jiewen Tan 2015-10-06 14:50:53 PDT
Reopening to attach new patch.
Comment 16 Jiewen Tan 2015-10-06 14:50:55 PDT
Created attachment 262548 [details]
Patch
Comment 17 Myles C. Maxfield 2015-10-07 17:08:43 PDT
Please wait to cq+ this until EWS comes back up and says everything is green.
Comment 18 Myles C. Maxfield 2015-10-07 19:06:26 PDT
Please re-upload the patch.
Comment 19 Jiewen Tan 2015-10-08 10:30:48 PDT
Created attachment 262701 [details]
Patch
Comment 20 Jiewen Tan 2015-10-08 14:35:09 PDT
Created attachment 262710 [details]
Patch
Comment 21 WebKit Commit Bot 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>
Comment 22 WebKit Commit Bot 2015-10-08 16:20:05 PDT
All reviewed patches have been landed.  Closing bug.