| 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. |
| Code-Review | +1 |
LGTM with small test suggestions.
There's a merge conflict too, probably the web_feature additions.
button.setAttribute('type', 'button');Other good test to add would be when these are set through the property (`button.type = 'button'`).
container.appendChild(button);nit: I suppose appending and removing the button is not really necessary for this test, although it's not hurting anything either.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
button.setAttribute('type', 'button');Other good test to add would be when these are set through the property (`button.type = 'button'`).
+1
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
button.setAttribute('type', 'button');Other good test to add would be when these are set through the property (`button.type = 'button'`).
Done
nit: I suppose appending and removing the button is not really necessary for this test, although it's not hurting anything either.
Thanks, I missed this. Updated tests.
| 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 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom
Insertions: 5, Deletions: 4.
The diff is too large to show. Please review the diff.
```
```
The name of the file: tools/metrics/histograms/metadata/blink/enums.xml
Insertions: 5, Deletions: 4.
The diff is too large to show. Please review the diff.
```
```
The name of the file: third_party/blink/web_tests/fast/forms/button-type-change-usecounter.html
Insertions: 2, Deletions: 2.
The diff is too large to show. Please review the diff.
```
```
The name of the file: third_party/blink/web_tests/fast/forms/input-type-change-usecounter.html
Insertions: 2, Deletions: 2.
The diff is too large to show. Please review the diff.
```
Add UseCounters for dynamic type changes on <button> and <input>
This CL adds UseCounters to measure how frequently the type attribute
of <button> and <input> elements is changed after creation, both while
the element is connected and disconnected to the DOM.
New entries added:
- kHTMLButtonElementTypeChangedWhileConnected
- kHTMLInputElementTypeChangedWhileConnected
- kHTMLButtonElementTypeChangedWhileDisconnected
- kHTMLInputElementTypeChangedWhileDisconnected
Parser-set attributes are excluded via the AttributeModificationReason
check.
This data will help inform the design of the Platform-Provided
Behaviors proposal [1], specifically whether restricting behaviors
to be immutable after element creation is a practical constraint
given real-world usage patterns.
[1] https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/PlatformProvidedBehaviors/explainer.md
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |