Commit Graph

828 Commits

Author SHA1 Message Date
J. Ryan Stinnett
6cde63d471 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
eb232136f4 Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
0af8bf06b1 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Myk Melez
66b59c904d Bug 1250341 - simplify overcomplex browser-element mochitest manifest skip-if rules; r=fabrice 2016-02-26 15:46:32 -08:00
Francois Marier
5eb5b1b255 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: DLC1KDvYbUH
2016-02-25 21:34:01 -08:00
Phil Ringnalda
09910de5eb Back out 2 changesets (bug 1245992) for several browser-chrome failures
Backed out changeset 6d9614f87daf (bug 1245992)
Backed out changeset 34e6eea401e3 (bug 1245992)
2016-02-25 19:15:16 -08:00
Francois Marier
4f4fa27d76 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: JnYOqtCIib7
2016-02-24 16:23:25 -08:00
Xidorn Quan
7cada478d1 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug 2016-02-17 08:47:11 +08:00
Christoph Kerschbaumer
54fea4cb15 Bug 1232901 - Use channel.asyncOpen2 within dom/browser-element/BrowserElementParent.js (r=sicking,aus) 2016-02-10 13:58:08 -08:00
Myk Melez
42a2e4cb04 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
James Cheng
c3b9e9117c Bug 1238883 - [TV Browser] It shows "The page cannot be displayed" when user browse some webpages. r=roc 2016-02-02 01:26:00 +01:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Carsten "Tomcat" Book
f4f463d5b7 merge mozilla-inbound to mozilla-central a=merge 2016-01-22 12:05:24 +01:00
Vivien Nicolas
0a610d0c0f Bug 1212321 - Stop painting on app launch. r=fabrice 2016-01-21 14:54:33 -08:00
Alastor Wu
6a609d4b16 Bug 1238472 - Start playing webm after the iframe loaded. r=baku 2016-01-21 20:09:11 +08:00
Alastor Wu
a938e44a8d Bug 1235749 - add audiochannel tags for related mochitests. r=baku 2016-01-19 15:21:48 +08:00
Carsten "Tomcat" Book
659342fcae Merge mozilla-central to b2g-inbound 2016-01-12 11:58:12 +01:00
Alastor Wu
b28e982b4f Bug 1225425 - [Testcase] Do not unregister the AudioChannelAgent during seeking. r=baku. 2016-01-11 10:48:18 +08:00
Fernando Jimenez
fffc1bb49d Bug 1180330 - http auth prompt shown when opening browser if prompt canceled/dismissed earlier. r=fabrice 2016-01-11 09:49:59 +01:00
Nigel Babu
32135bde2e Backed out changeset fc20ecea0409 (bug 1225425) for failing its own tests 2016-01-07 11:51:05 +05:30
Alastor Wu
bffc0ea135 Bug 1223297 - Add multiple audio channel test. r=baku 2015-11-18 10:01:14 +08:00
Alastor Wu
241691c70d Bug 1225425 - [Testcase] Do not unregister the AudioChannelAgent during seeking. r=baku 2016-01-07 01:21:05 +08:00
Alastor Wu
1cb4a86fa6 Bug 1235535 - Part 2: Create muted-by-default test in another new file. r=baku 2016-01-05 19:26:01 +08:00
Alastor Wu
3274056943 Bug 1235535 - Part 1: Remove muted-by-default test. r=baku 2016-01-05 19:25:55 +08:00
Alastor Wu
f7a5594a81 Bug 1204793 - Testcase for checking the agent active state when changing the volume. r=baku 2015-12-25 18:47:08 +08:00
Wes Kocher
bc4c8c12f5 Backed out 2 changesets (bug 1235535) for possibly breaking weightmapping-12579.html CLOSED TREE
Backed out changeset 76209c880c78 (bug 1235535)
Backed out changeset 0beb3e22b4b5 (bug 1235535)
2016-01-05 16:47:54 -08:00
Alastor Wu
2ca62af423 Bug 1232517 - Remove the event listener. r=baku 2016-01-05 20:17:03 +08:00
Alastor Wu
072ca52cf0 Bug 1235535 - Part 2: Create muted-by-default test in another new file. r=baku 2016-01-05 19:26:01 +08:00
Alastor Wu
08fea77244 Bug 1235535 - Part 1: Remove muted-by-default test. r=baku 2016-01-05 19:25:55 +08:00
Carsten "Tomcat" Book
f3a72c9035 merge mozilla-inbound to mozilla-central a=merge 2016-01-05 11:58:56 +01:00
Alastor Wu
f9287136cc Bug 1227051 - [Testcase] No audio track video shouldn't register the AudioChannelAgent. r=baku. 2015-12-30 11:29:02 +08:00
Ting-Yu Lin
ad85502078 Bug 1234118 - Delete code for supporting 'do-command' and 'copypaste-docommand'. r=mtseng, r=smaug
These two events are the leftovers for support copy/paste/cut/selectall
operations from old text_selection_dialog.js in Gaia. The code for
handling them can be removed since text_selection_dialog.js was removed
in bug 1221462.
2016-01-04 21:45:01 +08:00
Alastor Wu
6e52ce9ccd Bug 1223261 - Add the audio playback test for the case muted-by-default. r=baku. 2015-12-15 01:00:01 +09:00
Alastor Wu
74646257c3 Bug 1232348 - adjust nested-frame checking condition. r=baku. 2015-12-22 10:24:49 +08:00
Andrea Marchesini
01c5722e39 Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
d6528db902 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Ting-Yu Lin
9805daf00e Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng, r=smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154

DONTBUILD
2015-12-22 14:14:12 +08:00
Nigel Babu
3f592a3002 Backed out changeset c97319b5cb12 (bug 1221459) 2015-12-22 14:03:16 +05:30
Ting-Yu Lin
d0f418310c Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng,smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154
2015-12-22 14:14:12 +08:00
Carsten "Tomcat" Book
2b23cfe8d9 Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions 2015-12-15 14:45:06 +01:00
Carsten "Tomcat" Book
4246e239f6 Backed out changeset eb3d458624eb (bug 1214148) 2015-12-15 14:44:48 +01:00
Sam Foster
fa96ecb9a5 Bug 1229838 - rel=apple-touch-icon-precomposed should fire mozbrowsericonchange. r=fabrice 2015-12-14 10:03:08 -08:00
Andrea Marchesini
2c419e67ef Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
781ef4db10 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Phil Ringnalda
2f1d036bc7 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Andrea Marchesini
7436a028a7 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-09 16:46:25 -05:00
L. David Baron
505ae0b44a Merge mozilla-central to mozilla-inbound. 2015-12-06 16:08:06 -05:00
L. David Baron
48b129247a Back out changeset 9ebcec50fefa (bug 1223261) for causing unacceptable levels of intermittent orange (bug 1230015, bug 1230020). a=orange 2015-12-05 15:18:32 -08:00
Mark Capella
6d21ccf357 Bug 1215959 - (GeckoCarets2) - skip-if overlooked perma-orange test 2015-12-03 22:58:08 -05:00
Mark Capella
36dedbdf68 Bug 1215959 - (GeckoCarets2) - Flip on by default in nightly, r=snorp 2015-12-03 13:33:15 -05:00