Carsten "Tomcat" Book
ce57787693
Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows
2014-07-11 14:15:29 +02:00
Ahmed Kachkach
50db9012f6
Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger
2014-07-10 13:33:00 +02:00
Bobby Holley
c6ad0230b3
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
ec0078e10d
Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv
2014-07-07 13:11:24 -07:00
Bobby Holley
2d531b7c33
Bug 1032457 - Implement the |allowCallbacks| parameter to exportFunction. r=gabor
2014-07-03 11:00:54 -07:00
Bobby Holley
7bfa2b8c8f
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
9e1742f3c3
Bug 1033253 - Null-check the result of JS_GetFunctionId. r=bz
2014-07-02 11:02:11 -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
Bobby Holley
e8cb8d7c75
Bug 1027131 - Additional tests for wrapReflectors. r=gabor
2014-06-23 13:25:09 -07:00
Bobby Holley
81bc7fd4b5
Bug 1027131 - Use StackScopedClone for cloneInto. r=gabor
2014-06-23 13:25:08 -07:00
Benoit Jacob
27fb6960a5
Bug 1028588 - Fix dangerous public destructors in js/xpconnect - r=bholley
2014-06-23 14:49:08 -04:00
Bill McCloskey
904ef0cbaf
Bug 990729 - No longer store addonId in sandbox metadata (r=bholley)
2014-06-21 11:54:37 -07:00
Bill McCloskey
bbe086e62f
Bug 990729 - Tests for writeToGlobalPrototype (r=bholley)
2014-06-21 11:54:36 -07:00
Neil Rashbrook
5a0090cb4e
Bug 1026254 Broken chrome: URLs should result in error pages r=bsmedberg
2014-06-21 00:50:58 +01:00
Wes Kocher
c640e2a966
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
c03ca2c745
Bug 1025264
Broken chrome: URLs should result in error pages r=bsmedberg
2014-06-19 23:56:02 +01:00
Bobby Holley
5c7db1fca5
Bug 976148 - Tests. r=gabor
2014-06-19 09:57:06 -07:00
Bobby Holley
5549a2a2cc
Bug 976148 - Support the 'prototype' property for standard constructors. r=gabor
2014-06-19 09:57:06 -07:00
Bobby Holley
02c638ea36
Bug 976148 - Implement Xrays to Function objects. r=gabor
2014-06-19 09:57:06 -07:00
Birunthan Mohanathas
51ba75d135
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Bobby Holley
3963ab573b
Bug 987163 - Implement Xrays for TypedArrays. r=gabor
2014-06-17 10:16:08 -07:00
Bobby Holley
a5a0be7595
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
07bee3c907
Bug 1020609 - Implement Xrays to Arrays. r=bz
2014-06-11 15:16:07 -07:00
Chris Peterson
c04dc8b035
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
a8d21bcbd4
Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley
2014-06-09 19:09:51 +01:00
Ed Morley
f9eb828517
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
96799d26ab
Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley
2014-06-09 19:09:51 +01:00
Bobby Holley
5aecb1c33a
Bug 1021312 - Followup to fix incorrect test. r=me on a CLOSED TREE
2014-06-06 13:49:38 -07:00
Wes Kocher
2f2f97f987
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
5be28d2508
Bug 1021312 - Followup to fix incorrect test. r=me
2014-06-06 13:49:38 -07:00
Bobby Holley
32a5b36c8a
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-06 12:21:36 +01:00
Bobby Holley
22f18674b7
Bug 987111 - Tests. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
1951af9fcf
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
6cdd30ff08
Bug 1021312 - Tests. r=mccr8
2014-06-05 22:32:36 -07:00
Wes Kocher
ac2eeb8a93
Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE
2014-06-05 18:23:22 -07:00
Bobby Holley
adc4df5c66
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-05 16:24:07 -07:00
Wes Kocher
915f3c652a
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
59b2495ac6
Bug 987111 - Tests. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
16aa8bb904
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
13813ca2bf
Bug 972987 - Implement Xrays to self-hosted methods and properties. r=till,gabor
2014-06-02 13:55:20 -07:00
Bobby Holley
dab24150e9
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
034f5ffcab
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
de5fbc64a7
Backout 82e3d6f25c5f (bug 789261).
2014-05-25 18:50:27 +02:00
Peter Van der Beken
6a33e9b71a
Bug 789261 - Enable WebIDL bindings for Window. r=bz.
...
--HG--
extra : rebase_source : 4c515e4a41e622f195a81904e1f896c492831440
2014-04-08 20:48:37 +02:00
Bobby Holley
e326d85b2a
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
51dbaf59da
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
1a69acc2e4
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
13dc221813
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
55c17927f1
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
f291e63285
Backed out changeset 46c16792274f (bug 1010955) for suspicion of causing memory leaks on a CLOSED TREE
2014-05-19 15:02:58 +02:00