Closed Bug 1146548 Opened 9 years ago Closed 8 years ago

[e10s] browser_markupview_image_tooltip.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: Kwan, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [unsafe-cpow-usage])

+++ This bug was initially created as a clone of Bug #1133577 +++

Mined from test logs

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

function createPage() {
  info("Fill the page with the test content");
  content.document.body.innerHTML = PAGE_CONTENT; <- Causes CPOW warning

  info("Fill the canvas");
  let doc = content.document; <- Causes CPOW warning
  let context = doc.querySelector(".canvas").getContext("2d"); <- Causes CPOW warning

  context.beginPath(); <- Causes CPOW warning
  context.moveTo(300, 0); <- Causes CPOW warning
  context.lineTo(600, 600); <- Causes CPOW warning
  context.lineTo(0, 600); <- Causes CPOW warning
  context.closePath(); <- Causes CPOW warning
  context.fillStyle = "#ffc821"; <- Causes CPOW warning
  context.fill(); <- Causes CPOW warning
}
Component: Menus → Developer Tools: Inspector
Blocks: e10s-tests
No longer blocks: 1109869
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.