Frontend changes required for switching DevTools network panel to Durable Messages. I'll add the base::Feature to this CL, but could use an early review to make sure I'm in the right direction (my first DevTools frontend change here)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
enableDurableMessages: true,
it looks like this does not enable the overall Network domain anymore?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
enableDurableMessages: true,
it looks like this does not enable the overall Network domain anymore?
That's what the test failures suggest, which is thrown from [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/inspector/inspector_network_agent.cc;l=2346;drc=da1f749634c9a401cc756f36c2e6ce233e1c9b4d).
Looking at the [current implementation](https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/protocol/network_handler.cc;l=1474-1476?q=content%2Fbrowser%2Fdevtools%2Fprotocol%2Fnetwork_handler.cc&ss=chromium%2Fchromium%2Fsrc) and the test failures' concentration around service workers, I'm suspecting that it might have something to do with a storage partition not being available, which would prevent a fall-through?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
enableDurableMessages: true,
Alex N. Joseit looks like this does not enable the overall Network domain anymore?
That's what the test failures suggest, which is thrown from [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/inspector/inspector_network_agent.cc;l=2346;drc=da1f749634c9a401cc756f36c2e6ce233e1c9b4d).
Looking at the [current implementation](https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/protocol/network_handler.cc;l=1474-1476?q=content%2Fbrowser%2Fdevtools%2Fprotocol%2Fnetwork_handler.cc&ss=chromium%2Fchromium%2Fsrc) and the test failures' concentration around service workers, I'm suspecting that it might have something to do with a storage partition not being available, which would prevent a fall-through?
crrev.com/c/7004116 and crrev.com/c/7006880 will address this issue.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
@d...@chromium.org, @alexr...@chromium.org, @paul...@chromium.org, the storage partition bug has been fixed, and this feature is now behind a feature flag thats enabled by default. This CL should be good for review, PTAL!
async function setupMocks(
do we need this if it is enabled by default?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
async function setupMocks(
if the mock is needed for a test, let's add a `describe('with durable messages')` and in the describe let's call `setup({enabledFeatures: [devToolsEnableDurableMessages]})`
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
async function setupMocks(
Alex N. Josedo we need this if it is enabled by default?
Since it's feature-gated, I think tests better exercise via the feature flag (similar to Chromium's Virtual tests). If we were to switch the default to DISABLE_BY_DEFAULT, the burden will fall on the flag change to update or disable the tests otherwise.
if the mock is needed for a test, let's add a `describe('with durable messages')` and in the describe let's call `setup({enabledFeatures: [devToolsEnableDurableMessages]})`
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
async function setupMocks(
Alex N. Josedo we need this if it is enabled by default?
Since it's feature-gated, I think tests better exercise via the feature flag (similar to Chromium's Virtual tests). If we were to switch the default to DISABLE_BY_DEFAULT, the burden will fall on the flag change to update or disable the tests otherwise.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
@alexr...@chromium.org, @d...@chromium.org, rebasing knocked out your LGTMs. Please +1 if this looks good to land.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |