Граф коммитов

396729 Коммитов

Автор SHA1 Сообщение Дата
Christoph Kerschbaumer ad23c605d2 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - uriloader/ changes (r=smaug,sicking) 2014-12-12 09:08:01 -08:00
Christoph Kerschbaumer 0a11a9252b Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - toolkit/ changes (r=gcp) 2014-12-12 09:07:48 -08:00
Christoph Kerschbaumer 5bc71528dc Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netwerk/ changes (r=sworkman,sicking) 2014-12-12 09:07:36 -08:00
Christoph Kerschbaumer 1e54ee4250 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - modules/ changes (r=mwu) 2014-12-12 09:07:23 -08:00
Christoph Kerschbaumer b3d1653ff6 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth) 2014-12-12 09:06:54 -08:00
Christoph Kerschbaumer 85302dc6bc Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - extensions/ changes (r=karlt) 2014-12-12 09:06:42 -08:00
Christoph Kerschbaumer a4375f9cf0 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - dom/ changes (r=sicking) 2014-12-12 09:06:09 -08:00
Christoph Kerschbaumer 35fd1192e7 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - chrome/ changes (r=sicking) 2014-12-12 09:05:34 -08:00
Christoph Kerschbaumer 09b44e1b01 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - ioservice/ changes (r=sicking,sworkman) 2014-12-12 09:05:21 -08:00
Christoph Kerschbaumer d1614ac429 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netUtil changes (r=sicking,sworkman) 2014-12-12 09:05:09 -08:00
Christoph Kerschbaumer 97e4b52984 Bug 1110615 - Fix inheriting problem for blobs (r=sicking) 2014-12-12 09:03:47 -08:00
Monica Chew 63de38c180 Bug 1101969: Disable pinning on media.mozilla.com (r=keeler) 2014-12-12 09:10:57 -08:00
Monica Chew 04d69a9f5b Bug 1004781: Enable pinning for facebook in production mode (r=keeler) 2014-12-12 09:10:53 -08:00
Chris Manchester a641e6246c Bug 1099331 - Allow navigation resulting in about:blocked or about:error pages when explicitly requested without returning an error from the marionette server.;r=automatedtester
This allows navigation resulting in a blocked or error page without returning an error to the client. If an error page is reached, an error is returned in cases this was not specifically requested in the client: client.navigate("about:neterror") will navigate to this page and return to the client without an error, but client.navigate("does.not.exist.") will return to the client with an error as it has previously.
2014-12-12 12:08:32 -05:00
Chris Manchester 11a1ff5261 Bug 1055765 - Implement log buffering as a handler in mozlog.;r=jgraham 2014-12-12 12:08:31 -05:00
Chris Manchester c3c9e22175 Bug 941749 - Add support for returning both known tabs and chrome windows from the marionette server.;r=automatedtester
This splits the api for getWindowHandles and getChromeWindowHandles for those
managing windows and tabs separately in tests. getWindowHandles is
re-implemented to return tabs when appropriate, and getChromeWindowHandles is
added to correspond to individual os windows (the prior behavior of
getWindowHandles). current_window_handle now corresponds to a tab on desktop,
while chrome_window_handle is provided for the current OS window.
switch_to_window will accept either a chrome window handle or tab handle.
In the case of a tab, switching will select the tab. In the
case of a chrome window handle, the prior behavior is retained.
2014-12-12 12:08:31 -05:00
Chris Manchester bb8ca43969 Bug 941749 - A test managing open windows and tabs with marionette.;r=automatedtester 2014-12-12 12:08:31 -05:00
Patrick McManus 9aa9696cc0 bug 865314 - backout 61ee2e053920 due to crashes 1089638 r=backout
--HG--
extra : rebase_source : a402ff7ab1f653320ac577807fbe85143d945af8
2014-12-12 11:48:02 -05:00
Ehsan Akhgari 2b3c79836e 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.

--HG--
extra : rebase_source : 0330c130520802392b92bd094dde85f57cfe6420
2014-12-12 11:47:55 -05:00
Nathan Froyd 941541fed4 Backout bbcf9c812bb5:388e4a23e7fb (bug 1090636), for bustage on a CLOSED TREE 2014-12-12 11:49:15 -05:00
Jason Orendorff 8a476b9eb4 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 : 6c8840025cabcd9041bfe4c05c50925c28229f4f
2014-11-12 11:46:38 -06:00
Jason Orendorff 3be561fab8 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 : afd950d3593f5c6dc2c24c8aec92567d9c1269d2
2014-11-07 13:45:23 -06:00
Jason Orendorff 6a47357145 Bug 1090636, part 13 - Reimplement the mHasPrototype part of Proxy::set as a call to BaseProxyHandler::set. r=bholley.
--HG--
extra : rebase_source : edc9dd5f8a45e5112af13073b41e6f6879c6f2ce
2014-10-15 11:07:41 -05:00
Jason Orendorff 1b77b4caf6 Bug 1090636, part 12 - Move NativeSet. No change in behavior. r=efaust.
--HG--
extra : rebase_source : b4adc226db90d3a5fbd16d4b63ea4bc00d02697c
2014-10-29 13:26:57 -05:00
Jason Orendorff 8e59f6a745 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 : 18e873daea8da331e5c8861e537ed2ba17944b06
2014-10-29 13:04:48 -05:00
Jason Orendorff ff7b46cfec 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 : 590d09b7da81417f44580b06b5d5b4e634b641fa
2014-10-29 12:47:58 -05:00
Jason Orendorff b3413c1d32 Bug 1090636, part 9 - Move SetDenseOrTypedArrayElement above SetExistingProperty. No change in behavior. r=efaust.
--HG--
extra : rebase_source : cc4b742f509392984a82d48d022252291f4182fd
2014-10-29 12:36:10 -05:00
Jason Orendorff ddeec566f8 Bug 1090636, part 8 - Factor out SetDenseOrTypedArrayElement from SetExistingProperty. No change in behavior. r=efaust.
--HG--
extra : rebase_source : a81ae31c30c8d0206b7e18f79afeb1c6eee8b201
2014-10-29 12:29:28 -05:00
Jason Orendorff 497606c43f Bug 1090636, part 7 - Assigning to an array element via a proxy should trigger the "shadowing" code. r=efaust.
--HG--
extra : rebase_source : b1ae5853de1dc4d100c5f9b7d45e1d2272b512f7
2014-10-29 11:06:41 -05:00
Jason Orendorff be3715678c 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 : 1e2741d096f5ac72ae8305aa548747242b44ace7
2014-11-10 21:11:20 -06:00
Jason Orendorff a21c6c0962 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 : 18704b24f65bd3336d5c2b2f3e7366b01e7fcec0
2014-10-29 01:22:28 -05:00
Jason Orendorff 85f2f96108 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 : 558852c474d603299c47b630bd73b1ae951c6928
2014-10-29 17:16:45 -05:00
Jason Orendorff b96102579f Bug 1090636, part 3 - Shadow an existing property even if pobj == obj. r=efaust.
--HG--
extra : rebase_source : 2b41d716df229233ff5bcaff8c7fcdf3926f3ab9
2014-10-29 00:13:12 -05:00
Jason Orendorff a3ec29f5e2 Bug 1090636, part 2 - Move SetExistingProperty above SetPropertyHelper. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 3e8a5f35bbdda14233bb6df1e919abeb4a0f0624
2014-10-28 23:50:39 -05:00
Jason Orendorff 77242a5861 Bug 1090636, part 1 - Factor out SetExistingProperty from SetPropertyHelper. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 99fe3ebcf098cebd51d38c687349fe6aa3a43a59
2014-10-28 23:48:47 -05:00
Benjamin Bouvier 2735c5b8fc Bug 1110570: AVX instructions should be emitted only if XSAVE is enabled by the OS; r=sunfish
If the XSAVE functionality is disabled by the OS (which can happen in
virtualized environments, for instance), AVX instructions shouldn't be emitted
by the JITs. See also the assembly rountines for both x86 and x64 at
https://software.intel.com/en-us/blogs/2011/04/14/is-avx-enabled/

--HG--
extra : rebase_source : 9008ada71bfc33283578197e0257b30533c650b2
extra : amend_source : 5a796ac9d53b9104a19a7c2354c6201e3c77028d
2014-12-12 15:33:15 +01:00
Jan de Mooij 475547d1ef Bug 1004388 part 2 - Call improveTypesAtTest in more cases. r=bhackett 2014-12-12 15:41:06 +01:00
Boris Zbarsky ca52532afc Bug 1004388 part 1. When we're testing an MPhi that doesn't represent the and-or pattern, just fall back to optimizing the typeset for the true/false branches based on the truthiness directly, like we would for the non-MPhi case. r=jandem 2014-12-09 22:00:44 -05:00
Carsten "Tomcat" Book 9284760710 Backed out changeset 9877aca65ef5 (bug 1038620) for causing Test Bustage on a CLOSED TREE 2014-12-12 14:57:39 +01:00
Georg Fritzsche f0e9dad73c Bug 1110691 - Submit which health reporter provider is currently shutting down on AsyncShutdownTimeout. r=yoric 2014-12-12 14:50:07 +01:00
Nathan Froyd d0d9febe5d Bug 1109826 - part 3 - don't complain about missing directives for browser/ search plugins; r=mshal 2014-12-10 14:56:38 -05:00
Nathan Froyd 3789a9c7de Bug 1109826 - part 2 - don't complain about missing directives for PREF_JS_EXPORTS and DIST_FILES; r=mshal 2014-12-10 14:56:14 -05:00
Nathan Froyd db443452dd Bug 1109826 - part 1 - make the preprocessor able to avoid emitting warnings about missing directives; r=mshal 2014-12-10 14:49:44 -05:00
Nathan Froyd ed100b8b6f Bug 1109826 - part 0c - don't preprocess aboutPrivateBrowsing.js; r=mshal 2014-12-10 14:52:56 -05:00
Nathan Froyd 9454653a63 Bug 1109826 - part 0b - don't preprocess content-contextmenu.svg for browser/ themes; r=mshal 2014-12-10 14:51:35 -05:00
Nathan Froyd bde61135d5 Bug 1109826 - part 0a - uncomment preprocessing directives in ImportExport.jsm; r=fabrice
Apparently, these directives should have been uncommented prior to landing.
2014-12-10 14:50:27 -05:00
Nathan Froyd 2a6c9a1630 Bug 1109831 - move testing/profiles/ files to moz.build's TEST_HARNESS_FILES; r=mshal 2014-12-10 13:58:51 -05:00
Carsten "Tomcat" Book 18b5e7b9ed Merge mozilla-central to mozilla-inbound 2014-12-12 13:57:12 +01:00
Carsten "Tomcat" Book c06036beba merge mozilla-inbound to mozilla-central a=merge 2014-12-12 13:51:14 +01:00
Carsten "Tomcat" Book 2f22b1bd1f merge fx-team to mozilla-central a=merge 2014-12-12 13:17:55 +01:00