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

427015 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew bf0d1d0f6f Bug 1173307 - Convert nsTableCellFrame to work with logical coordinates. r=dholbert 2015-06-18 10:11:40 +01:00
Mike Hommey aac8b5bca7 Bug 1175323 - Bump stdc++compat minimum supported libstdc++ version to 4.3. r=nfroyd 2015-06-18 17:10:39 +09:00
Carsten "Tomcat" Book dc3312548b Backed out changeset b2c472fe14ca (bug 1175480) for crashes in serviceworkers/test_request_context.htm 2015-06-18 09:54:44 +02:00
Carsten "Tomcat" Book 320d038d99 Backed out changeset 7b09594541f3 (bug 1148935) 2015-06-18 09:48:01 +02:00
Gerald Squelart b383286615 Bug 1173634 - Report pending async shutdowns in shutdown hangs. r=cpearce
--HG--
extra : rebase_source : 1b3f4d52abf0bacd066848834728783e9069a545
2015-06-17 17:35:00 +02:00
Gerald Squelart f4ccd23df1 Bug 1173631 - [EME] Implement async shutdown in clearkey GMP. r=cpearce
--HG--
extra : rebase_source : d6e510b5e081d581524a38a684a9cc677a5bde34
2015-06-11 22:05:00 +02:00
Cameron McCormack 0c42dab52b Bug 1175800 - Remove typedefs from nsComputedDOMStyle.cpp as they interfere with others under unified compilation. r=bzbarsky
--HG--
extra : rebase_source : cf9acc0012eae22322a653001bbdab1246264a5f
2015-06-18 16:52:49 +10:00
Jonathan Kew a3380043e5 Bug 1174507 - Replace the frame flag CONTAINS_RELATIVE_HEIGHT with CONTAINS_RELATIVE_BSIZE, and adjust callsites appropriately. r=dholbert 2015-06-18 07:33:50 +01:00
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