Hi Yuzhu,
The desire to mock an *associated* interface impl in JS for BLink's layout tests is arising. See the discussion here: https://chromium-review.googlesource.com/c/chromium/src/+/848735/4/content/shell/test_runner/mock_screen_orientation_client.h#26.
I can't claim to be very familiar with the issues involved here. Is this already possible? If not, is it straightforward to make this possible, or should that CL proceed as Ke He is currently developing it with a TODO on this bug?
Obviously, if you need more information to understand the issues at hand, don't hesitate to let us know. Thanks!
I'm marking as P-2 just to get a resolution to allow that CL to move forward. If the issue isn't straightforward to resolve, then actually adding this support is not a P-2; we can move forward on the CL without it.
Comment 1 by yzshen@chromium.org
, Jan 12 2018