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

427007 Коммитов

Автор SHA1 Сообщение Дата
David Anderson a8cd715f16 Add monitor information to the telemetry environment. (bug 1175005 part 5, r=gfritzsche) 2015-06-17 23:12:19 -07:00
David Anderson 4b7b78ab53 Add nsIGfxInfo::GetMonitor support for Linux. (bug 1175005 part 4, r=nical) 2015-06-17 23:12:13 -07:00
David Anderson d50c97dfca Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
David Anderson a88d8de555 Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-06-17 23:12:00 -07:00
David Anderson 4bf6becfe3 Add an nsIGfxInfo function to query monitors. (bug 1175005 part 1, r=mattwoodrow) 2015-06-17 23:11:55 -07:00
Daniel Holbert 073458590c Bug 1165486 followup: Annotate toObjectBox() impls as 'override'. rs=ehsan 2015-06-15 23:21:51 -07:00
Nicholas Nethercote 0eacf28b46 Bug 1174631 (part 4) - Replace nsFrameManager's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert.
--HG--
extra : rebase_source : a328e9bceffb9940108fdebca8cca7c70e9cea58
2015-06-16 21:09:39 -07:00
Nicholas Nethercote 4bcd16152c Bug 1174631 (part 3) - Replace SpanningCellSorter's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert.
--HG--
extra : rebase_source : a84a8548d6d88e558d8ec1cdde09af2d2cb58084
2015-06-16 21:09:39 -07:00
Nicholas Nethercote 7e43a049ee Bug 1174631 (part 2) - Replace nsCSSRuleProcessor's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert.
--HG--
extra : rebase_source : e05d57211c8ba1c3fe0dfe4d8dda477d1df45b55
2015-06-10 21:28:14 -07:00
Nicholas Nethercote 5e7718ec13 Bug 1174631 (part 1) - Replace nsRuleNode's uses of PL_DHashTableEnumerate() with PLDHashTable::{,Removing}Iterator. r=dholbert.
--HG--
extra : rebase_source : 058c6a86d5806a8cb3eb0dc7b13af47da68f4d82
2015-06-10 19:13:15 -07:00
Masayuki Nakano 9805b3e4d3 Bug 1175382 TextRangeArray::TargetClauseOffset() and TextRangeArray::TargetClauseLength() shouldn't be public and same name methods of WidgetCompositionEvent should be used r=m_kato 2015-06-18 13:43:18 +09:00
Masayuki Nakano 4bc0549972 Bug 1175442 Make nsContentUtils::SendKeyEvent() take nsIWidget* rather than nsCOMPtr<nsIWidget> r=smaug 2015-06-18 13:41:28 +09:00
Shu-yu Guo bb7d7b6a50 Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke) 2015-06-17 21:26:58 -07:00
Shu-yu Guo 6fc742f450 Bug 1171177 - Remove VAROBJFIX. (r=luke) 2015-06-17 21:26:58 -07:00
Shu-yu Guo 697406cb2b Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-17 21:26:58 -07:00
Shu-yu Guo 4f697151ff Bug 1165486 - Detect with scopes at parse time using the static scope chain for non-function scripts. Also cache static scope properties on SharedGlobalContext. (r=efaust) 2015-06-17 21:26:57 -07:00
Shu-yu Guo 543778a467 Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley) 2015-06-17 21:26:57 -07:00
Shu-yu Guo 4372a9a085 Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo eff78a8498 Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo 91b0e0dfb2 Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem) 2015-06-17 21:26:57 -07:00
Shu-yu Guo cbef31a888 Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
CloneFunctionObject is split into the following:

  - CloneFunctionAndScript, which deep clones the function and its
    script, giving the cloned script a new static scope chain. This is
    used for cloning singleton lambdas and JSAPI cloning. For singleton
    lambdas, the original and the clone script have the same static
    scope chain. For JSAPI cloning, a new static scope is provided
    (either null, for a clean global, or StaticPollutingGlobalObject,
    for a polluted global).

  - CloneFunctionReuseScript, which clones the function but reuses the
    script, and thus keeps the same static scope chain.

CloneScript is split into the following:

  - CloneGlobalScript, which clones a script with and gives it a new
    static scope.

  - CloneScriptIntoFunction, which clones a script into a JSFunction and
    gives it a new static scope. Cloning a script into a new function
    container requires slightly different logic to hook up the static
    scope chain before cloning inner scripts.
2015-06-17 21:26:57 -07:00
Shu-yu Guo a0b35ddac3 Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo b9d919ceeb Bug 1165486 - Detect with scopes at parse time using the static scope chain instead of treating it as a polluted global. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo 3a023fc067 Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo bf0309af90 Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo 6ecb6bd195 Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence) 2015-06-17 21:26:57 -07:00
Shu-yu Guo 0e6a97a67c Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke) 2015-06-17 21:26:57 -07:00
Nicholas Nethercote 0d28f19c4a Bug 1173600 (part 3) - Add PLDHashTable::RemovingIterator. r=froydnj.
--HG--
extra : rebase_source : 1158e03a699987e366b46b9e045613f6b9fe1a59
2015-06-10 17:04:07 -07:00
Nicholas Nethercote fb490785c1 Bug 1173600 (part 2) - Move post-enumeration shrinking code into its own function. r=froydnj.
This will allow it to be re-used by the removing iterator class.

--HG--
extra : rebase_source : 2bdd33427894c291aa507469628a3ba99b80c568
2015-06-10 16:36:02 -07:00
Nicholas Nethercote e8172cd960 Bug 1173600 (part 1) - Tweak PLDHashTable post-enumeration shrinking. r=froydnj.
This patch factors out the existing capacity calculation code in HashShift()
into a new function called BestCapacity(), and then reuses it for
post-enumeration shrinking.

BestCapacity() computes capacity with |CeilingLog2(ceil(length * 4 / 3))|,
which ensures a minimum capacity while respecting the "max 75% full" and
"capacity is a power of two" constraints. In contrast, the old post-enumeration
shrink calculation was |CeilingLog2(length + length/2)|, which gives higher
results in some cases. (Both calculations also ensured the capacity wasn't too
small.) E.g. if length is 48, the former calculation will give 64, while the
latter will give 128.

Therefore, post-enumeration shrinking will no longer give a
larger-than-necessary capacity some cases. This feels like the right thing to
do in isolation, and making it consistent with HashShift() -- used during table
construction -- is also good.

--HG--
extra : rebase_source : 55e982b601c345d10da7abd03a13aec3f5b61598
2015-06-10 13:54:06 -07:00
Matt Woodrow 330af331a0 Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel
--HG--
extra : rebase_source : dbfeb9aaa25ab1fbedbcae63f63886bb12d8bb9e
2015-06-17 21:09:16 -07:00
Adrian Cruceru b6bd5b4c75 Bug 881742: Fix null-deref on OOM (or bad allocation size due to corrupted video) in webrtc upstream code r=jesup 2015-06-18 00:06:36 -04:00
Phil Ringnalda 14a5703001 Backed out 2 changesets (bug 1169736) for Windows "Assertion failure: function()->isClassConstructor()"
CLOSED TREE

Backed out changeset ea7188e6713c (bug 1169736)
Backed out changeset 5c5ab792827a (bug 1169736)
2015-06-17 20:56:48 -07:00
Shu-yu Guo ddf26eeee8 Bug 1175397 - Do not eliminate dead resume point operands after GVN. r=nbp CLOSED TREE
--HG--
extra : amend_source : 7ad4dc79cbdb30453c2d20695efee35bdf3338a7
2015-06-17 19:24:30 -07:00
JW Wang 9ca233070f CLOSED TREE. Bug 1174077 - send silence instead of nothing to the decoded stream in CORS case. r=roc. 2015-06-18 10:19:51 +08:00
Wes Kocher 7945ec8df1 followup to Bug 1169736 to fix spidermonkey failures CLOSED TREE
(If this doesn't fix things, this and the original patch for this bug need to be backed out to fix things)
2015-06-17 17:15:45 -07:00
Ehsan Akhgari 47e2d52863 Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-17 17:48:45 -04:00
Ehsan Akhgari c197ee959d Bug 1174521 - Backout the second part of bug 1143570 to fix the regression; r=roc 2015-06-17 17:45:51 -04:00
Eric Faust 9b8c4983bf Bug 1169736 - Temporarily disallow eval and arrow functions inside derived class constructors. (r=jorendorff) 2015-06-17 14:38:23 -07:00
Eric Faust ec18bf7a14 Bug 1169731 - [[Call]] on a class constructor should throw. (r=jandem) 2015-06-17 14:37:49 -07:00
Eric Faust 3a830f0dcf Bug 1173525 - Add JS::Construct overload for specifying new.target. (r=Waldo) 2015-06-17 14:37:48 -07:00
Eric Faust d3407dff70 Bug 1172483 - Remove erroneous assert. (r=Waldo) 2015-06-17 14:37:45 -07:00
Daniel Holbert 48c763591d Bug 1175245: Convert nsRefreshDriver.cpp to use range-based "for" loops. r=tn 2015-06-17 14:36:40 -07:00
Boris Zbarsky 53a0fc0478 Bug 1175600 followup. Add getRelativePath to ye othere nsIFile implementatione so as to de-bust ye olde CLOSED TREE 2015-06-17 16:46:19 -04:00
Nick Fitzgerald 9389e8bd9f Bug 1157456 - Re-wrap results in SavedFrame accessors; r=jorendorff 2015-06-17 13:18:16 -07:00
Boris Zbarsky 075355a9e5 Bug 1175601. Make nsIFile.getRelativeDescriptor work with paths with paths with arbitrary numbers of segments, not just 32. r=froydnj 2015-06-17 16:17:22 -04:00
Boris Zbarsky bf8f45932e Bug 1175600. Add getRelativePath/setRelativePath to nsIFile. r=froydnj 2015-06-17 16:17:20 -04:00
Kannan Vijayan 3bdb0d06ed Bug 1175252 - Fix UITour loop test bug. r=jaws 2015-06-17 16:11:13 -04:00
Ryan VanderMeulen 38838d327c Bug 1167356 - Remove no-longer needed assertion.
CLOSED TREE
2015-06-17 16:00:42 -04:00
Ryan VanderMeulen 88a04ff445 Backed out changeset 439e1f841ea2 (bug 1148935) for Werror bustage.
CLOSED TREE
2015-06-17 15:48:16 -04:00