Commit Graph

517 Commits

Author SHA1 Message Date
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