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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulated_devices/module.json

Issue 2300403003: DevTools: patch browser's Chrome version into Chrome user agents for emulation (Closed)
Patch Set: address comments Created 4 years, 3 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 { 1 {
2 "extensions": [ 2 "extensions": [
3 { 3 {
4 "type": "emulated-device", 4 "type": "emulated-device",
5 "device": { 5 "device": {
6 "show-by-default": false, 6 "show-by-default": false,
7 "title": "iPhone 4" , 7 "title": "iPhone 4" ,
8 "screen": { 8 "screen": {
9 "horizontal": { 9 "horizontal": {
10 "width": 480, 10 "width": 480,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 "device-pixel-ratio": 2, 220 "device-pixel-ratio": 2,
221 "vertical": { 221 "vertical": {
222 "width": 384, 222 "width": 384,
223 "height": 640 223 "height": 640
224 } 224 }
225 }, 225 },
226 "capabilities": [ 226 "capabilities": [
227 "touch", 227 "touch",
228 "mobile" 228 "mobile"
229 ], 229 ],
230 "user-agent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/ KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari /537.36", 230 "user-agent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/ KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Mobile Safari/ 537.36",
pfeldman 2016/09/15 21:44:06 There is no longer a point in keeping them up-to-d
luoe 2016/09/15 23:18:08 Done.
231 "type": "phone", 231 "type": "phone",
232 "modes": [ 232 "modes": [
233 { 233 {
234 "title": "default", 234 "title": "default",
235 "orientation": "vertical", 235 "orientation": "vertical",
236 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 236 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
237 }, 237 },
238 { 238 {
239 "title": "default", 239 "title": "default",
240 "orientation": "horizontal", 240 "orientation": "horizontal",
241 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 241 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
242 } 242 }
243 ] 243 ]
244 } 244 }
245 }, 245 },
246 { 246 {
247 "type": "emulated-device", 247 "type": "emulated-device",
248 "device": { 248 "device": {
249 "title": "Nexus 5", 249 "title": "Nexus 5",
250 "type": "phone", 250 "type": "phone",
251 "user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MR A58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari/5 37.36", 251 "user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MR A58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Mobile Safari/53 7.36",
252 "capabilities": [ 252 "capabilities": [
253 "touch", 253 "touch",
254 "mobile" 254 "mobile"
255 ], 255 ],
256 "show-by-default": false, 256 "show-by-default": false,
257 "screen": { 257 "screen": {
258 "device-pixel-ratio": 3, 258 "device-pixel-ratio": 3,
259 "vertical": { 259 "vertical": {
260 "width": 360, 260 "width": 360,
261 "height": 640 261 "height": 640
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 } 304 }
305 ] 305 ]
306 } 306 }
307 }, 307 },
308 { 308 {
309 "type": "emulated-device", 309 "type": "emulated-device",
310 "order": 20, 310 "order": 20,
311 "device": { 311 "device": {
312 "title": "Nexus 5X", 312 "title": "Nexus 5X",
313 "type": "phone", 313 "type": "phone",
314 "user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MR A58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari/5 37.36", 314 "user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MR A58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Mobile Safari/53 7.36",
315 "capabilities": [ 315 "capabilities": [
316 "touch", 316 "touch",
317 "mobile" 317 "mobile"
318 ], 318 ],
319 "show-by-default": true, 319 "show-by-default": true,
320 "screen": { 320 "screen": {
321 "device-pixel-ratio": 2.625, 321 "device-pixel-ratio": 2.625,
322 "vertical": { 322 "vertical": {
323 "outline" : { 323 "outline" : {
324 "image": "@url(Nexus5X-portrait.svg)", 324 "image": "@url(Nexus5X-portrait.svg)",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 "device-pixel-ratio": 3.5, 389 "device-pixel-ratio": 3.5,
390 "vertical": { 390 "vertical": {
391 "width": 412, 391 "width": 412,
392 "height": 732 392 "height": 732
393 } 393 }
394 }, 394 },
395 "capabilities": [ 395 "capabilities": [
396 "touch", 396 "touch",
397 "mobile" 397 "mobile"
398 ], 398 ],
399 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari /537.36", 399 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Mobile Safari/ 537.36",
400 "type": "phone", 400 "type": "phone",
401 "modes": [ 401 "modes": [
402 { 402 {
403 "title": "default", 403 "title": "default",
404 "orientation": "vertical", 404 "orientation": "vertical",
405 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 405 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
406 }, 406 },
407 { 407 {
408 "title": "default", 408 "title": "default",
409 "orientation": "horizontal", 409 "orientation": "horizontal",
(...skipping 24 matching lines...) Expand all
434 "insets" : { "left": 58, "top": 94, "right": 58, "bo ttom": 97 } 434 "insets" : { "left": 58, "top": 94, "right": 58, "bo ttom": 97 }
435 }, 435 },
436 "width": 412, 436 "width": 412,
437 "height": 732 437 "height": 732
438 } 438 }
439 }, 439 },
440 "capabilities": [ 440 "capabilities": [
441 "touch", 441 "touch",
442 "mobile" 442 "mobile"
443 ], 443 ],
444 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari /537.36", 444 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Mobile Safari/ 537.36",
445 "type": "phone", 445 "type": "phone",
446 "modes": [ 446 "modes": [
447 { 447 {
448 "title": "default", 448 "title": "default",
449 "orientation": "vertical", 449 "orientation": "vertical",
450 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 450 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
451 }, 451 },
452 { 452 {
453 "title": "default", 453 "title": "default",
454 "orientation": "horizontal", 454 "orientation": "horizontal",
(...skipping 15 matching lines...) Expand all
470 "device-pixel-ratio": 1.25, 470 "device-pixel-ratio": 1.25,
471 "vertical": { 471 "vertical": {
472 "width": 384, 472 "width": 384,
473 "height": 640 473 "height": 640
474 } 474 }
475 }, 475 },
476 "capabilities": [ 476 "capabilities": [
477 "touch", 477 "touch",
478 "mobile" 478 "mobile"
479 ], 479 ],
480 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS 323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Ch rome/48.0.2564.23 Mobile Safari/537.36", 480 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS 323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Ch rome/55.0.2860.0 Mobile Safari/537.36",
481 "type": "phone", 481 "type": "phone",
482 "modes": [ 482 "modes": [
483 { 483 {
484 "title": "default", 484 "title": "default",
485 "orientation": "vertical", 485 "orientation": "vertical",
486 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 486 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
487 }, 487 },
488 { 488 {
489 "title": "default", 489 "title": "default",
490 "orientation": "horizontal", 490 "orientation": "horizontal",
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 "device-pixel-ratio": 2, 578 "device-pixel-ratio": 2,
579 "vertical": { 579 "vertical": {
580 "width": 640, 580 "width": 640,
581 "height": 360 581 "height": 360
582 } 582 }
583 }, 583 },
584 "capabilities": [ 584 "capabilities": [
585 "touch", 585 "touch",
586 "mobile" 586 "mobile"
587 ], 587 ],
588 "user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; M icrosoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 M obile Safari/537.36 Edge/14.14263", 588 "user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; M icrosoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 M obile Safari/537.36 Edge/14.14263",
589 "type": "phone", 589 "type": "phone",
590 "modes": [ 590 "modes": [
591 { 591 {
592 "title": "default", 592 "title": "default",
593 "orientation": "vertical", 593 "orientation": "vertical",
594 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 594 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
595 }, 595 },
596 { 596 {
597 "title": "default", 597 "title": "default",
598 "orientation": "horizontal", 598 "orientation": "horizontal",
(...skipping 15 matching lines...) Expand all
614 "device-pixel-ratio": 4, 614 "device-pixel-ratio": 4,
615 "vertical": { 615 "vertical": {
616 "width": 360, 616 "width": 360,
617 "height": 640 617 "height": 640
618 } 618 }
619 }, 619 },
620 "capabilities": [ 620 "capabilities": [
621 "touch", 621 "touch",
622 "mobile" 622 "mobile"
623 ], 623 ],
624 "user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; M icrosoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 M obile Safari/537.36 Edge/14.14263", 624 "user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; M icrosoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 M obile Safari/537.36 Edge/14.14263",
625 "type": "phone", 625 "type": "phone",
626 "modes": [ 626 "modes": [
627 { 627 {
628 "title": "default", 628 "title": "default",
629 "orientation": "vertical", 629 "orientation": "vertical",
630 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 630 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
631 }, 631 },
632 { 632 {
633 "title": "default", 633 "title": "default",
634 "orientation": "horizontal", 634 "orientation": "horizontal",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 "device-pixel-ratio": 3, 687 "device-pixel-ratio": 3,
688 "vertical": { 688 "vertical": {
689 "width": 360, 689 "width": 360,
690 "height": 640 690 "height": 640
691 } 691 }
692 }, 692 },
693 "capabilities": [ 693 "capabilities": [
694 "touch", 694 "touch",
695 "mobile" 695 "mobile"
696 ], 696 ],
697 "user-agent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/L RX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari/ 537.36", 697 "user-agent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/L RX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Mobile Safari/5 37.36",
698 "type": "phone", 698 "type": "phone",
699 "modes": [ 699 "modes": [
700 { 700 {
701 "title": "default", 701 "title": "default",
702 "orientation": "vertical", 702 "orientation": "vertical",
703 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 703 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
704 }, 704 },
705 { 705 {
706 "title": "default", 706 "title": "default",
707 "orientation": "horizontal", 707 "orientation": "horizontal",
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 "device-pixel-ratio": 2, 913 "device-pixel-ratio": 2,
914 "vertical": { 914 "vertical": {
915 "width": 800, 915 "width": 800,
916 "height": 1280 916 "height": 1280
917 } 917 }
918 }, 918 },
919 "capabilities": [ 919 "capabilities": [
920 "touch", 920 "touch",
921 "mobile" 921 "mobile"
922 ], 922 ],
923 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 10 Build/J SS15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Safari/537.36" , 923 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 10 Build/J SS15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Safari/537.36",
924 "type": "tablet", 924 "type": "tablet",
925 "modes": [ 925 "modes": [
926 { 926 {
927 "title": "default", 927 "title": "default",
928 "orientation": "vertical", 928 "orientation": "vertical",
929 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 929 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
930 }, 930 },
931 { 931 {
932 "title": "default", 932 "title": "default",
933 "orientation": "horizontal", 933 "orientation": "horizontal",
(...skipping 15 matching lines...) Expand all
949 "device-pixel-ratio": 2, 949 "device-pixel-ratio": 2,
950 "vertical": { 950 "vertical": {
951 "width": 600, 951 "width": 600,
952 "height": 960 952 "height": 960
953 } 953 }
954 }, 954 },
955 "capabilities": [ 955 "capabilities": [
956 "touch", 956 "touch",
957 "mobile" 957 "mobile"
958 ], 958 ],
959 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JS S15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Safari/537.36", 959 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JS S15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2860.0 Safari/537.36",
960 "type": "tablet", 960 "type": "tablet",
961 "modes": [ 961 "modes": [
962 { 962 {
963 "title": "default", 963 "title": "default",
964 "orientation": "vertical", 964 "orientation": "vertical",
965 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 965 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
966 }, 966 },
967 { 967 {
968 "title": "default", 968 "title": "default",
969 "orientation": "horizontal", 969 "orientation": "horizontal",
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 } 1132 }
1133 ], 1133 ],
1134 "dependencies": [ 1134 "dependencies": [
1135 "emulation" 1135 "emulation"
1136 ], 1136 ],
1137 "scripts": [ 1137 "scripts": [
1138 ], 1138 ],
1139 "resources": [ 1139 "resources": [
1140 ] 1140 ]
1141 } 1141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698