Commit Graph

280 Commits

Author SHA1 Message Date
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
Justin Lebar
6aeb00a617 Bug 787378 - Part 2: Tests for mozbrowserfirstpaint event. 2012-09-05 10:34:06 -04:00
Justin Lebar
50e0732239 Bug 787378 - Part 1: Fire a "firstpaint" event in iframe mozbrowser. 2012-09-05 10:34:06 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Phil Ames
cd2459e50f Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Cervantes Yu
558d235914 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 14:27:41 +08:00
Eric Chou
6dbbbbfe3c Backed out changeset 8f79f5a6b073 because the author name was missing in original patch 2012-08-27 11:23:48 +08:00
Eric Chou
2870d394c2 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 11:18:14 +08:00
Mounir Lamouri
2b28512edc 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
5a380bfddb No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones
05b904ebae Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
5fbfaa489f Merge the last PGO-green inbound changeset to m-c. 2012-08-23 22:06:49 -04:00
Ben Turner
0727b7098c 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
ede8f880d1 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
d54cede57f Bug 779358 - Fix mousemove event handled twice in content panning, r=cjones 2012-08-21 20:30:34 +08:00
Justin Lebar
2c84955ead 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
bc5dea3c65 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
c9bb43d3c4 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
f79e6cb659 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Bobby Holley
2e09cc91eb Bug 781521 - Fix BrowserElement API. r=jlebar 2012-08-14 20:54:33 -07:00
Justin Lebar
3ca07ff41d Bug 769254 - Part 3: Tests for clicking _blank link from <iframe mozbrowser>. r=bz 2012-08-14 10:58:01 -04:00
Justin Lebar
6b929a405a 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
a74e85d8f6 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
a4f59b9ee7 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
37bc18bddb 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
0c3ea3ef65 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
b03cc92154 Bug 780546 - Add test for opening named windows inside <iframe mozbrowser>. r=mounir 2012-08-13 15:19:09 -04:00
Justin Lebar
c42222b728 No bug - Tweak dom/browser-element/mochitest/createNewTest.py. r=me DONTBUILD 2012-08-13 15:19:08 -04:00
Justin Lebar
0d4822afe2 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
de15346fad Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Doug Sherk
71ccfa781a Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-08 13:38:06 -07:00
Vivien Nicolas
aa12e45e80 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
6a0eae6eb5 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
b53b2122ba Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Doug Sherk
daacd19d06 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
966fab4c7b Bug 780487 - [b2g] All |oveflow:hidden| became scrollable, r=roc 2012-08-07 16:46:55 -07:00
Fabrice Desré
6432e871d6 Backed out changeset c99709de566d 2012-08-07 16:44:08 -07:00
Fabrice Desré
6a724452db # 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
f2e9e7000f 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
4c62904c85 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
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Justin Lebar
d5a5466ceb 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
b574989aa6 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
e6cc795df6 Bug 777672 - [b2g] |body { overflow: hidden }| do not hide scrollbars (css part). r=fabrice 2012-08-03 12:35:14 +02:00
Justin Lebar
110004a8bb 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
7dec7e545a 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
cc5add628b 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
749e6d7713 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Matt Brubeck
769c2e9252 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
eb80d0fb04 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
ca319282f8 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
4047c44805 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
076b604077 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
b8467df54e 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
cf709eea34 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
cbeefb3946 Backed out changeset 3985fa65c367 (bug 771273) 2012-07-23 15:39:02 -04:00
Justin Lebar
c89a92ef34 Backed out changeset f3454015ea25 (bug 771273) 2012-07-23 15:39:01 -04:00
Justin Lebar
c196a2e91b Backed out changeset 0f9b6cb20fc3 (bug 771273) 2012-07-23 15:38:59 -04:00
Justin Lebar
ea63c9fa62 Backed out changeset c69c51760cc9 (bug 771273) 2012-07-23 15:38:58 -04:00
Justin Lebar
d4c0230ca1 Backed out changeset 1d4600ca3fa8 (bug 769182) 2012-07-23 15:38:57 -04:00
Justin Lebar
2ed2d5f6bb Backed out changeset 97b356893365 (bug 762939) 2012-07-23 15:38:55 -04:00
Justin Lebar
dca7732008 Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 13:47:34 -04:00
Justin Lebar
07660a4da3 Bug 769182 - Tests for cross-origin window.open calls in <iframe mozbrowser>. r=bz 2012-07-23 13:47:34 -04:00
Justin Lebar
7adf140262 Bug 771273 - Part 5: Add test for window.content. r=bz 2012-07-23 13:47:34 -04:00
Justin Lebar
33aa8d977a 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
e96146804a 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
2d4bd6b425 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
8ca9bd4f84 Backed out changeset 5b56257d0547 (bug 771273) 2012-07-23 11:43:40 -04:00
Justin Lebar
1c73a7ca15 Backed out changeset b69df88155b5 (bug 771273) 2012-07-23 11:43:39 -04:00
Justin Lebar
9dc4e6f648 Backed out changeset 5353ac12782c (bug 771273) 2012-07-23 11:43:38 -04:00
Justin Lebar
33646b32ee Backed out changeset c882b426a556 (bug 771273) 2012-07-23 11:43:36 -04:00
Justin Lebar
76d9398666 Backed out changeset 77b5bd772576 (bug 769182) 2012-07-23 11:43:35 -04:00
Justin Lebar
8bef8e4cda Backed out changeset e15addefe3a2 (bug 762939) 2012-07-23 11:43:33 -04:00
Justin Lebar
f962c0704f Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 11:26:36 -04:00
Justin Lebar
b9578a93c6 Bug 769182 - Tests for cross-origin window.open calls in <iframe mozbrowser>. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
161ad5ea78 Bug 771273 - Part 5: Add test for window.content. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
09e1a865f7 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
c3d60feb68 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
645cdf02ee 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
9cdc2c7c8d 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
84b9866fe2 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
793b304424 Bug 776195 - Remove setIsBrowser() call from BrowserElementChild.js. r=jlebar 2012-07-21 17:17:53 -07:00
Mounir Lamouri
7935452e46 Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Justin Lebar
b36d63c915 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
d1064385b3 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
e4978e891a 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
a2410e346e 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
ef35aa58e9 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
397bc64735 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
3b5b986d0b 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
d6d9b5f0b7 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
e68cba9262 Bug 773980 - Don't touch dead objects in BrowserElementParent.js. r=mounir 2012-07-19 12:39:44 -04:00
Ed Morley
80af77da9d 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
8cfd0a9baa 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
31b13cb98d Bug 709759 - Add stop() to mozbrowser API. r=jlebar 2012-07-18 10:45:28 -04:00
Chris Jones
3c441a8d9c Bug 774939: Disable OOP browser-element tests for native-fennec. irc-r=jlebar 2012-07-17 16:59:44 -07:00
Dale Harvey
cc016d5def Bug 741717 - Add a reload method to browser elements. r=jlebar 2012-07-17 12:55:46 -04:00
Justin Lebar
e699d9487f 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
1e58697e57 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
8375890353 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
a7eb97f896 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
Justin Lebar
2164d9fef3 Bug 771829 - Add a python script to create new browser element tests. r=mounir DONTBUILD 2012-07-09 11:54:51 -04:00
Matt Brubeck
cb4ba1a61f Back out 8e47e74e3578 and 82f24178d2cb (bug 764718) because of test failure 2012-07-06 16:27:58 -07:00
Justin Lebar
160c3a742e 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 : ee8f4d2e8ca577bde1342078a5550a3c1c484e92
2012-07-06 13:35:38 -04:00
Justin Lebar
e54430a95e Bug 768842 - Inform the <iframe mozbrowser> embedder when Gecko displays an error page. r=mounir 2012-07-02 08:21:58 -04:00
Justin Lebar
971e412f9e No bug - Remove two .orig files. DONTBUILD rs=jst 2012-06-29 09:44:49 +02:00
Dale Harvey
f21fa9345a Bug 756371 - Add ability to parent of mozbrowser to handle contextmenu. r=jlebar 2012-06-25 16:09:41 +02:00
Justin Lebar
e5e6efbaf3 Bug 766871 - Part 2: Tests for window.open from <iframe> inside <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 2c5f56098a9351f255c2fff07335c0de524a29f8
2012-06-23 11:05:12 -04:00
Justin Lebar
f61b31d544 Bug 766871 - Part 1: window.open in <iframe> in in-process <iframe mozbrowser> should work. r=bz
--HG--
extra : rebase_source : 527c8bace08774f44bb5bace92fefad5341dab16
2012-06-23 11:05:12 -04:00
Justin Lebar
029c276d1a Bug 766481 - Part 2: Tests for alert() from inside an <iframe> inside an <iframe mozbrowser>. r=mounir
--HG--
extra : rebase_source : b306e57989ce18be78a1e44a49d32556d62a08e2
2012-06-23 11:05:12 -04:00
Justin Lebar
432c1f8e15 Bug 766481 - Part 1: Make alert work from <iframe>s within <iframe mozbrowser>. r=mounir
--HG--
rename : content/base/src/nsINode.cpp => content/base/src/nsGenericElement.cpp
extra : rebase_source : 0ec4647ab93c4be23967d234d48f63102444fb9c
2012-06-23 11:05:12 -04:00
Ed Morley
0ba9aa86c4 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar
692948f25a Bug 764718 - Part 3: Test for calling window.close() on a window opened by window.open from <iframe mozbrowser>. r=bz 2012-06-21 21:17:52 -04:00
Justin Lebar
471d7dec38 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 21:17:52 -04:00
Justin Lebar
da1784ba64 Bug 765075 - Load BrowserElementChild.js before returning the result of window.open from <iframe mozbrowser> to the opener. r=smaug 2012-06-21 21:17:52 -04:00
Justin Lebar
af76eb8442 Bug 741755 - Part 4: Tests for goBack / goForward on <iframe mozbrowser>. r=smaug
--HG--
rename : dom/browser-element/mochitest/browserElement_CanGoBack.js => dom/browser-element/mochitest/browserElement_BackForward.js
rename : dom/browser-element/mochitest/test_browserElement_oop_CanGoBack.html => dom/browser-element/mochitest/test_browserElement_oop_BackForward.html
2012-06-21 14:23:48 -04:00
Justin Lebar
852c5a4aae Bug 741755 - Part 3: Add goBack/goForward to <iframe mozbrowser>. r=smaug 2012-06-21 14:23:48 -04:00
Justin Lebar
6cfdbf28e7 Bug 741755 - Part 2: Add tests for getCanGo{Back,Forward} methods on <iframe mozbrowser>. r=mounir 2012-06-21 14:23:48 -04:00