Commit Graph

1574 Commits

Author SHA1 Message Date
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
589ed842af Bug 840488 - Update unsafe-JAR channel tests so that they actually fail if we allow script to run. r=bz
The current tests never actually check that script is disabled for unsafe JAR
channels, but only that they're unable to initiate loads. This fixes that.

This blob runs dos2unix on the files inside the zip, and applies the following patch to iframes.html:

 <html><head>
   <title>iframes</title>
+  <script>parent.poke('regular script');</script>
 </head>
-<body>
+<body onload="parent.poke('onload-handler')">
  subshells
  <p>
  <iframe id="data-iframe" src="data:text/html,dataurl iframe<script>window.parent.parent.poke('data-iframe')</script>">ifr</iframe>
  <p>
  <iframe id="js-iframe" src="javascript:window.parent.parent.poke('js-iframe')">jsifr</iframe>
 </body>
-</html>
\ No newline at end of file
+</html>
2013-11-12 16:43:32 -08:00
Christoph Kerschbaumer
bba7102f9a Bug 906190 - Persist 'disable protection' option for Mixed Content Blocker in child tabs. r=smaug 2013-08-22 15:13:16 -07:00
Christoph Kerschbaumer
2c78e57d5a Bug 906190 - Persist 'disable protection' option for Mixed Content Blocker in child tabs - update load-reload inconsistency. r=tanvi, r=smaug 2013-09-05 10:59:13 -07:00
Henri Sivonen
aa7d753d3c Bug 936440 - Report UTF-16LE or UTF-16BE instead of UTF-16 as the BOM-sniffed encoding. r=emk. 2013-11-12 10:45:22 +02:00
Ms2ger
f862565c8f Bug 931461 - Remove docshell/base/Makefile.in; r=gps 2013-11-11 09:04:17 +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
Wes Kocher
f99a9e4b8e Merge m-c to inbound 2013-11-07 17:56:10 -08:00
Paul Rouget
65a6c7bde7 Bug 890195 - allow deviceSizeIsPageSize default value to be set via a preference. r=bz 2013-11-07 14:40:23 +01: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
Carsten "Tomcat" Book
7901827956 Backed out changeset 48ba597444e8 (bug 934091) for linux build bustage on a CLOSED TREE 2013-11-06 08:40:37 +01:00
Tim Taubert
0165bc0da0 Bug 934091 - Add current process ID to the {++|--}{DOMWINDOW|DOCSHELL} debug output r=smaug
From 4ac8092c5148f927e305be79c1667173d456313c Mon Sep 17 00:00:00 2001
2013-11-02 11:29:40 +01:00
Henri Sivonen
5bf0b8c647 Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky. 2013-11-04 13:24:33 +02:00
Carsten "Tomcat" Book
c01cac29f1 Backed out changeset 88e0c01e2d81 (bug 910192) bustage on a CLOSED TREE 2013-11-04 13:04:02 +01:00
Henri Sivonen
e5a75a933d Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky. 2013-11-04 13:24:33 +02:00
Trevor Saunders
3a7b718549 bug 935325 - merge nsIScriptGlobalObjectOwner into nsIDocShell r=smaug 2013-05-27 06:07:01 -04: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
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
Shih-Chiang Chien
4468923e42 Bug 926289 - Part 1, Add recording type and request URL in recording-device-events. r=khuey. 2013-10-25 20:04:50 -04:00
Nicholas Hurley
8561183e0d Bug 881804 (part 2) - Plumb docshell into predictive network actions. r=smaug 2013-10-25 14:56:53 -07:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09: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
Henri Sivonen
61f07128a7 Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky. 2013-10-16 04:46:10 +03:00
Gabor Krizsanits
5997b75fb2 Bug 565388 - Invisible docshell test. r=tnikkel 2013-10-16 15:18:43 +02:00
Gabor Krizsanits
73d139301a Bug 565388 - No paint for invisible docshell. r=tnikkel 2013-10-16 15:18:42 +02:00
Bob Owen
77694c4c36 Bug 766282 - Implement allow-popups directive for iframe sandbox. r=smaug 2013-03-21 18:44:58 +00:00
Brian 'geeknik' Carpenter
19646947fb Bug 924596 - Remove about:compartments from about:about. r=njn 2013-10-10 10:54:02 -04:00
David Christiandy
f70f83da01 Bug 906282 - Replace pref observer with var cache and remove nsIObserver inheritance. r=bz 2013-10-06 15:30:19 -04:00
Deian Stefan
f133dd799f Bug 916985 - nsDSURIContentListener::DoContent does not handle CreateContentViewer failures correctly. r=bz 2013-09-22 19:54:53 -07:00
Ms2ger
ae8c899faf Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Ehsan Akhgari
1e1f27abed Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst
--HG--
extra : rebase_source : 8c5f5429574313a1304eb2779cdb6b5702e4094d
2013-10-02 16:09:18 -04:00
Christoph Kerschbaumer
b078ce3073 Bug 897516 - Implement a separate cookie jar for safebrowsing - cookie separation part. r=mmc 2013-08-19 12:31:24 -07:00
Scott Johnson
8de43774d3 Bug 878935: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats] 2013-10-01 14:52:13 -05:00
Bill McCloskey
73e818fc41 Bug 920881 - Fix assertion in nsSHistory::EvictOutOfRangeWindowContentViewers (r=smaug) 2013-09-30 12:24:33 -07:00
Gregory Szorc
f0bcf1241b Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
89c902c7b2 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Ed Morley
5e3c678fac Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
18c2c27094 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
47e946bebe Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Michael Comella
61a324d065 Bug 915355 - Part 1: Add comment clarifying a keyword-search event. r=gavin 2013-09-27 09:38:25 -07:00
Wes Kocher
07d04fc163 Merge b2g-i to m-c 2013-09-24 19:58:09 -07:00
Wes Kocher
9bb5d74c84 Merge inbound to m-c 2013-09-24 19:41:44 -07:00
Fabrice Desré
c0e5b4cb69 Bug 882186 - [System] Replace blue offline error page with new UX r=vingtetun,bz 2013-09-24 14:21:10 -07:00
Felipe Gomes
843ec4fced Bug 916667 - about:tabcrashed fails to display for pages with no title. r=markh,glandium 2013-09-24 00:47:57 -03:00
Ehsan Akhgari
9890a8c148 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Masayuki Nakano
0b6d808310 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Ehsan Akhgari
fba998a816 Bug 919330 - Minimize the #includes in docshell/ IDL files; r=bzbarsky
--HG--
extra : rebase_source : ddae0c7f915c086fcd98bda168ab127764d4f7fc
2013-09-22 19:25:21 -04:00
Bobby Holley
401f1b3747 Backed out changeset 86128d3eac88 (bug 916939) for breaking the web. r=me 2013-09-20 10:32:32 -07:00
Ed Morley
5d04da99e0 Bug 719186 - Disable test_bug413310.html for too many intermittent failures
--HG--
extra : rebase_source : 94e1e52bf42254e06ea2514e91da3bb8cc5c33b7
2013-09-19 13:53:28 +01:00
Phil Ringnalda
059782fbe5 Merge m-c to m-i 2013-09-18 23:28:41 -07:00
Wes Kocher
0d414f78a1 Merge inbound to m-c 2013-09-18 16:48:24 -07:00
Paul Rouget
dc3c24c2ef Backed out changeset 184a0076278b (bug 890195). Almost-perma orange 2013-09-18 17:53:15 +02:00
Ryan VanderMeulen
8a6a806c2a Merge m-c to inbound. 2013-09-17 22:47:28 -04:00
Ryan VanderMeulen
5be5179c2d Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
Martijn Wargers
0b217fe87f Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
CLOSED TREE

--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Mina Almasry
c7a175bba8 Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Ehsan Akhgari
381203f2fb Bug 917304 - Remove some dead code in docshell/; r=bzbarsky 2013-09-17 12:38:56 -04:00
Trevor Saunders
a77e4f46c0 bug 915566 - rm some makefiles in docshell/ r=ted 2013-09-12 03:50:04 -04:00
Bobby Holley
cd5f077305 Bug 916939 - Drop support for named and indexed access on cross-origin windows. r=bz 2013-09-18 08:39:48 -07:00
Nicholas Cameron
a96eeae9ec Bug 917576. Disable failing crashtest for Cipc. r=bholley 2013-09-19 07:25:21 +12:00
Paul Rouget
9492494622 Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz 2013-07-17 05:08:00 +02:00
Scott Johnson
5b2d29977b Backout 6a5549d97d8d (bug 878935) for missing IID changes. 2013-10-02 11:36:44 -05:00
Tom Schuster
195b18c157 Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Bobby Holley
1f71314270 Bug 914521 - Hold a stack reference to mScriptGlobal when dispatching sync events. r=bz
Note also MMAdeathGrip earlier in the function.
2013-09-12 11:18:25 -07:00
Ed Morley
07bf062b7f Backed out changeset cc9df767c70b (bug 914521) for Android timeouts during crashtests 2013-09-12 09:29:14 +01:00
Bobby Holley
8cada94177 Bug 914521 - Hold a stack reference to mScriptGlobal when dispatching sync events. r=bz
Note also MMAdeathGrip earlier in the function.
2013-09-11 22:57:24 -07:00
Nicholas Nethercote
20652ab543 Bug 911641 (part 1) - Remove about:compartments, and show the compartment and ghost window lists into about:memory. r=johns.
--HG--
extra : rebase_source : c1ef005e272048e2eb84b20bafff15bcb5aae511
2013-09-03 20:05:17 -07:00
Mark Hammond
e3ec693723 Bug 909218 - test defaultLoadFlags make it to all requests. r=mayhemer 2013-09-06 16:33:29 +10:00
Mark Hammond
82367c4c5a Bug 909218 - add defaultLoadFlags to nsILoadGroup and have the docShell set them. r=mayhemer 2013-09-06 16:33:29 +10:00
Mark Hammond
9b3025f596 Bug 909218 - add defaultLoadFlags to nsIDocShell. r=bz 2013-09-06 16:33:28 +10:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ed Morley
f509dcbf07 Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Ehsan Akhgari
99e1fb0e19 Bug 912195 - Minimize the #includes in docshell/shistory; r=bzbarsky 2013-09-04 11:26:20 -04:00
Ed Morley
18a47a0e8e Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Felipe Gomes
e380b5477e Bug 899348 - Dispatch an event when an out-of-process browser crashes and display an error page when that occurs. r=bz 2013-09-03 19:11:22 -03:00
Ehsan Akhgari
974634f04f Bug 912129 - Minimize the #includes in docshell/base; r=bzbarsky
--HG--
extra : rebase_source : b0c00f4b1c1f0c3c0754ff9fa8cb9bd28b78b1fd
2013-09-03 16:17:26 -04:00
Nicholas Nethercote
d74157039d Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ed Morley
19ef85f0b3 Merge latest green fx-team changeset and mozilla-central 2013-08-30 17:19:46 +01:00
Honza Bambas
c0a1e5c1cf Bug 783589 - Fix for intermittent test_popup-navigates-children.html, test_sibling-matching-parent.html failure, r=justin.lebar 2013-08-30 11:41:10 +02:00
Tim Taubert
2f6dacbfd8 Bug 910161 - Remove nsIHistoryEntry and replace it with nsISHEntry; r=bz 2013-08-30 06:14:59 +02:00
Ryan VanderMeulen
a1a6c597f9 Backed out changeset 3a1f27080f9c (bug 906811) for Linux mochitest failures. 2013-08-28 20:15:34 -04:00
Timothy Nikkel
9c47a1e864 Bug 906811. Don't enter favor performance mode when loading documents in background tabs. r=smaug
This means we are trading (possible) performance in background tabs for responsiveness in foreground tabs and chrome.
2013-08-28 15:16:16 -05:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Mark Banner
7251ececf1 Bug 909870 nsIContentViewerFile::printWithParent is unused. r=bz 2013-08-28 08:28:03 +01:00
Drew Willcoxon
b5284d0fde Bug 906276 - Add attribute to nsIDocShell to disable content retargeting. r=jlebar, sr=biesinger 2013-08-24 01:10:50 -07:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
2fab82586f Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Tom Schuster
c17df4f2ce Bug 895957 - Implement a workaround for goDoCommand in e10s. r=neil 2013-08-21 13:24:53 -04:00