Closed Bug 1513720 Opened 6 years ago Closed 6 years ago

Resize events break run-to-completion

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1044074

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Resize events can fire if the debugger is paused, breaking run-to-completion. The attached patch fixes this, by not firing resize events while the associated document has events suppressed. If one or more resizes are suppressed, a single resize is fired after the document unsuppresses events.
Attachment #9030926 - Flags: review?(bugs)
Priority: -- → P2
Comment on attachment 9030926 [details] [diff] [review] patch a test would be nice.
Attachment #9030926 - Flags: review?(bugs) → review+
Comment on attachment 9030926 [details] [diff] [review] patch Oh, wait, this is against the spec. Resize needs to fire during Tick().
Attachment #9030926 - Flags: review+ → review-
The fix in bug 1044074 took care of both resize and scroll events.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: