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

426474 Коммитов

Автор SHA1 Сообщение Дата
Shu-yu Guo a6548d90c4 Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-15 17:38:01 -07:00
Shu-yu Guo cd3f1ec464 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-15 17:38:01 -07:00
Shu-yu Guo cc2e99dbc5 Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley) 2015-06-15 17:38:01 -07:00
Shu-yu Guo 701d6c99b1 Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo 42b5246b7a Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo 1b71c450ef 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-15 17:38:01 -07:00
Shu-yu Guo 82371c50a5 Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo 25b39263b2 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-15 17:38:01 -07:00
Shu-yu Guo 38b0113958 Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo dd61e262eb Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo ffbffb8ab2 Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence) 2015-06-15 17:38:01 -07:00
Shu-yu Guo 017a37d1ed Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke) 2015-06-15 17:38:00 -07:00
Boris Zbarsky 524cf12ad9 Bug 1174487. Stop using JS_ReportPendingException in ThrowAndReport. Just let the AutoJSAPI do the work for us. r=bholley 2015-06-15 20:11:54 -04:00
Boris Zbarsky 3437c1a714 Bug 1174486 part 4. Stop reporting exceptions in nsJSUtils::EvaluateString and have its consumers use AutoJSAPIs that take ownership of error reporting instead. r=bholley 2015-06-15 20:11:06 -04:00
Boris Zbarsky 594e048a9f Bug 1174486 part 3. Eliminate the unused codepath on which EvaluateOptions::reportUncaught is false. r=bholley 2015-06-15 20:10:50 -04:00
Boris Zbarsky 6d8f096996 Bug 1174486 part 2. Add a way to explicitly report a pending exception on an AutoJSAPI that has taken ownership of error reporting. r=bholley
This is needed for some cases that currently report an exception and then do
some other work on the same cx (specifically, nsXBLProtoImplField::InstallField).
2015-06-15 20:10:38 -04:00
Boris Zbarsky 9b2e60be6b Bug 1174486 part 1. Make sure that warnings do still get reported even if our AutoJSAPI has taken over error reporting. r=bholley 2015-06-15 20:10:24 -04:00
Boris Zbarsky 90031d3619 Bug 1173593. Make it possible to throw TypeError (or, in fact, any other Error from the content compartment) from js-implemented webidl. r=bholley 2015-06-15 20:09:36 -04:00
Boris Zbarsky 40b8fd3ec6 Bug 1173638. Make the constructors for Error and its subtypes get their filenames/linenumbers from the saved stack, not manually. r=fitzgen,bholley
The changes in webgl code are to ensure that we're in a reasonable compartment
while reporting a warning via the JS engine.
2015-06-15 20:05:49 -04:00
Eric Rahm 61b43b582d Bug 1173858 - Part 3 - Reindent blocks that we've converted to use LAYOUT_WARN_IF_FALSE. r=dholbert 2015-06-15 16:36:12 -07:00
Eric Rahm efa4d9e28e Bug 1173858 - Part 2: Use LAYOUT_WARN_IF_FALSE to silence some verbose layout warnings by default. r=dholbert 2015-06-15 16:36:11 -07:00
Eric Rahm 4056ee6539 Bug 1173858 - Part 1: Add log module for layout. r=dholbert
Add a log module for use by layout. An analog to NS_WARN_IF_FALSE is provided
that has the same behavior as NS_WARN_IF_FALSE: it's debug only and emits a
message prefixed with '[pid] WARNING', includes the condition being checked,
file name and line number.
2015-06-15 16:36:09 -07:00
Benoit Girard 5215ca7222 Bug 1171682 - Disable WebGL in safemode. r=jgilbert 2015-06-15 17:05:02 -04:00
Markus Stange f134c090a5 Bug 1174332 - Correctly compute box-shadow bounds on themed frames with overflow. r=roc
--HG--
extra : rebase_source : 1f8b32e7d05b1501859085c8a3e48c1c904bdf8e
2015-06-15 15:02:01 -04:00
Markus Stange 1a786425ca Bug 1169502 - Simplify visible regions to tiles, not to a number of rects. r=jrmuizel, r=roc
--HG--
extra : rebase_source : affd6655b864223cb1bb2ffe6e47a4759fd6b411
2015-06-10 15:54:20 -04:00
Markus Stange dc2a5c02ef Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel
--HG--
extra : rebase_source : 6277eb60b2ee59903ff7a96bc9fa5a6ae379e20e
2015-06-15 16:57:30 -04:00
Ryan VanderMeulen 74cbad03d6 Backed out changeset 4d9c70392f0e (bug 1174612) for total mochitest bustage.
CLOSED TREE
2015-06-15 16:47:11 -04:00
Milan Sreckovic 42d8db701c Bug 1159751 - Use a more explicit order of destruction in gfxWindowsPlatform. r=bas 2015-06-10 11:52:00 -04:00
Andrew Comminos 6021357a72 Bug 1171011 - Use only document padding for MOZ_GTK_ENTRY in XUL. r=karlt 2015-06-10 12:38:00 -04:00
Andrew Comminos 860531cc0f Bug 1173971 - Force core Xlib events on GTK3. r=karlt 2015-06-12 06:55:00 -04:00
Maksim Lebedev 422b4a8ae2 Bug 1171712 - Implement separated InkColletor and InkCollectorEvent classes. r=smaug, r=jimm 2015-06-12 08:35:00 -04:00
Andrew Comminos 69a3350068 Bug 1174212 - Skip pointerlock tests on GTK3. r=karlt 2015-06-15 07:15:00 -04:00
Joel Maher 35ee286305 Bug 1174693 - Remove old robocop talos tests which we don't run anymore. r=gbrown 2015-06-15 09:35:00 -04:00
Ryan VanderMeulen e3ce9c3d4c Merge m-c to inbound. a=merge 2015-06-15 15:56:20 -04:00
Ryan VanderMeulen 98ebe786fc Merge inbound to m-c. a=merge 2015-06-15 15:55:28 -04:00
Ryan VanderMeulen b187c86d0a Merge fx-team to m-c. a=merge 2015-06-15 15:49:24 -04:00
Birunthan Mohanathas e95d967ecc Bug 1174612 - Consolidate MEMORY STAT messages into a single line. r=chmanchester 2015-06-15 12:27:35 -07:00
Ehsan Akhgari 8f750a75b2 Bug 1174307 - Add some internal content policy types for the purpose of reflecting them on RequestContext; r=sicking
These new content policy types will be internal ones that we will map
to external nsContentPolicyTypes before passing them to content policy
implementations.
2015-06-15 15:40:26 -04:00
Andrew McCreight a886770a11 Bug 861449 - Incremental css::Rule destroyer. r=dbaron
Destroying large arrays of css::Rules during page teardown can take
multiple milliseconds in incremental CC. To reduce CC pauses, this
patch introduces a new class nsIncrementalClearCOMRuleArray that uses
the deferred finalizer to incrementally destroy these rule arrays.
2015-06-15 12:34:23 -07:00
Ryan VanderMeulen 350215c93f Backed out changeset 068df0223a6c (bug 1125961) for e10s crashes.
CLOSED TREE
2015-06-15 15:27:53 -04:00
Kartikaya Gupta 815a3d5741 Bug 1163572 - Modify UpdateSubFrame to automatically figure out the nsIContent from the scrollId. r=botond 2015-06-15 14:39:06 -04:00
Kartikaya Gupta 171ee5bc2c Bug 1163572 - Have ChromeProcessController also handle root-frame repaint requests. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Kartikaya Gupta ba0013b256 Bug 1163572 - Modify UpdateRootFrame to automatically compute the nsIContent* and nsIPresShell* from the metrics. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Josh Matthews e3e3f30ca2 Bug 1125961 - Allow sending null PBrowser actors when there's a triggering principal which can be used for security checks; r=dragana 2015-06-15 14:35:06 -04:00
Ehsan Akhgari b55ee8ea8e Bug 1075758 - Do not look at the ICU version number when whitelisting the ICU namespace in the clang plugin; r=Waldo 2015-06-15 14:29:28 -04:00
Ryan VanderMeulen c366b2c3f3 Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
CLOSED TREE

--HG--
rename : dom/messagechannel/MessageChannel.cpp => dom/base/MessageChannel.cpp
rename : dom/messagechannel/MessageChannel.h => dom/base/MessageChannel.h
rename : dom/messagechannel/MessagePort.cpp => dom/base/MessagePort.cpp
rename : dom/messagechannel/MessagePort.h => dom/base/MessagePort.h
rename : dom/messagechannel/MessagePortList.cpp => dom/base/MessagePortList.cpp
rename : dom/messagechannel/MessagePortList.h => dom/base/MessagePortList.h
rename : dom/messagechannel/tests/iframe_messageChannel_chrome.html => dom/base/test/iframe_messageChannel_chrome.html
rename : dom/messagechannel/tests/iframe_messageChannel_cloning.html => dom/base/test/iframe_messageChannel_cloning.html
rename : dom/messagechannel/tests/iframe_messageChannel_pingpong.html => dom/base/test/iframe_messageChannel_pingpong.html
rename : dom/messagechannel/tests/iframe_messageChannel_post.html => dom/base/test/iframe_messageChannel_post.html
rename : dom/messagechannel/tests/test_messageChannel.html => dom/base/test/test_messageChannel.html
rename : dom/messagechannel/tests/test_messageChannel.xul => dom/base/test/test_messageChannel.xul
rename : dom/messagechannel/tests/test_messageChannel_cloning.html => dom/base/test/test_messageChannel_cloning.html
rename : dom/messagechannel/tests/test_messageChannel_pingpong.html => dom/base/test/test_messageChannel_pingpong.html
rename : dom/messagechannel/tests/test_messageChannel_post.html => dom/base/test/test_messageChannel_post.html
rename : dom/messagechannel/tests/test_messageChannel_pref.html => dom/base/test/test_messageChannel_pref.html
rename : dom/messagechannel/tests/test_messageChannel_start.html => dom/base/test/test_messageChannel_start.html
rename : dom/messagechannel/tests/test_messageChannel_transferable.html => dom/base/test/test_messageChannel_transferable.html
rename : dom/messagechannel/tests/test_messageChannel_unshipped.html => dom/base/test/test_messageChannel_unshipped.html
2015-06-15 13:06:23 -04:00
Ryan VanderMeulen faad1a38af Backed out changesets 465dfc26cccb and bd11384b3241 (bug 952139) because it depends on bug 911972. 2015-06-15 13:04:02 -04:00
Andrea Marchesini d87596f0b2 Bug 952139 - patch 2 - Expose MessageChannel to workers in mochitests, r=smaug CLOSED TREE 2015-06-15 17:44:08 +01:00
B2G Bumper Bot 1ac299f882 Bumping manifests a=b2g-bump 2015-06-15 09:28:20 -07:00
B2G Bumper Bot 692f2377fa Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/43b90c580707
Author: Tzu-Lin Huang <dwi019@gmail.com>
Desc: Merge pull request #30438 from dwi2/bug1169535

Bug 1169535 - [Stingray] Collapse folder when focus move to filter

========

https://hg.mozilla.org/integration/gaia-central/rev/1e072506be56
Author: Tzu-Lin Huang <tzhuang@mozilla.com>
Desc: Bug 1169535 - [Stingray] Collapse folder when focus move to filter
2015-06-15 09:26:24 -07:00