Commit Graph

249490 Commits

Author SHA1 Message Date
Bob Owen
5b9fc140ef Bug 1165903: For Windows NPAPI do window re-parenting in the chrome process to allow for sandboxing. r=jimm 2015-06-15 16:08:51 +01:00
Jonathan Kew
1acaeeaeaa Bug 1173307 - Convert nsTableCellFrame to work with logical coordinates. r=dholbert 2015-06-18 10:11:40 +01:00
Mike Hommey
4a22c4f7a8 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
55cddb9d45 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
91f1e05385 Backed out changeset 7b09594541f3 (bug 1148935) 2015-06-18 09:48:01 +02:00
Gerald Squelart
4ec5d6c04b Bug 1173634 - Report pending async shutdowns in shutdown hangs. r=cpearce 2015-06-17 17:35:00 +02:00
Gerald Squelart
f886059d10 Bug 1173631 - [EME] Implement async shutdown in clearkey GMP. r=cpearce 2015-06-11 22:05:00 +02:00
Cameron McCormack
0eec565938 Bug 1175800 - Remove typedefs from nsComputedDOMStyle.cpp as they interfere with others under unified compilation. r=bzbarsky 2015-06-18 16:52:49 +10:00
Jonathan Kew
0b62970330 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
25483f26ed Add monitor information to the telemetry environment. (bug 1175005 part 5, r=gfritzsche) 2015-06-17 23:12:19 -07:00
David Anderson
42f85ae201 Add nsIGfxInfo::GetMonitor support for Linux. (bug 1175005 part 4, r=nical) 2015-06-17 23:12:13 -07:00
David Anderson
44b1489c4e Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
David Anderson
96c65e5112 Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-06-17 23:12:00 -07:00
David Anderson
cd5404f214 Add an nsIGfxInfo function to query monitors. (bug 1175005 part 1, r=mattwoodrow) 2015-06-17 23:11:55 -07:00
Daniel Holbert
4dca93c9e0 Bug 1165486 followup: Annotate toObjectBox() impls as 'override'. rs=ehsan 2015-06-15 23:21:51 -07:00
Nicholas Nethercote
8467ca1442 Bug 1174631 (part 4) - Replace nsFrameManager's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert. 2015-06-16 21:09:39 -07:00
Nicholas Nethercote
c698b82e23 Bug 1174631 (part 3) - Replace SpanningCellSorter's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert. 2015-06-16 21:09:39 -07:00
Nicholas Nethercote
9cea71b000 Bug 1174631 (part 2) - Replace nsCSSRuleProcessor's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert. 2015-06-10 21:28:14 -07:00
Nicholas Nethercote
0d4c4a8498 Bug 1174631 (part 1) - Replace nsRuleNode's uses of PL_DHashTableEnumerate() with PLDHashTable::{,Removing}Iterator. r=dholbert. 2015-06-10 19:13:15 -07:00
Masayuki Nakano
360ff0cac8 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
7edd823b28 Bug 1175442 Make nsContentUtils::SendKeyEvent() take nsIWidget* rather than nsCOMPtr<nsIWidget> r=smaug 2015-06-18 13:41:28 +09:00
Shu-yu Guo
3024d9b181 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
167a1a707a Bug 1171177 - Remove VAROBJFIX. (r=luke) 2015-06-17 21:26:58 -07:00
Shu-yu Guo
ff10d8a09f Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-17 21:26:58 -07:00
Shu-yu Guo
bb24e76d72 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
6183404468 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
460dc4368f Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
770c22e324 Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
39b28b5aac Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
1848359ed9 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
e4c9afe8fb 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
eb3724b03a 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
72b3e6917d Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
de0beb4df9 Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
deecfef6dd 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
4af5ce4119 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
a2d83b8f85 Bug 1173600 (part 3) - Add PLDHashTable::RemovingIterator. r=froydnj. 2015-06-10 17:04:07 -07:00
Nicholas Nethercote
b0a39a3a7c 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.
2015-06-10 16:36:02 -07:00
Nicholas Nethercote
c412098e05 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.
2015-06-10 13:54:06 -07:00
Matt Woodrow
9e8da30efe Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel 2015-06-17 21:09:16 -07:00
Adrian Cruceru
8a688c9922 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
86c9db26a2 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
f24c08010e Bug 1175397 - Do not eliminate dead resume point operands after GVN. r=nbp CLOSED TREE 2015-06-17 19:24:30 -07:00
JW Wang
54c76126ad 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
34c5df9cea 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
ea3ccc550c Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-17 17:48:45 -04:00
Ehsan Akhgari
a0223619b6 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
cbd8baaa78 Bug 1169736 - Temporarily disallow eval and arrow functions inside derived class constructors. (r=jorendorff) 2015-06-17 14:38:23 -07:00
Eric Faust
559021c984 Bug 1169731 - [[Call]] on a class constructor should throw. (r=jandem) 2015-06-17 14:37:49 -07:00
Eric Faust
4c8e1b1942 Bug 1173525 - Add JS::Construct overload for specifying new.target. (r=Waldo) 2015-06-17 14:37:48 -07:00