Commit Graph

4915 Commits

Author SHA1 Message Date
Nicholas Nethercote
374aa9dfb5 Bug 943660 (attempt 2) - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
--HG--
extra : rebase_source : 4381c3c424e34198b83c45fa0ac0d9a670bab2b8
2013-11-26 18:38:50 -08:00
Mike Hommey
2f727b6d62 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Luke Wagner
ffe398ce2a Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Ehsan Akhgari
957da38a71 Backed out changeset 076bf878c59a (bug 942432) for build bustage 2013-11-26 22:14:23 -05:00
Olli Pettay
dfb86d51d8 Bug 942432 - Remove nsIJSEventListener::mContext, r=bz
--HG--
extra : rebase_source : 0339018010bd6a079080f603db231837bfa9bf00
2013-11-27 03:40:49 +02:00
Jan Beich
ab1fb63ebb Bug 942921 - Explicitly include unistd.h for getpid() for non-Linux debug builds. r=smaug 2013-11-26 17:25:24 -05:00
Ryan VanderMeulen
9071a054e6 Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE. 2013-11-26 14:58:09 -05:00
Ryan VanderMeulen
f46648bc41 Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
CLOSED TREE
2013-11-26 14:12:05 -05:00
Benoit Jacob
6c51ca326b Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-26 14:00:29 -05:00
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
b038245b8d Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
f3b13f559e Bug 943660 - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
--HG--
extra : rebase_source : f2ccff7972d7161e2290fd3db70463524c55f230
2013-11-26 18:38:50 -08:00
Boris Zbarsky
cf06e27fb2 Bug 943418. Check for active documents, not current inners, in History APIs. r=bholley 2013-11-27 11:16:07 -05:00
Benoit Jacob
406f766862 Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-27 10:19:34 -05:00
Chris Lord
e19e0f1113 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
Chris Lord
fbbaf509a8 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
c4ee9b8e05 Bug 942432 - Remove nsIJSEventListener::mContext, r=bz 2013-11-27 11:12:41 +02:00
Markus Stange
66dccf3af2 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Olli Pettay
8811aec37f Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Ehsan Akhgari
1482ff3f90 Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Bobby Holley
9fc70d3f91 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Bobby Holley
b548f86f52 Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-06 12:01:42 -08:00
Bobby Holley
1a8a1b2498 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-06 12:01:42 -08:00
Bobby Holley
b46c066b97 Bug 937317 - Manipulate the script settings stack from the RAII classes. r=bz 2013-12-06 12:01:42 -08:00
Bobby Holley
1638458354 Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-06 12:01:41 -08:00
Bobby Holley
d741772187 Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz 2013-12-06 12:01:41 -08:00
Chris Peterson
4b4092ff72 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
4e2f345770 Merge m-c to inbound. 2013-11-21 11:37:10 -05:00
Carsten "Tomcat" Book
04f396a0c7 merge mozilla-inbound to mozilla-central 2013-11-21 14:20:21 +01:00
Andrew McCreight
08b67b0ec5 Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug 2013-11-20 14:35:17 -08:00
Andrew McCreight
4129357569 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
9c3c29695f 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
79fa181ef6 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
5d5ec59993 Bug 924565: Part 2: Use weak observer reference for DOMRequestHelper. r=fabrice 2013-11-20 13:33:18 +08:00
Boris Zbarsky
a7501e7c35 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
6c08e67fcb 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
9c7728d496 Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Botond Ballo
20adb2fb8e Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
Nathan Froyd
745a1e12ba Bug 940170 - part 3 - constify PLDHashTableOps in dom/; r=bz 2013-11-18 21:53:12 -05:00
Ehsan Akhgari
ba57b7d723 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
3071b59161 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
6fd47625a2 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
63ed2c5da4 Bug 922094 - part 1 - report proto/iface cache size to about:memory; r=njn 2013-11-13 16:43:25 -05:00
Jan Varga
340148eccf 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
688bba41bf 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
3c36953b2d 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
8b59628554 Bug 940717 - Unify the IsChromeURI functions we have in various places - r=ehsan 2013-11-20 11:29:03 -05:00
Benoit Jacob
2de7a871ee Bug 940191 - Build dom/base in unified mode - r=ehsan 2013-11-20 11:29:03 -05:00
Tareq Khandaker
01f3a4a9ee Bug 925847 - WorkerNavigator does not implement all of NavigatorID. r=nsm 2013-11-20 09:29:01 -05:00
Ed Morley
f11b71bada Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Olli Pettay
002a33f11e 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
52bb79098d 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
0d595eff6d 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
931cb49886 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
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f81885e53b 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
5e628fad90 Merge latest green b2g-inbound changeset and mozilla-central 2013-11-18 10:54:01 +00:00
"Kan-Ru Chen (陳侃如)"
bb2c790047 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
8a131918fa Bug 939445 - general.appname.override has stopped working. r=smaug 2013-11-17 23:10:15 +00:00
Tom Schuster
19de9a188f Bug 939194 - Remove jsval event listeners. r=bz 2013-11-16 13:31:37 +01:00
Tom Schuster
f052cdba92 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2 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
1aa036c72c Bug 939194 - Remove jsval event listeners. r=bz 2013-11-16 13:31:37 +01:00
Tom Schuster
a12aa024e6 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Peter Van der Beken
3bba715683 Bug 935786 - Assertion failure: !IsInnerWindow() || IsCurrentInnerWindow() at nsGlobalWindow.cpp:8909. r=smaug
CLOSED TREE
2013-11-13 09:47:37 +01:00
Bobby Holley
23cf12e7bb 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
a10c940425 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
260c41dfe4 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
d071bd541c 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
d00111d196 Bug 674741 - Part 2: NFC DOM Boilerplate. r=smaug
--HG--
extra : rebase_source : e3a2a50da058df3bae914d748d7e4e8965a5134f
2013-10-02 15:09:08 -07:00
Michael Henretty
9d1c4d1612 Bug 882186 - [System] Replace blue offline error page with new UX. Window.close part. r=fabrice 2013-11-07 17:42:32 -08:00
Jessica Jong
b98491cf33 Bug 814629 - Part 4: MobileConnectionArray implementation. f=hsinyi r=khuey 2013-11-13 16:51:23 +08:00
Olli Pettay
721a4ec61c Bug 937303 - Make CC logger to pass information about compartments, r=mccr8 2013-11-12 15:53:51 +02:00
Nathan Froyd
1fb474dfb7 Bug 937227 - zero-initialize fields in nsWindowSizes; r=njn 2013-11-11 14:18:49 -05:00
Vendelin Ruzicka
2db8a81a6e Bug 933563 - Consolidate ReportUseOfDeprecatedMethod and WarnOnceAbout. r=sicking, r=ms2ger 2013-11-11 16:12:18 -05:00
Terrence Cole
d2021bdd1c Bug 936040 - Fix a rooting analysis false positive in nsWindowSH::PostCreate; r=smaug
--HG--
extra : rebase_source : c295bd28a4413c67fe242f0bcce476037f0d7fee
2013-11-07 08:27:47 -08:00
Olli Pettay
8a8cc168d3 Bug 936969, make sure to null check the return value of GetFrameElementInternal(), r=bholley
--HG--
extra : rebase_source : 91f1276627c6f31aa2d8de18a1dfc8d8ee533bec
2013-11-11 18:56:45 +02:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Ms2ger
bd6c1c7dc9 Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal 2013-11-11 09:04:11 +01:00
Ms2ger
2d2f7fa030 Bug 921718 - Part b: Move MediaList to WebIDL; r=bz 2013-11-11 09:03:17 +01:00
Carsten "Tomcat" Book
16a52dceab merge mozilla-inbound to mozilla-central 2013-11-11 08:50:14 +01:00
Tim Taubert
1d71a46236 Bug 934091 - Add current process ID to the {++|--}{DOMWINDOW|DOCSHELL} debug output r=smaug
From cbc766c3d5bae69f438bdc096f935c40e23b0f36 Mon Sep 17 00:00:00 2001
2013-11-07 09:53:04 +01:00
Peter Van der Beken
a6a9c73556 Bug 935283 Keep document as a data property on window for now. r=bz 2013-11-06 10:21:36 +01:00
Garrett Robinson
e97987f422 Bug 855326 - CSP 1.1 nonce-source for scripts and styles r=mrbkap r=dholbert r=geekboy 2013-11-08 15:44:39 -08:00
Jeff Walden
f775bf0ab0 Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Daniel Holbert
0d7ef379ad backout 57213b64023b (bug 855326) for build bustage in debug builds
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
7cbc01f239 Bug 855326 - CSP 1.1 nonce-source for scripts and styles. r=mrbkap r=dholbert r=geekboy 2013-11-08 09:20:43 -08:00
Wes Kocher
f99a9e4b8e Merge m-c to inbound 2013-11-07 17:56:10 -08:00
Paul Rouget
d5c2ff9d10 Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz 2013-11-07 14:40:23 +01:00
Terrence Cole
cf9c9d2ef6 Bug 931912 - Suppress an exact rooting hazard false positive in nsWindowSH::Finalize; r=sfink
--HG--
extra : rebase_source : 3934e7cd7e21e37de20aadac203db6a285021691
2013-11-05 15:02:35 -08:00
Vendelin Ruzicka
b63fda4d66 Bug 933040 - Warn for showModalDialog uses. r=jst, r=sicking 2013-11-06 08:59:54 -05:00
Reuben Morais
d4256d98ac Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Ryan VanderMeulen
8920f1cca6 Merge inbound to m-c. 2013-11-05 15:28:52 -05:00
Kyle Huey
a754cd2b5a Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Kyle Huey
ea257d882d Bug 934785: Only change the popup control state on the main thread. r=smaug 2013-11-05 22:16:26 +08:00
Kyle Huey
90d7e97201 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Kyle Huey
f8c3be104e Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-11-05 22:16:24 +08:00
Alfredo Yang
08159d8a3e Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 16:29:52 +08:00
Kan-Ru Chen (陳侃如)
bbe73cebbf Backout 6d33ac3a2b14 2013-11-05 14:59:22 +08:00
Alfredo Yang
6d3246b7b3 Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 14:08:45 +08:00
Ryan VanderMeulen
6cddc919e9 Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
a73e42176b Bug 934203 - Windows-only startup crash in JS_WrapValue(JSContext*, JS::MutableHandle<JS::Value>) with Twitter Disconnect / Facebook Disconnect. r=bz.
--HG--
extra : rebase_source : 2ee7a6f417ea3611d21d5e8efd01caf2b9692a0c
2013-11-04 14:18:01 +01:00
Peter Van der Beken
1f5317edd4 Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Peter Van der Beken
293a79ca3f Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects, additional fixes. r=smaug.
--HG--
extra : rebase_source : 40c7cdbe6baa9c7596ecf9eb67c917c95f9b2351
2013-11-01 14:31:00 +01:00
Peter Van der Beken
a698fa6357 Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects. r=smaug.
--HG--
extra : rebase_source : add310c90bafed468345647c61404c8e9971087b
2013-10-16 18:11:24 +02:00
Peter Van der Beken
86a3955c9b Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00
Peter Van der Beken
1c0a0ef319 Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects, additional fixes. r=smaug.
--HG--
extra : rebase_source : 71604344bd4d50dbce7d1364ab2d88f0ee5d2175
2013-11-01 14:31:00 +01:00
Peter Van der Beken
75f4a4444c Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects. r=smaug.
--HG--
extra : rebase_source : 21c472ff3917bc386664050e761b4297cbdfa3a9
2013-10-16 18:11:24 +02:00
Trevor Saunders
3a7b718549 bug 935325 - merge nsIScriptGlobalObjectOwner into nsIDocShell r=smaug 2013-05-27 06:07:01 -04:00
Ryan VanderMeulen
2cd9baaad6 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Jeff Walden
ed9fef3e20 Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Robert O'Callahan
198bf75d39 Bug 911889. Part 4. Add API to detect whether an nsGlobalWindow is running a timeout handler. r=bz 2013-09-04 23:37:46 +12:00
Chris Peterson
ba2a1f7077 Bug 757726 - Part 4: Consolidate duplicate code into EnsurePlugins() and EnsureMimeTypes(). r=johns 2013-10-20 00:05:05 -07:00
Chris Peterson
50ae435a54 Bug 757726 - Part 3: Refactor nsPluginArray::GetPlugins() to GetMimeTypes(). r=johns 2013-10-17 00:19:43 -07:00
Ed Morley
e6ff33121d Merge mozilla-central and b2g-inbound 2013-11-01 13:17:37 +00:00
Ed Morley
641a5b27d4 Merge latest green b2g-inbound changeset and mozilla-central 2013-11-01 13:14:45 +00:00
Ed Morley
8355addd46 Merge latest green inbound changeset and mozilla-central 2013-11-01 13:13:15 +00:00
Tim Chien
16e3381dba Bug 915570 - Rename 'keyboard' permission and role to 'input'. r=yxl 2013-11-01 09:01:14 -04:00
Fabrice Desré
e5095467d5 Bug 914843 - fix gfx issue on oop b2g linux. r=nrc 2013-10-31 23:36:02 -07:00
Doug Turner
ac37f38bda Backing out 987b3ec24f68 2013-10-31 20:25:46 -07:00
Ryan VanderMeulen
3181194b69 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Ryan VanderMeulen
c80a525c6d Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Nikhil Marathe
872de5b60d Bug 933010 - AsyncErrorReporter takes bool isChromeError. r=bz 2013-10-30 16:17:36 -07:00
Terrence Cole
23cbf4b678 Bug 932466 - Fix two exact rooting hazards in dom; r=smaug
--HG--
extra : rebase_source : 8085170b6ab76912962c19dce9e409e2f6026058
2013-10-28 12:35:52 -07:00
Mason Chang
aca0339320 Bug 927633 - Move UA overrides to the child process. r=jchen 2013-10-31 10:09:06 -04:00
Peter Van der Beken
6d05d1ef9e Bug 931768 - Mark openDialog ChromeOnly. r=bz.
--HG--
extra : rebase_source : ac7f71f50428e9a3f0a2c76f394ef1065bd7dc99
2013-10-28 22:03:15 +01:00
Peter Van der Beken
cc247de445 Bug 931794 - startup crash in mozilla::dom::WindowBinding::get_content with Twitter Disconnect, Facebook Disconnect, or Google Disconnect on 2013-10-28 nightly. r=bz.
--HG--
extra : rebase_source : f3a20721f5333fbf6f5e16deb045f4aff4df9955
2013-10-28 22:03:07 +01:00
Phil Ringnalda
b679ae2f4c Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Ed Morley
4326269d4b Merge mozilla-central and b2g-inbound 2013-10-29 16:34:46 +00:00
Vicamo Yang
17e058673d Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey 2013-10-29 16:12:45 +08:00
Vicamo Yang
260f5d4169 Bug 920551 - 2.e/2: fix MobileConnection. r=hsinyi,khuey 2013-10-29 16:12:41 +08:00
Vicamo Yang
8c0916e23c Bug 920551 - 2.d/2: fix ICC. r=hsinyi,khuey 2013-10-29 16:12:40 +08:00
Vicamo Yang
c13036d07b Bug 920551 - 2.b/2: fix Telephony. r=hsinyi,khuey 2013-10-29 16:12:38 +08:00
Nicholas Nethercote
b38b84f869 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Peter Van der Beken
69e7c5ae55 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Alfredo Yang
087493b7e7 Bug 853356 - Part 3: Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-10-26 21:20:09 -04:00
Tom Schuster
ce701cf26f Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Ms2ger
88bbf03777 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Ed Morley
0e4322094c Merge latest green b2g-inbound changeset and mozilla-central 2013-10-25 17:27:25 +01:00
Olli Pettay
7763e77565 Bug 930498 - BarProps should be got from the inner window not from the outer, r=peterv 2013-10-25 14:12:01 +03:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Terrence Cole
05b45c0c0f Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Olli Pettay
f5b4c2c4ee Bug 917026, remove few bogus NS_NOTREACHEDs from TabChild and make window.blur() not throw, r=felipe
--HG--
extra : rebase_source : feee4546e52bf2b92f92c63d31538aadef7ad877
2013-10-24 23:57:19 +03:00
Terrence Cole
5183b7f1c3 Bug 930101 - Fix an exact rooting hazard in JSObjectFromInterface; r=smaug 2013-10-23 15:33:00 -07:00
Trevor Saunders
e4cd176c9e [PATCH] bug 922566 - kill dom-config.mk
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
 content/media/webspeech/recognition/Makefile.in |  1 -
 content/media/webspeech/recognition/moz.build   |  5 +-
 content/media/webspeech/synth/Makefile.in       |  1 -
 content/media/webspeech/synth/pico/Makefile.in  |  3 --
 dom/alarm/Makefile.in                           |  2 -
 dom/apps/src/Makefile.in                        |  1 -
 dom/base/Makefile.in                            |  2 -
 dom/base/moz.build                              | 26 ++++++++++-
 dom/battery/Makefile.in                         |  1 -
 dom/bindings/Makefile.in                        |  3 --
 dom/bindings/moz.build                          | 17 ++++++-
 dom/bindings/test/Makefile.in                   |  5 +-
 dom/bluetooth/Makefile.in                       |  2 -
 dom/bluetooth/moz.build                         |  7 ++-
 dom/browser-element/Makefile.in                 |  3 --
 dom/browser-element/moz.build                   |  6 ++-
 dom/camera/Makefile.in                          |  1 -
 dom/camera/moz.build                            |  5 +-
 dom/devicestorage/Makefile.in                   |  1 -
 dom/dom-config.mk                               | 61 -------------------------
 dom/encoding/Makefile.in                        |  1 -
 dom/fmradio/Makefile.in                         |  2 -
 dom/fmradio/ipc/Makefile.in                     |  1 -
 dom/fmradio/ipc/moz.build                       |  5 +-
 dom/fmradio/moz.build                           |  5 +-
 dom/icc/src/Makefile.in                         |  4 --
 dom/media/Makefile.in                           |  3 --
 dom/media/moz.build                             |  6 ++-
 dom/mobilemessage/src/Makefile.in               |  1 -
 dom/mobilemessage/src/moz.build                 |  5 +-
 dom/network/src/Makefile.in                     |  2 -
 dom/plugins/base/Makefile.in                    |  1 -
 dom/plugins/base/moz.build                      |  8 +++-
 dom/power/Makefile.in                           |  1 -
 dom/quota/Makefile.in                           |  1 -
 dom/system/gonk/Makefile.in                     |  2 -
 dom/telephony/Makefile.in                       |  1 -
 dom/time/Makefile.in                            |  1 -
 dom/wifi/Makefile.in                            |  5 --
 39 files changed, 85 insertions(+), 123 deletions(-)
 delete mode 100644 dom/dom-config.mk
 delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Ehsan Akhgari
9bc16fac73 Bug 930583 - Stop #including nsEventStateManager in nsWindowRoot.h and nsDocument.h; r=smaug 2013-10-24 14:53:52 -04:00
Peter Van der Beken
df4301d42d Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz.
--HG--
extra : rebase_source : e4bed124f36e94e1aa646b24783f7f2c682e31b5
2013-10-08 17:51:15 +02:00
Cervantes Yu
cb0bfafb70 Bug 878366: don't send send out messages of PContendPermissionRequest if the managing TabParent is being destroyed. r=bent 2013-10-17 06:25:50 +08:00
Olli Pettay
230d45d41e Bug 927901, bind .crypto to inner, not outer window, r=khuey
--HG--
extra : rebase_source : 801a257d7ca697c200537647f89302e84c1636ba
2013-10-24 19:25:39 +03:00
Robert O'Callahan
2f979dbeb4 Bug 911889. Part 4. Add API to detect whether an nsGlobalWindow is running a timeout handler. r=bz
--HG--
extra : rebase_source : 17eabb4f819748ab9ec0ef38681c28df7b0a1861
2013-09-04 23:37:46 +12:00
Birunthan Mohanathas
7b51758e7a Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Nils Maier
429701a912 Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process. r=njn 2013-10-28 04:53:00 +00:00
Eddy Bruel
874a5f30e3 Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey 2013-10-28 12:51:05 +01:00
Eddy Bruel
cd04b4c477 Bug 880330 - Refactor dom to use the new options API (1/2); r=khuey 2013-10-28 12:48:23 +01:00
Kyle Huey
c3940c243e Bug 904720: Count event listeners. r=njn,smaug 2013-10-28 17:47:18 +08:00
Boris Zbarsky
5d7d701964 Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ed Morley
9d319b42f1 Backed out changeset fd177e58f30b (bug 922160) 2013-10-23 15:51:21 +01:00
Peter Van der Beken
fd440fa746 Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz
--HG--
extra : rebase_source : acb2edc950b13a16621421801779caf496663595
2013-10-08 17:51:15 +02:00
Nicholas Nethercote
d58b8ff6f4 Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Masayuki Nakano
9b468c47c3 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Kyle Huey
4801b8ae53 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Wes Kocher
4b91a0b098 Merge m-c to inbound 2013-10-22 18:43:11 -04:00
Wes Kocher
348cfdc998 Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Vicamo Yang
e773c2b3d9 Bug 814556 - 2/2: clean up MOZ_B2G_RIL in browser/installer/package-manifest.in and dom/base/Navigator.*. r=khuey, f=Ms2ger 2013-10-22 19:23:04 +08:00
Vicamo Yang
8095b80694 Bug 814556 - 1/2: Move mozilla::dom::icc::* to mozilla::dom. r=khuey, f=Ms2ger 2013-10-22 19:23:00 +08:00
Masayuki Nakano
ef895616c5 Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
Trevor Saunders
d33d8939a0 Backed out changeset 99b17c404db2 and e40a964458f8 for landing stuff that shouldn't have and then backing out stuff that should have stayed on a CLOSED TREE
--HG--
extra : amend_source : 54312955270ea4098a3add3cd0708866de2e40bb
2013-10-21 18:58:14 -04:00
Andrew McCreight
4aebf692a5 Bug 928655 - Set dom::Exception::mThrownJSVal to null in Unlink. r=khuey 2013-10-19 11:59:31 -07:00
Trevor Saunders
aba3fa9503 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Tom Schuster
c4c16b0062 Bug 884410 - Remove JS_ValueToNumber. r=terrence 2013-10-19 18:39:52 +02:00
Andrea Marchesini
f703a01ee7 Bug 927735 - TypeError check for URL API. r=ehsan 2013-10-18 10:17:03 -04:00
Carsten "Tomcat" Book
9d22415bcf Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Carsten "Tomcat" Book
81022cc152 merge b2g-inbound to mozilla-central 2013-10-18 11:39:28 +02:00
Fernando Jiménez
6eb735dc00 Bug 924971 - [Contacts] Trying to add a contact as a recipient opens contact details instead of returning to Messages app. r=fabrice 2013-10-18 12:58:24 +02:00
Fernando Jiménez
750c46eb12 Bug 927398 - Missing call to .uninit() in DOMRequestHelper. r=fabrice 2013-10-18 12:58:24 +02:00
Vicamo Yang
c4bf3de5f9 Bug 915604: Hide RIL DOM APIs from regular Web pages. r=khuey, f=emk 2013-10-18 04:51:27 +08:00
Steve Fink
5e205630fc Backed out changeset 5349c5c0d9f8 (bug 924971) for M-oth failures
Backed out from a CLOSED TREE
2013-10-17 15:52:51 -07:00
Steve Fink
89bb8d36d3 Backed out changeset 03b50ae14f9b (bug 927398) for M-oth failures
Backed out from a CLOSED TREE
2013-10-17 15:52:46 -07:00
Olli Pettay
9d22dfaccc Bug 927586 - [@ nsDOMWindowUtils::GetIsTestControllingRefreshes(bool*)], add a null check, r=mccr 2013-10-18 00:50:24 +03:00
Fernando Jiménez
3f78ade1ba Bug 927398 - Missing call to .uninit() in DOMRequestHelper. r=fabrice 2013-10-17 22:29:59 +02:00
Fernando Jiménez
13a422d8b3 Bug 924971 - [Contacts] Trying to add a contact as a recipient opens contact details instead of returning to Messages app. r=fabrice 2013-10-17 22:29:59 +02:00
Steve Fink
4c4942bd9b Bug 925916 - Random minor code cleanups, r=smaug 2013-10-15 15:34:13 -07:00
Steve Fink
6472996e52 Bug 925916 - Handlify WrapNative, r=smaug 2013-10-11 22:02:39 -07:00
Andrea Marchesini
3ceab08516 Bug 926890 - Throw JavaScript exceptions for URL, r=ehsan 2013-10-16 16:04:26 +02:00
Masayuki Nakano
6931c6e1e5 Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Wes Kocher
8c3f67ddfc Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
1aa705c5d8 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Nathan Froyd
8b099b3a6d Bug 928916 - use services::GetObserverService more in dom/; r=smaug 2013-10-21 08:58:12 -04:00
Tom Schuster
f59a4cd93b Bug 8844105 - Handlify JS_WrapObject. r=terrence 2013-10-15 20:02:23 -04:00
Ryan VanderMeulen
a80b1ea22a Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
80a708caab Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Kyle Huey
c3788e3653 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-10-14 19:58:05 +08:00