Closed Bug 1148416 Opened 9 years ago Closed 8 years ago

[e10s] browser_markupview_textcontent_edit_01.js causes unsafe CPOW usage warnings

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(e10s+)

RESOLVED DUPLICATE of bug 1252099
Tracking Status
e10s + ---

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [unsafe-cpow-usage])

Mined from test logs

In browser/devtools/markupview/test/browser_markupview_textcontent_edit_01.js:

https://hg.mozilla.org/projects/holly/file/50e197279ad5/browser/devtools/markupview/test/browser_markupview_textcontent_edit_01.js#l18
https://hg.mozilla.org/projects/holly/file/50e197279ad5/browser/devtools/markupview/test/browser_markupview_textcontent_edit_01.js#l19
https://hg.mozilla.org/projects/holly/file/50e197279ad5/browser/devtools/markupview/test/browser_markupview_textcontent_edit_01.js#l30

add_task(function*() {
  let {inspector} = yield addTab(TEST_URL).then(openInspector);

  info("Expanding all nodes");
  yield inspector.markup.expandAll();
  yield waitForMultipleChildrenUpdates(inspector);

  let node = getNode(".node6").firstChild; <-- causes unsafe CPOW usage warning
  is(node.nodeValue, "line6", "The test node's text content is correct"); <-- causes unsafe CPOW usage warning

  info("Changing the text content");

  info("Listening to the markupmutation event");
  let onMutated = inspector.once("markupmutation");
  let container = yield getContainerForSelector(".node6", inspector);
  let field = container.elt.querySelector("pre");
  setEditableFieldValue(field, "New text", inspector);
  yield onMutated;

  is(node.nodeValue, "New text", "Test test node's text content has changed"); <-- causes unsafe CPOW usage warning

  yield inspector.once("inspector-updated");
});
tracking-e10s: m8+ → ---
Whiteboard: [unsafe-cpow-usage]
This is test only.
tracking-e10s: --- → +
Inspector bug triage. Filter on CLIMBING SHOES

Fixed by Bug 1252099.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.