mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-27 13:00:27 +00:00
5e85317f94
- Bug 1214048 - Improve callee-not-a-function error for spread calls. (r=jorendorff) (f47489e821) - Bug 1202561 - Mark no-longer-used constants in jsversion.h. r=jorendorff. (dd9a29e777) - Bug 995610 - Part 0: Add release property to getBuildConfiguration(). r=evilpie (9aff95b34a) - Bug 995610 - Part 1: Show deprecated warning for expression closure. r=evilpie (740af95e85) - Bug 1167029 - Followup: remove now-unused DeprecatedLetBlock telemetry. (rs=efaust) (dc3293d70f) - Bug 1201740 - Prevent interception if the request is a System XHR. r=bkelly (eea213dcc2) - Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan (15089bb64b) - Back out bug 1149127 because of Thunderbird insanity (2047b66990) - Bug 1187404 - Allow tab to select an option from a select element in e10s r=Enn (e2c98e7c0f) - Mac v2 signing - Bug 1047738 - Make distribution code look for the distribution directory under Contents/Resources due to v2 signing requirements. r=bsmedberg # Please enter the commit message for your changes. Lines starting (4d6f19f952) - Bug 1176703 - load default theme manifest in safe mode, r=bsmedberg (374f8f6ca3) - misc path and import fixes (4547430310) - bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj (886abeed30) - Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert (9d9354f0af) - Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug (48560d44b6) - Bug 1205635: Don't define methods of Bluetooth backend interfaces in header, r=btian (a30773e87e) - Bug 1181482 - Patch1: Refine some data types in gecko backend for GATT server read/write request APIs. r=btian (12921ff365) - Bug 1181479: Refine StringToUuid; r=jocelyn (68ca54278a) - Bug 1181479: Refine GenerateUuid(); r=jocelyn (dd91af86c9) - Bug 1140952 - Implement read/write value of a descriptor for GATT client API (webapi part). f=jocelyn, r=btian, r=mrbkap (276d63e128) - misspatch (87e07ca21f) - Bug 1181479: Implement GATT Server service management; r=jocelyn, r=mrbkap (1abb22088d) - Bug 1161939 - Correct bitwise checking on GATT characteristic write properties. r=jocelyn (fd0c6f1358) - Bug 1181482 - Patch2: Revise read/write characteristic/descriptor value to cover both GATT client and GATT server role. r=btian, r=bz (658efbd941) - Bug 1181479: Sync the coding style; r=jocelyn (ab0f1509c1) - Bug 1181482 - Patch3: Implement |sendResponse| and BluetoothGattAttributeEvent for GATT server read/write requests. r=btian, r=bz (c50c93a6a3) - Bug 1211140 - Remove telemetry for RegExpSourceProperty. r=till (faa512402e) - Bug 1208835 - Add telemetry for RegExp static property access after String.prototype.replace with function argument and RegExp static property is changed inside it. r=till,bsmedberg (c412b13e4c) - Bug 683218 - Remove non-standard __noSuchMethod__ feature. r=efaust (a3a567d797) - Bug 1201460: Disallow asm.js compilation for class/methods; r=luke (963644c32f) - Bug 1214013 - Remove drainGlobalOrEvalBindings and use generateBindings for all kinds of scripts. (r=efaust) (338778ce73) - Bug 1214050 - Don't give overwritten non-deoptimized function bindings slots in global scripts. (r=efaust) (3e95d0ba46) - Bug 1214013 - Parse global scripts non-incrementally. (r=efaust) (33a378413b) - Bug 1214013 - Remove funky Maybe<ParseContext> logic in BytecodeCompiler. (r=efaust) (0f02d0e3da) - Bug 1212719 - Throw SyntaxError immediately for unexpected TOK_TRIPLEDOT. r=Waldo (769ab2403d) - Bug 1218204 - Remove else after return from Parser<ParseHandler>::maybeParseDirective. r=arai (519b748a63) - Bug 1216966 - Part 1: Splurge and use separate error messages for generator comprehensions that need more parentheses and yield expressions that need more parentheses. r=efaust. (fcb6b0a5d2) - Bug 1216966 - Part 2: Tweak a comment about comprehension syntax. r=efaust. (59670db722) - Bug 1216966 - Part 3: Remove redundant method Parser::parenExprOrGeneratorComprehension. r=efaust. (e2a5d76e35) - Bug 1216966 - Part 4: Update a big comment about for-loops in Parser.cpp. r=efaust. (ac28e492db) - Bug 1216966 - Part 5: Code organization and comments around parsing comprehensions. r=efaust. (e5533b379b) - Bug 1216623 - Part 1: Rename some loop variables to avoid conflicts with ES6 scoping rules. r=fitzgen, r=ttaubert, r=MattN, r=gps. (daf7d973b0) - Bug 932517 - Treat let as a contextual keyword in sloppy mode and make it versionless. (r=jorendorff) (c95a8c115f) - align to TFF (e27ad0cc42) - Bug 1217001 - Refactor BytecodeEmitter::variables. Part 1: preliminaries. r=shu. (dad313be3e) - Bug 1217001 - Part 2: Rename two local variables and improve some old comments. r=shu. (8f050c8d34) - Bug 1217001 - Part 3: Remove one goto statement. r=shu. (6ff8f4d4de) - Bug 1217001 - Part 4: Improve the comments on VarEmitOption. r=shu. (6396585f04) - Bug 1217001 - Part 5: Further revise control structure in BytecodeEmitter::emitVariables(). r=shu. (e671d81923) - Bug 1217001 - Part 6: Eliminate some continue statements. r=shu. (80a7767e89) - Bug 1217001 - Part 7: Change BytecodeEmitter::emitNormalFor() to decouple it from weird expectations about BytecodeEmitter::emitVariables(). r=shu. (557a9249a8) - Bug 1217001 - Part 8: Eliminate all uses of PNX_POPVAR. r=shu. (c9c27b5072) - Bug 1217001 - Part 9: Remove PNX_POPVAR. r=shu. (012e716653) - Bug 1217001 - Part 10: Delete redundant boolean argument. r=shu. (5f528ed198) - Bug 1217001 - Part 11: Get rid of the last goto in BytecodeEmitter::emitVariables(). r=shu. (0d11883f9e) - Fix a broken JS test. It landed in rev 093802a6d8ae (bug 1003554) and was apparently fine until it was merged to m-c/m-i, where it probably collided with rev bug 1217099 or bug 1217001. no_r=bustage to a CLOSED TREE. (12470085c8) - Bug 1217099 - Stop emitting pointless JSOP_GETLOCAL; JSOP_POP bytecode sequence for `var x;`. r=shu. (9c69ca3bd3) - Bug 1217110 - Remove unnecessary opcode JSOP_BINDINTRINSIC. r=shu. (58e4f74fd1)
56 lines
1.5 KiB
JavaScript
56 lines
1.5 KiB
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
/**
|
|
* Test if getExecutableLines return correct information
|
|
*/
|
|
|
|
let gDebuggee;
|
|
let gClient;
|
|
let gThreadClient;
|
|
|
|
const SOURCE_MAPPED_FILE = getFileUrl("sourcemapped.js");
|
|
|
|
function run_test() {
|
|
initTestDebuggerServer();
|
|
gDebuggee = addTestGlobal("test-get-executable-lines");
|
|
gClient = new DebuggerClient(DebuggerServer.connectPipe());
|
|
gClient.connect(function _onConnect() {
|
|
attachTestTabAndResume(
|
|
gClient,
|
|
"test-get-executable-lines",
|
|
function (aResponse, aTabClient, aThreadClient) {
|
|
gThreadClient = aThreadClient;
|
|
test_executable_lines();
|
|
}
|
|
);
|
|
});
|
|
|
|
do_test_pending();
|
|
}
|
|
|
|
function test_executable_lines() {
|
|
gThreadClient.addOneTimeListener("newSource", function _onNewSource(evt, packet) {
|
|
do_check_eq(evt, "newSource");
|
|
|
|
gThreadClient.getSources(function ({error, sources}) {
|
|
do_check_true(!error);
|
|
let source = gThreadClient.source(sources[0]);
|
|
source.getExecutableLines(function(lines){
|
|
do_check_true(arrays_equal([2, 5, 7, 8, 12, 14, 16], lines));
|
|
finishClient(gClient);
|
|
});
|
|
});
|
|
});
|
|
|
|
let code = readFile("sourcemapped.js");
|
|
|
|
Components.utils.evalInSandbox(code, gDebuggee, "1.8",
|
|
SOURCE_MAPPED_FILE, 1);
|
|
}
|
|
|
|
function arrays_equal(a,b) {
|
|
return !(a<b || b<a);
|
|
}
|