sc-frank-cucumber 1.2.1.b7791c5.debug → 1.2.1.bba52d7.debug
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/frank-skeleton/frankify.xcconfig.tt +1 -1
- data/frank-skeleton/libCocoaAsyncSocket.a +0 -0
- data/frank-skeleton/libCocoaAsyncSocketMac.a +0 -0
- data/frank-skeleton/libCocoaHTTPServer.a +0 -0
- data/frank-skeleton/libCocoaHTTPServerMac.a +0 -0
- data/frank-skeleton/libCocoaLumberjack.a +0 -0
- data/frank-skeleton/libCocoaLumberjackMac.a +0 -0
- data/frank-skeleton/libFrank.a +0 -0
- data/frank-skeleton/libFrankMac.a +0 -0
- data/frank-skeleton/libShelley.a +0 -0
- data/lib/frank-cucumber/version.rb +1 -1
- metadata +33 -231
- data/frank-skeleton/frank_static_resources.bundle/bundle/ViewAttributeMapping.plist +0 -63
- data/frank-skeleton/frank_static_resources.bundle/bundle/ViewAttributeMappingMac.plist +0 -99
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/ViewAttributeMapping.plist +0 -63
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/ViewAttributeMappingMac.plist +0 -99
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/ajax-loader.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/file.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/folder-closed.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/folder.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/loader.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/loader.png +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/minus.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/plus.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-black-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-black.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-default-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-default.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-famfamfam-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-famfamfam.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-gray-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-gray.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-red-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/images/treeview-red.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/index.html +0 -86
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/index.html.haml +0 -76
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/accessible_views_view.coffee +0 -41
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/accessible_views_view.js +0 -46
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/controller.coffee +0 -134
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/controller.js +0 -139
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/details_view.coffee +0 -42
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/details_view.js +0 -51
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/dropdown_control.coffee +0 -64
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/dropdown_control.js +0 -73
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/ersatz_model.coffee +0 -46
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/ersatz_model.js +0 -60
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/ersatz_view.coffee +0 -167
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/ersatz_view.js +0 -205
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/experiment_bar_model.coffee +0 -10
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/experiment_bar_model.js +0 -17
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/experiment_bar_view.coffee +0 -44
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/experiment_bar_view.js +0 -63
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/frank.coffee +0 -96
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/frank.js +0 -146
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/backbone.js +0 -1431
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/coffee-script.js +0 -8
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/jquery-ui.min.js +0 -405
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/jquery.min.js +0 -4
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/jquery.treeview.js +0 -251
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/json2.js +0 -481
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/raphael.js +0 -5815
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/require.js +0 -2053
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/lib/underscore.js +0 -1059
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/main.coffee +0 -27
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/main.js +0 -29
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/tabs_controller.coffee +0 -13
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/tabs_controller.js +0 -22
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/toast_controller.coffee +0 -15
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/toast_controller.js +0 -28
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/transform_stack.coffee +0 -59
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/transform_stack.js +0 -78
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/tree_view.coffee +0 -53
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/tree_view.js +0 -64
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/view_hier_model.coffee +0 -37
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/view_hier_model.js +0 -48
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/view_model.coffee +0 -39
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/js/view_model.js +0 -62
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/pictos/index.html +0 -329
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/pictos/pictos-web.eot +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/pictos/pictos-web.svg +0 -114
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/pictos/pictos-web.ttf +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/pictos/pictos-web.woff +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/pictos/pictos.css +0 -20
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/pictos/pictos_base64.css +0 -18
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/css/symbiote.css +0 -1
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_elements.scss +0 -28
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_header.scss +0 -61
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_inspect_tabs_list_tabs.scss +0 -194
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_jquery.treeview.scss +0 -68
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_jqui.scss +0 -2
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_layout.scss +0 -13
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_mixins.sass +0 -137
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_reset.scss +0 -32
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_selector_test_toolbar.scss +0 -81
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_solarized.scss +0 -16
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_typography.scss +0 -11
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_unicode.scss +0 -3
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/_z_index.scss +0 -2
- data/frank-skeleton/frank_static_resources.bundle/bundle/bundle/stylesheets/sass/symbiote.scss +0 -26
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/ajax-loader.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/file.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/folder-closed.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/folder.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/loader.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/loader.png +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/minus.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/plus.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-black-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-black.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-default-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-default.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-famfamfam-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-famfamfam.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-gray-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-gray.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-red-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/images/treeview-red.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/index.html +0 -86
- data/frank-skeleton/frank_static_resources.bundle/bundle/index.html.haml +0 -76
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/accessible_views_view.coffee +0 -41
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/accessible_views_view.js +0 -46
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/controller.coffee +0 -134
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/controller.js +0 -139
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/details_view.coffee +0 -42
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/details_view.js +0 -51
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/dropdown_control.coffee +0 -64
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/dropdown_control.js +0 -73
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/ersatz_model.coffee +0 -46
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/ersatz_model.js +0 -60
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/ersatz_view.coffee +0 -167
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/ersatz_view.js +0 -205
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/experiment_bar_model.coffee +0 -10
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/experiment_bar_model.js +0 -17
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/experiment_bar_view.coffee +0 -44
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/experiment_bar_view.js +0 -63
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/frank.coffee +0 -96
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/frank.js +0 -146
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/backbone.js +0 -1431
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/coffee-script.js +0 -8
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/jquery-ui.min.js +0 -405
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/jquery.min.js +0 -4
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/jquery.treeview.js +0 -251
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/json2.js +0 -481
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/raphael.js +0 -5815
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/require.js +0 -2053
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/lib/underscore.js +0 -1059
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/main.coffee +0 -27
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/main.js +0 -29
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/tabs_controller.coffee +0 -13
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/tabs_controller.js +0 -22
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/toast_controller.coffee +0 -15
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/toast_controller.js +0 -28
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/transform_stack.coffee +0 -59
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/transform_stack.js +0 -78
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/tree_view.coffee +0 -53
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/tree_view.js +0 -64
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/view_hier_model.coffee +0 -37
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/view_hier_model.js +0 -48
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/view_model.coffee +0 -39
- data/frank-skeleton/frank_static_resources.bundle/bundle/js/view_model.js +0 -62
- data/frank-skeleton/frank_static_resources.bundle/bundle/pictos/index.html +0 -329
- data/frank-skeleton/frank_static_resources.bundle/bundle/pictos/pictos-web.eot +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/pictos/pictos-web.svg +0 -114
- data/frank-skeleton/frank_static_resources.bundle/bundle/pictos/pictos-web.ttf +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/pictos/pictos-web.woff +0 -0
- data/frank-skeleton/frank_static_resources.bundle/bundle/pictos/pictos.css +0 -20
- data/frank-skeleton/frank_static_resources.bundle/bundle/pictos/pictos_base64.css +0 -18
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/css/symbiote.css +0 -1
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_elements.scss +0 -28
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_header.scss +0 -61
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_inspect_tabs_list_tabs.scss +0 -194
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_jquery.treeview.scss +0 -68
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_jqui.scss +0 -2
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_layout.scss +0 -13
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_mixins.sass +0 -137
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_reset.scss +0 -32
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_selector_test_toolbar.scss +0 -81
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_solarized.scss +0 -16
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_typography.scss +0 -11
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_unicode.scss +0 -3
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/_z_index.scss +0 -2
- data/frank-skeleton/frank_static_resources.bundle/bundle/stylesheets/sass/symbiote.scss +0 -26
@@ -1,146 +0,0 @@
|
|
1
|
-
(function() {
|
2
|
-
var baseUrlFor, cacheBust, displayErrorResponse, fetchResolution, fetchOrientation, fetchViewHierarchy, fetchDevice, isErrorResponse, requestSnapshotRefresh, sendMapRequest;
|
3
|
-
|
4
|
-
cacheBust = function(url) {
|
5
|
-
return "" + url + "?" + ((new Date()).getTime());
|
6
|
-
};
|
7
|
-
|
8
|
-
baseUrlFor = function(path) {
|
9
|
-
return window.location.protocol + "//" + window.location.host + "/" + path;
|
10
|
-
};
|
11
|
-
|
12
|
-
isErrorResponse = function(response) {
|
13
|
-
return 'SUCCESS' !== response.outcome;
|
14
|
-
};
|
15
|
-
|
16
|
-
displayErrorResponse = function(response) {
|
17
|
-
return alert("Frank isn't happy: " + response.reason + "\ndetails: " + response.details);
|
18
|
-
};
|
19
|
-
|
20
|
-
fetchViewHierarchy = function() {
|
21
|
-
var request;
|
22
|
-
return request = $.ajax({
|
23
|
-
type: "POST",
|
24
|
-
dataType: "json",
|
25
|
-
url: baseUrlFor("/dump")
|
26
|
-
});
|
27
|
-
};
|
28
|
-
|
29
|
-
fetchResolution = function() {
|
30
|
-
var deferable, request;
|
31
|
-
deferable = new $.Deferred();
|
32
|
-
request = $.ajax({
|
33
|
-
type: "GET",
|
34
|
-
dataType: "json",
|
35
|
-
url: baseUrlFor("/resolution")
|
36
|
-
}).done(function(response) {
|
37
|
-
return deferable.resolve(response || 'unknown');
|
38
|
-
}).fail(deferable.reject);
|
39
|
-
return deferable.promise();
|
40
|
-
};
|
41
|
-
|
42
|
-
fetchOrientation = function() {
|
43
|
-
var deferable, request;
|
44
|
-
deferable = new $.Deferred();
|
45
|
-
request = $.ajax({
|
46
|
-
type: "GET",
|
47
|
-
dataType: "json",
|
48
|
-
url: baseUrlFor("/orientation")
|
49
|
-
}).done(function(response) {
|
50
|
-
return deferable.resolve(response && response.detailed_orientation || 'unknown');
|
51
|
-
}).fail(deferable.reject);
|
52
|
-
return deferable.promise();
|
53
|
-
};
|
54
|
-
|
55
|
-
fetchDevice = function() {
|
56
|
-
var deferable, request;
|
57
|
-
deferable = new $.Deferred();
|
58
|
-
request = $.ajax({
|
59
|
-
type: "GET",
|
60
|
-
dataType: "json",
|
61
|
-
url: baseUrlFor("/device")
|
62
|
-
}).done(function(response) {
|
63
|
-
return deferable.resolve(response && response.device || 'unknown');
|
64
|
-
}).fail(deferable.reject);
|
65
|
-
return deferable.promise();
|
66
|
-
};
|
67
|
-
|
68
|
-
requestSnapshotRefresh = function() {
|
69
|
-
return $.ajax({
|
70
|
-
type: 'GET',
|
71
|
-
url: baseUrlFor("/screenshot/snapshot-all-views")
|
72
|
-
});
|
73
|
-
};
|
74
|
-
|
75
|
-
sendMapRequest = function(_arg) {
|
76
|
-
var command, deferable, engine, methodArgs, methodName, selector;
|
77
|
-
selector = _arg.selector, engine = _arg.engine, methodName = _arg.methodName, methodArgs = _arg.methodArgs;
|
78
|
-
selector || (selector = 'uiquery');
|
79
|
-
methodArgs || (methodArgs = []);
|
80
|
-
deferable = new $.Deferred();
|
81
|
-
command = {
|
82
|
-
query: selector,
|
83
|
-
selector_engine: engine,
|
84
|
-
operation: {
|
85
|
-
method_name: methodName,
|
86
|
-
"arguments": methodArgs
|
87
|
-
}
|
88
|
-
};
|
89
|
-
$.ajax({
|
90
|
-
type: "POST",
|
91
|
-
dataType: "json",
|
92
|
-
data: JSON.stringify(command),
|
93
|
-
url: baseUrlFor('/map'),
|
94
|
-
success: function(data) {
|
95
|
-
if (isErrorResponse(data)) {
|
96
|
-
displayErrorResponse(data);
|
97
|
-
deferable.reject(data);
|
98
|
-
}
|
99
|
-
return deferable.resolve(data.results);
|
100
|
-
},
|
101
|
-
error: function(xhr, status, error) {
|
102
|
-
alert("Error while talking to Frank: " + status);
|
103
|
-
return deferable.reject(error);
|
104
|
-
}
|
105
|
-
});
|
106
|
-
return deferable.promise();
|
107
|
-
};
|
108
|
-
|
109
|
-
define(function() {
|
110
|
-
return {
|
111
|
-
fetchViewHierarchy: fetchViewHierarchy,
|
112
|
-
fetchResolution: fetchResolution,
|
113
|
-
fetchOrientation: fetchOrientation,
|
114
|
-
fetchDevice: fetchDevice,
|
115
|
-
requestSnapshotRefresh: requestSnapshotRefresh,
|
116
|
-
baseScreenshotUrl: function() {
|
117
|
-
return cacheBust(baseUrlFor('/screenshot'));
|
118
|
-
},
|
119
|
-
snapshotUrlForViewWithUid: function(uid) {
|
120
|
-
return cacheBust(baseUrlFor("/screenshot/view-snapshot/" + uid));
|
121
|
-
},
|
122
|
-
sendFlashCommand: function(selector, engine) {
|
123
|
-
return sendMapRequest({
|
124
|
-
selector: selector,
|
125
|
-
engine: engine,
|
126
|
-
methodName: 'FEX_flash'
|
127
|
-
});
|
128
|
-
},
|
129
|
-
sendTouchCommand: function(selector, engine) {
|
130
|
-
return sendMapRequest({
|
131
|
-
selector: selector,
|
132
|
-
engine: engine,
|
133
|
-
methodName: 'touch'
|
134
|
-
});
|
135
|
-
},
|
136
|
-
getAccessibilityFramesForViewsMatchingSelector: function(selector, engine) {
|
137
|
-
return sendMapRequest({
|
138
|
-
selector: selector,
|
139
|
-
engine: engine,
|
140
|
-
methodName: 'accessibilityFrame'
|
141
|
-
});
|
142
|
-
}
|
143
|
-
};
|
144
|
-
});
|
145
|
-
|
146
|
-
}).call(this);
|