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

Unified Diff: third_party/WebKit/LayoutTests/inspector/throttling/mobile-throttling-expected.txt

Issue 2938503002: DevTools: unify Network & CPU throttling (Closed)
Patch Set: update test Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/throttling/mobile-throttling-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/throttling/mobile-throttling-expected.txt b/third_party/WebKit/LayoutTests/inspector/throttling/mobile-throttling-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a2ccb342c435034604d35d145abc02bc9252a6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/throttling/mobile-throttling-expected.txt
@@ -0,0 +1,135 @@
+Tests that mobile, network, and CPU throttling interact with each other logically.
+
+Initial throttling state
+=== THROTTLING STATE ===
+Network throttling - download: -1 upload: -1 latency: 0
+CPU throttling rate: 1
+Device mode throttling: Online
+Network panel offline checkbox: false
+Network panel throttling: Online
+Network conditions drawer throttling: Online
+Performance panel network throttling: Online
+Performance panel CPU throttling: No throttling
+========================
+
+Change to offline in device mode
+=== THROTTLING STATE ===
+Network throttling - download: 0 upload: 0 latency: 0
+CPU throttling rate: 1
+Device mode throttling: Offline
+Network panel offline checkbox: true
+Network panel throttling: Offline
+Network conditions drawer throttling: Offline
+Performance panel network throttling: Offline
+Performance panel CPU throttling: No throttling
+========================
+
+Toggle network offline checkbox
+=== THROTTLING STATE ===
+Network throttling - download: -1 upload: -1 latency: 0
+CPU throttling rate: 1
+Device mode throttling: Online
+Network panel offline checkbox: false
+Network panel throttling: Online
+Network conditions drawer throttling: Online
+Performance panel network throttling: Online
+Performance panel CPU throttling: No throttling
+========================
+
+Change to low-end mobile in device mode
+=== THROTTLING STATE ===
+Network throttling - download: 51200 upload: 51200 latency: 2000
+CPU throttling rate: 6
+Device mode throttling: Low-end mobile
+Network panel offline checkbox: false
+Network panel throttling: Slow 3G
+Network conditions drawer throttling: Slow 3G
+Performance panel network throttling: Slow 3G
+Performance panel CPU throttling: 6× slowdown
+========================
+
+Change network to Fast 3G
+=== THROTTLING STATE ===
+Network throttling - download: 188743.68000000002 upload: 86400 latency: 562.5
+CPU throttling rate: 6
+Device mode throttling: Custom
+Network panel offline checkbox: false
+Network panel throttling: Fast 3G
+Network conditions drawer throttling: Fast 3G
+Performance panel network throttling: Fast 3G
+Performance panel CPU throttling: 6× slowdown
+========================
+
+Toggle network offline checkbox (enable offline)
+=== THROTTLING STATE ===
+Network throttling - download: 0 upload: 0 latency: 0
+CPU throttling rate: 6
+Device mode throttling: Custom
+Network panel offline checkbox: true
+Network panel throttling: Offline
+Network conditions drawer throttling: Offline
+Performance panel network throttling: Offline
+Performance panel CPU throttling: 6× slowdown
+========================
+
+Toggle network offline checkbox (disable offline)
+=== THROTTLING STATE ===
+Network throttling - download: 188743.68000000002 upload: 86400 latency: 562.5
+CPU throttling rate: 6
+Device mode throttling: Custom
+Network panel offline checkbox: false
+Network panel throttling: Fast 3G
+Network conditions drawer throttling: Fast 3G
+Performance panel network throttling: Fast 3G
+Performance panel CPU throttling: 6× slowdown
+========================
+
+Change to mid-tier mobile in device mode
+=== THROTTLING STATE ===
+Network throttling - download: 188743.68000000002 upload: 86400 latency: 562.5
+CPU throttling rate: 4
+Device mode throttling: Mid-tier mobile
+Network panel offline checkbox: false
+Network panel throttling: Fast 3G
+Network conditions drawer throttling: Fast 3G
+Performance panel network throttling: Fast 3G
+Performance panel CPU throttling: 4× slowdown
+========================
+
+Change CPU throttling to low-end mobile
+=== THROTTLING STATE ===
+Network throttling - download: 188743.68000000002 upload: 86400 latency: 562.5
+CPU throttling rate: 6
+Device mode throttling: Custom
+Network panel offline checkbox: false
+Network panel throttling: Fast 3G
+Network conditions drawer throttling: Fast 3G
+Performance panel network throttling: Fast 3G
+Performance panel CPU throttling: 6× slowdown
+========================
+
+Change CPU throttling to mid-tier mobile
+=== THROTTLING STATE ===
+Network throttling - download: 188743.68000000002 upload: 86400 latency: 562.5
+CPU throttling rate: 4
+Device mode throttling: Mid-tier mobile
+Network panel offline checkbox: false
+Network panel throttling: Fast 3G
+Network conditions drawer throttling: Fast 3G
+Performance panel network throttling: Fast 3G
+Performance panel CPU throttling: 4× slowdown
+========================
+
+Change to no throttling in device mode
+=== THROTTLING STATE ===
+Network throttling - download: -1 upload: -1 latency: 0
+CPU throttling rate: 1
+Device mode throttling: Online
+Network panel offline checkbox: false
+Network panel throttling: Online
+Network conditions drawer throttling: Online
+Performance panel network throttling: Online
+Performance panel CPU throttling: No throttling
+========================
+
+

Powered by Google App Engine
This is Rietveld 408576698