Commit Graph
168 Commits
Author SHA1 Message Date
Christoph Kerschbaumer bf4c40e94c Bug 1234596 - Convert 20 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-22 20:57:57 -08:00
Wes Kocher f61e184c6b Backed out changeset 7459e0c97939 (bug 1234596) for test_protocolproxyservice.js failures in xpcshell CLOSED TREE 2015-12-22 18:37:37 -08:00
Christoph Kerschbaumer 4cbea1ec61 Bug 1234596 - Convert 20 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-22 13:09:31 -08:00
Hiroyuki Ikezoe 9c07ef3bd5 Bug 1167627 - Part 7: Use mozinfo in netwerk/. 2015-08-25 14:58:00 +02:00
Tooru Fujisawa 00933cd449 Bug 1207499 - Part 6: Remove use of expression closure from netwerk/. r=jduell 2015-09-23 18:42:18 +09:00
Brian O'Keefe 48ee70c558 Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal 2015-02-13 08:11:57 -05:00
Ted Mielczarek a6434d2aa8 bug 1151407 - Remove _HTTPD_JS_PATH from xpcshell test harness. r=jmaher
Only the httpd.js unit tests actually rely on this. I tried to make them use Cu.import but they also rely on poking a bunch of stuff in httpd.js that's not exported, so instead I just made the test manifest copy httpd.js to the test directory and had them load it from there.
2015-04-03 08:20:32 -04:00
Geoff Brown a7cb15c03d Bug 1140148 - Update xpcshell test manifests for Android 4.3 emulator; r=dminor 2015-03-19 11:00:58 -06:00
Chris Peterson ea79ec769c Bug 1133282 - Remove nonstandard expression closures from netwerk. r=mcmanus 2015-01-24 23:50:26 -08:00
Francois Marier d309ce83c6 Bug 1113004 - Add IsPrivateResponse to HttpChannel. r=mayhemer 2015-01-08 22:38:00 +01:00
Christoph Kerschbaumer 12364e43fa Bug 1087739: Make JS callers of ios.newChannel call ios.newChannel2 in netwerk/ (r=sworkman,tanvi) 2014-10-24 15:16:29 -07:00
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
Mike Hommey ae3220f00a Bug 948278 - Avoid piggy-backing into the build system for the reftest addon. r=ted
This makes the reftest addon use the httpd server as a js module instead of
a XPCOM component.
2014-12-16 15:07:01 +09:00
Andrew Halberstadt 11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Richard Newman 730f7d2a4c Bug 1071785 - Fix strict mode error in httpd.js. r=trivial 2014-10-01 18:09:42 -07:00
Gregory Szorc 572b90f0c3 Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium 2014-07-02 16:43:41 -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
Gregory Szorc 6e1333520a Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.
2013-12-10 16:18:11 +09:00
Mike Hommey 210ee1b972 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09: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 189afd1a65 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted 2013-09-24 11:50:08 -07:00
Mike Hommey b207d5baf7 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Geoff Brown 40dea9f967 Bug 905344 - Change server port to -1 in test_load_module.js; r=waldo 2013-08-23 09:11:34 -06:00
Joey Armstrong 820e8719ff Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -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
Mihnea Dobrescu-Balaur a6ba670237 Bug 887706 - Use a dynamic port in httpserver xpcshell tests so they can be run in parallel. r=Waldo 2013-07-17 09:11:19 -04: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
Joey Armstrong 6af3f1ee26 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong 6a224ff449 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Kyle Machulis 331f36baa9 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis ec9b53db93 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 0419a0b889 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-03-29 13:56:18 -07:00
Mike Shal 24be52d653 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc 7638dd9198 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Tim Taubert fdf7dc509d Bug 842512 - Specify a character set for error pages; r=Waldo 2013-02-22 19:56:26 +01:00
Gregory Szorc 4c42356bf5 Bug 784841 - Part 18z: Convert /netwerk; f=Ms2ger rs=ted 2013-02-25 12:47:23 -08:00
Tim Taubert f318f2e990 Backed out changeset 7052d37a8b25 (bug 842512) 2013-02-22 22:23:27 +01:00
Tim Taubert 958ca6cc66 Backed out changeset 96d8ca0dd540 (bug 842511) 2013-02-22 22:23:25 +01:00
Tim Taubert c2fa0c24b8 Bug 842511 - Fix xpcshell bustage; r=me 2013-02-22 21:17:44 +01:00
Tim Taubert c127a042e1 Bug 842512 - Specify a character set for error pages; r=Waldo 2013-02-22 19:56:26 +01:00
Seth Fowler cbe7e6b02b (no bug) Remove debugging cruft that snuck into the tree which prints 'httpserver XPI_NAME=' when we build. r=bsmedberg 2012-11-15 13:12:23 -08:00