Mike Hommey
0f4c5d9244
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Bobby Holley
0bd10207c6
Bug 1042436 - Warn once to the console when XrayWrappers deny access to an object. r=gabor,sr=smaug
2014-08-06 23:32:23 -04:00
Bobby Holley
0b347c758f
Bug 965898 - Import web-platform-test into the tree. r=Ms2ger
2014-07-30 12:23:04 -07:00
Bobby Holley
825af5fcd8
Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor
2014-07-30 12:23:02 -07:00
Bobby Holley
7db28dae27
Backed out 16 changesets (bug 965898) for rooting hazards. CLOSED TREE
...
Backed out changeset ac4abde3579f (bug 965898)
Backed out changeset c4c7ab1a2f70 (bug 965898)
Backed out changeset e0bf3598dfe1 (bug 965898)
Backed out changeset 8f2788a0ba24 (bug 965898)
Backed out changeset 0d1cda4decaa (bug 965898)
Backed out changeset 3d80ffc439fb (bug 965898)
Backed out changeset ad66ab36fe2d (bug 965898)
Backed out changeset dcf7ccf6eff2 (bug 965898)
Backed out changeset d3f02e80355d (bug 965898)
Backed out changeset 212f2d05d9e7 (bug 965898)
Backed out changeset c350a2c0aa6d (bug 965898)
Backed out changeset c75acd0663a9 (bug 965898)
Backed out changeset d68f7ef0ae69 (bug 965898)
Backed out changeset 610e6d6e1a88 (bug 965898)
Backed out changeset 54d40a30f6ad (bug 965898)
Backed out changeset 403a0e1d2324 (bug 965898)
2014-07-29 22:57:59 -07:00
Bobby Holley
ed0824bbb7
Bug 965898 - Import web-platform-test into the tree. r=Ms2ger
2014-07-29 21:35:32 -07:00
Bobby Holley
f2b2ae9683
Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor
2014-07-29 21:35:31 -07:00
Mike Hommey
1e79fe55c2
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Bobby Holley
0ac3502f9a
Bug 1042996 - Always set an explicit version in evalInSandbox. r=gabor
...
If setVersion() is not invoked on compileOptions, it ends up with
JSVERSION_UNKNOWN, which invokes findVersion() on the JSContext, which does a
bunch of crazy hunting of previous scripted stack frames that we most certainly
don't want for sandboxes, which are supposed to be controlled environments.
Using a separate JSContext in evalInSandbox isolates us from these effects, so
once we stop doing that we need to be more explicit here.
2014-07-28 14:55:51 -07:00
Bobby Holley
c77cb31ac4
Bug 1042840
- Remove evalInWindow. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
50b9c0b895
Bug 1042824 - Remove implicit cloning behavior in function forwarders. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
8bcc146804
Bug 1042824 - Do a security check on the callee in ExportFunction. r=gabor
...
It would be nice to enforce this in New*FunctionForwarder, but we're already
in the target compartment at that point. :-(
We don't need to worry about this at the other callsites of
New*FunctionForwarder because:
* The stuff in XPCComponents is always invoked by System Principaled code.
* The stuff in StackScopedCloneRead only gets invoked when we're already done a
successful CheckedUnwrap inside the JS engine.
2014-07-28 11:19:24 -07:00
Mike Conley
a3b82c8ae2
Bug 1042398 - Tests. r=bholley
2014-07-23 15:20:05 -07:00
Alexandre Poirot
5a3800bc64
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Wes Kocher
4c67cec5f7
Backed out changeset 88860bed8c96 (bug 1042398) for bustage on a CLOSED TREE
2014-07-23 13:09:54 -07:00
Mike Conley
fc443521cb
Bug 1042398 - Tests. r=bholley
2014-07-23 12:36:22 -07:00
Bobby Holley
867be7f640
Bug 1041626 - Tests. r=bz
2014-07-23 12:36:21 -07:00
Mike Hommey
ad9b49263a
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
71623acdd6
Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
...
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
e5c43ef995
Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
31cd528278
Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
...
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Jonathan Griffin
efbbf73c27
Backed out changeset 64586374a208 on a CLOSED TREE
2014-07-22 18:29:57 -07:00
Alexandre Poirot
09c66c2ebd
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Jonathan Griffin
0cd20a2c49
Backout 4f6d9db92389 for bustage on a CLOSED TREE
2014-07-22 17:55:50 -07:00
Alexandre Poirot
c044256760
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal
2014-07-02 15:40:56 -07:00
Bobby Holley
81109a2b27
Bug 742444 - Only propagate waivers between same-origin compartments. r=gabor
2014-07-22 16:14:27 -07:00
Bobby Holley
6742298c2a
Bug 1036790 - Only expect pjs methods for nightly builds in test_xrayToJS.xul. r=me
2014-07-20 16:15:22 -06:00
Bobby Holley
4bbb23f320
Bug 930091 - Check objects at COW membranes. r=gabor,r=msucan
2014-07-20 15:36:32 -06:00
Bobby Holley
984a293d6d
Bug 1040181 - Use an opaque wrapper rather than failing in Rewrap. r=gabor
2014-07-20 10:03:58 -06:00
Mike Hommey
15534a15c4
Bug 1040639 - Remove LIBS_DIR. r=mshal
2014-07-19 08:42:16 +09:00
Ahmed Kachkach
68c23f6dff
Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger
2014-07-17 09:02:00 +02:00
Bill McCloskey
8b9dfc45b5
Bug 1017323 - Add-on interposition (r=bholley)
2014-07-14 22:10:05 -07:00
Bobby Holley
6263fe053a
Bug 856067 - Actually push the test. r=me CLOSED TREE
2014-07-14 10:22:51 -07:00
Bobby Holley
04ca28c389
Bug 856067 - Tests. r=me
2014-07-14 10:09:07 -07:00
Bobby Holley
fd15033e85
Bug 856067 - Fix up test_xrayToJS.xul. r=gabor
2014-07-14 10:09:06 -07:00
Boris Zbarsky
7a44e33e2c
Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley
2014-07-11 19:32:46 -04:00
Bobby Holley
56947545c1
Bug 987669 - Tests. r=gabor
2014-07-11 09:09:22 -07:00
Carsten "Tomcat" Book
f0569c8ad2
Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows
2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea
Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger
2014-07-10 13:33:00 +02:00
Bobby Holley
65f180179d
Bug 1034262 - Honor the wantXrays of both sides of the membrane when computing same-origin wrappers. r=gabor
...
The basic problem in the testcase is that one compartment requests same-origin
Xrays via wantXrays=true (the default for Sandboxes) while the other does not.
The current code only considers the wantXrays flag of the compartment performing
the access, so we end up in a situation where we have same-origin compartments,
but Xray in one direction and Transparent in the other.
This is a problem for crossCompartmentFunction.apply(null, [arg]). If both
globals get transparent wrappers, there's obviously no problem. And if both
globals get XrayWrappers, then the |apply| happens on the XrayWrapper of the
function in the caller's compartment. So the Array is unpacked in the caller's
compartment, and again we have no problem.
But if the caller gets Transparent and the callee gets Xrays, then we end up
invoking |apply| from the callee's side, which then gets an XrayWrapper to the
array. This XrayWrapper may do surprising things, leading to the odd situation
in the testcase.
Same-origin Xrays are kind of broken anyway, but I don't think we'll ever be
able to get rid of them. So the most sensible thing to do is probably to honor
the flag (if set) from either compartment. This patch does that.
2014-07-10 10:04:30 -07:00
Bobby Holley
7ee918bfb2
Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv
2014-07-07 13:11:24 -07:00
Bobby Holley
e24f08c8e7
Bug 1032457 - Implement the |allowCallbacks| parameter to exportFunction. r=gabor
2014-07-03 11:00:54 -07:00
Bobby Holley
0c673473c1
Bug 1033920 - Handle null in XrayWrapper::setPrototypeOf. v1 r=efaust
...
From ac73068c4494c0df74329482e57f64ba8ec93cb4 Mon Sep 17 00:00:00 2001
2014-07-02 21:06:28 -07:00
Bobby Holley
04dd5747a4
Bug 1033253 - Null-check the result of JS_GetFunctionId. r=bz
2014-07-02 11:02:11 -07:00
Jim Blandy
4d6a633bba
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
Bobby Holley
a4670be1a3
Bug 1027131 - Additional tests for wrapReflectors. r=gabor
2014-06-23 13:25:09 -07:00
Bobby Holley
de6604063e
Bug 1027131 - Use StackScopedClone for cloneInto. r=gabor
2014-06-23 13:25:08 -07:00
Benoit Jacob
083f0e0cc1
Bug 1028588 - Fix dangerous public destructors in js/xpconnect - r=bholley
2014-06-23 14:49:08 -04:00
Bill McCloskey
1ddea0f108
Bug 990729 - No longer store addonId in sandbox metadata (r=bholley)
2014-06-21 11:54:37 -07:00
Bill McCloskey
14ad05f2a2
Bug 990729 - Tests for writeToGlobalPrototype (r=bholley)
2014-06-21 11:54:36 -07:00
Neil Rashbrook
1c401dad5e
Bug 1026254 Broken chrome: URLs should result in error pages r=bsmedberg
2014-06-21 00:50:58 +01:00
Wes Kocher
dff4f03174
Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
...
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Neil Rashbrook
1aeb541237
Bug 1025264 Broken chrome: URLs should result in error pages r=bsmedberg
2014-06-19 23:56:02 +01:00
Bobby Holley
197040b5d2
Bug 976148 - Tests. r=gabor
2014-06-19 09:57:06 -07:00
Bobby Holley
9a3b06e084
Bug 976148 - Support the 'prototype' property for standard constructors. r=gabor
2014-06-19 09:57:06 -07:00
Bobby Holley
8c8ec10cee
Bug 976148 - Implement Xrays to Function objects. r=gabor
2014-06-19 09:57:06 -07:00
Birunthan Mohanathas
ec8396a564
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Bobby Holley
427a9042b4
Bug 987163 - Implement Xrays for TypedArrays. r=gabor
2014-06-17 10:16:08 -07:00
Bobby Holley
b5d9522f1e
Bug 987163 - Drop special COW support for TypedArrays. r=gabor
...
From now on, if someone wants to expose a TypedArray to content, they should
use Cu.cloneInto.
2014-06-17 10:16:08 -07:00
Bobby Holley
fa376e8dca
Bug 1020609 - Implement Xrays to Arrays. r=bz
2014-06-11 15:16:07 -07:00
Chris Peterson
82b5f85f3c
Bug 1018680 - Fix jsd_xpc.cpp warning and mark js/ductwork, js/jsd, and js/xpconnet as FAIL_ON_WARNINGS. r=ejpbruel
2014-05-31 19:50:24 -07:00
Gijs Kruitbosch
dd852792ea
Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley
2014-06-09 19:09:51 +01:00
Ed Morley
117feef833
Backed out changeset 6d172e86ce2e (bug 1022002) for tipping Android 2.3 reftest-6 runtimes over the max time limit
2014-06-10 15:08:49 +01:00
Gijs Kruitbosch
3d2c220651
Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley
2014-06-09 19:09:51 +01:00
Bobby Holley
a652a1bba2
Bug 1021312
- Followup to fix incorrect test. r=me on a CLOSED TREE
2014-06-06 13:49:38 -07:00
Wes Kocher
0ea1bf7eb5
Backed out 2 changesets (bug 1021312
, bug 1020460) for apparently causing jsreftest orange on a CLOSED TREE
...
Backed out changeset eca7bdeb0c6e (bug 1020460)
Backed out changeset 965578443062 (bug 1021312
)
2014-06-06 15:00:10 -07:00
Bobby Holley
518f1c8a2b
Bug 1021312
- Followup to fix incorrect test. r=me
2014-06-06 13:49:38 -07:00
Bobby Holley
ceedb2c411
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-06 12:21:36 +01:00
Bobby Holley
833a04ca14
Bug 987111 - Tests. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
eb1adb7e90
Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor
2014-06-05 22:32:37 -07:00
Bobby Holley
66bc41a41a
Bug 1021312
- Tests. r=mccr8
2014-06-05 22:32:36 -07:00
Wes Kocher
9ae67107e8
Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE
2014-06-05 18:23:22 -07:00
Bobby Holley
8269d88340
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-05 16:24:07 -07:00
Wes Kocher
a0fb5a53d9
Backed out 13 changesets (bug 987111) for disagreeing with some patch from b-i or fx-team in tonight's merge to hopefully fix a CLOSED TREE
...
Backed out changeset d4e390ceac27 (bug 987111)
Backed out changeset 5f88b5ef9496 (bug 987111)
Backed out changeset cdfd24ddf448 (bug 987111)
Backed out changeset 7883150e5471 (bug 987111)
Backed out changeset 407c7ca82ada (bug 987111)
Backed out changeset e7140ccf7e09 (bug 987111)
Backed out changeset 0a4d18d6306f (bug 987111)
Backed out changeset e7b7548867d9 (bug 987111)
Backed out changeset 944d128f135a (bug 987111)
Backed out changeset 33860f30fc4f (bug 987111)
Backed out changeset 518a915fb81b (bug 987111)
Backed out changeset 7576a51cf72e (bug 987111)
Backed out changeset 1a8dc1af9de6 (bug 987111)
2014-06-04 22:12:50 -07:00
Bobby Holley
febfb58743
Bug 987111 - Tests. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
096e8dd973
Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor
2014-06-04 15:12:26 -07:00
Bobby Holley
0636aa6770
Bug 972987 - Implement Xrays to self-hosted methods and properties. r=till,gabor
2014-06-02 13:55:20 -07:00
Bobby Holley
cbd5c13ca0
Bug 1015380 - Fix up tests that will break with Object Xrays. r=gabor
2014-05-28 11:14:27 -07:00
Peter Van der Beken
3f55868a69
Bug 789261 - Enable WebIDL bindings for Window. r=bz.
...
--HG--
extra : rebase_source : 4ee28872adf9d03d9dc28880426383224359fd78
2014-04-08 20:48:37 +02:00
Peter Van der Beken
3c18fdf069
Backout 82e3d6f25c5f (bug 789261).
2014-05-25 18:50:27 +02:00
Peter Van der Beken
fd17683306
Bug 789261 - Enable WebIDL bindings for Window. r=bz.
...
--HG--
extra : rebase_source : 4c515e4a41e622f195a81904e1f896c492831440
2014-04-08 20:48:37 +02:00
Bobby Holley
9cad68a527
Bug 997440 - Use the WrappedJS's global as an entry global. r=bz
...
This basically means that baseURI will be relative to global in which the code
is defined, which seems reasonable.
2014-05-20 22:52:20 -07:00
Bobby Holley
239818f4e1
Bug 997440 - Fix an XPConnect test bug. r=bz
...
This failure is currently being silently squelched on trunk.
2014-05-20 22:52:19 -07:00
Wes Kocher
bd1a784c76
Backed out changeset c744c837c732 (bug 789261) for Gaia-unit test bustage on a CLOSED TREE
2014-05-19 15:20:43 -07:00
Peter Van der Beken
c9832d2f31
Bug 789261 - Enable WebIDL bindings for Window. r=bz.
...
--HG--
extra : rebase_source : ae0d50133962c86ecdb7bf60f5ec8d359f681ac0
2014-04-08 20:48:37 +02:00
Peter Van der Beken
11c7284be9
Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
2014-02-15 22:12:35 +01:00
Carsten "Tomcat" Book
2fb1104640
Backed out changeset 46c16792274f (bug 1010955) for suspicion of causing memory leaks on a CLOSED TREE
2014-05-19 15:02:58 +02:00
Peter Van der Beken
a74f42c6f9
Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
extra : rebase_source : c7dc7fc44717ad6bf5381ecb8a537bf698ee962e
2014-02-15 22:12:35 +01:00
Girish Sharma
50fa2456f1
Bug 1004487 - Add Cu.isModuleLoaded method to know if a resource has been loaded via Cu.import, r=bholley
2014-05-15 23:52:45 +05:30
Bobby Holley
9086fb6ef0
Bug 1008006 - Use a helper to avoid repeated computations of various dependencies. r=gabor
2014-05-12 14:37:46 -07:00
Brian Grinstead
57fe62ba5f
Bug 1002280 - ID starting with numeric value crashes the devtools DOM inspector;r=jwalker,bholley
2014-05-09 09:58:26 -05:00
Ehsan Akhgari
00c59e88cf
Bug 1005706 - Remove the manual install rules from js/xpconnect/tests/components/js/Makefile.in; r=mshal
2014-05-05 21:28:10 -04:00
Bobby Holley
3ff83a1058
Bug 1005806 - HTMLInputElement.controllers should be [ChromeOnly]. r=bz
2014-05-05 10:49:24 -07:00
Ehsan Akhgari
7f2132298a
Bug 1002313 - Fix the test for bug 503926 so that it doesn't rely on nsIDOMNode being scriptable; r=bzbarsky
2014-04-28 19:58:34 -04:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Bobby Holley
b0a46a20d7
Bug 1001094 - Give nsJSID classinfo. r=mrbkap
2014-04-24 13:23:27 -07:00
Ehsan Akhgari
323eb451e8
Bug 998738 - Kill nsIDOMXPathNamespace (and window.XPathNamespace); r=smaug
2014-04-24 12:07:44 -04:00
Bobby Holley
415f46fd09
Bug 990353 - Make discardSource a Sandbox option and use it (even in Desktop) for the precompilation scope. r=luke
2014-04-22 14:08:29 -07:00
Bobby Holley
b04a43d9d7
Bug 990353 - Tests. r=bent
2014-04-22 14:08:28 -07:00
Bobby Holley
ce783bfe79
Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
...
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-22 14:08:28 -07:00
Bobby Holley
65765653a9
Bug 998083 - Introduce Cu.getObjectPrincipal and kill nsIScriptSecurityManager::GetObjectPrincipal. r=gabor
2014-04-19 10:39:59 -07:00
Phil Ringnalda
380621d27b
Back out 8 changesets (bug 990353) for gaia-integration bustage
...
CLOSED TREE
Backed out changeset f6b3c03454a4 (bug 990353)
Backed out changeset 6e1f9b821ae0 (bug 990353)
Backed out changeset 2926ad6c594f (bug 990353)
Backed out changeset 74b75c155205 (bug 990353)
Backed out changeset 394e09fe2da2 (bug 990353)
Backed out changeset 0fdd36b19a51 (bug 990353)
Backed out changeset 0792729890cc (bug 990353)
Backed out changeset 487e6f72fcf7 (bug 990353)
2014-04-19 08:37:32 -07:00
Bobby Holley
bad6050c41
Bug 990353 - Tests. r=bent
2014-04-18 23:46:27 -07:00
Bobby Holley
8b91401a8c
Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
...
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-18 23:46:27 -07:00
Gabor Krizsanits
bc997f54ab
Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz
2014-04-16 22:29:57 +02:00
Bobby Holley
db7038119f
Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug
2014-04-14 20:38:54 -07:00
Olli Pettay
f2b59ae546
Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen
2014-04-12 11:02:21 +02:00
Peter Van der Beken
a12d286723
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Peter Van der Beken
7741df1efa
Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
8cf720bdb0
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Mark Hammond
cd2c8e6c5b
Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted.
2014-04-02 10:53:55 +11:00
Masatoshi Kimura
62ca863526
Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz
2014-03-29 15:55:53 +09:00
Gabor Krizsanits
b368adf53a
Bug 985472 - cloneInto for sandbox. r=bholley
2014-03-25 16:21:56 +01:00
Gabor Krizsanits
8e3d1d7a05
Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley
2014-03-24 16:00:52 +01:00
Bobby Holley
a9c7ecee69
Bug 986542 - Don't categorically disable script for detached docshells. r=bz
2014-03-23 12:54:18 -03:00
Phil Ringnalda
bd5dc6100a
Merge m-c to m-i
2014-03-23 08:43:23 -07:00
Bobby Holley
65bdef473a
Bug 975042 - Tests. r=peterv
...
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-23 11:02:14 -03:00
Bobby Holley
c3ea2d36c4
Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv
2014-03-23 11:02:14 -03:00
Bobby Holley
a36edc6394
Bug 975042 - Enable JS Xray for the Date object. r=peterv
2014-03-23 11:02:14 -03:00
Bobby Holley
0a3a4dab47
Bug 975042 - Remove the special COW support for Date. r=peterv
...
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-23 11:02:12 -03:00
Dave Townsend
363d510707
Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley
2014-03-21 19:57:42 -07:00
Carsten "Tomcat" Book
9468864ecc
Backed out changeset f787c0fa465e (bug 975042) for B2G ICS Emulator M7 Orange on a CLOSED TREE
2014-03-21 08:48:40 +01:00
Carsten "Tomcat" Book
f8212b78d2
Backed out changeset 1b62c8f1c211 (bug 975042)
2014-03-21 08:47:41 +01:00
Carsten "Tomcat" Book
d8d768555c
Backed out changeset 16da792be5f8 (bug 975042)
2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
dbdb175c96
Backed out changeset 767ce92ebaf1 (bug 975042)
2014-03-21 08:47:36 +01:00
Boris Zbarsky
b138bfaeec
Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff
2014-03-20 23:19:42 -04:00
Bobby Holley
35f8f8d688
Bug 975042 - Tests. r=peterv
...
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-20 23:47:25 -03:00
Bobby Holley
fb059d76d6
Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv
2014-03-20 23:47:25 -03:00
Bobby Holley
b28a8e3b81
Bug 975042 - Enable JS Xray for the Date object. r=peterv
2014-03-20 23:47:24 -03:00
Bobby Holley
ba01d93b50
Bug 975042 - Remove the special COW support for Date. r=peterv
...
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-20 23:47:23 -03:00
Bobby Holley
abb31827e1
Bug 976704 - Make opaque security wrappers non-callable. r=gabor,sr=mrbkap
2014-03-18 19:23:45 -03:00
Brian Hackett
ecdbf6f6c8
Bug 972817 - Enable type inference unconditionally, r=jandem.
2014-03-18 09:05:16 -06:00
Vaibhav Agarwal
74d0d984a3
Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher
2014-03-13 10:40:10 -04:00
Gabor Krizsanits
79c86a04cc
Bug 980023 - Localstorage access with nsEp. r=bholley
2014-03-11 08:41:55 +01:00
Jason Orendorff
c4905dda94
Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke.
2014-03-10 16:28:43 -05:00
Bobby Holley
8e3b6aa7ec
Bug 960108 - Ignore saved frame chains and contexts in JS::DescribeStack. r=bz
2014-03-05 20:15:35 -08:00
Bobby Holley
cb7d95a386
Bug 960820 - Ignore contexts and saved frame chains for exception stack, and rely on the principal check. r=luke,mrbkap sr=bz
...
It would be nice to update the JS shell tests to make sure the principal check
works, but we can't do that without bug 969273. So we add an XPConnect test that
verifies the filtering behavior.
2014-03-05 08:18:06 -08:00
Bobby Holley
992eba1b46
Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor
2014-02-25 08:38:33 -08:00
Bobby Holley
bb7e5e5083
Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz
2014-02-14 22:39:34 -08:00
Bobby Holley
263626e418
Bug 968335 - Tests. r=bz
2014-02-14 22:36:44 -08:00
Phil Ringnalda
d66d0a8ba2
Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
...
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
11ba09a104
Bug 968335 - Tests. r=bz
2014-02-14 16:13:38 -08:00
Andrea Marchesini
7184ae68ee
Bug 964293 - Implement Cu.cloneInto() method, r=bholley
2014-01-30 04:45:48 -08:00
Bobby Holley
a204c95cc9
Bug 965082 - Tests. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
b9bffb1af9
Bug 961054 - Don't invoke SetLastResult until the completion of an XPCWN method call. r=mrbkap
2014-01-21 08:25:29 -08:00
Bobby Holley
034c444dc2
Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz
2014-01-16 15:45:40 -08:00
Tom Schuster
e64b35e141
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Bobby Holley
30bfce6ebe
Bug 951948 - Remove Components wrappers. r=mrbkap
...
We fix up the tests here to test the new behavior, and fix some bugs in the test
while we're at it.
2014-01-14 18:49:30 -08:00
Bobby Holley
124166a288
Bug 951948 - Get rid of manual nsIClassInfo and nsIXPCScriptable implementations for nsXPCComponents. r=mrbkap
...
The macro-driven ClassInfo stuff doesn't do getClassDescription, so we need to
change that test.
2014-01-14 18:49:29 -08:00
Ryan VanderMeulen
f427c884c8
Backed out 6 changesets (bug 939294) for B2G bustage on a CLOSED TREE.
...
Backed out changeset 8c3aa9973da0 (bug 939294)
Backed out changeset 37098c13e59e (bug 939294)
Backed out changeset 7c9ade6c871c (bug 939294)
Backed out changeset fed59539afc1 (bug 939294)
Backed out changeset 89e9d3fa16fc (bug 939294)
Backed out changeset c97e58ebc5f4 (bug 939294)
2014-01-09 14:17:39 -05:00
Tom Schuster
2e0669fb59
Bug 939294 - Handlify XPConnect. r=gabor
2014-01-09 18:39:36 +01:00
Gabor Krizsanits
2d18c11e26
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
fc7c23e4aa
Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE
2014-01-09 12:53:22 +01:00
Gabor Krizsanits
db12b3ec81
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 11:31:33 +01:00
Luke Wagner
1e6e357a4d
Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
...
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
J. Ryan Stinnett
440369fc24
Bug 946813 - Part 1: Expose invisibleToDebugger as a sandbox flag. r=bholley
...
--HG--
extra : rebase_source : 7d4963efc10423bb3e451da0eb1f6a03d7531831
2013-12-19 17:31:05 -06:00
Masatoshi Kimura
42658447da
Bug 949292 - Stop exposing LoadStatus on the global object. r=bz
2013-12-14 16:31:10 +09:00
Bobby Holley
cfdc7a64b4
Bug 937317 - Tests. r=bz
2013-12-11 17:51:59 -08:00
Gabor Krizsanits
a4dc9c6eea
Bug 943357 - Name argument of exportFunction should be optional. r=bholley
2013-12-10 09:56:19 +01:00
Luke Wagner
9a1e82e4f9
Bug 941830 - Extend asm.js compiled code caching to Workers (r=bent)
...
--HG--
extra : rebase_source : 4fed947b2fa76e26054d8293cec31433ceb61c8d
2013-12-03 13:31:30 -06:00
Luke Wagner
c4f69baa02
Bug 942276 - Improve test_asmjs2.html once caching is deterministic (r=me)
...
--HG--
extra : rebase_source : 36d1b607bda300f455d4086fe1bd8c7ca3834e77
2013-11-29 14:58:56 -06:00
Phil Ringnalda
e2e1627d17
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Bobby Holley
e57ccfca4b
Bug 937317 - Tests. r=bz
2013-12-06 12:01:43 -08:00
Carsten "Tomcat" Book
5493003a84
Backed out changeset c84430c040dd (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:18 +01:00
Bobby Holley
3fbf0dd19c
Bug 937317 - Tests. r=bz
2013-12-05 21:34:18 -08:00
Jacek Caban
34a4671409
Bug 944444 - Fix js/ compilation on mingw. r=Waldo
2013-12-05 10:56:22 +01:00
Bobby Holley
acb9e755bd
Bug 932906 - Exempt Remote XUL from CanCreateWrapper checks. r=bz
2013-12-04 19:15:40 -08:00
Bobby Holley
2cd2b2d5d1
Bug 943152 - Tests. r=jgriffin
2013-12-04 19:15:40 -08:00
Ms2ger
99dae577a1
Bug 939271 - Part f: move mochitests to manifests in js/xpconnect; r=bholley
2013-11-28 15:03:17 +01:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Luke Wagner
a1cfb21b89
Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
...
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Gabor Krizsanits
8063a270c7
Bug 939696 - Tests for IsScriptedProxy consumers. r=bholley
2013-11-26 14:54:28 +01:00
Mike Hommey
051aa3a2d3
Bug 942031 - Don't link against the js engine when there's no need to. r=mshal
2013-11-24 08:18:50 +09:00
Ehsan Akhgari
db0d9c656a
Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley
2013-11-20 11:35:34 -05:00
Bobby Holley
695edd8589
Bug 933681 - Tests. r=jorendorff
2013-11-22 10:55:43 -08:00
Ehsan Akhgari
8c866b73f5
Backed out changeset 5993d8ad664c (bug 939608) because bug 941450 was backed out
...
Landed on a CLOSED TREE
2013-11-22 11:22:49 -05:00
Ehsan Akhgari
58cadc31b2
Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley
...
--HG--
extra : rebase_source : d4baf7ddb95bb0217357b9eb9fabd2e08d37548a
2013-11-20 11:35:34 -05:00
Mike Hommey
1b21d4aed0
Bug 914274 - Remove MODULE_NAME. r=mshal
2013-11-21 17:31:19 +09:00
Bobby Holley
f5f202a142
Bug 858101 - Tests. r=mrbkap
2013-11-20 16:04:01 -08:00
Bobby Holley
2e05465683
Bug 866823 - Tests. r=gabor,mrbkap
2013-11-20 16:04:00 -08:00
Bobby Holley
cc8b137bde
Bug 940783 - Tests. r=bz
2013-11-20 08:47:59 -08:00
Carsten "Tomcat" Book
365c702eb3
Backed out changeset 161bfee3f57a (bug 939608) for fixing PGO Build Bustage
2013-11-19 13:26:41 +01:00
Mike Hommey
b95448fc0b
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
9fe772e7fd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
74a879ee97
Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps
2013-11-19 11:47:30 +09:00
Mike Hommey
3b12c2be6c
Bug 939042 - Remove library building related variables in directories that build no C/C++ sources. r=mshal
2013-11-19 11:47:29 +09:00
Ehsan Akhgari
e71e84c404
Bug 939608 - Build xpconnect in unified mode; r=bholley
2013-11-18 00:47:30 -05:00
Mike Hommey
8f10c67fbb
Bug 935305 - Move preprocessor to mozbuild.action. r=gps
...
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Gijs Kruitbosch
659ec36f05
Fix mochitest-other debug bustage caused by bug 821726 by expecting assertions, rs=bustage on a CLOSED TREE
2013-11-05 21:43:01 +01:00
Gijs Kruitbosch
b9bab00f22
Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley
2013-11-05 16:35:41 +01:00
Peter Van der Beken
255e6fe560
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Gabor Krizsanits
8550f0ba8d
Bug 930523 = createObjectIn should waive. r=bholley
2013-11-05 08:02:07 +01:00
Gabor Krizsanits
0fa275fef4
Bug 930910 - evalInWindow for Cu. r=bholley
2013-11-05 08:00:30 +01:00
Mike Hommey
ff32f10568
Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
...
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
Ryan VanderMeulen
78649cfa0f
Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
...
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
96bb7d1a68
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00