Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / dom / webidl / APZTestData.webidl
blob2eea0c6c232afa6706f51e460e9df865889941ea
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 /*
8  * This file declares data structures used to communicate data logged by
9  * various components for the purpose of APZ testing (see bug 961289 and 
10  * gfx/layers/apz/test/APZTestData.h) to JS test code.
11  */
13 // A single key-value pair in the data.
14 dictionary ScrollFrameDataEntry {
15   DOMString key;
16   DOMString value;
19 // All the key-value pairs associated with a given scrollable frame.
20 // The scrollable frame is identified by a scroll id.
21 dictionary ScrollFrameData {
22   unsigned long long scrollId;
23   sequence<ScrollFrameDataEntry> entries;
26 // All the scrollable frames associated with a given paint or repaint request.
27 // The paint or repaint request is identified by a sequence number.
28 dictionary APZBucket {
29   unsigned long sequenceNumber;
30   sequence<ScrollFrameData> scrollFrames;
33 // All the paints and repaint requests. This is the top-level data structure.
34 dictionary APZTestData {
35   sequence<APZBucket> paints;
36   sequence<APZBucket> repaintRequests;