Commit Graph

200 Commits

Author SHA1 Message Date
Justin Lebar
f2125bbc72 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.
2012-11-09 16:37:40 -08:00
Justin Lebar
6a364c5f37 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-09 16:37:38 -08:00
Andrea Marchesini
de1a8c19b0 Bug 807056 - BrowserElement* purgeHistory(). r=jlebar 2012-11-02 19:50:54 -04:00
Justin Lebar
3ef37ad3a3 Bug 802647 - Send browser screenshots as blobs, not base-64 strings. r=khuey,daleharvey 2012-10-31 19:28:11 -04:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Justin Lebar
6f958d371d Backed out changeset 86d8067fa9e5 (bug 802366) on a CLOSED TREE 2012-10-30 21:36:32 -04:00
Justin Lebar
14dffb1cbe Backed out changeset a844765fb5d9 (bug 806127) 2012-10-30 21:35:46 -04:00
Justin Lebar
1c32e4bcb8 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.

--HG--
extra : rebase_source : e1adb7af745953b019d80b8a8c086aba24e8408c
2012-10-30 15:55:05 -04:00
Justin Lebar
4c333b07a9 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz
--HG--
extra : rebase_source : 683e1facc5a6356a4cce0546fd2593a701fe69c0
2012-10-30 15:55:05 -04:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Chris Pearce
818603ae1d Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13:00
Patrick Wang
4d65265854 Bug 793644 - Test case r=jlebar 2012-10-19 18:39:22 +08:00
Patrick Wang
5e25ff0126 Bug 793644 - Implement confirmEx prompt for <iframe mozbrowser/mozapp>. r=jlebar 2012-10-19 18:35:59 +08:00
Andrea Marchesini
1e998bca39 Bug 804446 - Disable the javascript: protocol when it is entered in the location bar of browser in Firefox OS, r=bz 2012-10-26 10:46:27 +02:00
Justin Lebar
9cc8a76bf7 Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Jim Mathies
ae9b1663ef Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg 2012-10-25 09:57:51 -05:00
Justin Lebar
ecccf41734 Bug 800170 - Modify mozbrowser's getScreenshot() so it takes max-width, max-height parameters. r=smaug 2012-10-17 00:23:08 -04:00
Gabriele Svelto
8b56d72f43 Bug 801676 - Follow-up: Add comment explaining why we use JPEG instead of PNG in getScreenshot(). r=jlebar DONTBUILD 2012-10-16 18:02:53 +02:00
Patrick Wang
a8702b2545 Bug 795317: Use exposable uri when updating mozbrowser's location r=jlebar 2012-10-16 18:24:35 +08:00
Patrick Wang
a0de7d3984 Bug 795317: Test case r=jlebar 2012-10-16 19:59:04 +08:00
Gabriele Svelto
2bfd626185 Bug 801676 - [Browser API] Make getScreenshot() use JPEG instead of PNG. r=jlebar 2012-10-15 21:54:57 +02:00
Dale Harvey
9c4818d275 Bug 797297 - Remove hasAttribute check from outer loop of BrowserElementChild::_contextMenuHandler. r=jlebar 2012-10-13 20:27:00 -04:00
Chris Jones
c310927390 Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
This is a rollup of the following patches
 - Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
 - Remove mention of "meta" from TabChild. r=roc
 - Remove some useless logging. r=roc
 - Tag FrameMetrics with its composition bounds at paint time. r=roc
 - Add a helper to calculate the render resolution for a FrameMetrics. r=roc
 - Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
 - BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
 - Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
 - Mechanically separate uses of zoom/resolution based on new definitions. r=roc
 - Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
 - Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Chris Pearce
223b7d2f32 Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar 2012-10-08 10:12:50 +13:00
Justin Lebar
851ff7842d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
b3a7522e9a Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
30b2ea29e8 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Patrick Wang
253d71a38a Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Justin Lebar
0763b41739 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
Justin Lebar
774351fff4 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Benoit Girard
c8f1bc0779 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Doug Sherk
6e7d4f9757 Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug 2012-09-28 22:18:18 -04:00
Doug Sherk
c0e08ee726 Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc 2012-09-28 22:16:34 -04:00
Phil Ringnalda
3bf447ccd6 Back out 95d3bf1b070b (bug 789392) for mochitest failure on a CLOSED TREE 2012-09-27 21:26:59 -07:00
Justin Lebar
7032cf24b5 Bug 789392 - window.close() failed to trigger mozbrowserclose event on the parent frame if the child frame is not created with window.open. r=bz 2012-09-27 23:06:01 -04:00
Ben Turner
484cefec2c Bug 784378 - 'Apps API - Clear Private Data'. r=jlebar. 2012-09-26 15:03:25 -07:00
Bobby Holley
9f03f90fb7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
ee0af53baa Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (first batch); r=mounir 2012-09-20 09:55:36 +02:00
Patrick Wang
7a1bf993f1 Bug 787517: Test case for reproducing bug r=jlebar 2012-09-12 14:12:09 +08:00
Patrick Wang
9cb2eeac19 Bug 787517: Prevent failure in BrowserElementParent when MessageManager is not available for sending message r=jlebar 2012-09-12 14:12:12 +08:00
Patrick Wang
6173c353bb Bug 787519 - Test case r=jlebar 2012-09-19 18:28:26 +08:00
Patrick Wang
3cc77910cf Bug 787519 - Make message manager throw when there's no target to send asynchronous message to r=jlebar 2012-09-19 19:08:36 +08:00
Patrick Wang
b53c726882 Bug 789721: Check dom.mozBrowserFramesEnabled before BrowserElementPromptService initialized r=jlebar 2012-09-09 10:55:18 +08:00
Patrick Wang
c5dab9e8b0 Bug 775464 - Test case r=jlebar
--HG--
extra : rebase_source : ca2f34980d2bbdbbd34a6d389d766ec948a6b273
2012-09-03 19:02:16 +08:00
Patrick Wang
ce316face6 Bug 775464 - Part 2: Fire event to mozbrowser embedder from parent on receiving HTTP auth request. r=jlebar
--HG--
extra : rebase_source : 52ea850574a4858fb45d4241b4e61248d9bc2385
2012-09-03 18:59:55 +08:00