Andrew McCreight
1575a306bd
Bug 1052793, part 2 - Shrink GC buffers during compartmental GCs. r=terrence
...
With part 1, many more GCs are compartmental, so it is no longer a
good indication that there is heavy activity. If we don't regularly
try to shrink GC buffers, we don't decommit arenas enough, causing a
large regression in memory usage.
2016-02-18 15:21:48 -08:00
Andrew McCreight
8705772a81
Bug 1052793, part 1 - Do per-zone GC for CC_WAITING triggers. r=smaug
2016-02-18 15:21:48 -08:00
Boris Zbarsky
13359b10de
Bug 1249102. Make overrides of WorkerRunnable::PostRun a bit more consistent. r=khuey
...
Specifically we make the following changes:
1) Remove WorkerSameThreadRunnable::PostRun, because it does exactly the same
things as WorkerRunnable::PostRun.
2) Always treat ModifyBusyCountFromWorker as infallible in terms of throwing
JS exceptions.
3) Change ExtendableFunctionalEventWorkerRunnable::PostRun to properly call
its superclass PostRun so we will correctly decrement the busy count our
PreDispatch incremented.
4) Document why some overrides of PreDispatch/PostDispatch are needed and
don't call into the superclass
2016-02-18 18:02:51 -05:00
Jonathan Kew
badce210e1
Bug 1247335 - patch 3 - Check for potential DPI change after moving or resizing nsGlobalWindow. r=emk
2016-02-18 10:47:47 +00:00
Jonathan Kew
cb99502b79
Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk
2016-02-18 10:46:16 +00:00
Boris Chiou
e436478f26
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou
185a769719
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
...
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Andrea Marchesini
01c41693ba
Bug 1245124 - window.open() should open a new tab in the same container, r=gijs, r=smaug
2016-02-18 08:33:07 +00:00
Morris Tseng
d3c7d2389b
Bug 1244118 - Shutdown threadpool when xpcom-shutdown-threads happened. r=roc
...
--HG--
extra : commitid : 6Ka2Zom2Ye5
2016-02-18 14:18:22 +08:00
Boris Zbarsky
3dba4c9b72
Bug 1248719. Fix things so that taking ownership of error reporting on an AutoJSAPI on a worker is OK even if that AutoJSAPI was initialized without an explicit global. r=bholley
2016-02-17 22:56:36 -05:00
Andrea Marchesini
0814fe6588
Bug 1246375 - Restore the previous spec version of FormData, r=smaug
2016-02-17 14:56:19 +00:00
Honza Bambas
bb09f0a670
Bug 1248049 - Don't HTTP cache XHR POSTs, r=jdm
2016-02-16 09:34:00 +01:00
J.C. Jones
70bc936cba
Bug 1231681 - "Implement window.u2f interface". r=baku, r=dkeeler
2016-02-09 16:43:00 +01:00
Xidorn Quan
7f068cc774
Bug 743198 part 11 - Update locales string to the new spelling as well as unprefixed API. r=smaug
...
The main motivation of this patch is to fix the prefixed function name
used in one string. But updated string should have different a different
identifier, otherwise it might be ignored. Since we should eventually
prefer using word "fullscreen" over "full-screen", it is easier to just
change all of them together.
--HG--
extra : source : 1e9ab6a7503102b5562475784510581720bd1bad
2016-02-17 08:47:11 +08:00
Xidorn Quan
775aed278a
Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
...
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Xidorn Quan
52ccd4a553
Bug 743198 part 4 - Rename LogFullScreenDenied to nsIDocument::DispatchFullscreenError, and reuse it in Element::RequestFullscreen. r=smaug
...
--HG--
extra : source : 3896197f9747aab588f6226efce4d67998619407
2016-02-17 08:47:11 +08:00
Xidorn Quan
0007f9248b
Bug 743198 part 3 - Refactor nsDocument::IsFullScreenEnabled to be static local function GetFullscreenError. r=smaug
...
--HG--
extra : source : e628336d1358c0fa5f614a27061809bc5aa08d00
2016-02-17 08:47:11 +08:00
Xidorn Quan
61f1684757
Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
...
--HG--
extra : source : aaf4d12b511ba25ba93e6135cb849a3264435f7c
2016-02-17 08:47:11 +08:00
Xidorn Quan
49647faf41
Bug 743198 part 1 - Drop [Throws] of document.mozFullScreenElement. r=smaug
...
This method actually never throws. IsFullScreenDoc() simply checks
whether GetFullScreenElement() returns nullptr, which means if that
method returns true, the "!el" check would never fail.
--HG--
extra : source : f32a1aeb6835fd4b4c47ef3abe6b9d7366ae4f07
2016-02-17 08:47:11 +08:00
Kyle Huey
31dabb4558
Bug 1247117: De-namespace much of IndexedDB. r=baku
2016-02-16 13:46:08 -08:00
Botond Ballo
45d03919dc
Bug 1238137 - Telemetry pings for main thread scrolling to bring the caret into view after moving it in response to keyboard input. r=ehsan
...
--HG--
extra : commitid : 6E0SPxaKbMl
extra : rebase_source : ca82cafc8b462318ffc5030319546731d9e7a540
extra : histedit_source : 63c1e103a3aaf2ce340b1b4f2276763c16ac2237
2016-02-03 20:36:24 -05:00
Carsten "Tomcat" Book
cef001abd6
merge mozilla-inbound to mozilla-central a=merge
2016-02-16 11:51:26 +01:00
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
ISHIKAWA, Chiaki
be2b50a7f8
Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
...
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check
- the outdated 0666 octal constant is still parsed correctly,
- the outdated 0666 octal constant raises syntax error flag
in strict mode, etc.
So leave them alone.
2016-02-15 08:57:00 +01:00
Jonathan Kew
03b35a5145
Bug 1247049 - Optimize GetScreenXY by using the new nsDeviceContext method to get desktop scale factor. r=emk
2016-02-15 09:07:53 +00:00
Ryo Motozawa
deefe8b274
Bug 1244586 part 3 - Remove unnecessary spaces in dom/base/Element.cpp. r=smaug
2016-02-15 09:34:47 +09:00
Ryo Motozawa
cc127029f8
Bug 1244586 part 1 - Add KeyframeEffect constructor in dom/webidl/KeyframeEffect.webidl. r=smaug,birtles
2016-02-15 09:34:47 +09:00
Christoph Kerschbaumer
27f2dec937
Bug 1247807 - Fix Mixed Content UI when using upgrade-insecure-requests (r=bz)
2016-02-12 14:51:07 -08:00
Mats Palmgren
28b48ce024
Bug 1216001 part 2 - Optimize nsRange::ExcludeNonSelectableNodes by counting ignorable whitespace text nodes next to an unselectable node as unselectable too. r=bz
2016-02-13 18:40:23 +01:00
Mats Palmgren
f3949ab1d3
Bug 1216001 part 1 - Optimize nsRange::IsNodeSelected. r=bz
2016-02-13 18:40:23 +01:00
Andrea Marchesini
f114621a79
Bug 1248022 - ConsoleEvent.styles can be a sequence of nullable strings, r=bz
2016-02-13 16:08:17 +00:00
Jonathan Kew
c0a5d86d94
Bug 1246346 - patch 2 - Correct the origin of the DOM screen coordinates (screen.left, screen.top) for secondary display on a mixed-DPI configuration. r=emk
2016-02-12 11:08:58 +00:00
Phil Ringnalda
9d0e08b626
Back out 3 changesets (bug 1216001) for Win8 reftest failures in 1193519-sideways-lr-3.html and 1193519-sideways-lr-4.html and intermittent OS X failures in font-display-2.html
...
CLOSED TREE
Backed out changeset dbadb8fe5803 (bug 1216001)
Backed out changeset a30593ebd58e (bug 1216001)
Backed out changeset c1646ffa71b4 (bug 1216001)
2016-02-11 20:43:41 -08:00
Mats Palmgren
41740a7ab3
Bug 1216001 part 2 - Optimize nsRange::ExcludeNonSelectableNodes by counting ignorable whitespace text nodes next to an unselectable node as unselectable too. r=bz
2016-02-12 02:13:57 +01:00
Mats Palmgren
a3c53b91a3
Bug 1216001 part 1 - Optimize nsRange::IsNodeSelected. r=bz
2016-02-12 02:13:57 +01:00
Deepthi Venkitaramanan
008e6b8991
Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky
2016-02-11 17:50:42 -05:00
Matt Wobensmith
22c63dd7b5
Bug 1246227 - Remove SEC_NORMAL from dom/base/test (r=ckerschb)
2016-02-10 14:44:15 -08:00
Nathan Froyd
69d27155df
Bug 1247362 - move mAnonymousGlobalScope tracing into nsMessageManagerScriptExecutor; r=mccr8
2016-02-09 17:08:53 -05:00
Andrea Marchesini
a1204e41a8
Bug 1245957 - Adding assertions in Console about in which thread is running what, r=bz
2016-02-11 17:11:02 +00:00
Andrea Marchesini
e20d589c0b
Bug 1245954 - Console StartTimer/StopTimer and IncrementCounter should run in the owning thread, r=bz
2016-02-11 17:09:22 +00:00
Alexander Surkov
21059cdc0b
Bug 1247364 - add AllChildrenIterator::Seek, r=bz
2016-02-11 08:22:39 -05:00
Carsten "Tomcat" Book
f8f6be136b
Backed out changeset 84b8eef80b22 (bug 1234813
)
...
--HG--
extra : rebase_source : e11b61b728cfde2f6b807f1bcffbe932585ac8db
2016-02-11 11:32:32 +01:00
Christoph Kerschbaumer
1eafcb40c7
Bug 1234813
- sendBeacon should not throw if blocked by Content Policy. r=rbarnes
2015-12-23 11:50:05 -08:00
Aidin Gharibnavaz
686438c658
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-10 08:23:00 +01:00
Nicholas Nethercote
8c78eddc4e
Bug 1246846
(part 1) - Avoid nsTHashtable::RawRemoveEntry() in dom/. r=bz.
...
This assumes that it's safe to possibly shrink the tables after the removal,
i.e. there are no surprising subtleties with how these tables are managed.
--HG--
extra : rebase_source : 2012becaa759d4330910534375b7ac2a9839fe50
2016-02-09 13:52:21 +11:00
Kartikaya Gupta
7c935ef5ba
Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
...
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Valentin Gosu
35e6e18584
Bug 583170 - Handling IPv6 literal address differently to other browsers r=bz
2016-02-10 13:13:00 +01:00
Jorg K
af4cfedcf9
Bug 1230163 - White-space copy issue: Add conditional compile also for SeaMonkey. r=ehsan
2016-02-09 06:47:00 +01:00
Boris Zbarsky
7655d2a3f8
Bug 1245554. Window's named properties object should not claim to have duplicates of a given property name if it has multiple iframes with that name. r=peterv
...
The web platform test was pretty buggy in a few ways:
1) It claimed that "bar" should be non-writable and enumerable. This
explicitly contradicts the spec:
http://heycam.github.io/webidl/#named-properties-object-getownproperty step 3
substep 8 sets [[Writable]] to true, and
https://html.spec.whatwg.org/multipage/browsers.html#named-access-on-the-window-object
explicitly says these properties are unenumerable.
2) It claimed that "constructor" should be exposed on the named properties
object. But the named property visibility algorithm obviously returns false
for that property name, so it should not be exposed.
2016-02-09 17:40:45 -05:00
Boris Zbarsky
24566ec012
Bug 1243001 part 7. Stop wrappercaching dom::Promise when SPIDERMONKEY_PROMISE is defined. r=peterv
...
nsWrapperCache expects the object it stores to have an ObjectMoved op that will
notify the wrapper cache when the object is moved. SpiderMonkey promises don't
have a way to do this.
The XPCConvert changes are needed to allow code that passes around Promise
objects as nsISupports to continue working instead of ending up with
double-wrapped nsISupports (XPCWrappedNative for an nsISupports XPCWrappedJS)
around the SpiderMonkey Promise.
2016-02-09 17:40:31 -05:00