| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (node) {
// Call the explicit setter to trigger the setup and event binding.
this.node = node;
}without this, if you construct and pass a node, the updateModel doesn't run.
| 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. |
| Commit-Queue | +2 |
if (node) {
// Call the explicit setter to trigger the setup and event binding.
this.node = node;
}without this, if you construct and pass a node, the updateModel doesn't run.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
const {node: createdNode} = createStubbedDomNodeWithModels({nodeId: 1});You can write `({node} = createStubbedDomNodeWithModels({nodeId: 1}))`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +2 |
const {node: createdNode} = createStubbedDomNodeWithModels({nodeId: 1});You can write `({node} = createStubbedDomNodeWithModels({nodeId: 1}))`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: front_end/panels/elements/StylesSidebarPane.test.ts
Insertions: 1, Deletions: 2.
@@ -24,8 +24,7 @@
describe('StylesSidebarPane', () => {
let node: SDK.DOMModel.DOMNode;
beforeEach(() => {
- const {node: createdNode} = createStubbedDomNodeWithModels({nodeId: 1});
- node = createdNode;
+ ({node} = createStubbedDomNodeWithModels({nodeId: 1}));
UI.Context.Context.instance().setFlavor(SDK.DOMModel.DOMNode, node);
});
```
ComputedStyleModel: add dispose() method
This allows callers who need to use the model to look up styles just
once to do that, and then dispose the method, preventing excessive
listeners being bound and then held onto.
R=pfa...@chromium.org
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |