Closed
Bug 1146652
Opened 10 years ago
Closed 9 years ago
[e10s] browser_markupview_keybindings_01.js causes unsafe CPOW usage warnings
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(e10s+)
RESOLVED
DUPLICATE
of bug 1093593
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: Kwan, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [unsafe-cpow-usage])
Mined from test logs
In browser/devtools/markupview/test/browser_markupview_keybindings_01.js:
add_task(function*() {
let {inspector} = yield addTab(TEST_URL).then(openInspector);
info("Focusing the tag editor of the test element");
let {editor} = yield getContainerForSelector("div", inspector);
editor.tag.focus();
info("Pressing tab and expecting to focus the ID attribute, always first");
EventUtils.sendKey("tab", inspector.panelWin);
checkFocusedAttribute("id");
info("Hit enter to turn the attribute to edit mode");
EventUtils.sendKey("return", inspector.panelWin);
checkFocusedAttribute("id", true);
// Check the order of the other attributes in the DOM to the check they appear
// correctly in the markup-view
let attributes = [...getNode("div").attributes].filter(attr => attr.name !== "id"); <- Causes CPOW warning
info("Tabbing forward through attributes in edit mode");
for (let {name} of attributes) { <- Causes CPOW warning
collapseSelectionAndTab(inspector);
checkFocusedAttribute(name, true);
}
info("Tabbing backward through attributes in edit mode");
// Just reverse the attributes other than id and remove the first one since
// it's already focused now.
let reverseAttributes = attributes.reverse();
reverseAttributes.shift();
for (let {name} of reverseAttributes) { <- Causes CPOW warning
collapseSelectionAndShiftTab(inspector);
checkFocusedAttribute(name, true);
}
});
Updated•10 years ago
|
Blocks: e10s-tests
Updated•9 years ago
|
tracking-e10s:
m8+ → ---
Whiteboard: [unsafe-cpow-usage]
Comment 2•9 years ago
|
||
Inspector bug triage. Filter on CLIMBING SHOES
Fixed by Bug 1093593.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•