Backed out changeset 7ec5c7a4830f (bug 896139) for adding a test that times out a=merge

--HG--
extra : source : f8ad92bbeea604d2cd367773ca7c21e63900cc8d
This commit is contained in:
Wes Kocher 2015-05-07 10:13:59 -07:00
Родитель 60f46579a5
Коммит a72c5d5617
4 изменённых файлов: 0 добавлений и 63 удалений

Просмотреть файл

@ -16,7 +16,6 @@ support-files =
code_blackboxing_two.js code_blackboxing_two.js
code_breakpoints-break-on-last-line-of-script-on-reload.js code_breakpoints-break-on-last-line-of-script-on-reload.js
code_breakpoints-other-tabs.js code_breakpoints-other-tabs.js
code_bug-896139.js
code_frame-script.js code_frame-script.js
code_function-search-01.js code_function-search-01.js
code_function-search-02.js code_function-search-02.js
@ -48,7 +47,6 @@ support-files =
doc_breakpoints-break-on-last-line-of-script-on-reload.html doc_breakpoints-break-on-last-line-of-script-on-reload.html
doc_breakpoints-other-tabs.html doc_breakpoints-other-tabs.html
doc_breakpoints-reload.html doc_breakpoints-reload.html
doc_bug-896139.html
doc_closures.html doc_closures.html
doc_closure-optimized-out.html doc_closure-optimized-out.html
doc_cmd-break.html doc_cmd-break.html
@ -166,8 +164,6 @@ skip-if = e10s && debug
skip-if = e10s && debug skip-if = e10s && debug
[browser_dbg_breakpoints-reload.js] [browser_dbg_breakpoints-reload.js]
skip-if = e10s && debug skip-if = e10s && debug
[browser_dbg_bug-896139.js]
skip-if = e10s && debug
[browser_dbg_chrome-create.js] [browser_dbg_chrome-create.js]
skip-if = e10s && debug skip-if = e10s && debug
[browser_dbg_chrome-debugging.js] [browser_dbg_chrome-debugging.js]

Просмотреть файл

@ -1,33 +0,0 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Bug 896139 - Breakpoints not triggering when reloading script.
*/
const TAB_URL = "doc_bug-896139.html";
const SCRIPT_URL = "code_bug-896139.js";
function test() {
Task.spawn(function* () {
function testBreakpoint() {
let promise = waitForDebuggerEvents(panel, win.EVENTS.FETCHED_SCOPES);
callInTab(tab, "f");
return promise.then(() => doResume(panel));
}
let [tab,, panel] = yield initDebugger(EXAMPLE_URL + TAB_URL);
let win = panel.panelWin;
yield waitForSourceShown(panel, SCRIPT_URL);
yield panel.addBreakpoint({
actor: getSourceActor(win.DebuggerView.Sources, EXAMPLE_URL + SCRIPT_URL),
line: 3
});
yield testBreakpoint();
yield reloadActiveTab(panel, win.EVENTS.SOURCE_SHOWN);
yield testBreakpoint();
yield closeDebuggerAndFinish(panel);
});
}

Просмотреть файл

@ -1,8 +0,0 @@
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
function f() {
var a = 1;
var b = 2;
var c = 3;
}

Просмотреть файл

@ -1,18 +0,0 @@
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<script>
window.onload = function () {
var script = document.createElement("script");
script.setAttribute("src", "code_bug-896139.js");
document.body.appendChild(script);
}
</script>
</head>
<body>
</body>
</html>