Open Bug 1632183 Opened 5 years ago Updated 5 years ago

Result of ` SimpleTest.promiseClipboardChange`/`SimpleTest.waitForClipboard` differs from using Ctrl+c for flavor="text/html"

Categories

(Testing :: Mochitest, defect, P3)

Version 3
defect

Tracking

(Not tracked)

People

(Reporter: mbrodesser, Unassigned)

Details

Happens for instance when click-selecting multiple rows in a table, using Ctrl+click.

When using Ctrl+c the "text/html" flavor corresponds to:

<meta http-equiv="content-type" content="text/html; charset=utf-8"><table><tbody><tr><td id="x">x</td><td id="y">y</td></tr><tr><td id="u">u</td><td id="v">v</td></tr></tbody></table>

When using SimpleTest.promiseClipboardChange the "text/html" corresponds to:

<table><tbody><tr><td id="x">x</td><td id="y">y</td></tr><tr><td id="u">u</td><td id="v">v</td></tr></tbody></table>

That is, the <meta> element is missing. In order to be consistent with production results, it should be contained.

The test added here can be useful to reproduce the issue.

The priority flag is not set for this bug.
:ahal, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ahal)
Flags: needinfo?(ahal)
Priority: -- → P3

The severity field is not set for this bug.
:ahal, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ahal)
Severity: -- → S3
Flags: needinfo?(ahal)
You need to log in before you can comment on or make changes to this bug.