Граф коммитов

953 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 1b52850807 Bug 1273203 followup. Remove now-unused test support files. 2016-06-09 14:49:07 -04:00
Alastor Wu 20745c8136 Bug 1240423 - part8 : modify tests r=baku
MozReview-Commit-ID: 7NlzmcZAlrd

--HG--
extra : rebase_source : fe7d43b0275483e9e082504b88af8f106cadbc19
2016-06-01 10:26:34 +08:00
Sebastian Hengst 1b4ffa70c1 Backed out changeset 7b5c8958c61c (bug 1270962) for often failing browser_readerMode.js. r=backout 2016-06-01 00:37:33 +02:00
Joel Maher ec8fe953e8 Bug 1270962 - move additional tests to the clipboard job. r=RyanVM
MozReview-Commit-ID: CYoapJ3zb8P
2016-05-31 16:15:01 -04:00
Joel Maher 3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Patrick McManus c0638a1abc Bug 1274729 - corrupted content string management r=dragana 2016-05-23 10:12:31 -04:00
Boris Zbarsky cf35c3398f Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Alastor Wu 5a7ed4aa14 Bug 1269672 - part1 : revert sampling rate changing of the bug1235612.
MozReview-Commit-ID: GxwaZ8qUk1z
2016-05-12 14:15:34 +08:00
Wes Kocher b17d7be7c1 Merge fx-team to central, a=merge 2016-05-06 15:57:08 -07:00
J. Ryan Stinnett 90571ef998 Bug 1270320 - Only add sessionHistory to browser element when missing. r=kanru
MozReview-Commit-ID: IeELb4vUoQD
2016-05-06 11:06:01 -05:00
Christoph Kerschbaumer 3c9262edb7 Bug 1269267 - Remove SEC_NORMAL from browserElement_Auth.js (r=sicking) 2016-05-06 15:36:32 +02:00
Alastor Wu d73d8b0f4e Bug 1235612 - Part 7: Modify the samplerate of the audio.ogg. r=jwwang
MozReview-Commit-ID: KD6GkT6yq5u

After landing bug 1264199, the audible-checking has possibility to fail when the input needs to be resamling.
Resampling only happens when the input sampling rate is not equals to device out sampling rate and we don't want the sampling problem affecting our audio-playback tests, so we change the sampling rate of these ogg file to avoid resampling.

It is a WORKAROUND and should be reverted after landing bug 1269672.

--HG--
extra : rebase_source : 52288b7a2f587f0ea5af7b1498e957d2716bcd63
2016-05-04 20:04:57 +08:00
J. Ryan Stinnett a899dd1d54 Bug 1268688 - Start browser API for frames swapping to HTML. r=bz
MozReview-Commit-ID: 56lMg0b86Bp
2016-05-03 14:58:03 -05:00
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
Carsten "Tomcat" Book cccfedda81 Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions 2015-12-15 14:45:06 +01:00
Carsten "Tomcat" Book 8d77622bde Backed out changeset eb3d458624eb (bug 1214148) 2015-12-15 14:44:48 +01:00
Sam Foster 30f28029a4 Bug 1229838 - rel=apple-touch-icon-precomposed should fire mozbrowsericonchange. r=fabrice 2015-12-14 10:03:08 -08:00
Andrea Marchesini a1a56f1e5f Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini 7271d1d622 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 631f58c4f9 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 f342b66a2e 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 5d4db53387 Merge mozilla-central to mozilla-inbound. 2015-12-06 16:08:06 -05:00
L. David Baron 5bcd1d1b44 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 e43c1dcf7f Bug 1215959 - (GeckoCarets2) - skip-if overlooked perma-orange test 2015-12-03 22:58:08 -05:00
Mark Capella 0a752a77f3 Bug 1215959 - (GeckoCarets2) - Flip on by default in nightly, r=snorp 2015-12-03 13:33:15 -05:00
Matthew Noorenberghe d77a8d39c1 Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru
--HG--
extra : commitid : zwoW6hAPKy
extra : rebase_source : 183b3f29af92860fbe232427e9e8f1cdd7116707
2015-12-02 16:13:18 -08:00
Carsten "Tomcat" Book 31b570ce3c Merge mozilla-central to b2g-inbound 2015-12-01 15:28:29 +01:00
Alastor Wu 15fc4f69b0 Bug 1223261 - Add the audio playback test for the case muted-by-default. r=baku.
--HG--
extra : rebase_source : decdc8697cf31a6a55330ab193fc9164c5b1ea3f
2015-11-27 10:19:27 +08:00
Carsten "Tomcat" Book d4ef6710aa Backed out changeset 50441cd0d6a1 (bug 1212321) for causing regressions 2015-11-25 12:37:24 +01:00
Francois Marier 67506f65a6 Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Botond Ballo 8729479ba0 Bug 1227760 - Fix check for touch events being enabled on B2G. r=kats
--HG--
extra : rebase_source : 1bec72d5dca40bf1eaea6ecd758c9b979b98bec9
extra : source : 272b64e3b2bed498fe2ee2531499e21e075323d0
2015-11-27 19:14:23 -05:00
Boris Zbarsky 1f6bbd4987 Bug 1230092. Make nsIDOMCustomEvent no longer inherit from nsIDOMEvent, so that CustomEvent doesn't end up with multiple inheritance from nsIDOMEvent. r=smaug 2015-12-04 09:51:04 -05:00
Botond Ballo f7282ab158 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value

--HG--
extra : rebase_source : 85a88985f77dfb47301cab17d939a88f3043a7a1
extra : source : 95e992d129c32f5e5f39b67f6f946e5d1dcbf530
2015-10-26 16:06:27 -04:00
Wes Kocher c4f40f5dfc Merge inbound to m-c a=merge
--HG--
extra : commitid : 8FO2ow49CX2
2015-11-16 17:20:42 -08:00
Phil Ringnalda 717b9e4e5c Merge m-c to b-i 2015-11-15 19:17:19 -08:00
Carsten "Tomcat" Book a8bc26fbbf Backed out changeset da1bcceb5f57 (bug 1223261) for test failures in test_browserElement_inproc_AudioChannel.html | called finish() multiple times
--HG--
extra : rebase_source : 8a4cd7e5c59bee4907e2b8bab5aa183ca1bf3ada
2015-11-13 14:00:20 +01:00
Alastor Wu 8e37489c47 Bug 1223261 - Add the audio playback test for the case muted-by-default. r=baku
--HG--
extra : transplant_source : %B7%1C%28c%40Zq%7DG%858%E9%DF%84g%82%00rJ/
2015-11-12 18:46:15 +08:00
Alastor Wu f49b90a02f Bug 1222902 - Create log system for the AudioChannel. r=baku.
--HG--
extra : transplant_source : %BD%FF%8EH%08%97%3AC%C6%85%BC%F1%10%CB%07%AA%0E%90%85A
2015-11-10 18:32:00 +08:00
Andrea Marchesini a14ba13b57 Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Tim Chien 7df884c22e Bug 1198163 - Workaround Mochitest app and assign frame proper permissions, r=kanru
--HG--
extra : rebase_source : 7891c4a7e8c38cf7966836d520c84cb88ff713e2
2015-11-10 22:17:00 +01:00
Kartikaya Gupta 8531f6e36c Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking
--HG--
extra : commitid : 2hGYJD6eHff
2015-11-11 10:17:47 -05:00
Alastor Wu b9ace4602b Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku.
--HG--
extra : transplant_source : Jz%11%82%60%AF%AA%82%F1%A5%EB%A5%05%7C%EBS%EF%89%3C%8A
2015-11-06 00:32:04 +08:00
Wes Kocher e943bc8e33 Merge m-c to inbound a=merge
--HG--
extra : commitid : IcbfYN5aCjt
2015-11-06 15:13:35 -08:00
Kan-Ru Chen 1622b9b730 Bug 1216937 - Assign default URL for mozbrowseropenwindow event. r=smaug 2015-11-06 16:59:08 +08:00
Carsten "Tomcat" Book bb068eacd7 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : browser/locales/en-US/chrome/browser/devtools/memory.properties => devtools/client/locales/en-US/memory.properties
2015-11-05 11:58:55 +01:00
Carsten "Tomcat" Book 90803a6363 Merge mozilla-central to b2g-inbound 2015-11-04 12:45:40 +01:00
Vivien Nicolas 8e5517fba9 Bug 1212321 - Stop painting on app launch. r=fabrice 2015-11-06 02:13:00 +01:00
Mike Hommey f8b450ee34 Bug 1186748 - Make ASAN builds happy with Gtk+3. r=mccr8,r=bholley
- Add a suppression for a leak LSAN detects in system libpixman.
- Skip an intermittently failing test.
2015-11-04 11:21:49 +09:00
sgiles 103352d22d Bug 1209479 - Map Android back button to nsIWebNavigation::GoBack() for the current active frame r=fabrice 2015-10-01 18:00:31 +01:00
Carsten "Tomcat" Book 6ed98f802e Backed out changeset bd78b2adf002 (bug 1206581) for bustage again 2015-11-03 09:31:46 +01:00
Alastor Wu e1ca093b4e Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku.
--HG--
extra : transplant_source : %94%1B%E8I%B6%00w%B4/%8Bp%AB%CC%09%EF%C5nH%C3%1C
2015-11-02 17:33:41 +08:00
Carsten "Tomcat" Book 21e14b4b61 Backed out changeset 177eae915693 (bug 1206581) for bustage 2015-11-02 09:43:15 +01:00
Alastor Wu c985b03af7 Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku.
--HG--
extra : amend_source : 112f7508ad622382091a6fb596cb7dc867c40625
extra : transplant_source : %29%FA%25n%1Ck%F0%09%82%DF%BF%60%08%93K%9A%D7%FD%C6%8F
2015-10-30 18:28:35 +08:00
Fabrice Desré fef6066276 Backout b0359c684793 (Bug 926452) for causing bug 1213051 r=me 2015-10-28 13:33:52 -07:00
Yoshi Huang 176a15f268 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
 dom/apps/tests/test_third_party_homescreen.html    |   8 +-
 .../test/test_messagemanager_assertpermission.html |   4 +-
 dom/base/test/test_messagemanager_targetchain.html |  16 +--
 ...rowserElement_AllowEmbedAppsInNestedOOIframe.js |  11 +-
 .../mochitest/browserElement_CopyPaste.js          |   9 +-
 .../browserElement_DisallowEmbedAppsInOOP.js       |   9 +-
 .../mochitest/browserElement_Proxy.js              |  10 +-
 .../browserElement_SetInputMethodActive.js         |   3 +-
 .../mochitest/browserElement_SetVisibleFrames.js   |  17 ++--
 .../mochitest/browserElement_SetVisibleFrames2.js  |  16 +--
 .../priority/test_ExpectingSystemMessage2.html     |  16 +--
 .../mochitest/priority/test_NestedFrames.html      |  16 +--
 dom/cache/test/mochitest/driver.js                 |  11 +-
 .../test/mochitest/test_cache_orphaned_body.html   |  33 +-----
 .../test/mochitest/test_cache_orphaned_cache.html  |  33 +-----
 dom/cache/test/mochitest/test_cache_restart.html   |  11 +-
 dom/cache/test/mochitest/test_cache_shrink.html    |  33 +-----
 dom/indexedDB/test/file.js                         |  12 +--
 dom/indexedDB/test/helpers.js                      |   9 +-
 dom/indexedDB/test/webapp_clearBrowserData.js      |   6 +-
 dom/inputmethod/mochitest/test_bug1043828.html     |   5 +-
 dom/inputmethod/mochitest/test_bug944397.html      |   5 +-
 .../mochitest/test_focus_blur_manage_events.html   |   5 +-
 .../mochitest/test_input_registry_events.html      |   5 +-
 .../mochitest/test_simple_manage_events.html       |   5 +-
 .../tests/test_permission_for_nested_oop_app.html  |   3 +-
 .../tests/test_permission_for_two_oop_apps.html    |   3 +-
 dom/ipc/tests/test_permission_helper.js            |  21 ++--
 .../test_permission_when_oop_app_crashes.html      |   3 +-
 dom/tv/test/mochitest/head.js                      |   5 +-
 .../test_SpecialPowersPushAppPermissions.html      |  14 ++-
 .../tests/Harness_sanity/test_bug816847.html       |   6 +-
 .../components/SpecialPowersObserver.js            |   4 +-
 .../content/SpecialPowersObserverAPI.js            |  24 +----
 testing/specialpowers/content/specialpowersAPI.js  | 111 ++++++++-------------
 35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Xidorn Quan 1a693cf130 Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Xidorn Quan 9c39f97e15 Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : 06ea81fe3f64c072d100e42b76678eaa9fb7448c
2015-10-27 13:38:02 +09:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Marcos Caceres 9859867e5b Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-11-03 03:52:00 +01:00
Tim Chien 7cfbbed85b Bug 1196654 - navigator.mozBrowserElementProxy for access Browser API methods from the embedded, r=kanru, sr=sicking 2015-10-25 20:06:00 +01:00
Tooru Fujisawa 24ab66bc98 Bug 1217093 - Remove for-each from dom/. r=smaug
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Vivien Nicolas 374a46439a Bug 926452 - The call to getComputedStyle in the onStateChange progress listener of BrowserElementChildPreload.js is expensive (~30ms). r=fabrice 2015-10-15 06:40:00 +02:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Thomas Nguyen 5d4524094b Bug 1168704 - Rename setFocusApp in nslNfcContentHelper. r=yoshi
--HG--
extra : rebase_source : 016d109d6188dbbf4c590da9b3d640c92258e895
2015-10-07 23:55:00 +02:00
Ting-Yu Chou 0c77e54e7f Bug 1214133 - Preload ExtensionContent.jsm to get rid of the overhead. r=fabrice 2015-10-13 17:39:52 +08:00
Kevin Grandon c44fd52108 Bug 1211481 - Expose screenX and screenY to context menu events. r=fabrice 2015-10-05 08:36:00 +02:00
Carsten "Tomcat" Book f11b039d32 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
Boris Chiou 50975ecf3c Bug 1210265 - Add a pref toggle for copying/pasting only plain text on B2G. r=timdream
Add a new preference, clibboard.plainTextOnly.
1. On:  we only support kUnicodeMIME in SetData/GetData.
2. Off: we can support different MIME types in SetData/GetData

BTW, "copy image" is dependent on non-text/rich text support, so this
menu item is also disabled after we turn the pref off.
2015-10-02 00:26:00 +02:00
Yoshi Huang d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Wes Kocher 0625b82581 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Boris Chiou f7042de103 Bug 1198522 - Add a flag to make sure customized menu is added. r=timdream, r=kanru
We use the same array to maintain some system items and customized menu
items, so I add a new flag to make sure we add customized ones.

--HG--
extra : rebase_source : 74c5c2d5294ca949481aee31240535a003e13478
2015-09-18 05:35:00 +02:00
Andrea Marchesini 5bd948cce6 Bug 1167465 - Exposing Allowed Audio Channels in System App's Window, r=alwu, r=fabrice 2015-09-23 08:12:52 +01:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Ted Clancy 4b2d44ae11 Bug 1195801 - Add GetStructuredData() method to Browser API. r=kanru, r=bholley 2015-09-22 23:02:10 -07:00
Ted Clancy 4ec52ed181 Bug 1195801 - part 2: Tests for getStructuredData. r=kanru 2015-09-17 20:55:19 -07:00
Kan-Ru Chen 352ceeac46 Bug 1186843 - Don't recreate message manager. r=smaug 2015-09-21 17:51:08 +08:00
Ting-Yu Lin 63aeeea1b1 Bug 1199161 - Add selectedTextContent to CaretStateChangedEvent. r=kanru, sr=smaug
The old SelectionStateChangedEvent dispatched by SelectionChanged had
this field, but it has not being ported to CaretStateChangedEvent. We
should include selected text in the event so that Gaia could have a
chance to enhance user experience.

--HG--
extra : rebase_source : 7304b71e251e2ee081192340b8f86f22bf6e03a6
2015-09-16 17:58:14 +08:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Carsten "Tomcat" Book 84f822726d Backed out 1 changesets (bug 1198522) for gij20 test failures
Backed out changeset b0c1649e39d2 (bug 1198522)

--HG--
extra : rebase_source : 2625120b6ec2e36648e64ca39d701c0340d2047b
2015-09-11 14:14:11 +02:00
Boris Chiou a637c0b974 Bug 1198522 - Separate customized and sys cmd menu items. r=kanru
Use a different array to store 'copy-image' and 'copy-link' menu items.
2015-09-04 00:52:00 +02:00
Tooru Fujisawa 0edf2b7404 Bug 1207494 - Part 3: Remove use of expression closure from dom/browser-element/. r=smaug
--HG--
extra : commitid : IX6Ep2xpsM2
extra : rebase_source : fb3dcb439af7dc4a729f776c72ac0cbaa944cb9f
2015-09-23 18:39:13 +09:00
Kan-Ru Chen 42ed9cb8a7 Bug 1200498 - Clean up dom/browser-element mochitest.ini that has skip-if toolkit != gtk2 now that gtk3 is the default 2015-09-04 14:18:50 +08:00
Kan-Ru Chen 57f614afaf Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug 2015-09-03 13:21:21 +08:00
Boris Chiou b5773495c8 Bug 1121463 - Support copy link on context menu. r=kanru
Add a special menuitem, copy-link, to pass the url and do command.
2015-08-31 20:37:00 -04:00
Ted Clancy 11ac435465 Bug 1178484 - Part 5: Test for metachange event when Open Graph property is loaded. r=kanru 2015-08-28 03:31:36 -07:00
Ted Clancy 069dfd2ca0 Bug 1178484 - Part 4: Fire metachange event when a <meta> tag has Open Graph data. r=kanru 2015-08-28 03:31:29 -07:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Cervantes Yu 3c09a9761d Bug 1166207 - Load preload.js in the Nuwa process. r=khuey
--HG--
extra : rebase_source : 292c5e5dbee5fa49a78fd1997d97094ef2190143
2015-08-28 17:57:44 +08:00
Tim Chien 594973b3d3 Bug 974770 - Get rid of dom.mozInputMethod.testing in test scripts. r=kanru, r=mrbkap
--HG--
extra : histedit_source : a47dc2f917d2cc53dfcf500df00e02052a2e4aff
2015-08-26 20:18:00 -04:00
Yoshi Huang 4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang 12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Boris Chiou d0b96e41a1 Bug 952456 - Part 2: Support copy image in BrowserElement. r=kchen
Add a new context menu option, copy image.
2015-08-12 03:09:00 -04:00
Ehsan Akhgari f9752f535c Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Fabrice Desré d0a42c5e92 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré 4bccca4c8b Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré dc4738feca Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Myk Melez 5f5a298ac6 Bug 1135261 - return new window from window.open in desktop runtime; r=marco,smaug,junior,wesj 2015-08-13 19:00:02 -07:00
Aryeh Gregor 5aeef0231d Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Brian R. Bondy 7bf8055bf0 Bug 1189494 - Pass tracking information to BrowserElement's mozbrowsersecuritychange event. r=fabrice 2015-08-10 16:59:59 -04:00