Ted Clancy
9c7912fcf0
Bug 1000305 - part 3: Add atob() and btoa() to server-side java Sandbox. r=waldo
2014-12-20 17:35:40 -05:00
Carsten "Tomcat" Book
dc78f949a2
Backed out changeset 8450d74f782e (bug 1000305) for j1 test failures
2014-12-23 11:41:28 +01:00
Ted Clancy
04d3a316dd
Bug 1000305 - part 3: Add atob() and btoa() to server-side java Sandbox. r=waldo
2014-12-20 17:35:40 -05:00
Richard Newman
730f7d2a4c
Bug 1071785 - Fix strict mode error in httpd.js. r=trivial
2014-10-01 18:09:42 -07:00
Jim Blandy
39dc0c6097
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Bill McCloskey
702b2203c0
Bug 924259 - Fix error message when httpd.js is already running (r=Waldo)
2013-10-10 10:52:12 -07:00
Patrick McManus
33df990f7a
bug 777354 - make httpd.js shutdown quickly with idle never used sockets r=jduell
2013-10-10 01:28:52 -04:00
Gregory Szorc
a3b2da12d3
Bug 896093 - Reference proper variable when blocked port is used; r=trivial
2013-07-23 13:53:01 -07:00
Gregory Szorc
2f74c3902a
Bug 895542 - Only automatically select ports that aren't blocked from clients; r=Waldo
2013-07-19 10:30:06 -07:00
Bobby Holley
83b1a1e25e
Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
...
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Nathan Froyd
dc2172d046
Bug 883981 - correctly reflect the server's port in httpd.js; r=ted
2013-06-17 14:58:56 -04:00
Steve Workman
d3772ac0d8
Bug 497003 - Adjust partial content test and revert httpd.js r=jduell
2013-06-14 19:34:17 -07:00
Ryan VanderMeulen
91f11ca06e
Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
...
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
Steve Workman
b9586263c8
Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell
2013-06-13 10:42:48 -07:00
Bobby Holley
ba1d192627
Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
...
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-13 10:09:26 -07:00
Tim Taubert
fdf7dc509d
Bug 842512 - Specify a character set for error pages; r=Waldo
2013-02-22 19:56:26 +01:00
Tim Taubert
f318f2e990
Backed out changeset 7052d37a8b25 (bug 842512)
2013-02-22 22:23:27 +01:00
Tim Taubert
c127a042e1
Bug 842512 - Specify a character set for error pages; r=Waldo
2013-02-22 19:56:26 +01:00
Gregory Szorc
dff4f3ed61
Bug 809677 - Refactor httpd.js to work when modules are functions; r=Waldo
2012-11-09 14:48:28 -08:00
Kyle Huey
76a2832eea
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
c34b7d9377
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Jeff Walden
6978cbdbdd
Bug 532369 - Replace octal numbers in httpd.js with manual bit-shifts and bit-ors, to avoid strict warnings. Obvious enough for r=try
2012-10-05 17:04:12 -07:00
L. David Baron
fea6b8f61b
Followup to bug 648603: increase the number of connections that our test HTTP server will serve to the larger of the server limit or the proxy limit.
...
This should fix intermittent oranges in bug 536603 and bug 576543 that
were reintroduced this morning.
This is needed because the mochitest HTTP server is accessed as a proxy;
we set network.proxy.autoconfig_url to a data: URL.
2012-09-05 22:43:21 -07:00
Patrick McManus
4a23d4fa91
bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
2012-07-20 08:40:13 -04:00
Gregory Szorc
b6ae20d0a6
Bug 755196 - Allow httpd.js to be loaded as a testing module; r=mcmanus
2012-06-29 13:28:04 -07:00
Boris Zbarsky
8bcf0a905d
Bug 558220 part 2. Fix a bug in the test HTTP header that caused it to misread headers when a packet boundary fell between the CR and LF at the end of a header value. r=waldo
2012-06-28 00:26:13 -04:00
Boris Zbarsky
38c9839427
Bug 558220 part 1. Add more debugging spew to the test HTTP server. r=waldo
2012-06-28 00:26:12 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mook
c00d2c9eee
Bug 485255 - Add path prefix handler to nsIHttpServer; r=biesi
2009-03-25 15:08:18 -07:00
Jeff Walden
ab9efdce04
Bug 568663 - Always append bytes to arrays using increments guaranteed to be substantially below the maximum function argument count. r=honzab
2011-07-25 15:25:38 -07:00
Chris Pearce
54972b5237
Bug 508128 - add gc() in httpd.js, reduces memory by 1GB in xpcshell.exe during mochitest run. r=jwalden
2009-08-04 16:55:00 -04:00
Edward Lee
ea791bc27a
Bug 589016 - Allow registering path handlers from mochitests [r=waldo a=npotb]
...
Export the registerPathHandler for use from .sjs.
2010-08-31 23:49:43 -07:00
Benjamin Smedberg
1c52097d6a
Fix review comments from bug 568691 comment 45.
2010-06-24 11:56:28 -04:00
Benjamin Smedberg
ab0b38f453
Fix syntax error in httpd.js
2010-06-22 16:22:33 -04:00
Benjamin Smedberg
4eb44d9d34
Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
2010-06-22 12:59:15 -04:00
Michael Kohler
e4abd093dc
Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
2010-05-23 12:26:15 -07:00
Jeff Walden
5bce5d27e8
Bug 513854 - httpd.js should write its response data asynchronously. r=sayrer
2009-09-29 19:54:34 -07:00
Neil Rashbrook
ac0ffd10b1
Bug 415761 Adding Windows-only test r=waldo
2010-03-20 23:57:57 +00:00
Joel Maher
c0ce59f423
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:36 -08:00
Brad Lassey
cf8558308e
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
fc440b802d
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Kyle Huey
74827fb435
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
3ff94711b5
Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer
2010-03-08 19:21:33 -08:00
Clint Talbert
a7c210544a
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
b51e4506cb
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
Zack Weinberg
2ac8e0d36b
Bug 540633: Label httpd.js debug logs, optionally timestamp them, and add support for enabling or disabling them in the middle of a run (currently only for mochitests). r=jwalden
2010-02-09 14:07:33 -08:00
Zack Weinberg
21b7116c19
Bug 536603 followup: Look up network.http.max-connections-per-server in httpd.js, rather than hardwiring a constant that needs to be bigger than that pref. r=jwalden
2010-01-29 18:17:33 -08:00