Commit Graph
7 Commits
Author SHA1 Message Date
Hiroyuki Ikezoe f5fbefdead Bug 1396219 - Support PerformanceObserverInit.buffered. r=baku
MozReview-Commit-ID: FhVZquBoC6F
2017-09-03 10:25:57 +09:00
Hiroyuki Ikezoe 71db223076 Bug 1396230 - Clear PerformanceObserver mQueuedEntries right after they were copied to PerformanceObserverEntryList. r=baku
This matches to the spec and makes po-callback-mutate.any.js test pass.

From the spec [1]

  1. Let entries be a copy of po’s observer buffer.
  2. Empty po’s observer buffer.
  3. If entries is non-empty, call po’s callback with entries as first
     argument and po as the second argument and callback this value. If this
     throws an exception, report the exception.

[1] https://w3c.github.io/performance-timeline/#queue-a-performanceentry

MozReview-Commit-ID: AEdfvGpauzy
2017-09-02 22:05:44 +09:00
Olli Pettay 3898f7d882 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8 2017-01-03 21:47:55 +02:00
Andrea Marchesini 3e782b8fc6 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Chris Peterson 6c0f810682 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Andrea Marchesini 7dcf0fcf39 Bug 1278838 - Remove separate worker binding for Performance API, r=smaug 2016-06-09 19:04:42 +02:00
Andrea Marchesini c902e6e69c Bug 1278816 - Move Performance API into dom/performance, r=smaug 2016-06-09 12:42:21 +02:00