Commit Graph

327475 Commits

Author SHA1 Message Date
Bobby Holley
82b3f4eef5 Bug 921454 - Tests for NAC. r=jonco 2013-10-04 13:29:37 +02:00
Bobby Holley
d75591e16f Bug 921454 - Invert faulty assertion. r=jonco
This assertion is pretty clearly bogus, and only exists because, as it turns
out, we never had any test coverage for transplanting SCSW objects with
waivers. Even in the world when this stuff landed (bug 773962, which was well
before the removal of Location SCSWs in bug 808608 and the conversion of Nodes
to new bindings), we apparently never tested the waiver path. :-(
2013-10-04 13:29:36 +02:00
Bobby Holley
b920af5de8 Bug 921454 - Use background-finalize-ity forwarding for all wrappers, not just CCWs. r=jonco
The current setup allows mismatches for same compartment wrappers, which causes
us to assert when transplanting them.
2013-10-04 13:29:36 +02:00
Bobby Holley
aef20e4335 Bug 921454 - Match the background-finalize-ity of the DeadObjectProxy with that of origobj in js_TransplantObjectWithWrapper. r=jonco 2013-10-04 13:29:36 +02:00
Bobby Holley
4a8a8167bd Bug 921454 - Add an option for explicitly forcing foreground finalization. r=jonco 2013-10-04 13:29:36 +02:00
Bobby Holley
3fc5ba84fa Bug 921454 - Refactor proxy creation to use an options object. r=jonco 2013-10-04 13:29:35 +02:00
Bobby Holley
b5e276f1c5 Bug 921454 - Skip unwrap safety assertion for cross-compartment SOWs. r=mrbkap
Currently this stuff just asserts when you pass NAC across compartments. And
the logic for this stuff is complicated enough that we don't gain a whole
lot from duplicating it.
2013-10-04 13:29:35 +02:00
Bobby Holley
169c6eab28 Bug 921454 - Allow chromeOnlyContent to work for non-chrome XBL documents. r=smaug
Given that we turn off XBL for the web, this just affects remote XUL/XBL, in
particular our tests. And it's expedient for NAC testing to be able to test
with an in-content XBL binding.
2013-10-04 13:29:35 +02:00
Bobby Holley
78d1f83d78 Bug 921448 - Move ProxyObject::New to vm/ProxyObject.cpp. r=ejpbruel 2013-10-04 13:29:35 +02:00
Bobby Holley
197eaa4082 Bug 921448 - Remove FunctionProxyObjects. r=ejpbruel
\o/
2013-10-04 13:29:34 +02:00
Bobby Holley
ef208a2db0 Bug 921448 - Stop using FunctionObjectProxies for ScriptedIndirectProxies. r=ejpbruel 2013-10-04 13:29:34 +02:00
Bobby Holley
ef1625dc23 Bug 921448 - Stop creating a FunctionObjectProxy when a scripted direct proxy has a callable target. r=ejpbruel
There's no reason to store the target's [[Call]] in the reserved slot. If
there's no scripted call trap on the handler, DirectProxyHandler::call will
forward to the target, and we'll get that for free.
2013-10-04 13:29:33 +02:00
Bobby Holley
83679bdc9b Bug 921448 - Get rid of weird demultiplexing NewProxyObject overload. r=ejpbruel
Function proxies are going away with these patches. First, let's stop pretending
like they're equal citizens with regular proxies.
2013-10-04 13:29:33 +02:00
Bobby Holley
27836d4cb9 Bug 921448 - Use callability rather than object classes when determining how to toSource(). r=ejpbruel 2013-10-04 13:29:33 +02:00
Bobby Holley
bab206627b Bug 921448 - Implement sane default behavior for fun_toString for all proxies. r=ejpbruel 2013-10-04 13:29:33 +02:00
Andrea Marchesini
581d9cf944 Bug 874508 - Web Audio is connected to AudioChannelService, r=ehsan 2013-10-04 06:27:49 -04:00
Phil Ringnalda
7aabad1435 Merge m-c to m-i 2013-10-03 21:05:24 -07:00
Phil Ringnalda
841e9e294a Merge f-t to m-c 2013-10-03 20:57:45 -07:00
Phil Ringnalda
b757a4e18f Merge b-i to m-c 2013-10-03 20:56:15 -07:00
Brian Hackett
08ab10373a Bug 921902 - Separate generation and attaching of heap property type constraints, r=jandem. 2013-10-03 21:44:13 -06:00
Dan Gohman
6ff2ca8bc7 Bug 915846 - IonMonkey: Simple range analysis for div and sqrt. r=nbp 2013-10-03 17:25:03 -07:00
Dan Gohman
5e0804b99d Bug 915846 - Spew the full name of an MDefinition instead of just the number. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
10ea4f38a8 Bug 915846 - IonMonkey: Collect all of Range's invariants and enforce them uniformly. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
ba0b605e21 Bug 915846 - IonMonkey: Assert that we don't try to do range analysis on instructions that don't produce a value. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
683a8bbf8e Bug 915846 - IonMonkey: Add range checking for beta nodes. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
f2040316ca Bug 915846 - IonMonkey: Create beta nodes for comparisons with double constants. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
f7b7250cf4 Bug 915846 - IonMonkey: Rewrite how Ranges are initialized, eliminating rectifyExponent() and making tricky details more explicit. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
c72b8efdd3 Bug 915846 - IonMonkey: Simplify int64 arithmetic to int32 arithmetic in several places. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
cdca3094ea Bug 915846 - IonMonkey: Use Range accessor methods instead of accessing fields directly in some places. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
7b632205a2 Bug 915846 - IonMonkey: Introduce several new Range predicate helper functions. r=nbp 2013-10-03 17:25:02 -07:00
Dan Gohman
9d8d65f46f Bug 915846 - IonMonkey: Introduce sentinal values for the max_exponent_ field to represent infinity and NaN. r=nbp 2013-10-03 17:25:01 -07:00
Phil Ringnalda
450b9ed8c7 Backed out changeset 643354059afb (bug 874508) for b2g build bustage
CLOSED TREE
2013-10-03 20:11:58 -07:00
Gaia Pushbot
3e68997029 Bumping gaia.json for 1 gaia-central revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/06ea7706d721
Author: Anthony Ricaud <anthony@ricaud.me>
Desc: Revert "Merge pull request #12656 from arcturus/bug-914191"

This reverts commit 12d41a0c09531ac8b527b71edaa4daada7b08e9d, reversing
changes made to 79cc970a9aca9c1f0888c70b60687b87a8871c32.

Conflicts:
	apps/communications/contacts/test/unit/mock_wakelock.js
2013-10-03 15:45:23 -07:00
Andrea Marchesini
eef83fde31 Bug 874508 - Web Audio is connected to AudioChannelService, r=ehsan 2013-10-03 18:42:04 -04:00
Andrea Marchesini
68bf49d79c Bug 923517 - AudioDestinationNode should work as an EventTarget, r=ehsan 2013-10-03 18:40:20 -04:00
Gaia Pushbot
c9602fe280 Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/744ef5fa84a3
Author: Ghislain 'Aus' Lacroix <aus@noiseport.org>
Desc: Merge pull request #12453 from nullaus/bug917582-operator-variant-console

bug 917582 - OperatorVariantHelper error when IccHelper.enabled == false...

========

https://hg.mozilla.org/integration/gaia-central/rev/c5cf75d8cf0e
Author: Ghislain 'Aus' Lacroix <aus@mozilla.com>
Desc: bug 917582

-OperatorVariantHelper error when IccHelper.enabled == false should be more descriptive since it is an expected error when running in b2g desktop or fxos simulator.
-Do not throw when IccHelper is undefined, it only indicates that the feature was omitted in the build

r=dflanagan
2013-10-03 15:20:23 -07:00
Hubert B Manilla
36b4497c1e Bug 917189 - Removed the debug icon on the caret position, r=vporof 2013-10-04 00:36:37 +03:00
Victor Porof
84f0fd5f52 Bug 921513 - Use consumeoutsideclicks=false for the debugger panels, r=rcampbell 2013-10-04 00:36:35 +03:00
Sid Stamm
08f65cf2a9 Bug 916881 - remove stray refinePolicy in CSPUtils.jsm. r=grobinson 2013-10-03 14:35:42 -07:00
Kartikaya Gupta
00e4b67a26 Bug 923472 - Use memset instead of block field assignment to fix a compile error. r=cpearce 2013-10-03 17:00:33 -04:00
Gaia Pushbot
d33f64748d Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4e435fd97c9c
Author: Francisco Jordano <arcturus@ardeenelinfierno.com>
Desc: Merge pull request #12639 from jmcanterafonseca/fix_gmail_import_name

Bug 898304 - [Contact] Import from gmail shows null when the contact doe...

========

https://hg.mozilla.org/integration/gaia-central/rev/5fc1a5c64982
Author: Jose M. Cantera <jmcanterafonseca@gmail.com>
Desc: Bug 898304 - [Contact] Import from gmail shows null when the contact does not have name
2013-10-03 13:45:24 -07:00
Benjamin Peterson
00d1c66449 Bug 923466 - Shut up opt build unused variable warnings. r=billm 2013-10-03 16:23:44 -04:00
Cameron McCormack
77d3a04ce0 Bug 842329 - Part 4: Test. r=bzbarsky 2013-10-04 04:49:20 +10:00
Cameron McCormack
56501a1c99 Bug 842329 - Part 3: Serialize the "all" shorthand property as the empty string unless all components are inherit/initial/unset. r=bzbarsky 2013-10-04 04:49:20 +10:00
Cameron McCormack
fb248cc0a3 Bug 842329 - Part 2: Parse the "all" shorthand property. r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
5404114dde Bug 842329 - Part 1: Add "all" shorthand property. r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
c84a91e660 Bug 842329 - Part 0: Add "layout.css.all-shorthand.enabled" pref. r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
c5c9f06632 Bug 921731 - Part 10: Modify existing style tests to use "unset". r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
cc863abc63 Bug 921731 - Part 9: Serialize shorthands using "unset" like those containing "inherit" or "initial". r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
b2916d5339 Bug 921731 - Part 8: Support "unset" in computation of properties. r=bzbarsky 2013-10-04 04:49:18 +10:00