Dragana Damjanovic
7cf5152088
Bug 669259 - Expose original header received from a peer. r=mcmanus
2016-05-12 14:33:00 -04:00
Ted Clancy
3ce0451234
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
d56d8dc16a
Backed out changeset 8450d74f782e (bug 1000305) for j1 test failures
2014-12-23 11:41:28 +01:00
Ted Clancy
db641154ee
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
2f7d8d7236
Bug 1071785 - Fix strict mode error in httpd.js. r=trivial
2014-10-01 18:09:42 -07:00
Jim Blandy
7e20285e70
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
2f6f36b3b4
Bug 924259 - Fix error message when httpd.js is already running (r=Waldo)
2013-10-10 10:52:12 -07:00
Patrick McManus
8ca74e702f
bug 777354 - make httpd.js shutdown quickly with idle never used sockets r=jduell
2013-10-10 01:28:52 -04:00
Gregory Szorc
1f0e635098
Bug 896093 - Reference proper variable when blocked port is used; r=trivial
2013-07-23 13:53:01 -07:00
Gregory Szorc
b5a7c28fde
Bug 895542 - Only automatically select ports that aren't blocked from clients; r=Waldo
2013-07-19 10:30:06 -07:00
Bobby Holley
fbb93f2c02
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
0495cf2f72
Bug 883981 - correctly reflect the server's port in httpd.js; r=ted
2013-06-17 14:58:56 -04:00
Steve Workman
ee997bb486
Bug 497003 - Adjust partial content test and revert httpd.js r=jduell
2013-06-14 19:34:17 -07:00
Ryan VanderMeulen
4bfd3df72c
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
1f8d40499c
Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell
2013-06-13 10:42:48 -07:00
Bobby Holley
dbe3fa03a5
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
5ca09996fd
Bug 842512 - Specify a character set for error pages; r=Waldo
2013-02-22 19:56:26 +01:00
Tim Taubert
5a9b5d9093
Backed out changeset 7052d37a8b25 (bug 842512)
2013-02-22 22:23:27 +01:00
Tim Taubert
46c4acc68d
Bug 842512 - Specify a character set for error pages; r=Waldo
2013-02-22 19:56:26 +01:00
Gregory Szorc
272e9d57c4
Bug 809677 - Refactor httpd.js to work when modules are functions; r=Waldo
2012-11-09 14:48:28 -08:00
Kyle Huey
0469a02b25
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
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
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
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
2a0b543a85
Bug 532369 - Replace octal numbers in httpd.js with manual bit-shifts and bit-ors, to avoid strict warnings. Obvious enough for r=try
...
--HG--
extra : rebase_source : d110239cac4967d7bd278c3c931f10fe78229860
2012-10-05 17:04:12 -07:00
L. David Baron
2ca099cc22
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
5b9ce7432a
bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
...
--HG--
extra : rebase_source : d348e3ec56faa48fbed5c4f0f697dee6658e21b2
2012-07-20 08:40:13 -04:00
Gregory Szorc
e921c68d8f
Bug 755196 - Allow httpd.js to be loaded as a testing module; r=mcmanus
2012-06-29 13:28:04 -07:00
Boris Zbarsky
579ddd678c
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
4c85cae6d2
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
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mook
3895fd07b1
Bug 485255 - Add path prefix handler to nsIHttpServer; r=biesi
2009-03-25 15:08:18 -07:00
Jeff Walden
edd7a29c5e
Bug 568663 - Always append bytes to arrays using increments guaranteed to be substantially below the maximum function argument count. r=honzab
...
--HG--
extra : rebase_source : 7e47afc5e98219089029d771eaaec9514abcef3d
2011-07-25 15:25:38 -07:00
Chris Pearce
66e77bdef2
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
8ef5add911
Bug 589016 - Allow registering path handlers from mochitests [r=waldo a=npotb]
...
Export the registerPathHandler for use from .sjs.
--HG--
extra : rebase_source : 1396ae7c64968ab9884389f8a0146456be794d38
2010-08-31 23:49:43 -07:00
Benjamin Smedberg
4f8e7bcf17
Fix review comments from bug 568691 comment 45.
2010-06-24 11:56:28 -04:00
Benjamin Smedberg
bb5d6f2a0a
Fix syntax error in httpd.js
2010-06-22 16:22:33 -04:00
Benjamin Smedberg
31432df1fb
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.
...
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Michael Kohler
8550fb091a
Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
...
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Jeff Walden
23daa1061e
Bug 513854 - httpd.js should write its response data asynchronously. r=sayrer
2009-09-29 19:54:34 -07:00
Neil Rashbrook
bb888ef855
Bug 415761 Adding Windows-only test r=waldo
2010-03-20 23:57:57 +00:00
Joel Maher
6b6e9978a3
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
96319c4535
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
1c8d232df2
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
a7c3948d0a
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0
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
5b4513c7e9
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
3cd691129e
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
6f802fa89d
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