Commit Graph

839 Commits

Author SHA1 Message Date
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
Chris Manchester
52083635d3 Bug 1261456 - Combine support-files listed in [DEFAULT] with any listed per-test rather than overriding. r=gps
This requires a change to how we process test manifests in the build system:
now, whenever we see a support file mentioned in a manifest, we require that
file isn't already in that test's support files, but if we see a support file
that was already seen in some other test, the entry is ignored, but it is not
an error. As a result of this change, several duplicate support-files entries
needed to be removed.

MozReview-Commit-ID: G0juyxzcaB8

--HG--
rename : testing/mozbase/manifestparser/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_overrides.py
2016-04-11 11:21:20 -07:00
Mike Conley
b73d131e88 Bug 1251032 - Send RenderFrame info down to child in BrowserFrameOpenWindow. r=kanru
MozReview-Commit-ID: LsFr95rujEJ

--HG--
extra : rebase_source : 3589facedf84f6d46890de002a48207907e50476
2016-03-31 00:58:05 -04:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Geoff Brown
29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Marco Castelluccio
2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Boris Zbarsky
c25f03058e Bug 1255867. Remove some unnecessary AutoJSAPI uses. r=bholley 2016-03-11 23:59:10 -05:00
Carsten "Tomcat" Book
25fbf67b66 Backed out changeset 878c54ec3954 (bug 1250453) 2016-03-10 14:45:59 +01:00
Marco Castelluccio
1902f1c620 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-10 11:12:38 +00:00
Till Schneidereit
bbe76f1a0a Bug 1254947 - Fix instanceof checks that assume promiseFromSomeGlobal instanceof otherGlobal.Promise succeeds. r=bz 2016-03-09 14:25:11 +01:00
J. Ryan Stinnett
777c113bb3 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
5bede71f0d 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
2a55d065b7 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
d2d269f00a Bug 1250341 - simplify overcomplex browser-element mochitest manifest skip-if rules; r=fabrice 2016-02-26 15:46:32 -08:00
Francois Marier
53454d8416 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: DLC1KDvYbUH

--HG--
extra : rebase_source : 7289c93af47827f8a8dd78285d7beecf31935f3c
2016-02-25 21:34:01 -08:00
Phil Ringnalda
c279cb263c 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
b5682aa996 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: JnYOqtCIib7

--HG--
extra : rebase_source : 4488fa66efd6a1dd6d1b477836a772549a0424c3
2016-02-24 16:23:25 -08:00
Xidorn Quan
0671ebf899 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug
--HG--
extra : source : a8b39fbf3673e59b0a41db2d748e092a87d4496c
2016-02-17 08:47:11 +08:00
Christoph Kerschbaumer
f379b78525 Bug 1232901 - Use channel.asyncOpen2 within dom/browser-element/BrowserElementParent.js (r=sicking,aus) 2016-02-10 13:58:08 -08:00
Myk Melez
a6aff185d2 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
894aab0a7f Bug 1238883 - [TV Browser] It shows "The page cannot be displayed" when user browse some webpages. r=roc
--HG--
extra : rebase_source : fe6e9da8ce8772c0f3698252ce438dfc85d3f852
2016-02-02 01:26:00 +01:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Carsten "Tomcat" Book
191124bd17 merge mozilla-inbound to mozilla-central a=merge 2016-01-22 12:05:24 +01:00
Vivien Nicolas
17b024a99d Bug 1212321 - Stop painting on app launch. r=fabrice 2016-01-21 14:54:33 -08:00
Alastor Wu
42f1849a5a Bug 1238472 - Start playing webm after the iframe loaded. r=baku 2016-01-21 20:09:11 +08:00
Alastor Wu
6361a63b0c Bug 1235749 - add audiochannel tags for related mochitests. r=baku
--HG--
extra : transplant_source : %27m%84%D6%E8e%F3%A3%B8PWk%03Y%E2%BF%07%24%FB%9F
2016-01-19 15:21:48 +08:00
Carsten "Tomcat" Book
10ba3dad80 Merge mozilla-central to b2g-inbound 2016-01-12 11:58:12 +01:00
Alastor Wu
4621cc94e1 Bug 1225425 - [Testcase] Do not unregister the AudioChannelAgent during seeking. r=baku.
--HG--
extra : transplant_source : %FF%A2%5D%94%91%B7%7E%91%B9%EA%2AGt%D5%23%04%C9%F0%FDD
2016-01-11 10:48:18 +08:00
Fernando Jimenez
9d13db865c 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
30f113d5bc Backed out changeset fc20ecea0409 (bug 1225425) for failing its own tests
--HG--
extra : commitid : Aaw1qGqAFdT
2016-01-07 11:51:05 +05:30
Alastor Wu
ca7e1cc83e Bug 1223297 - Add multiple audio channel test. r=baku
--HG--
extra : rebase_source : d7db5c56be6422c314479e20470bdd2f84a8f999
2015-11-18 10:01:14 +08:00
Alastor Wu
5abb5f1bf7 Bug 1225425 - [Testcase] Do not unregister the AudioChannelAgent during seeking. r=baku
--HG--
extra : rebase_source : 120d28d3cba5be5b73f9267b8985e83b4ef75070
2016-01-07 01:21:05 +08:00
Alastor Wu
2c4e6b6e51 Bug 1235535 - Part 2: Create muted-by-default test in another new file. r=baku
--HG--
extra : rebase_source : 42db964e6e8f10c41f70f4afd458c3d3fde9e575
extra : source : 76209c880c783e1206760b7f62cb5c05574bbb5b
2016-01-05 19:26:01 +08:00
Alastor Wu
b8416efbd2 Bug 1235535 - Part 1: Remove muted-by-default test. r=baku
--HG--
extra : rebase_source : 56ffe5def32ce28ff1dfd5a672902d71327ebf0d
extra : source : 0beb3e22b4b545b18cd2ce4ae77f673d229126b2
2016-01-05 19:25:55 +08:00
Alastor Wu
7cb7d44fc1 Bug 1204793 - Testcase for checking the agent active state when changing the volume. r=baku
--HG--
extra : rebase_source : cc9c4b231b66eb51eae4556bf0738b57e5d46bfd
2015-12-25 18:47:08 +08:00
Wes Kocher
a8e5e6c427 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)

--HG--
extra : commitid : 2Qv8Y33oGRU
2016-01-05 16:47:54 -08:00
Alastor Wu
3752b61417 Bug 1232517 - Remove the event listener. r=baku
--HG--
extra : transplant_source : %17%C3Jx0%C8%0A%A6%A2%8D%FAp5%AA%8E%A9hZw%3A
2016-01-05 20:17:03 +08:00
Alastor Wu
74af78fbf0 Bug 1235535 - Part 2: Create muted-by-default test in another new file. r=baku
--HG--
extra : transplant_source : %B4%0C%21%22%06%AA%EB%06%F1%B9pH%5E%AB%15%CD%FF%E4Y%99
2016-01-05 19:26:01 +08:00
Alastor Wu
f1f4a99a37 Bug 1235535 - Part 1: Remove muted-by-default test. r=baku
--HG--
extra : transplant_source : %F1%C9%3A%002%16%BF/i4%F4M%C8.%CD%DE%5D%7C%0Em
2016-01-05 19:25:55 +08:00
Carsten "Tomcat" Book
2262c1271c merge mozilla-inbound to mozilla-central a=merge 2016-01-05 11:58:56 +01:00
Alastor Wu
e83a4f13a1 Bug 1227051 - [Testcase] No audio track video shouldn't register the AudioChannelAgent. r=baku.
--HG--
extra : transplant_source : %C9%27%AB%5D9%91%BD%9Bb%9F%98%FF%CC%C2%C6O%C6%09%E4%60
2015-12-30 11:29:02 +08:00
Ting-Yu Lin
25a08ad583 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.

--HG--
extra : commitid : 756JRa7O4UO
extra : rebase_source : 2d0f6ec9b6bb76d022d1cbe3788a9d4bf91ef588
2016-01-04 21:45:01 +08:00
Alastor Wu
707dbd095c Bug 1223261 - Add the audio playback test for the case muted-by-default. r=baku.
--HG--
extra : commitid : 3M8ceycLjBf
2015-12-15 01:00:01 +09:00
Alastor Wu
4f6758106e Bug 1232348 - adjust nested-frame checking condition. r=baku.
--HG--
extra : commitid : KyzcFy9qsBD
2015-12-22 10:24:49 +08:00
Andrea Marchesini
0b73efd883 Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
52e65f89d8 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
00f0ffd013 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

--HG--
extra : amend_source : 1348306b0eee27ae08cef1b947e383dfded7798c
2015-12-22 14:14:12 +08:00
Nigel Babu
87cf2dd471 Backed out changeset c97319b5cb12 (bug 1221459) 2015-12-22 14:03:16 +05:30
Ting-Yu Lin
69a670793a 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

--HG--
extra : commitid : GWwMqChxnUT
extra : source : 3f2c650804415aa98f42369bc2061ab2ada98661
extra : amend_source : b8f3a445248397f140723a07ea5bc85ed67d6054
2015-12-22 14:14:12 +08:00