Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py

Issue 386443003: Docserver: Add 'deprecated since' message for API nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import json 5 import json
6 6
7 from extensions_paths import CHROME_EXTENSIONS 7 from extensions_paths import CHROME_EXTENSIONS
8 from test_file_system import MoveAllTo 8 from test_file_system import MoveAllTo
9 9
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 'allFrames': { 58 'allFrames': {
59 'type': 'any' 59 'type': 'any'
60 }, 60 },
61 'code': { 61 'code': {
62 'type': 'any' 62 'type': 'any'
63 }, 63 },
64 'file': { 64 'file': {
65 'type':'any' 65 'type':'any'
66 } 66 }
67 } 67 }
68 },
69 {
70 'id': 'DeprecatedType',
71 'type': 'any',
72 'deprecated': 'This is deprecated'
68 } 73 }
69 ], 74 ],
70 'properties': { 75 'properties': {
71 'fakeTabsProperty1': { 76 'fakeTabsProperty1': {
72 'type': 'any' 77 'type': 'any'
73 }, 78 },
74 'fakeTabsProperty2': { 79 'fakeTabsProperty2': {
75 'type': 'any' 80 'type': 'any'
76 }, 81 },
77 'fakeTabsProperty3': { 82 'fakeTabsProperty3': {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 'windowId': {} 186 'windowId': {}
182 } 187 }
183 }, 188 },
184 { 189 {
185 'id': 'InjectDetails', 190 'id': 'InjectDetails',
186 'properties': { 191 'properties': {
187 'allFrames': {}, 192 'allFrames': {},
188 'code': {}, 193 'code': {},
189 'file': {} 194 'file': {}
190 } 195 }
196 },
197 {
198 'id': 'DeprecatedType',
199 'deprecated': 'This is deprecated'
191 } 200 }
192 ], 201 ],
193 'properties': { 202 'properties': {
194 'fakeTabsProperty1': {}, 203 'fakeTabsProperty1': {},
195 'fakeTabsProperty2': {} 204 'fakeTabsProperty2': {}
196 }, 205 },
197 'functions': [ 206 'functions': [
198 { 207 {
199 'name': 'getCurrent', 208 'name': 'getCurrent',
200 'parameters': [ 209 'parameters': [
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 'windowId': {} 287 'windowId': {}
279 } 288 }
280 }, 289 },
281 { 290 {
282 'id': 'InjectDetails', 291 'id': 'InjectDetails',
283 'properties': { 292 'properties': {
284 'allFrames': {}, 293 'allFrames': {},
285 'code': {}, 294 'code': {},
286 'file': {} 295 'file': {}
287 } 296 }
297 },
298 {
299 'id': 'DeprecatedType',
300 'deprecated': 'This is deprecated'
288 } 301 }
289 ], 302 ],
290 'properties': { 303 'properties': {
291 'fakeTabsProperty1': {}, 304 'fakeTabsProperty1': {},
292 'fakeTabsProperty2': {} 305 'fakeTabsProperty2': {}
293 }, 306 },
294 'functions': [ 307 'functions': [
295 { 308 {
296 'name': 'getCurrent', 309 'name': 'getCurrent',
297 'parameters': [ 310 'parameters': [
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 'windowId': {} 383 'windowId': {}
371 } 384 }
372 }, 385 },
373 { 386 {
374 'id': 'InjectDetails', 387 'id': 'InjectDetails',
375 'properties': { 388 'properties': {
376 'allFrames': {}, 389 'allFrames': {},
377 'code': {}, 390 'code': {},
378 'file': {} 391 'file': {}
379 } 392 }
393 },
394 {
395 'id': 'DeprecatedType',
396 'deprecated': 'This is deprecated'
380 } 397 }
381 ], 398 ],
382 'properties': { 399 'properties': {
383 'fakeTabsProperty1': {}, 400 'fakeTabsProperty1': {},
384 'fakeTabsProperty2': {} 401 'fakeTabsProperty2': {}
385 }, 402 },
386 'functions': [ 403 'functions': [
387 { 404 {
388 'name': 'getCurrent', 405 'name': 'getCurrent',
389 'parameters': [ 406 'parameters': [
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 'selected': {}, 463 'selected': {},
447 'id': {}, 464 'id': {},
448 'windowId': {} 465 'windowId': {}
449 } 466 }
450 }, 467 },
451 { 468 {
452 'id': 'InjectDetails', 469 'id': 'InjectDetails',
453 'properties': { 470 'properties': {
454 'allFrames': {} 471 'allFrames': {}
455 } 472 }
473 },
474 {
475 'id': 'DeprecatedType',
456 } 476 }
457 ], 477 ],
458 'properties': { 478 'properties': {
459 'fakeTabsProperty1': {}, 479 'fakeTabsProperty1': {},
460 'fakeTabsProperty2': {} 480 'fakeTabsProperty2': {}
461 }, 481 },
462 'functions': [ 482 'functions': [
463 { 483 {
464 'name': 'getCurrent', 484 'name': 'getCurrent',
465 'parameters': [ 485 'parameters': [
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 ] 1178 ]
1159 }]) 1179 }])
1160 } 1180 }
1161 }, 1181 },
1162 '782': { 1182 '782': {
1163 'api': { 1183 'api': {
1164 'extension_api.json': "{}" 1184 'extension_api.json': "{}"
1165 } 1185 }
1166 } 1186 }
1167 }) 1187 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698