Open Bug 1500961 Opened 1 year ago Updated 1 year ago

Enable commented out assert in dom/base/test/test_sendQueryContentAndSelectionSetEvent.html


(Core :: DOM: Core & HTML, enhancement, P3)





(Reporter: jdescottes, Assigned: m_kato)



Bug 1499096 will switch a call to ok() to is(). Most likely intended by the author of the test, but the assert fails at the moment:

  // is(textRect.width, width.value + width2.value,
  //     "sendQueryContentEvent(QUERY_TEXT_RECT_ARRAY) should return same width that QUERY_TEXT_RECT is returned for offset 1 and 2");

The assert was commented out because it is sometimes passes and sometimes fails depending on the platform (can't use is() or todo_is().
Component: General → Marionette
Product: Firefox → Testing
Component: Marionette → General
Product: Testing → Firefox
Component: General → DOM
Priority: P3 → --
Product: Firefox → Core
Looks like Makoto wrote this over in bug 1203871.
Flags: needinfo?(m_kato)
Priority: -- → P3
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.