Commit Graph

4774 Commits

Author SHA1 Message Date
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
Michael Henretty
6e5f233f7d 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
19cf0f678f Bug 814629 - Part 4: MobileConnectionArray implementation. f=hsinyi r=khuey 2013-11-13 16:51:23 +08:00
Olli Pettay
d17708e1fb Bug 937303 - Make CC logger to pass information about compartments, r=mccr8 2013-11-12 15:53:51 +02:00
Nathan Froyd
a4bd0ded2c Bug 937227 - zero-initialize fields in nsWindowSizes; r=njn 2013-11-11 14:18:49 -05:00
Vendelin Ruzicka
be972363d7 Bug 933563 - Consolidate ReportUseOfDeprecatedMethod and WarnOnceAbout. r=sicking, r=ms2ger 2013-11-11 16:12:18 -05:00
Terrence Cole
3b966ef396 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
a23090c336 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
5e1bd894df No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Ms2ger
b381084fe3 Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal 2013-11-11 09:04:11 +01:00
Ms2ger
13e017e4f4 Bug 921718 - Part b: Move MediaList to WebIDL; r=bz 2013-11-11 09:03:17 +01:00
Carsten "Tomcat" Book
a88ea70081 merge mozilla-inbound to mozilla-central 2013-11-11 08:50:14 +01:00
Tim Taubert
0e601d49eb 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
d4145ed754 Bug 935283 Keep document as a data property on window for now. r=bz 2013-11-06 10:21:36 +01:00
Garrett Robinson
fcd3642ac2 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
04e9645fc3 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
a943af2236 backout 57213b64023b (bug 855326) for build bustage in debug builds
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
99a316d224 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
7d7395860e Merge m-c to inbound 2013-11-07 17:56:10 -08:00
Paul Rouget
9a424ed39e 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
ed9c30c1a6 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
2fa356509c Bug 933040 - Warn for showModalDialog uses. r=jst, r=sicking 2013-11-06 08:59:54 -05:00
Reuben Morais
cd93ebe5c9 Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Ryan VanderMeulen
8065e2373d Merge inbound to m-c. 2013-11-05 15:28:52 -05:00
Kyle Huey
2789485d96 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
f66e59b158 Bug 934785: Only change the popup control state on the main thread. r=smaug 2013-11-05 22:16:26 +08:00
Kyle Huey
50ee3b3331 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Kyle Huey
d00c5443e9 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-11-05 22:16:24 +08:00
Alfredo Yang
f2957150a7 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 (陳侃如)
974ffb4aa3 Backout 6d33ac3a2b14 2013-11-05 14:59:22 +08:00
Alfredo Yang
cea29c8b42 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
78649cfa0f 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
ac05751a06 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
255e6fe560 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
e25a09035c 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
73baebc372 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
96bb7d1a68 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
4b78652e22 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
4ae17a0b14 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
012fdba09b bug 935325 - merge nsIScriptGlobalObjectOwner into nsIDocShell r=smaug 2013-05-27 06:07:01 -04:00
Ryan VanderMeulen
9d31989c15 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Jeff Walden
39bee2a91f 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
b6d168990f 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
42e3c14d60 Bug 757726 - Part 4: Consolidate duplicate code into EnsurePlugins() and EnsureMimeTypes(). r=johns 2013-10-20 00:05:05 -07:00
Chris Peterson
16ac26e186 Bug 757726 - Part 3: Refactor nsPluginArray::GetPlugins() to GetMimeTypes(). r=johns 2013-10-17 00:19:43 -07:00
Ed Morley
2e6e6cf1f6 Merge mozilla-central and b2g-inbound 2013-11-01 13:17:37 +00:00
Ed Morley
a5ba3dddeb Merge latest green b2g-inbound changeset and mozilla-central 2013-11-01 13:14:45 +00:00
Ed Morley
08af33c361 Merge latest green inbound changeset and mozilla-central 2013-11-01 13:13:15 +00:00
Tim Chien
185ed6b3c2 Bug 915570 - Rename 'keyboard' permission and role to 'input'. r=yxl 2013-11-01 09:01:14 -04:00
Fabrice Desré
1d9cff071b Bug 914843 - fix gfx issue on oop b2g linux. r=nrc 2013-10-31 23:36:02 -07:00
Doug Turner
53ccb88e57 Backing out 987b3ec24f68 2013-10-31 20:25:46 -07:00
Ryan VanderMeulen
1e3f5ba856 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Ryan VanderMeulen
b3ebc15f66 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Nikhil Marathe
8349e7f288 Bug 933010 - AsyncErrorReporter takes bool isChromeError. r=bz 2013-10-30 16:17:36 -07:00
Terrence Cole
967c793419 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
acd30ed18f Bug 927633 - Move UA overrides to the child process. r=jchen 2013-10-31 10:09:06 -04:00
Peter Van der Beken
d28bec1d7c Bug 931768 - Mark openDialog ChromeOnly. r=bz.
--HG--
extra : rebase_source : ac7f71f50428e9a3f0a2c76f394ef1065bd7dc99
2013-10-28 22:03:15 +01:00
Peter Van der Beken
1ebee7f524 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
98204c9e49 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
d54e219b06 Merge mozilla-central and b2g-inbound 2013-10-29 16:34:46 +00:00
Vicamo Yang
3eb62fc290 Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey 2013-10-29 16:12:45 +08:00
Vicamo Yang
466c463b7c Bug 920551 - 2.e/2: fix MobileConnection. r=hsinyi,khuey 2013-10-29 16:12:41 +08:00
Vicamo Yang
bdc5cac42b Bug 920551 - 2.d/2: fix ICC. r=hsinyi,khuey 2013-10-29 16:12:40 +08:00
Vicamo Yang
e95760e234 Bug 920551 - 2.b/2: fix Telephony. r=hsinyi,khuey 2013-10-29 16:12:38 +08:00
Nicholas Nethercote
ba1e9bce90 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
cbf7a0c800 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
29bc534203 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
306cb13efc Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00