|
|
Created:
4 years, 1 month ago by yhirano Modified:
4 years, 1 month ago CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, blink-reviews, darin (slow to review) Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd virtual tests for XHR with mojo-loading
This CL adds virtual XHR tests with mojo-loading as
virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of
failures. We add them to TestExpectations and will fix them later.
BUG=659917, 662360
Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a
Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae
Committed: https://crrev.com/a474c91a2696cbb9cd57b6462e2252e7db6afd78
Cr-Original-Original-Commit-Position: refs/heads/master@{#429808}
Cr-Original-Commit-Position: refs/heads/master@{#430874}
Cr-Commit-Position: refs/heads/master@{#431191}
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : fix #Patch Set 4 : rebase #Patch Set 5 : fix #
Total comments: 3
Patch Set 6 : fix expectations #Patch Set 7 : fix expectations #Patch Set 8 : fix #Patch Set 9 : fix #Patch Set 10 : fix #
Dependent Patchsets: Messages
Total messages: 80 (59 generated)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
yhirano@chromium.org changed reviewers: + tzik@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by yhirano@chromium.org
The CQ bit was checked by yhirano@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tzik@chromium.org Link to the patchset: https://codereview.chromium.org/2463753002/#ps40001 (title: "fix")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917 ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808}
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2477673004/ by mkwst@chromium.org. The reason for reverting is: This patch revealed some ASAN and MSAN failures: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Precis... and https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Precis.... Reverting for now, please take a look..
Message was sent while issue was closed.
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ==========
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
reopen
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ==========
yhirano@chromium.org changed reviewers: + nasko@chromium.org
The content change fixes ASAN failures. +nasko@ for the content change.
https://codereview.chromium.org/2463753002/diff/80001/content/child/url_respo... File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2463753002/diff/80001/content/child/url_respo... content/child/url_response_body_consumer.cc:91: scoped_refptr<URLResponseBodyConsumer> protect(this); What causes the OnReceivedData to ref-count down this object? Is it a failure condition? Is this code safe in face of such condition?
https://codereview.chromium.org/2463753002/diff/80001/content/child/url_respo... File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2463753002/diff/80001/content/child/url_respo... content/child/url_response_body_consumer.cc:91: scoped_refptr<URLResponseBodyConsumer> protect(this); On 2016/11/08 01:12:12, nasko wrote: > What causes the OnReceivedData to ref-count down this object? Is it a failure > condition? Is this code safe in face of such condition? RequestPeer::OnReceivedData may cancel the request. The cancel operation 1. calls URLResponseBodyConsumer::Cancel, and 2. dereferences the URLResponseBodyConsumer. Without this scoped_refptr, |this| URLResponseBodyConsumer will be destructed at that time. With this scoped_refptr, this function will return because has_been_cancelled_ will be set when URLResponseBodyConsumer::Cancel is called.
content/ LGTM https://codereview.chromium.org/2463753002/diff/80001/content/child/url_respo... File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2463753002/diff/80001/content/child/url_respo... content/child/url_response_body_consumer.cc:91: scoped_refptr<URLResponseBodyConsumer> protect(this); On 2016/11/08 01:34:45, yhirano wrote: > On 2016/11/08 01:12:12, nasko wrote: > > What causes the OnReceivedData to ref-count down this object? Is it a failure > > condition? Is this code safe in face of such condition? > > RequestPeer::OnReceivedData may cancel the request. The cancel operation > > 1. calls URLResponseBodyConsumer::Cancel, and > 2. dereferences the URLResponseBodyConsumer. > > Without this scoped_refptr, |this| URLResponseBodyConsumer will be destructed at > that time. With this scoped_refptr, this function will return because > has_been_cancelled_ will be set when URLResponseBodyConsumer::Cancel is called. I was missing the bit about has_been_cancelled_ being set to true in the ::Cancel method. Thanks for the details!
The CQ bit was checked by yhirano@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tzik@chromium.org Link to the patchset: https://codereview.chromium.org/2463753002/#ps80001 (title: "fix")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by yhirano@chromium.org
The CQ bit was checked by yhirano@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nasko@chromium.org, tzik@chromium.org Link to the patchset: https://codereview.chromium.org/2463753002/#ps160001 (title: "fix")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ==========
Message was sent while issue was closed.
Committed patchset #9 (id:160001)
Message was sent while issue was closed.
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Cr-Commit-Position: refs/heads/master@{#429808} ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Cr-Original-Commit-Position: refs/heads/master@{#429808} Cr-Commit-Position: refs/heads/master@{#430874} ==========
Message was sent while issue was closed.
Patchset 9 (id:??) landed as https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Cr-Commit-Position: refs/heads/master@{#430874}
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/2493503002/ by lukasza@chromium.org. The reason for reverting is: The new tests fail when OOPIFs (out of process iframes / aka remote frames) are possible and turn the Site Isolation Win bot red. Most likely failure modes differ between --site-per-process mode and the expectations landed in this CL in third_party/WebKit/LayoutTests/TestExpectations (so maybe the experimental feature needs to also maintain a separate set of test expectations in third_party/WebKit/LayoutTests/FlagExpectations/site-per-process). Example red build: https://build.chromium.org/p/chromium.fyi/builders/Site%20Isolation%20Win/bui... .
Message was sent while issue was closed.
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Cr-Original-Commit-Position: refs/heads/master@{#429808} Cr-Commit-Position: refs/heads/master@{#430874} ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Cr-Original-Commit-Position: refs/heads/master@{#429808} Cr-Commit-Position: refs/heads/master@{#430874} ==========
reopening again...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by yhirano@chromium.org
Patchset #10 (id:180001) has been deleted
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by yhirano@chromium.org
The CQ bit was checked by yhirano@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nasko@chromium.org, tzik@chromium.org Link to the patchset: https://codereview.chromium.org/2463753002/#ps200001 (title: "fix")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Landing with FlagExpectations/site-per-process.
Message was sent while issue was closed.
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Cr-Original-Commit-Position: refs/heads/master@{#429808} Cr-Commit-Position: refs/heads/master@{#430874} ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Cr-Original-Commit-Position: refs/heads/master@{#429808} Cr-Commit-Position: refs/heads/master@{#430874} ==========
Message was sent while issue was closed.
Committed patchset #10 (id:200001)
Message was sent while issue was closed.
Description was changed from ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Cr-Original-Commit-Position: refs/heads/master@{#429808} Cr-Commit-Position: refs/heads/master@{#430874} ========== to ========== Add virtual tests for XHR with mojo-loading This CL adds virtual XHR tests with mojo-loading as virtual/mojo-loading/http/tests/xmlhttprequest. Currently there are a lot of failures. We add them to TestExpectations and will fix them later. BUG=659917, 662360 Committed: https://crrev.com/0913b860b23efa2e60e45db579299da6a2618a2a Committed: https://crrev.com/8026ba04bdc342c02fddee6dc230ac0aca9a1eae Committed: https://crrev.com/a474c91a2696cbb9cd57b6462e2252e7db6afd78 Cr-Original-Original-Commit-Position: refs/heads/master@{#429808} Cr-Original-Commit-Position: refs/heads/master@{#430874} Cr-Commit-Position: refs/heads/master@{#431191} ==========
Message was sent while issue was closed.
Patchset 10 (id:??) landed as https://crrev.com/a474c91a2696cbb9cd57b6462e2252e7db6afd78 Cr-Commit-Position: refs/heads/master@{#431191} |