Commit Graph

197 Commits

Author SHA1 Message Date
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
Matt Brubeck
1d52142e2d Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts 2012-07-23 20:30:12 -07:00
Justin Lebar
d5552497ce Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
--HG--
extra : rebase_source : 916b8181478cda654b8936f7bfab79e72f7c8422
2012-07-23 15:59:37 -04:00
Justin Lebar
ac8e4078ee Bug 769182 - Tests for cross-origin window.open calls in <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : b2ee920c8084c3389ccddcfa5b17f67eaa15f833
2012-07-23 15:59:37 -04:00
Justin Lebar
3bca13c508 Bug 771273 - Part 5: Add test for window.content. r=bz
--HG--
extra : rebase_source : ef3c33928f46428ece45834c6d853c7cd04c57f4
2012-07-23 15:59:37 -04:00
Justin Lebar
9b50be4b4c Bug 771273 - Part 4: Enable BackForward test for in-process <iframe mozbrowser>, now that it works. r=bz
--HG--
extra : rebase_source : 14f91648df5d58ee67e4fd77fc65827c365e929a
2012-07-23 15:59:37 -04:00
Justin Lebar
2b0b714d0b Bug 771273 - Part 3: Test that window.open(..., 'top') works properly for in-process <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : be8f4dc04d4755f5b61865addc1df406fd87a560
2012-07-23 15:59:37 -04:00
Justin Lebar
7ad3596da9 Bug 771273 - Part 2: Make in-process <iframe mozbrowser>'s have their own shistory objects. r=bz
--HG--
extra : rebase_source : 363a9bf313ed4fa6beba664f1b484906035abac6
2012-07-23 15:59:37 -04:00
Justin Lebar
c845510df5 Backed out changeset 3985fa65c367 (bug 771273) 2012-07-23 15:39:02 -04:00
Justin Lebar
923be3f96a Backed out changeset f3454015ea25 (bug 771273) 2012-07-23 15:39:01 -04:00
Justin Lebar
7854e703d2 Backed out changeset 0f9b6cb20fc3 (bug 771273) 2012-07-23 15:38:59 -04:00
Justin Lebar
2eb322683e Backed out changeset c69c51760cc9 (bug 771273) 2012-07-23 15:38:58 -04:00
Justin Lebar
cc13df86c4 Backed out changeset 1d4600ca3fa8 (bug 769182) 2012-07-23 15:38:57 -04:00
Justin Lebar
9add3d637c Backed out changeset 97b356893365 (bug 762939) 2012-07-23 15:38:55 -04:00
Justin Lebar
e220c92afe Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 13:47:34 -04:00
Justin Lebar
4342dc7793 Bug 769182 - Tests for cross-origin window.open calls in <iframe mozbrowser>. r=bz 2012-07-23 13:47:34 -04:00
Justin Lebar
1abc43da9a Bug 771273 - Part 5: Add test for window.content. r=bz 2012-07-23 13:47:34 -04:00
Justin Lebar
c5d51c56b6 Bug 771273 - Part 4: Enable BackForward test for in-process <iframe mozbrowser>, now that it works. r=bz 2012-07-23 13:47:34 -04:00
Justin Lebar
74203655fb Bug 771273 - Part 3: Test that window.open(..., 'top') works properly for in-process <iframe mozbrowser>. r=bz 2012-07-23 13:47:34 -04:00
Justin Lebar
ddb788ddf2 Bug 771273 - Part 2: Make in-process <iframe mozbrowser>'s have their own shistory objects. r=bz 2012-07-23 13:47:34 -04:00
Justin Lebar
5f49ebb87d Backed out changeset 5b56257d0547 (bug 771273) 2012-07-23 11:43:40 -04:00
Justin Lebar
e5620ebedb Backed out changeset b69df88155b5 (bug 771273) 2012-07-23 11:43:39 -04:00
Justin Lebar
f21cc92aab Backed out changeset 5353ac12782c (bug 771273) 2012-07-23 11:43:38 -04:00
Justin Lebar
006f8b73dc Backed out changeset c882b426a556 (bug 771273) 2012-07-23 11:43:36 -04:00
Justin Lebar
96fb016638 Backed out changeset 77b5bd772576 (bug 769182) 2012-07-23 11:43:35 -04:00
Justin Lebar
9aad654fd5 Backed out changeset e15addefe3a2 (bug 762939) 2012-07-23 11:43:33 -04:00
Justin Lebar
1d193b75a8 Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 11:26:36 -04:00
Justin Lebar
f88989511a Bug 769182 - Tests for cross-origin window.open calls in <iframe mozbrowser>. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
6defc04335 Bug 771273 - Part 5: Add test for window.content. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
4a92e35ccc Bug 771273 - Part 4: Enable BackForward test for in-process <iframe mozbrowser>, now that it works. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
f545e0c70c Bug 771273 - Part 3: Test that window.open(..., 'top') works properly for in-process <iframe mozbrowser>. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
bc6f6ceb5a Bug 771273 - Part 2: Make in-process <iframe mozbrowser>'s have their own shistory objects. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
827bb8dc6f Bug 769254 - Part 4: Tests for clicking _blank link from <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 796752b62a815954e0672528f264b42e20274350
2012-07-23 10:44:13 -04:00
Justin Lebar
13ac958a2e Bug 769254 - Part 1: Fix crashes in BrowserElementParent.cpp, TabChild.cpp on null URI to window-opening code. r=bz
--HG--
extra : rebase_source : 1cc0e3c15f64dd73f074794de56218c8034478f3
2012-07-23 10:44:13 -04:00
Mounir Lamouri
db4e449fc5 Bug 776195 - Remove setIsBrowser() call from BrowserElementChild.js. r=jlebar 2012-07-21 17:17:53 -07:00
Mounir Lamouri
38a7f3af0d Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Justin Lebar
2aca12da8a Bug 776116 - In BrowserElementParent.js, return the result of sync messages. (Broken by bug 773980.) r=mounir 2012-07-20 18:47:52 -04:00
Benjamin Peterson
22a7b2002f Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
--HG--
extra : rebase_source : de1b55647780a30f98fe84d29ee3cb4a437a3ece
2012-07-20 20:17:38 +02:00
Vivien Nicolas
a6b0e7e5ad Bug 770847 - [BrowserAPI] mozbrowsercroll event to inform embedder when the content has scrolled. r=jlebar 2012-07-20 17:41:30 +02:00
Vivien Nicolas
dbc0769bc8 Bug 774809 - [BrowserAPI] Add methods to send mouse/touch events to the content. r=jlebar 2012-07-20 17:41:30 +02:00
Chris Jones
2cf7adf64a Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Mounir Lamouri
fe2bf13acd Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Steve Fink
196cc9b6ff Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:27 -07:00
Mounir Lamouri
d9542ba6f0 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Justin Lebar
b3622e6c23 Bug 773980 - Don't touch dead objects in BrowserElementParent.js. r=mounir 2012-07-19 12:39:44 -04:00
Ed Morley
bb507d18ac Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
ea02e3ec30 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Dale Harvey
c7030aa08e Bug 709759 - Add stop() to mozbrowser API. r=jlebar 2012-07-18 10:45:28 -04:00
Chris Jones
7dbbf6f12b Bug 774939: Disable OOP browser-element tests for native-fennec. irc-r=jlebar 2012-07-17 16:59:44 -07:00
Dale Harvey
a3094a212e Bug 741717 - Add a reload method to browser elements. r=jlebar 2012-07-17 12:55:46 -04:00
Justin Lebar
b6ad7be9c7 Bug 772077 - Fix randomorange caused by test_browserElement_inproc_ContextmenuEvents.html calling SimpleTest.finish() twice. r=daleharvey 2012-07-09 23:32:48 -04:00
Justin Lebar
745f0cb7fa Bug 770239 - Tests for X-Frame-Options behavior inside <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 100a084ba36f396f9f5a9d7c0695724da39592d1
2012-07-09 16:42:18 -04:00
Justin Lebar
2d3f37cc06 Bug 764718 - Part 2: Test for calling window.close() on a window opened by window.open from <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 09dfadbbe539ab0b3c65db6a8a5495f4810c3a34
2012-07-09 15:50:05 -04:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00