Commit Graph

250 Commits

Author SHA1 Message Date
Justin Lebar
c1ee2040f2 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
868320aa0f 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
860d6252e2 Bug 807056 - BrowserElement* purgeHistory(). r=jlebar 2012-11-02 19:50:54 -04:00
Justin Lebar
8d0536fe8d Bug 802647 - Send browser screenshots as blobs, not base-64 strings. r=khuey,daleharvey 2012-10-31 19:28:11 -04:00
Kyle Huey
45adfbf2c8 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
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Justin Lebar
77f0ca6ea2 Backed out changeset 86d8067fa9e5 (bug 802366) on a CLOSED TREE 2012-10-30 21:36:32 -04:00
Justin Lebar
afd32ab538 Backed out changeset a844765fb5d9 (bug 806127) 2012-10-30 21:35:46 -04:00
Justin Lebar
16397eae4f 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
a93b48129b 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
7457de64ad 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
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a 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
0e375de354 Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13:00
Patrick Wang
d6bac155e8 Bug 793644 - Test case r=jlebar 2012-10-19 18:39:22 +08:00
Patrick Wang
c9d0761556 Bug 793644 - Implement confirmEx prompt for <iframe mozbrowser/mozapp>. r=jlebar 2012-10-19 18:35:59 +08:00
Andrea Marchesini
800e40bd54 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
73af9cbc6d Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Jim Mathies
cc10f75d87 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
dcaa76798a 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
4717af6d22 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
fb4cba1d68 Bug 795317: Use exposable uri when updating mozbrowser's location r=jlebar 2012-10-16 18:24:35 +08:00
Patrick Wang
f8c14c1b3f Bug 795317: Test case r=jlebar 2012-10-16 19:59:04 +08:00
Gabriele Svelto
744e85292a Bug 801676 - [Browser API] Make getScreenshot() use JPEG instead of PNG. r=jlebar 2012-10-15 21:54:57 +02:00
Dale Harvey
fb79803e35 Bug 797297 - Remove hasAttribute check from outer loop of BrowserElementChild::_contextMenuHandler. r=jlebar 2012-10-13 20:27:00 -04:00
Chris Jones
b00b1e25b0 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
fbae2359b6 Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar 2012-10-08 10:12:50 +13:00
Justin Lebar
4da0d7ca67 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
d309e30f04 Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
18c694618d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Patrick Wang
2cfef0b277 Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Justin Lebar
aa5d8bf209 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
d332c4aac6 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Benoit Girard
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Doug Sherk
4f2bfeb032 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
f73db9f5da 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
dc2b0d6620 Back out 95d3bf1b070b (bug 789392) for mochitest failure on a CLOSED TREE 2012-09-27 21:26:59 -07:00
Justin Lebar
1b67e4785c 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
1889707118 Bug 784378 - 'Apps API - Clear Private Data'. r=jlebar. 2012-09-26 15:03:25 -07:00
Bobby Holley
5af5a73d3d 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
c64d31c5e0 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
5b4f3272e0 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
32e45fa34b 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
05188f1536 Bug 787517: Test case for reproducing bug r=jlebar 2012-09-12 14:12:09 +08:00
Patrick Wang
883c72997e 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
087ab503a2 Bug 787519 - Test case r=jlebar 2012-09-19 18:28:26 +08:00
Patrick Wang
fc04fca0a1 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
b4c26ae1f2 Bug 789721: Check dom.mozBrowserFramesEnabled before BrowserElementPromptService initialized r=jlebar 2012-09-09 10:55:18 +08:00
Patrick Wang
70431f58ac Bug 775464 - Test case r=jlebar
--HG--
extra : rebase_source : ca2f34980d2bbdbbd34a6d389d766ec948a6b273
2012-09-03 19:02:16 +08:00
Patrick Wang
28b023a421 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
Justin Lebar
0dbc52b145 Bug 787378 - Part 2: Tests for mozbrowserfirstpaint event. 2012-09-05 10:34:06 -04:00
Justin Lebar
fc6bed0372 Bug 787378 - Part 1: Fire a "firstpaint" event in iframe mozbrowser. 2012-09-05 10:34:06 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Phil Ames
89910afea6 Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Cervantes Yu
6ee81711c7 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 14:27:41 +08:00
Eric Chou
86bfd9729f Backed out changeset 8f79f5a6b073 because the author name was missing in original patch 2012-08-27 11:23:48 +08:00
Eric Chou
976de33f65 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 11:18:14 +08:00
Mounir Lamouri
86ed743386 Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar 2012-08-23 11:47:55 -07:00
Chris Jones
bf0b224214 No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones
124a2df024 Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
e880c79745 Merge the last PGO-green inbound changeset to m-c. 2012-08-23 22:06:49 -04:00
Ben Turner
2e0265c8ef Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Mounir Lamouri
49bd52f0f6 Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar 2012-08-23 11:47:55 -07:00
Cervantes Yu
9791d38ee6 Bug 779358 - Fix mousemove event handled twice in content panning, r=cjones 2012-08-21 20:30:34 +08:00
Justin Lebar
82b834170c Bug 783644 - Part 3: Test that dialog=1 in window.open called from <iframe mozbrowser> is ignored. r=smaug 2012-08-20 09:30:09 -07:00
Justin Lebar
75b1826f74 Bug 776129 - Part 2: Test that when a remote <iframe mozbrowser> calls window.open, we get a remote frame, and when an in-process frame calls window.open, we get an in-process frame. r=smaug
--HG--
extra : rebase_source : f58dbae038842c0357fa71b08a215f31ff2cc0db
2012-08-17 17:07:54 -04:00
Justin Lebar
3b4e0b1899 Bug 776129 - Part 1: When an <iframe mozbrowser> calls window.open, the resulting frame must be OOP iff the opener frame is OOP. r=smaug
--HG--
extra : rebase_source : 14db2573db5e9d8ffb72798f3d856f98e49f8a83
2012-08-17 17:07:54 -04:00
Gregor Wagner
606e9b8f76 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Bobby Holley
65d9cd713c Bug 781521 - Fix BrowserElement API. r=jlebar 2012-08-14 20:54:33 -07:00
Justin Lebar
c99340c42f Bug 769254 - Part 3: Tests for clicking _blank link from <iframe mozbrowser>. r=bz 2012-08-14 10:58:01 -04:00
Justin Lebar
28849e0b13 Bug 781320 - Part 4: Test that <iframe mozbrowser>'s name attribute is set when the iframe is created as a result of window.open. r=smaug 2012-08-13 15:19:10 -04:00
Justin Lebar
873fa29ab2 Bug 781320 - Part 3: Set <iframe mozbrowser>'s name for iframes created via window.open. r=smaug 2012-08-13 15:19:10 -04:00
Justin Lebar
fd851a9063 Bug 781320 - Part 2: Tests for forwarding <iframe mozbrowser>'s name from parent to child. r=smaug 2012-08-13 15:19:09 -04:00
Justin Lebar
fc3719bb1a Bug 781320 - Part 1: Sync iframe name down from parent to child in <iframe mozbrowser>. r=smaug 2012-08-13 15:19:09 -04:00
Justin Lebar
d50beacc82 Bug 780351 - Tests for ensuring that mozapp divides the window name namespace, but mozbrowser does not. r=smaug 2012-08-13 15:19:09 -04:00
Justin Lebar
f4fa7b8c1d Bug 780546 - Add test for opening named windows inside <iframe mozbrowser>. r=mounir 2012-08-13 15:19:09 -04:00
Justin Lebar
b4f247c894 No bug - Tweak dom/browser-element/mochitest/createNewTest.py. r=me DONTBUILD 2012-08-13 15:19:08 -04:00
Justin Lebar
8ae5fcb7ff Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Doug Sherk
75b44181d1 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Doug Sherk
279c610fe0 Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-08 13:38:06 -07:00
Vivien Nicolas
f933bfc143 Bug 780336 - BrowserElementScrolling cosumes 7% of profile time on gaia homescreen, but isn't used. r=cjones 2012-08-07 16:52:23 +02:00
Phil Ringnalda
97b3be524b Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage 2012-08-07 20:40:48 -07:00
Doug Sherk
2723d5bbda Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Doug Sherk
10f1ad1f2a Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-07 18:51:02 -07:00
Timothy Guan-tin Chien
e06b237680 Bug 780487 - [b2g] All |oveflow:hidden| became scrollable, r=roc 2012-08-07 16:46:55 -07:00
Fabrice Desré
ab9b24bc06 Backed out changeset c99709de566d 2012-08-07 16:44:08 -07:00
Fabrice Desré
e89f951213 # User Timothy Guan-tin Chien <timdream@gmail.com>
Bug 780487 - [b2g] All |oveflow:hidden| became scrollable, r=roc
2012-08-07 16:41:41 -07:00
Ed Morley
98f7436477 Backout 34a7d2909954 (bug 780546) for causing bug 780761 one push later on a CLOSED TREE 2012-08-07 00:03:29 +01:00
Justin Lebar
1834c25fb7 Bug 780546 - Add test for opening named windows inside <iframe mozbrowser>. r=mounir
--HG--
extra : rebase_source : 0cfde325eb2d0f6d14a14fe5f0998fb396a973cf
2012-08-06 11:16:11 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
e79d87471e Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Justin Lebar
3378ee74a9 Bug 773356 - Fix scrolling in enabled textareas in B2G. r=roc
Scrolling in disabled textareas still does not work; that's bug 780174.
2012-08-03 11:54:33 -04:00
Vivien Nicolas
a91cd295ce Bug 777672 - Remove changes to dom/browser-element/ that are not related to bug 777672. r=me 2012-08-03 12:53:32 +02:00
Vivien Nicolas
9d50bccae2 Bug 777672 - [b2g] |body { overflow: hidden }| do not hide scrollbars (css part). r=fabrice 2012-08-03 12:35:14 +02:00
Justin Lebar
d390f58ab6 Bug 766437 - Fire an event when content inside a remote <iframe mozbrowser> crashes. r=vingtetun,cjones 2012-08-02 10:26:57 -04:00
Dale Harvey
98635847f9 Bug 779516 - Handle exceptions in BrowserElementParent.js when calling getBoolPref on an undefined preference. r=jlebar
--HG--
extra : rebase_source : 0459fe8e837addd8f15ebcdad183ca7757f8a704
2012-08-01 12:14:10 -04:00
Justin Lebar
f6b8217588 Bug 769254 - Part 1: Fix crashes in BrowserElementParent.cpp, TabChild.cpp on null URI to window-opening code. r=bz
Parts 2 and beyond will come at a later date.
2012-07-31 23:12:04 -04:00
Chris Pearce
174ba270dc Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00