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

1101 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 569f181508 Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
J. Ryan Stinnett 30f5c7c935 Bug 1316718 - Remove ExtensionContent from mozbrowser startup. r=fabrice
MozReview-Commit-ID: 4I5Ox1cQdIg

--HG--
extra : rebase_source : ca8dc8328fe268d91e7e98b1130c16527684a427
2016-11-10 15:38:26 -06:00
Andi-Bogdan Postelnicu 65ae72060c Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Phil Ringnalda e7fdca7c8d Backed out 6 changesets (bug 1301340, bug 1303113) for landing too close to a merge and causing leaks and test failures
Backed out changeset adfcc194af1c (bug 1303113)
Backed out changeset 085035586d2b (bug 1303113)
Backed out changeset 81f3bb541c86 (bug 1301340)
Backed out changeset 05c42cf92851 (bug 1301340)
Backed out changeset cb45e90f6596 (bug 1301340)
Backed out changeset f54a717c6fc6 (bug 1301340)

MozReview-Commit-ID: BkwhFJNtF7G

--HG--
extra : rebase_source : cc47ef8587f08b12b53406efee1d5b915d3c833a
2016-11-09 19:11:12 -08:00
Gabor Krizsanits fcb38b7051 Bug 1301340 - part7: Turning off some tests temporarily to enable e10s-multi 2. r=mrbkap 2016-11-09 14:44:21 +01:00
Sebastian Hengst ab979aec00 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/browser-element. r=RyanVM
MozReview-Commit-ID: 9efYUFizAM7

--HG--
extra : rebase_source : 8e88ccdc46ece98b791a24a9cac442e18a22740a
2016-11-05 11:29:15 +01:00
Gabor Krizsanits a7a38b8a5f Bug 1301340 - part6: Disabled test should still run in non-e10s mode. r=me 2016-11-04 11:05:55 +01:00
Gabor Krizsanits 566393518d Bug 1301340 - part5: Turning off some tests temporarily to enable e10s-multi. r=mrbkap 2016-11-03 19:28:15 +01:00
Michelangelo De Simone 6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Michael Layzell de29c95ed2 Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell 4a25d63b19 Bug 1303196 - Part 5: Remove a window namespacing test due to window namespacing behavior changes, r=ehsan
MozReview-Commit-ID: AKse7r2JKm3
2016-10-27 15:53:35 -04:00
Michael Layzell 029a7def5d Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Michael Layzell f9eea2d135 Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Michelangelo De Simone 8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ehsan Akhgari 4a51ebacfa Bug 1310378 - Remove support for mozwidget; r=baku 2016-10-17 13:15:36 -04:00
Ryan VanderMeulen 3a3d2f98ed Bug 960345 - Re-enable OOP browser-element tests on OSX debug.
--HG--
extra : rebase_source : bce1d5aed40310c61cf59b00beead2b5582ff2d7
2016-10-14 20:15:07 -04:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
J. Ryan Stinnett 3befba8d87 Bug 1308955 - Remove leftover invocations of ContentPanning. r=kanru
MozReview-Commit-ID: CKMEILwr0WV

--HG--
extra : rebase_source : 4434b1df5585b650c2c5285e18aeace98c80e0ab
2016-10-10 10:52:23 -05:00
Kartikaya Gupta eae6ab8433 Bug 970125 - Rip out the BrowserElementPanning JS code that's not used any more. r=kanru
MozReview-Commit-ID: 9VRrVliiU6r

--HG--
extra : rebase_source : ba49e5f270b37c80dd12258b3820f7e82cba6fef
2016-10-06 10:36:17 -04:00
Catalin Badea afc2be9e7b Bug 1307900 - Fix spelling mistake in browserElement_Manifestchange.js. r=jdm
MozReview-Commit-ID: 1z8N75jJXLw

--HG--
extra : rebase_source : 0d7884362358b6e6d94b75f01c6c856b7cf7741f
2016-10-05 15:18:56 -04:00
Ting-Yu Lin bc5a26efde Bug 1307252 - Hide the carets when the selection is made by select all. r=kanru,kats
The mochitest for clipboard still needs the mozbrowsercaretstatechanged events,
so we disable "layout.accessiblecaret.hide_carets_for_mouse_input".

MozReview-Commit-ID: CD03lmjwUa9

--HG--
extra : rebase_source : 530d241764d55ed6507f993511c74cf820195283
2016-10-05 15:46:36 +08:00
Ninad Bhat[:ninad101] 15dca34ea9 Bug 1301628 - Corrects misc-argument-comment. r=dzbarsky 2016-09-09 10:45:00 +02:00
Carsten "Tomcat" Book 89dba842cb merge fx-team to mozilla-central a=merge 2016-09-09 12:01:21 +02:00
J. Ryan Stinnett b7ca8b1d80 Bug 1301514 - Destroy browser API frame scripts during swap. r=kanru
When swapping content from <iframe mozbrowser> to <xul:browser>, we now stop the
frame scripts that implement the content side of the browser API since they are
no longer needed and can cause issues if they remain active.

MozReview-Commit-ID: JrecxA4MI93

--HG--
extra : rebase_source : cc68b975c7d82035410a647ff66eab130055ed04
2016-09-08 16:00:12 -05:00
J. Ryan Stinnett bcefcd65fe Bug 1301514 - Clarify ownership of BrowserElementIsReady. r=kanru
It wasn't immediately obvious to me that BrowserElementIsReady was correctly
guarding against re-running the browser element scripts in a frame.  After more
testing, it was working, but I've added some debug lines for future clarity.
No functionality changes in this patch.

MozReview-Commit-ID: CW4o2TsGKmj

--HG--
extra : rebase_source : 62ec06d4b75f90b3478e403906efaa2f3c3658e2
2016-09-07 17:45:13 -05:00
Mike de Boer f52eb8430c Bug 1290914 - move the matches count and highlight-all request from the findbar binding to the JS module in the content process, so it's closer to the metal. r=jaws
MozReview-Commit-ID: INYobXmrVj5
2016-09-08 22:38:55 +02:00
Kan-Ru Chen 880bbbc173 Bug 1279635 - Change mozbrowserlocationchange event detail to match Servo. r=smaug
MozReview-Commit-ID: 1kCbM5lJ4Sr

--HG--
extra : rebase_source : e13fb1ee68301e77acb0bd5b97f24deab865bdd8
2016-09-02 17:20:05 +08:00
Joel Maher a1bd244c06 Bug 1299882 - Intermittent tests | Timed out while polling clipboard for pasted data. r=RyanVM
MozReview-Commit-ID: 3S0vvyix6JN

--HG--
extra : rebase_source : f9ceb0b813adc6dca9a1f8323446ade4dd2c1a6e
2016-09-01 15:33:06 -04:00
Kartikaya Gupta 114ff898bb Bug 1299488 - Remove TabParent::InjectTouchEvent as it is unused but error-prone. r=botond
MozReview-Commit-ID: EVBRK70veT1
2016-08-31 16:54:23 -04:00
Alastor Wu a2979b25f8 Bug 1262053 - part10 : modify tests. r=baku
MozReview-Commit-ID: 98JWlLo7oRG

--HG--
extra : rebase_source : 207b0c68a3218ad260f8b7c97748df7587cb0616
2016-08-29 18:56:43 +08:00
Sebastian Hengst c32d429f6e Backed out changeset 7158434e674a (bug 1290914) 2016-09-07 18:37:24 +02:00
Mike de Boer ec93a96045 Bug 1290914 - move the matches count and highlight-all request from the findbar binding to the JS module in the content process, so it's closer to the metal. r=jaws
MozReview-Commit-ID: IgPlFro1bg9

--HG--
extra : rebase_source : 67e1f08003e26295377ffb0d17ffe902ea49970f
2016-09-07 12:03:45 +02:00
J. Ryan Stinnett eba743ab20 Bug 1296079 - Disable dump() calls in dom/browser-element. r=kanru
MozReview-Commit-ID: 1RbEiXMV5ab
2016-08-22 13:44:51 -05:00
Michael Layzell aa89e8fd55 Bug 1293001 - Part 1: Change the BinaryName of nsIFrameLoaderOwner::frameLoader (which overloaded another virtual method) to FrameLoaderXPCOM, r=froydnj
MozReview-Commit-ID: Db3z2DP5qba
2016-08-11 15:49:39 -04:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Decky Coss b69450d2ea Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07

--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Alexandre Lissy 84dcf6689f Bug 1287455 - Skip tests that are not useful on Android r=kanru
MozReview-Commit-ID: GklpSjmJZy6

--HG--
extra : rebase_source : f690e6aa529f263825e018a5dd283c460c5a7555
2016-07-18 18:54:58 +02:00
Alexandre Lissy 6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Gabriele Svelto 4dfafe74a7 Bug 1284535 - Remove dependencies to the mozApps-related APIs from the audio channel code r=gsvelto
MozReview-Commit-ID: 9XKMKBkvlfR

--HG--
extra : rebase_source : f08a164c052e996c0aad2cd770ff0ba786596d14
2016-04-14 15:19:41 +02:00
Alexandre Lissy a45ac414af Bug 1284455 - Kill uses of nsISystemMessagesInternal.h outside of b2g r=gsvelto
MozReview-Commit-ID: 8tVEvoF9kku

--HG--
extra : rebase_source : 79ba0474395d8513e1287d45fbee201906a4eab2
2016-07-05 14:59:40 +02:00
Fabrice Desré f855149768 Bug 1284455 - Remove the System Messages API, Gecko part r=me
MozReview-Commit-ID: 1mhzddSLkuu

--HG--
extra : rebase_source : f230538d50f7c944825e1833c97ee0f56ecb86f8
2016-04-20 19:04:13 +02:00
Thomas Nguyen ffba687a20 Bug 1025965 - Rename browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=francios
MozReview-Commit-ID: 3TMs6MPtWsC
2016-05-09 14:44:08 +08:00
Carsten "Tomcat" Book 4ee1ed2b8f merge mozilla-inbound to central a=merge
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
Mike de Boer e42260141c Bug 384458 - part 5: add unit test coverage for the findbar modal highlight feature. r=jaws 2016-06-09 13:30:51 +02:00
Wes Kocher 0adc8ded6e Backed out 6 changesets (bug 384458) for frequent browser_FinderHighlighter.js failures
Backed out changeset ded915ec401f (bug 384458)
Backed out changeset 63ec66da50fa (bug 384458)
Backed out changeset ae71396d3be0 (bug 384458)
Backed out changeset 3b025cbfbe3c (bug 384458)
Backed out changeset 091c5465acf7 (bug 384458)
Backed out changeset 5eabde153def (bug 384458)
2016-06-08 14:53:57 -07:00
Mike de Boer f89bf35a04 Bug 384458 - part 7: up the hard-coded match count limit from 100 to 1000. r=me 2016-06-08 21:51:40 +02:00
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
Jeremy Chen b253b6b253 Bug 1181418 - Send selectionEditable info to app_text_selection_dialog. r=tlin, r=kanru, sr=smaug
--HG--
extra : commitid : DO8T9n6MMXa
extra : amend_source : d359d938905e00a8a4d6c5cebf0bee14b7527b6e
2015-07-31 04:34:00 +08:00
Ehsan Akhgari 778c91d13d Bug 1190082 - Rename media-playback and the related stuff to audio-playback; r=smaug
Given that we only dispatch this for audio, media-playback sounds
like a misnomer.
2015-08-04 21:07:41 -04:00
Ehsan Akhgari f674124112 Bug 1190083 follow-up: Restore the alphabetical order, DONTBUILD 2015-08-04 18:33:29 -04:00
Ehsan Akhgari d18fe288a5 Bug 1190083 - Rename mozbrowsermediaplaybackchange to mozbrowseraudioplaybackchange; r=fabrice
--HG--
rename : dom/browser-element/mochitest/browserElement_MediaPlayback.js => dom/browser-element/mochitest/browserElement_AudioPlayback.js
rename : dom/browser-element/mochitest/test_browserElement_oop_MediaPlayback.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioPlayback.html
rename : dom/browser-element/mochitest/test_browserElement_inproc_MediaPlayback.html => dom/browser-element/mochitest/test_browserElement_oop_AudioPlayback.html
2015-08-04 18:31:14 -04:00
Kan-Ru Chen 37be5dc5be Bug 1188639 - Fix typo in BrowserElement.webidl and add tests for it. r=yoshi,bz 2015-08-03 10:56:03 +08:00
Brian R. Bondy 8b7c257d54 Bug 1188487 - Tests for BrowserElement mute / set volume. r=fabrice 2015-07-31 13:21:25 -04:00
Brian R. Bondy b96697e95d Bug 1188487 - Add API to BrowserElement to mute and set volume. r=fabrice
It's already possible to get mute/volume at the audio channel level, but
this adds it at the iframe level so that audio channels can be created
and destroyed and the setting will be preserved.
2015-07-31 13:21:18 -04:00
Junior Hsu 546348a34c Bug 1043110 - Part 2 - dispatch mozbrowsererror. r=kanru
--HG--
extra : rebase_source : 40a7dc00c2c1121ec6444fefaf1aca927ea17b27
2015-07-15 18:13:16 +08:00
Jeremy Chen 76c380be23 Bug 1147329 - Handle in-process case for Cut/Copy/Paste feature. r=kanru
--HG--
extra : commitid : H2bSIbLfEXs
2015-07-27 11:56:04 +08:00
Carsten "Tomcat" Book 6a7e108e0a Backed out changeset 35c6e7e9c205 (bug 1135261) for test failures in gij in bookmark_edit_test.js on a CLOSED TREE 2015-07-22 08:13:08 +02:00
Myk Melez 9d936dfa4a Bug 1135261 - return new window from window.open in desktop runtime; r=marco,smaug,junior,wesj 2015-07-21 19:15:38 -07:00
Xidorn Quan eb61df85f2 Bug 1183848 - Register fullscreenchange event handler only once per window. r=smaug,khuey
--HG--
extra : source : c4ddc31b4f179cf1399e28b4dd95661ef8a8bfcd
2015-07-20 14:22:20 +10:00
Paul Rouget dfe7fcd341 Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley 2015-07-16 03:56:00 -04:00
Boris Zbarsky f9793d505e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini 24422a4be6 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01:00
Andrea Marchesini db14826639 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book c07e36b612 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book c17af9311e Backed out changeset 200c185e4d71 (bug 1113086) 2015-07-11 14:13:41 +02:00
Andrea Marchesini 2668d9c803 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 21:08:53 -04:00
Andrea Marchesini 3050bc370c Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan f23d866f51 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)

--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Xidorn Quan 291696aa87 Backed out 7 changesets (Bug 1113086) for build bustage 2015-07-11 10:45:21 +10:00
Brian R. Bondy 8edf122c8c Bug 1181176 - Pass along x and y position for context menus on Graphene. r=fabrice 2015-07-10 20:30:05 -04:00
Brian R. Bondy 261d106827 Bug 1180824 - Tests for browser-element mozbrowsermediaplaybackchange event. r=fabrice 2015-07-10 20:30:03 -04:00
Brian R. Bondy 7ef87cbf6f Bug 1180824 - Implement media playback events for browser-element / Graphene. r=fabrice 2015-07-10 20:30:01 -04:00
Andrea Marchesini b5cb67aaf7 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01:00
Andrea Marchesini bbb0a11f31 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Tom Tromey 4113691556 Bug 1221292 - move nondeterministicGetWeakMapKeys to ThreadSafeChromeUtils; r=bz 2015-11-11 12:55:00 +01:00
Chris Lord 415486f0fe Bug 1170644 - Fix forced reflow in BrowserElementChildPreload. r=bz 2015-07-08 15:38:43 +01:00
Fabrice Desré f4eada1f8a Bug 1168658 - Enable tracking protection in b2g r=francois 2015-06-09 21:26:37 -07:00
Gabriele Svelto c693511438 Bug 1144132 - Adjust the priority of an activity opener so that it's above other background applications. r=fabrice
--HG--
rename : dom/browser-element/mochitest/priority/test_Background.html => dom/browser-element/mochitest/priority/test_Activity.html
rename : dom/browser-element/mochitest/priority/test_ForegroundLRU.html => dom/browser-element/mochitest/priority/test_MultipleActivities.html
2015-06-13 15:16:00 +02:00
Etienne Segonzac 8fcf73b164 Bug 1164123 - Add support for a theme-group meta to make theme-color"themable". r=fabrice 2015-06-17 10:02:00 -04:00
Xidorn Quan 68859cacc4 Bug 1168028 part 2 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao
--HG--
extra : source : bbf582da8bd4b7ee58c597b5aeb9f64199059f38
2015-06-12 13:24:45 +12:00
Paul Rouget 53184296fe Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan 2015-06-09 20:04:00 -04:00
Phil Ringnalda dfef8b95e8 Back out 3c8a737a5f8a (bug 1168658) for frequent Gij(10) failures in homescreen_navigation_test.js and edges_gesture_test.js, a=backout 2015-06-10 20:37:27 -07:00
Wes Kocher b124d4653d Merge b2ginbound to central, a=merge 2015-06-10 18:36:06 -07:00
Xidorn Quan 29eb0a646b Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao
--HG--
extra : source : fafd0c5759b8273aa30f37f014d2d5347a72b6d2
2015-06-10 23:13:12 +12:00
Fabrice Desré 0beb2b5457 Bug 1168658 - Enable tracking protection in b2g r=francois 2015-06-09 21:26:37 -07:00
Kevin Grandon 930310e210 Bug 1162844 - Add meta name="viewmode" to have configurable VR experiences. r=fabrice
--HG--
extra : rebase_source : cfabbfd656966e42b8bc00dfaf1bb6356118c5e0
2015-05-29 05:58:00 +02:00
Morris Tseng bf13766420 Bug 1155493 - Part 4 - Add test for mozbrowsercaretstatechanged. r=kanru 2015-05-28 01:39:00 -04:00
Morris Tseng fc201e0ae1 Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kanru 2015-05-28 01:57:00 -04:00
Bobby Holley 477721865b Bug 1167372 - Use originNoSuffix for full-screen prompt. v2 r=smaug,r=dao,r=fabrice 2015-05-27 15:32:47 -07:00
Ryan VanderMeulen cf9976434d Backed out 4 changesets (bug 1155493) for Android test_browserElement_inproc_CopyPaste.html timeouts/crashes.
Backed out changeset 3bd7adb9f591 (bug 1155493)
Backed out changeset 0380b1684e6b (bug 1155493)
Backed out changeset 58b7c1eaf3c8 (bug 1155493)
Backed out changeset 896beb5088a7 (bug 1155493)
2015-05-25 13:15:06 -04:00
Morris Tseng bdae42a9c6 Bug 1155493 - Part 4: Add test for mozbrowsercaretstatechanged. r=kchen
--HG--
extra : source : 37cf24967016342b1bfe069c32321489d730bec3
2015-05-19 21:00:00 -04:00
Morris Tseng a11d4a5f6e Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kchen
--HG--
extra : source : 0d74bb9bb06f9b55024a23b3744cbf6555c8fef1
2015-05-21 02:06:00 -04:00
Xidorn Quan 15047dd722 Bug 1053413 part 5 - Switch browser element to rely on fullscreen events instead of observer notification. r=smaug
--HG--
extra : source : ada5a798d60d130010fc5e07fbbaf3acbcd29c2f
2015-05-21 09:52:26 +12:00
Xidorn Quan ae0095611c Bug 1053413 part 3 - Remove fullscreen-origin-change notification, and make browser element rely on the fullscreen events. r=smaug
--HG--
extra : source : 5fb435684c91c57343b68ba3bf6caddb0ee0e778
2015-05-21 09:52:26 +12:00
Gabriele Svelto ae624cb0f7 Bug 1157030 - Revert bug 1142806. r=khuey 2015-04-30 11:25:29 +02:00
Morris Tseng 9fc49c87d2 Bug 1151111 - Append iframe2 after iframe1 has loaded. r=kchen 2015-05-05 19:42:00 -04:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Kevin Chen 41669c8fe2 Bug 1097479 - Allow nested content process to embed apps and add a nested pref check function. r=kanru
--HG--
extra : rebase_source : cffe31cb84bfd635458465774e77c4ff182839f0
2015-04-29 03:48:00 +02:00