Revert "Backed out changeset c209b1927107 (bug 923975) for failing at mochitest/browser_dbg_rr_stepping-02.js, etc. removed obsolete files. a=backout"
☠☠ backed out by 8f9391de161b ☠ ☠
authorJason Laster <jlaster@mozilla.com>
Tue, 02 Oct 2018 16:00:10 -0400
changeset 439210 e1ac0b6c2ca0830009c059ef62d0aaf421b1a73d
parent 439209 9f50e3dd7b149f86386ae811af906fd194d422fc
child 439211 e85309ff67f47c2ee52944499f6ababe1278fabd
push id108540
push userjlaster@mozilla.com
push dateTue, 02 Oct 2018 20:40:52 +0000
treeherdermozilla-inbound@e1ac0b6c2ca0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs923975
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Revert "Backed out changeset c209b1927107 (bug 923975) for failing at mochitest/browser_dbg_rr_stepping-02.js, etc. removed obsolete files. a=backout" This reverts commit b7f018206386dab85fb82cbaaf24f15ad60eff14.
devtools/server/tests/unit/completions.js
devtools/server/tests/unit/stepping.js
new file mode 100644
--- /dev/null
+++ b/devtools/server/tests/unit/completions.js
@@ -0,0 +1,24 @@
+"use strict";
+/* exported global doRet doThrow */
+
+function ret() {
+  return 2;
+}
+
+function throws() {
+  throw new Error("yo");
+}
+
+function doRet() {
+  debugger;
+  const r = ret();
+  return r;
+}
+
+function doThrow() {
+  debugger;
+  try {
+    throws();
+  } catch (e) {
+  }
+}
new file mode 100644
--- /dev/null
+++ b/devtools/server/tests/unit/stepping.js
@@ -0,0 +1,27 @@
+"use strict";
+/* exported global arithmetic composition chaining */
+
+const obj = { b };
+
+function a() {
+  return obj;
+}
+
+function b() {
+  return 2;
+}
+
+function arithmetic() {
+  debugger;
+  a() + b();
+}
+
+function composition() {
+  debugger;
+  b(a());
+}
+
+function chaining() {
+  debugger;
+  a().b();
+}