Commit Graph

219217 Commits

Author SHA1 Message Date
Sotaro Ikeda
ca2e2e5c88 Bug 1108728 - Remove dormant related state from MediaDecoder r=cpearce 2014-12-12 17:29:24 -08:00
Wes Kocher
17cc280629 Backed out changeset 95377313608b (bug 1101337) for linux debug build bustage 2014-12-12 16:34:43 -08:00
Wes Kocher
0cbeb463a6 Backed out changeset d468b88bdb23 (bug 1110956)
--HG--
rename : xpcom/glue/tests/gtest/TestStrings.cpp => xpcom/tests/TestStrings.cpp
2014-12-12 16:34:21 -08:00
Wes Kocher
ddf59bba3c Backed out changeset 71378a872c99 (bug 1110956) 2014-12-12 16:33:57 -08:00
Ehsan Akhgari
8e9aea678a Bug 1110956 follow-up: Actually re-enable the test that was commented out 2014-12-12 19:10:48 -05:00
Ehsan Akhgari
eccbb08304 Bug 1110956 - Port TestStrings.cpp to gtest and enable it; r=froydnj
--HG--
rename : xpcom/tests/TestStrings.cpp => xpcom/glue/tests/gtest/TestStrings.cpp
2014-12-12 19:05:10 -05:00
Ehsan Akhgari
0f549528e4 Bug 1101337 - Make the ReplaceSubstring() XPCOM string API linear; r=froydnj
ReplaceSubstring() is an O(n*m) algorithm (n being the length of the
string and m being the number of occurrences of aTarget) because we have
to move the remainder of the string, search it again and potentially
memmove most of it again as we find more matches.  This patch rewrites
that function to make it O(n+m).

Note that we currently don't build TestStrings.cpp, so the test case in
this patch is not run automatically, but the test case has been verified
to pass separately by moving the test function into Gecko and calling it
during startup and stepping through it in the debugger.
2014-12-12 18:57:09 -05:00
Wes Kocher
140b9317ab Backed out 3 changesets (bug 1107516) for b2g debug emulator mochitest bustage
Backed out changeset 5fe0df3298aa (bug 1107516)
Backed out changeset ce51e5cd2a85 (bug 1107516)
Backed out changeset c3b2309fdf93 (bug 1107516)
2014-12-12 15:29:28 -08:00
Brian Smith
746ee1cc1d Bug 1107666: Fix OCSP stapling telemetry (SSL_OCSP_STAPLING), r=keeler
--HG--
extra : rebase_source : 926f091b2a361d7dce30bee918d6659259f1b3e4
2014-12-11 23:22:35 -08:00
Trevor Saunders
5cfa302167 bug 1110510 - make sure to create and destroy proxies for documents r=surkov 2014-12-11 17:36:59 -05:00
Trevor Saunders
2f7d4d5002 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
3f36ff87a3 Bug 1109216 - Chain MediaOmxReader::ReleaseDecoder off MediaDecoderReader::Shutdown resolution. r=cpearce 2014-12-12 14:22:29 -08:00
Bobby Holley
a68519a020 Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-12 14:22:23 -08:00
Ben Kelly
8a5f2f45d1 Bug 1098004 Follow-up to fix non-unified bustage. r=me 2014-12-12 16:57:23 -05:00
Christoph Kerschbaumer
fbf5958906 Bug 1111017 - Followup on Bug 1087442 - Updating comments (r=sicking) 2014-12-12 13:45:51 -08:00
David Keeler
f43341290a 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
d0a1bd4222 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
568990f3cf 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
04a954071f Bug 1097850 - ChildFinder::NoteNativeChild() should call CanSkip(). r=smaug 2014-12-12 13:42:21 -08:00
Andrew McCreight
49eb457686 Bug 1110243 - CCGraphBuilder::NoteNativeChild should call CanSkipThis(). r=smaug 2014-12-12 13:42:21 -08:00
Ben Kelly
7d42839549 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
1086337f5f Bug 1107516 P2 Add nsILoadGroup helpers to nsNetUtil.h. r=mcmanus 2014-12-12 16:41:36 -05:00
Ben Kelly
1ed06c866f Bug 1107516 P1 Add LoadContext constructor taking an nsIPrincipal. r=smaug 2014-12-12 16:41:35 -05:00
Daniel Holbert
b628dd9f12 (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
94e4ecc904 Backed out changeset 96a5b2854978 (bug 527444) for android xpcshell bustage on a CLOSED TREE 2014-12-12 12:57:14 -08:00
Wes Kocher
0c01880302 Backed out changeset 0064d8949f0c (bug 1102541) for build bustage on a CLOSED TREE 2014-12-12 12:39:07 -08:00
Joel Maher
550a478e1f Bug 1110995 - update talos to the latest version to fix tresize. r=wlach 2014-12-12 15:47:52 -05:00
Benjamin Smedberg
5e65ee397e 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
ef816c0ecd 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
10f374dc94 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
2b1836bad8 Bug 1110789 - Cleanup patch for Bug 340494. r=bz 2014-12-12 07:04:00 -05:00
Jan-Ivar Bruaroey
96335656d8 Bug 1110478 - Remove obsolete peerConnectionImpl.connectDataConnection. r=smaug, r=jesup 2014-12-12 13:00:42 -05:00
Jim Mathies
97f648b48a Bug 874167 - Enable java plugins with e10s on Windows. r=billm 2014-12-12 12:24:24 -06:00
Nick Fitzgerald
68b43cce6e Bug 1102541 - Add JS::ubi::RootList::addRoot; r=shu 2014-12-11 13:55:49 -08:00
Jason Orendorff
fc69af0b0a 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
55739e8296 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
09c6927395 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
8330fe19f3 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
016176d8a4 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
107dfd9df6 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
931fbe95cd 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
cea6ca0988 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
d4168cbeaf 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
fd06efb881 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
7ae9cc2401 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
69bbdf683d 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
ba16aad3ce 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
57c348aa32 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
8eb0ee7f7c 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
a35497938f 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