Commit Graph

396734 Commits

Author SHA1 Message Date
Trevor Saunders
b750b23370 bug 1110510 - make sure to create and destroy proxies for documents r=surkov 2014-12-11 17:36:59 -05:00
Trevor Saunders
60b14922d8 bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Bobby Holley
f99391c4c3 Bug 1109216 - Chain MediaOmxReader::ReleaseDecoder off MediaDecoderReader::Shutdown resolution. r=cpearce 2014-12-12 14:22:29 -08:00
Bobby Holley
da72b3891c Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-12 14:22:23 -08:00
Ben Kelly
0ae0cffad0 Bug 1098004 Follow-up to fix non-unified bustage. r=me 2014-12-12 16:57:23 -05:00
Christoph Kerschbaumer
426d902f38 Bug 1111017 - Followup on Bug 1087442 - Updating comments (r=sicking) 2014-12-12 13:45:51 -08:00
David Keeler
c3ba2c1217 bug 1108408 - GeneralName types such as otherName where the value is a SEQUENCE should have the CONSTRUCTED bit set r=briansmith 2014-12-08 13:39:19 -08:00
Benoit Girard
7ec9bbd504 No bug - Fix type error breaking microsecond profiling. r=me
--HG--
extra : rebase_source : a7d36729969d95c7f9c79bedf4d825282231d7c2
2014-12-12 16:49:00 -05:00
Benoit Girard
44767cdc2f Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange
--HG--
extra : rebase_source : 05cd593beaf75999aed7c274410dfac422dc6696
2014-12-12 16:11:57 -05:00
Andrew McCreight
0779204bd5 Bug 1097850 - ChildFinder::NoteNativeChild() should call CanSkip(). r=smaug 2014-12-12 13:42:21 -08:00
Andrew McCreight
a6fce3e639 Bug 1110243 - CCGraphBuilder::NoteNativeChild should call CanSkipThis(). r=smaug 2014-12-12 13:42:21 -08:00
Ben Kelly
6b1e77b231 Bug 1107516 P3 Make sure all workers have an nsILoadGroup when loading scripts. r=sicking r=bent 2014-12-12 16:41:36 -05:00
Ben Kelly
66be9f2fb7 Bug 1107516 P2 Add nsILoadGroup helpers to nsNetUtil.h. r=mcmanus 2014-12-12 16:41:36 -05:00
Ben Kelly
f407c97535 Bug 1107516 P1 Add LoadContext constructor taking an nsIPrincipal. r=smaug 2014-12-12 16:41:35 -05:00
Daniel Holbert
2f2877f9a8 (no bug) Fix typo (s/it's/its/) in nsSubDocumentFrame.h code-comment. DONTBUILD because comment-only 2014-12-12 13:40:00 -08:00
Wes Kocher
0ab3aacaed Backed out changeset 96a5b2854978 (bug 527444) for android xpcshell bustage on a CLOSED TREE 2014-12-12 12:57:14 -08:00
Wes Kocher
fb2134a71e Backed out changeset 0064d8949f0c (bug 1102541) for build bustage on a CLOSED TREE 2014-12-12 12:39:07 -08:00
Joel Maher
68f5a701c7 Bug 1110995 - update talos to the latest version to fix tresize. r=wlach 2014-12-12 15:47:52 -05:00
Benjamin Smedberg
9f21c59029 Bug 1110818 - Measure crash and breakpad rates for subprocesses (plugin/gmplugin/content), r=gfritzsche
--HG--
extra : rebase_source : d5817f37804323f59d46c9c22c13f0588f2512fc
2014-12-12 14:13:28 -05:00
Benjamin Smedberg
6ddc077746 Bug 1108035 - Add a preference that allows us to disable Flash protected mode from within Firefox. We do this by hooking CreateFileW and replacing the Flash config file with our own. r=aklotz
--HG--
extra : rebase_source : 929cb9acf53f7aa761d202b660dbfc39020bac74
2014-12-12 10:19:06 -05:00
Brian Hackett
bb6c2b0ce1 Bug 1107226 - Share prototype objects for typed object arrays with the same element type, r=nmatsakis. 2014-12-12 13:36:56 -07:00
Akshendra Pratap
17f593dfab Bug 1110789 - Cleanup patch for Bug 340494. r=bz 2014-12-12 07:04:00 -05:00
Jan-Ivar Bruaroey
4760e3d471 Bug 1110478 - Remove obsolete peerConnectionImpl.connectDataConnection. r=smaug, r=jesup 2014-12-12 13:00:42 -05:00
Jim Mathies
57bb068631 Bug 874167 - Enable java plugins with e10s on Windows. r=billm 2014-12-12 12:24:24 -06:00
Nick Fitzgerald
eebd54a651 Bug 1102541 - Add JS::ubi::RootList::addRoot; r=shu 2014-12-11 13:55:49 -08:00
Jason Orendorff
cb8eb384ad Bug 1090636, part 15 - Optimize away the HasOwnProperty call in SetPropertyByDefining, in the common case. No change in behavior, theoretically. r=efaust.
--HG--
extra : rebase_source : 98930753e4c19c0db6db8912178d27b0fa5fea2e
2014-11-12 11:46:38 -06:00
Jason Orendorff
d3db32c5ca Bug 1090636, part 14 - Rewrite SetPropertyHelper. r=efaust.
With this patch:

*   SetPropertyHelper no longer calls lookupProperty hooks, which is nice
    since there's no such thing in ES6.

*   As SetPropertyHelper walks the prototype chain, as soon as it reaches a
    non-native object, it calls that object's set hook, passing the original
    receiver, and returns.

    This means Proxy set traps will now be called per spec when triggered via
    the prototype chain from a native object.

    It also means that legacy scripted indirect proxies (Proxy.create) will
    now sometimes have their set trap called when it wouldn't have been called
    before. This seems to be confined to fuzztests in practice, since it only
    matters when the proxy is used as the prototype of an ordinary object.
    But it could cause trouble.

    The same situation affects other proxies too: BaseProxyHandler::set() and
    its overrides will all be called in new situations. It's inevitable though;
    Reflect.set was going to enable all these situations anyway.

--HG--
extra : rebase_source : 01bb32b4950ea14922f135bf785aea7d298c8dfb
2014-11-07 13:45:23 -06:00
Jason Orendorff
937173980c Bug 1090636, part 13 - Reimplement the mHasPrototype part of Proxy::set as a call to BaseProxyHandler::set. r=bholley.
--HG--
extra : rebase_source : 2813538fe67f8ba94b36f7dd24d3ff897e9b84bf
2014-10-15 11:07:41 -05:00
Jason Orendorff
85533ec3ba Bug 1090636, part 12 - Move NativeSet. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 0b78614bc37c7d90132c8e3bb4bb3cafcfde079b
2014-10-29 13:26:57 -05:00
Jason Orendorff
fbcc475221 Bug 1090636, part 11 - Pass pobj (the object that contains the element) to SetDenseOrTypedArrayElement rather than obj. Reflect.set could trigger the bug being fixed here, so we leave a sleeper test for it. r=efaust.
--HG--
extra : rebase_source : 712fb4a4ffd98c0c3e6ba10b3c7dd7bfe8d497f5
2014-10-29 13:04:48 -05:00
Jason Orendorff
d97018a75e Bug 1090636, part 10 - Refactor SetExistingProperty. No change in behavior. r=efaust.
At this point, SetPropertyHelper has been factored into five parts:
  SetPropertyByDefining
  SetNonexistentProperty
  SetDenseOrTypedArrayElement
  SetExistingProperty
  SetPropertyHelper

each with a comment on top and a reasonably clear responsibility. The longest is less than 100 lines, including comments.

--HG--
extra : rebase_source : 4d32ae23b5cdbaa357c205766894dfaa2184c755
2014-10-29 12:47:58 -05:00
Jason Orendorff
df0035f99e Bug 1090636, part 9 - Move SetDenseOrTypedArrayElement above SetExistingProperty. No change in behavior. r=efaust.
--HG--
extra : rebase_source : ef3261205f73b1984a798d68b661aee662ad5a66
2014-10-29 12:36:10 -05:00
Jason Orendorff
34de921348 Bug 1090636, part 8 - Factor out SetDenseOrTypedArrayElement from SetExistingProperty. No change in behavior. r=efaust.
--HG--
extra : rebase_source : ca88c753431c65130ea9bad71fd36a8c88a747d4
2014-10-29 12:29:28 -05:00
Jason Orendorff
face3cfda8 Bug 1090636, part 7 - Assigning to an array element via a proxy should trigger the "shadowing" code. r=efaust.
--HG--
extra : rebase_source : 8cdde27dfe42ef2ade0220b7930de66d0249db92
2014-10-29 11:06:41 -05:00
Jason Orendorff
170defaf2b Bug 1090636, part 6 - Change DefineNativeProperty to support redefining array elements. r=efaust.
As it stands, this code is relatively obscure, so the fact that it's amazingly busted is of little consequence. But once we implement ES6 assignment, this code will be fairly easy to trigger when assigning to any Proxy whose target is an Array.

--HG--
extra : rebase_source : f939b92b42f0470fb0309097fb82f46383a61b25
extra : source : 1ecbc62d82a38e6e36e6ede090d711f3b3ad13ba
2014-11-10 21:11:20 -06:00
Jason Orendorff
2b6589290c Bug 1090636, part 5 - In SetExistingProperty, correctly handle assigning to array.length. r=efaust.
This one is a little complicated. There is some code in SetExistingProperty that is supposed to determine whether or not we should shadow a property that wasn't found on the receiver. This code does not work correctly for array.length properties. (array.length is a data property, so of course it should be shadowed -- but it is non-shadowable() because hasSlot() is false.)

Having fixed that bug, the call to SetArrayLength is only necessary in the non-shadowing case. (In fact, it would be unnecessary altogether but for Parallel JS.) This in turn makes 'attrs' unnecessary, so delete that.

This is a behavior change (a bug fix) in the case of proxies, as the test illustrates.

--HG--
extra : rebase_source : c968a95baf41944ca82a16d40af51a1512ad0938
extra : source : f322eac33cfa1b54486d1d73f62658019774e373
2014-10-29 01:22:28 -05:00
Jason Orendorff
05a72dc6f3 Bug 1090636, part 4 - Update SetPropertyByDefining to implement ES6 draft rev 28 section 9.1.9 steps 5.c-f. r=efaust.
--HG--
extra : rebase_source : c0444b48a571a4c58dc2aef64d8c2fbb6ddc93b5
extra : source : b5a38a0df65d6f7ffeb60344df6155f2aae19bcb
2014-10-29 17:16:45 -05:00
Jason Orendorff
b90a5eb389 Bug 1090636, part 3 - Shadow an existing property even if pobj == obj. r=efaust.
--HG--
extra : rebase_source : 798fff4a674af97ced2f8972ac65bb5761ac4f27
extra : source : 6425c066275186a8b072e7fa2235af6a9b1b202e
2014-10-29 00:13:12 -05:00
Jason Orendorff
76e08c36f5 Bug 1090636, part 2 - Move SetExistingProperty above SetPropertyHelper. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 69f6d18d98d066adfb2742dd5f4411a2a5b3b7a5
extra : source : db5a8d2f9a23ec92e03d9ec5c5ed609179c32abe
2014-10-28 23:50:39 -05:00
Jason Orendorff
d1b04c9362 Bug 1090636, part 1 - Factor out SetExistingProperty from SetPropertyHelper. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 375efc7d9b4b07544f48b53ca5d9031ea4dda2c1
extra : source : 388e4a23e7fb0be8a7f7561e7043531c7132e6f0
2014-10-28 23:48:47 -05:00
Stephen Pohl
74eaf27927 Bug 1101331: Modify directory structure of B2G.app to allow for building of gaia after OSX v2 changes to Firefox. r=rstrong 2014-12-12 14:40:06 -05:00
Andrea Marchesini
e94f402f60 Bug 1105194 - Bail early if Websocket connection is being disconnected. r=smaug 2014-12-12 14:37:07 -05:00
Andreas Pehrson
773f7b483b Bug 1109405 - Fix shutdown of MediaEngineWebRTC sources with multiple attached streams. r=jesup 2014-12-11 23:52:00 -05:00
Tom Tromey
941025cb98 Bug 1047124 - Clean up memory leaks. r=BenWa 2014-12-11 09:41:00 -05:00
Akshendra Pratap
bd110a6e2b Bug 527444 - Use "do_register_cleanup(...)" calls instead of "tail_*.js" files in xpcshell, Core, and Toolkit. f=sgautherie, r=jdm 2014-12-12 07:23:00 -05:00
Jeff Muizelaar
1030aade65 Bug 1110530. Use a rectangle instead of a region for layer bounds. r=roc
We only ever look at the bounds of this region so we can just track
that in a single rect instead of a region.

--HG--
extra : rebase_source : 4cd84ab724d9dde1c578e71362cab8033af7a210
2014-12-12 11:25:36 -05:00
Byron Campen [:bwc]
7a93f4250e Bug 1109160: Report Gecko version in SDP. r=abr 2014-12-10 15:17:55 -08:00
Ben Kelly
4ac2f623b5 Bug 1098004 Implement snappy compression framing protocol as nsI(Input|Output)Streams. r=froydnj 2014-12-12 14:12:27 -05:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Ehsan Akhgari
eb2d17cdf6 Backed out 2 changesets (bug 1101337) because of ASAN bustage landed on a CLOSED TREE
Backed out changeset ffef93ec94aa (bug 1101337)
Backed out changeset 2954a37bc2df (bug 1101337)
2014-12-12 13:04:44 -05:00