Commit Graph

4741 Commits

Author SHA1 Message Date
Chris Lord
7d43540082 Backed out changeset e3b5dca30ade (bug 907743) for build failure on Windows on a CLOSED TREE 2013-11-26 14:13:23 +00:00
Chris Lord
98a203fe7a Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Olli Pettay
fa64f21519 Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Ehsan Akhgari
5a56056193 Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Chris Peterson
922256a202 Bug 757726 - Part 6a: Add support for cloaking plugin names in navigator.plugins and navigator.mimeTypes enumeration. r=johns sr=bsmedberg 2013-10-31 22:19:09 -07:00
Ryan VanderMeulen
94ddc2e1d9 Merge m-c to inbound. 2013-11-21 11:37:10 -05:00
Carsten "Tomcat" Book
9f47cb96d7 merge mozilla-inbound to mozilla-central 2013-11-21 14:20:21 +01:00
Andrew McCreight
319fed2c0e Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug 2013-11-20 14:35:17 -08:00
Andrew McCreight
8953ed7683 Bug 935721, part 6 - Replace ccResults with aResults in EndCycleCollectionCallback. r=smaug
This is done in a separate patch to reduce the size of the previous patch a bit.
2013-11-20 14:35:16 -08:00
Andrew McCreight
3eed280708 Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks.  This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.

Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Ben Kelly
3a6863e700 Bug 924565: Part 3: Add tests verifying DOMRequestHelper cleanup and weak ref behavior. r=fabrice 2013-11-20 13:33:24 +08:00
Ben Kelly
f0de40df93 Bug 924565: Part 2: Use weak observer reference for DOMRequestHelper. r=fabrice 2013-11-20 13:33:18 +08:00
Boris Zbarsky
4c293cf8e4 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
Edgar Chen
d4456d6d0c Bug 814637 - Part 3: DOM changes for IccManager support multiple sim. f=hsinyi. r=smaug 2013-10-09 17:40:12 +08:00
Ryan VanderMeulen
73463a4880 Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Botond Ballo
b75d9dd1de Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
Nathan Froyd
d52098a8d7 Bug 940170 - part 3 - constify PLDHashTableOps in dom/; r=bz 2013-11-18 21:53:12 -05:00
Ehsan Akhgari
1c75e7c443 Bug 939580 - #include LOCAL_INCLUDES after the source dir and current dir includes; r=gps 2013-11-19 14:10:15 -05:00
Ryan VanderMeulen
3687a05ea2 Backed out changesets 7e5acb32bd11 and 427cd48f6c6d (bug 922094) for Windows debug mochitest-4 crashes.
CLOSED TREE
2013-11-19 12:55:01 -05:00
Nathan Froyd
480ca243ab Bug 922094 - part 2 - make nsGlobalWindow report its proto/iface cache size, if appropriate; r=bz 2013-11-13 16:43:47 -05:00
Nathan Froyd
84360c4d9b Bug 922094 - part 1 - report proto/iface cache size to about:memory; r=njn 2013-11-13 16:43:25 -05:00
Jan Varga
4752b723fe Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Bobby Holley
8b0fb2235d Bug 939166 - Be more direct in GetStaticScriptGlobal. r=bz
This can all collapse because of the following facts:
* Ever since we introduced SandboxPrivate, we never actually use a Window
  as an SOP for a sandbox.
* nsGlobalWindow is actually the only thing that implements nsIScriptGlobalObject.
2013-11-20 08:48:00 -08:00
Bobby Holley
d4d3011edd Bug 940783 - Throw when accessing properties and methods on history objects in non-active documents. r=bz 2013-11-20 08:47:59 -08:00
Benoit Jacob
c76743d879 Bug 940717 - Unify the IsChromeURI functions we have in various places - r=ehsan 2013-11-20 11:29:03 -05:00
Benoit Jacob
f43a5fda38 Bug 940191 - Build dom/base in unified mode - r=ehsan 2013-11-20 11:29:03 -05:00
Tareq Khandaker
c0715c9975 Bug 925847 - WorkerNavigator does not implement all of NavigatorID. r=nsm 2013-11-20 09:29:01 -05:00
Ed Morley
2ac7edcee1 Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Olli Pettay
54a85b044d Bug 847763, add a way to prevent an iframe to take focus, (pref'ed off by default), r=jst
--HG--
extra : rebase_source : b2539bd99aebec59bc1d540e0502e1a5693f25ba
2013-11-20 00:21:16 +02:00
Carsten "Tomcat" Book
381f762d9f Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
2013-11-19 11:41:52 +01:00
Jan Varga
a1c86d73e5 Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
9fe772e7fd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ed Morley
e27c3b1f4f Merge latest green b2g-inbound changeset and mozilla-central 2013-11-18 10:54:01 +00:00
"Kan-Ru Chen (陳侃如)"
0db54ecb73 Bug 931746 - Make sure all mozbrowser mm are in the target chain. r=smaug
---
 dom/base/nsGlobalWindow.cpp                        |    8 ++
 dom/base/test/file_empty.html                      |    1 +
 dom/base/test/mochitest.ini                        |    2 +
 dom/base/test/test_messagemanager_targetchain.html |  129 ++++++++++++++++++++
 4 files changed, 140 insertions(+)
 create mode 100644 dom/base/test/file_empty.html
 create mode 100644 dom/base/test/test_messagemanager_targetchain.html
2013-11-17 01:07:24 +08:00
Robert Longson
35179a17ac Bug 939445 - general.appname.override has stopped working. r=smaug 2013-11-17 23:10:15 +00:00
Tom Schuster
0d6b6b163b Bug 939194 - Remove jsval event listeners. r=bz 2013-11-16 13:31:37 +01:00
Tom Schuster
f311064c6e Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
6b38d3ca3d Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
73332ed177 Bug 939194 - Remove jsval event listeners. r=bz 2013-11-16 13:31:37 +01:00
Tom Schuster
dd485f9336 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ryan VanderMeulen
25f4dc9657 Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Peter Van der Beken
86181bcd60 Bug 935786 - Assertion failure: !IsInnerWindow() || IsCurrentInnerWindow() at nsGlobalWindow.cpp:8909. r=smaug
CLOSED TREE
2013-11-13 09:47:37 +01:00
Bobby Holley
15add0796f Bug 840488 - Remove per-JSContext script toggling. r=bz
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Bobby Holley
70289cf621 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
2c448611f5 Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
6c0f7db3c4 Bug 840488 - Refactor Gecko to provide a more direct API to ask whether script is allowed for a given global. r=bz 2013-11-12 16:43:31 -08:00
Garner Lee
d2cbb92ee9 Bug 674741 - Part 2: NFC DOM Boilerplate. r=smaug
--HG--
extra : rebase_source : e3a2a50da058df3bae914d748d7e4e8965a5134f
2013-10-02 15:09:08 -07:00