0
Commit Graph

23 Commits

Author SHA1 Message Date
Aaron Leventhal
a6ca2f4662 Reland "[A11y] Invalidate AXIDs when those objects are removed"
This is a reland of commit 408b51a92e

Reason for revert: tests leaked. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/test-analysis/b/5765548086394880

Original change's description:
> [A11y] Invalidate AXIDs when those objects are removed
>
> After CL:4185636, an AXObject may have been detached and recreated
> with the same DOM node, and therefore has the same id (the dom node id).
> This breaks the accessibility object caching mechanism used for web
> tests, which assumes that if it sees the same ID, it can assume the
> object is still the same one. The fix is to notify the caching
> mechanism of detached AXObjects so that it can invalidate the
> corresponding entries.
>
> Bug: none
> Change-Id: I152538644f9dc24d4e7fbfe68057deb4ab4d34aa
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262560
> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
> Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
> Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1256301}

Bug: none
Change-Id: Ie575a935dd9f94a0b9c1332fb3da64894a0164e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272942
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257009}
2024-02-06 21:31:57 +00:00
luci-bisection@appspot.gserviceaccount.com
9e95df4e9d Revert "[A11y] Invalidate AXIDs when those objects are removed"
This reverts commit 408b51a92e.

Reason for revert:
LUCI Bisection has identified this change as the cause of a test failure. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/test-analysis/b/5765548086394880

Sample build with failed test: https://ci.chromium.org/b/8756906566866931889
Affected test(s):
[ninja://:blink_web_tests/accessibility/aria-owns-sends-notification.html](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:blink_web_tests%2Faccessibility%2Faria-owns-sends-notification.html?q=VHash%3Aa7adfaf7d8e0d677)
[ninja://:blink_web_tests/accessibility/inline-text-change-style.html](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:blink_web_tests%2Faccessibility%2Finline-text-change-style.html?q=VHash%3Aa7adfaf7d8e0d677)
[ninja://:blink_web_tests/accessibility/inline-text-changes.html](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:blink_web_tests%2Faccessibility%2Finline-text-changes.html?q=VHash%3Aa7adfaf7d8e0d677)
[ninja://:blink_web_tests/accessibility/menu-list-sends-change-notification.html](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:blink_web_tests%2Faccessibility%2Fmenu-list-sends-change-notification.html?q=VHash%3Aa7adfaf7d8e0d677)
[ninja://:blink_web_tests/http/tests/accessibility/file-upload-button-name.html](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:blink_web_tests%2Fhttp%2Ftests%2Faccessibility%2Ffile-upload-button-name.html?q=VHash%3Aa7adfaf7d8e0d677)

If this is a false positive, please report it at http://b.corp.google.com/createIssue?component=1199205&description=Analysis%3A+https%3A%2F%2Fci.chromium.org%2Fui%2Fp%2Fchromium%2Fbisection%2Ftest-analysis%2Fb%2F5765548086394880&format=PLAIN&priority=P3&title=Wrongly+blamed+https%3A%2F%2Fchromium-review.googlesource.com%2Fc%2Fchromium%2Fsrc%2F%2B%2F5262560&type=BUG

Original change's description:
> [A11y] Invalidate AXIDs when those objects are removed
>
> After CL:4185636, an AXObject may have been detached and recreated
> with the same DOM node, and therefore has the same id (the dom node id).
> This breaks the accessibility object caching mechanism used for web
> tests, which assumes that if it sees the same ID, it can assume the
> object is still the same one. The fix is to notify the caching
> mechanism of detached AXObjects so that it can invalidate the
> corresponding entries.
>
> Bug: none
> Change-Id: I152538644f9dc24d4e7fbfe68057deb4ab4d34aa
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262560
> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
> Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
> Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1256301}
>

Bug: none
Change-Id: Id125d790b78f63366a41efe00e0e4266c55fb2df
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5270552
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Kevin Grosu <kgrosu@google.com>
Commit-Queue: Kevin Grosu <kgrosu@google.com>
Cr-Commit-Position: refs/heads/main@{#1256410}
2024-02-05 21:18:23 +00:00
Aaron Leventhal
408b51a92e [A11y] Invalidate AXIDs when those objects are removed
After CL:4185636, an AXObject may have been detached and recreated
with the same DOM node, and therefore has the same id (the dom node id).
This breaks the accessibility object caching mechanism used for web
tests, which assumes that if it sees the same ID, it can assume the
object is still the same one. The fix is to notify the caching
mechanism of detached AXObjects so that it can invalidate the
corresponding entries.

Bug: none
Change-Id: I152538644f9dc24d4e7fbfe68057deb4ab4d34aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262560
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256301}
2024-02-05 18:37:11 +00:00
Aaron Leventhal
25655ec08e [A11y] AXInlineTextBox cleanup, part 2
Use AXMode instead of setting. The setting was redundant, but it
also did not propagate to the child popup document.

As a beneficial side effect, the popover document now has the same
inline text box support as the main document.

This CL also contains all the unit test changes necessary for part 3,
where it is will only be allowed to create inline text boxes
when processing deferred events.

Bug: none
Change-Id: If2be827e36dee6a6ccb88cfe7f7bc62c070d01ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4919417
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1207322}
2023-10-09 22:05:27 +00:00
Dave Tapuska
f1669054d9 Get rid of MainThreadIsolate usage in WebAxObjectProxy
Use alternate methods to retrieve the Isolate instead of the sky hook.

Bug: 263412
Change-Id: I48a6f95eadfb79e35fece9dfe0d9cd0b66dad5e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4863698
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1196558}
2023-09-14 13:50:47 +00:00
Dave Tapuska
d1aaf8a173 Rewrite blink::MainThreadIsolate in //content/
Use the AgentGroupScheduler's isolate where possible.

Bug: 263412
Change-Id: Ifaa0ac3d902fd594003385f23bc14438a0f36cf0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4854097
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1195388}
2023-09-12 14:50:34 +00:00
Aaron Leventhal
85a3569677 Fix for null deref of ax_context_ in test-only code
Fixed: 1379636
Change-Id: I680699f9d3fe442c0f38e35c89cbd2621d951e70
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3999980
Reviewed-by: David Tseng <dtseng@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1066518}
2022-11-02 16:21:35 +00:00
Aaron Leventhal
5ef758eabc Move a11y to post-lifecycle steps (iteration )
This is a reland of CL:3964415 and supporting CLs, which
were reverted together with a number of supporting CLs,
in CL:3990067 because of crbug.com/1376991. The problematic code
is fixed in CL:3988990. Also fixes a flake in week pickers
reported in bug 1378062.

A11y is moved to the end of the document lifecycle, where it can
occur in parallel with other tasks.

Parts of the code that used to force layout updates in order to
update the AX tree now call UpdateAXForAllDocuments(), a new
method introduced in the previous CL, which first updates the
lifecycle and then manually updates the AX tree.

Additional code cleanups in AXObjectCacheImpl related to
popups were also now possible.

Test changes:
* Changes to css-display-expected-win.txt and content-editable-notifications.html were due to a subtle change in event ordering,
but are still correct.

Fixed: 1378062,1376991
NOTRY: true
Change-Id: I7fa925e12cfb7352cbaf9c2deed4b83e47ae084d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3991106
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1064998}
2022-10-28 20:05:09 +00:00
Joel Hockey
3c7eb577ee Revert set of a11y tree commits which cause crashes
It is not practical to revert each CL individually, so I have
created this CL to bundle all the reverts together.

da5d2ffb6d
4463d9a99f
2278ce249c
97778ef778
27716a230a
76b1d09313
faed33fe90
14c61afb23
962d5db870
b18739d115
4066dd6c1c

crrev.com/c/3964415
crrev.com/c/3970603
crrev.com/c/3974832
crrev.com/c/3976209
crrev.com/c/3971173
crrev.com/c/3972090
crrev.com/c/3970627
crrev.com/c/3970885
crrev.com/c/3976391
crrev.com/c/3978892
crrev.com/c/3975164

Revert "Move a11y to post-lifecycle steps (iteration )"

This reverts commit da5d2ffb6d.


Revert "AXObjectCache is still dirty if tree updates are paused"

This reverts commit 4463d9a99f.


Revert "Remove extra call to ProcessDeferredAccessibilityEvents()"

This reverts commit 2278ce249c.


Revert "More robust handling of aria-activedescendant invalidations"

This reverts commit 97778ef778.


Revert "Avoid redundant calls to UpdateAXForAllDocuments()"

This reverts commit 27716a230a.


Revert "Restore popup guard"

This reverts commit 76b1d09313.


Revert "Use DCHECKs to prevent recursive calls in AXObjectCacheImpl"

This reverts commit faed33fe90.


Revert "Avoid raw pointer in WebAXObjectProxyList"

This reverts commit 14c61afb23.


Revert "Clean up load logic so that it's easier to understand"

This reverts commit 962d5db870.


Revert "Deflake web tests that create the root ax object"

This reverts commit b18739d115.


Revert "Do not create orphaned AXObjects for whitespace text"

This reverts commit 4066dd6c1c.

Bug: 1376991
Change-Id: I9869417a9b9333fdf3a6b5796f94eabf9ac168e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3990067
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Owners-Override: Leo Zhang <googleo@google.com>
Reviewed-by: Colin Kincaid <ckincaid@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1064718}
2022-10-28 06:09:16 +00:00
Aaron Leventhal
b18739d115 Deflake web tests that create the root ax object
Bug: 1378175
Change-Id: I5a837edd7ba4f72a90c0c56380cbe7f0b58f950b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3978892
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Daniel Libby <dlibby@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1063524}
2022-10-25 22:04:22 +00:00
Aaron Leventhal
14c61afb23 Avoid raw pointer in WebAXObjectProxyList
Bug: None
Change-Id: I847fcc2a0abf890c86932f0520262470233eff1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3970885
Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Reviewed-by: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1063437}
2022-10-25 19:21:29 +00:00
Aaron Leventhal
d51a3330fc For a11y, update layout for both main and popup documents
This CL is a necessary precursor to CL:3964415, which moves
accessibility to post-lifecycle steps. It fixes a number of test
failures related to popups, e.g. in color and date popups.

When serializing, snapshotting or otherwise consuming the a11y
tree, ensure both layout and accessibility are clean and up-to-date
for both the main document and (if present), the popup document.
This avoids situations where layout or a11y are not clean and
up-to-date when crossing from one document to the other.

This is accomplished by introducing WebAXContext::UpdateAXForAllDocuments() which calls into
AXObjectCacheImpl, which now tracks both the main and the
popup document, when showing. The old static methods on
WebAXObject to update layout are now removed.

Test changes:
* Changes to date-picker-ax, week-picker-ax, and month-picker-ax were
necessary as the number of dirty objects generated has changed.
This CL now removes the TestExpectations and
FlagExpectations for these files as they should consistently pass now.

Follow-ups:
* Move a11y to post-lifecycle steps (CL:3964415)
* Get rid of raw pointer to AXContext in WebAXObjectProxyList (see TODO in header)
* Update lifecycle unconditionally in AXObjectCacheImpl::UpdateLifecycleIfNeeded(), letting the layout code handle the conditions for early return. CL:3968646.
* Do not throw away return value from lifecycle update function,
  because it indicates there is a throttling scenario, and that
  the caller should defer work until later.

Bug: None
Change-Id: Ie0f661aadc397b3d74a871b23e8b347ff1a30215
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3961549
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1062326}
2022-10-21 20:23:42 +00:00
Aaron Leventhal
3bcf8d7222 Only use document-scoped layout updates before serialization
This is a precursor for work to move a11y to RunPostLifecycleSteps()
in CL:3861311.

There is no need to force a layout on every dirty node --
WebAXObject::MaybeUpdateLayoutAndCheckValidity() does not do this currently.

The only reason to ever do this might be if we wanted updated layout
information for every content-visibility: auto object, but this is
not necessary because the a11y code already special cases
content-visibility: auto objects with stale layout by not exposing
information that requires a layout object  such as style, location and
perfect whitespace computation. If a user tries to navigate to one
of these objects (e.g. via a skip to next heading command), then it
will be scrolled into view and receive full layout at that time.

In addition, forcing a layout for every content-visibility: auto node
would cost performance, including for users of password managers, etc.
and would ruin a lot of the benefit of content-visibility.

Bug: None
Change-Id: Id5ea7939bc997d0f8b100cd02fd736f3f4f9c9ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3905906
Reviewed-by: David Tseng <dtseng@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1049902}
2022-09-21 22:21:48 +00:00
Avi Drissman
4e1b7bc33d Update copyright headers in content/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c34.

No-Try: true
No-Presubmit: true
Bug: 1098010
Change-Id: I8c0f009d16350271f07d8e5e561085822cc9dd27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3895935
Owners-Override: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1047456}
2022-09-15 14:03:50 +00:00
Daniel Cheng
ad44af2f53 Migrate base::{size,empty,data} to STL equivalents in //content.
Bug: 1299695
Change-Id: Iefec40ecc9327c04732785eaed5a3214d17e552f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3491685
Reviewed-by: Lei Zhang <thestig@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#975485}
2022-02-26 18:07:54 +00:00
Peter Boström
9b036533b6 Remove DISALLOW_* macros from content/
This inlines all remaining DISALLOW_* macros in content/. This is done
manually (vim regex + manually finding insertion position).

IWYU cleanup is left as a separate pass that is easier when these macros
go away.

Bug: 1010217
Change-Id: I8b5ea6dd9f8a3f584cf3eef82634017a38b15be8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3193883
Commit-Queue: Peter Boström <pbos@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Auto-Submit: Peter Boström <pbos@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936160}
2021-10-28 23:37:28 +00:00
Lei Zhang
ae2ff1ebed Swap from base/stl_util.h to cxx17_backports.h in content/ .cc files.
base::size() has been moved to base/cxx17_backports.h, so .cc files that
use base::size(), but no other function from base/stl_util.h, can
directly include base/cxx17_backports.h and not base/stl_util.h.

Bug: 1210983
Change-Id: I42a598a9c2b8fcbfd1e225329109ae3308bd9518
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2915348
Reviewed-by: Camille Lamy <clamy@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#886358}
2021-05-25 17:29:39 +00:00
Dominic Mazzoni
db04a10121 Made AXMode a required argument to WebAXContext
This follows http://crrev.com/c/2894726 and now ensures that Blink
accessibility always has the minimal accessibility mode possible set,
which will enable future optimizations.

Bug: 1208912
Change-Id: I761bb848e27d36cdd62ede0ae524ed30dc99264d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2911953
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#886344}
2021-05-25 17:09:23 +00:00
Dominic Mazzoni
951577d728 Fix flakiness in AOM events tests.
The call to PermissionsHelper.setPermission was not always propagating
to AXObjectCacheImpl right away. Previously we had a setTimeout(0),
which was enough most of the time but not reliable, leaking to
flaky tests.

Fix by adding a new test API to determine whether the permission
change has propagated to AXObjectCacheImpl, and don't resolve
the promise to continue the test until it has propagated.

Fixes: 1134459
Change-Id: I30ecf2514908bf19b824adde3929020194bd57c2
AX-Relnotes: N/A
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2815654
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Adam Ettenberger <Adam.Ettenberger@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#871109}
2021-04-09 21:19:21 +00:00
Dave Tapuska
13da016a9f Remove WebViewTestProxy.
Now that all the conversion has taken place away from WebViewTestProxy
we can remove this shell class.

BUG=1155202

Change-Id: I193f6bfc7248797dcf7c8ec23875ff0fa673b609
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2665029
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850798}
2021-02-04 21:51:58 +00:00
Aaron Leventhal
fd06d96ede Only advance lifecycle in SendPendingAccessibilityEvents once per doc
Previously, the document lifecycle changed at least once per node
that is either dirty or an event source, during
SendPendingAccessibilityEvents().

This updates SendPendingAccessibilityEvents() to only update the
main document and popup document lifecycles only once.

In addition, detailed DCHECKs are performed to ensure that the layout
layout tree state is up to date for each node accessed during
this process.

AX-Relnotes: n/a
Bug: None
Change-Id: I45cdcb1c03e5284c43fd94a8c5ac4d58d837566f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2187136
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: vmpstr <vmpstr@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809321}
2020-09-22 14:33:11 +00:00
Aaron Leventhal
fd57a8ac17 Obey document lifecycle constraints
Do not create or initialize accessibility objects at the wrong time.

Bug: 1125186
Change-Id: I14110615efb4e18a22ebccf2e67b64ce6f258e5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2399317
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809311}
2020-09-22 14:18:15 +00:00
danakj
89f4708621 Move content/shell/$process/web_test to content/web_test/$process
This separates the web test code out of content/shell/. While it is
built into content_shell, it is only part of it when --run-web-tests
is used, and is not conceptually part of the content shell library
being embedded in other shell apps like extensions's shell, ash shell,
or the views example app.

R=avi@chromium.org, mmoss@chromium.org, sky@chromium.org
TBR=

Bug: 866140
Change-Id: I1787d7bbd3be27d1232ab6ddab64db2b5df1d3a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2389045
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: Michael Moss <mmoss@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803914}
2020-09-02 17:53:43 +00:00