Commit Graph

692 Commits

Author SHA1 Message Date
Andrea Marchesini
a3b6c9b7b9 Bug 1085284 - Implement URLSearchParams iterable<>, r=bz 2015-10-19 16:07:40 +01:00
Aryeh Gregor
1b7d495e6a Bug 801545 - Remove DocumentType.internalSubset, r=bz
The C++ method GetInternalSubset() and related apparatus remains, and is
used by the XML serializer etc.
2015-10-19 09:53:41 +01:00
Phil Ringnalda
0836b0d265 Bug 1206995 - disable test_window_define_nonconfigurable.html for release_build, since the feature it tests is disabled there, which makes the test fail 2015-09-21 19:43:47 -07:00
Wes Kocher
a72bfcbb91 Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors
Backed out changeset e2b3064dcace (bug 1182571)
Backed out changeset 8153ae231d16 (bug 1182571)
2015-10-15 14:07:06 -07:00
Jonas Sicking
919106e7d1 Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan 2015-10-15 12:18:21 -07:00
Aryeh Gregor
5812e940a1 Bug 492933 - getElementsByTagName should match on localName not tagName, r=smaug
dom-level2-core test changes by Ms2ger.
2015-10-15 10:03:30 -04:00
Andrea Marchesini
5d87760511 Bug 944616 - "Blob URLs don't allow query or fragment parts". r=bz 2015-10-14 13:48:00 +02:00
Boris Zbarsky
df1837e3c9 Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage. 2015-10-14 11:07:06 -04:00
Nigel Babu
f74ad33af8 Backed out changeset e184609e1d13 (bug 1207546) for bustage ON A CLOSED TREE 2015-10-14 13:29:03 +05:30
Andrea Marchesini
9373bbb439 Bug 1207546 - Integrate WebRTC with audio channels, r=roc 2015-10-14 11:32:23 +05:30
Aryeh Gregor
0e1ce1775c Bug 799937 - Make createElement()'s result always in the HTML namespace (except for XUL documents); r=bz
The new expected failures in web-platform are in a test that doesn't
match the spec, which has already been synced upstream and will be
synced shortly.  For the same test in imptests, I chose to modify the
test instead, because it's easier and imptests is going to be removed.
2015-10-14 11:16:08 +05:30
Andrew Comminos
847568bd6b Bug 1187385 - Use -moz-appearance: none to ignore widget style padding in test_caretPositionFromPoint. r=karlt 2015-10-13 00:08:22 -07:00
Aryeh Gregor
87c611f20c Bug 1213862 - Align nsString whitespace handling with web specs; r=froydnj 2015-10-12 20:47:57 +03:00
Hiroyuki Ikezoe
ab09d590f3 Bug 1167627 - Part 1: Use mozinfo in dom/. r=mrbkap 2015-10-11 21:47:00 +02:00
Ehsan Akhgari
2b81f33a80 Bug 1213151 - Part 2: Use SpecialPowers.cleanUpSTSData() in a few tests; r=jdm 2015-10-09 10:56:19 -04:00
Boris Zbarsky
4f86d481fb Bug 1211624. document.all should be iterable, and so should be various other things that have an anonymous indexed getter. r=qdot 2015-10-07 09:31:32 -04:00
Carsten "Tomcat" Book
d7f143eaad Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cd93f441eb Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
b9e5717f50 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
f0cdd04e91 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Carsten "Tomcat" Book
bc7e34a613 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
Ehsan Akhgari
2383ddd247 Bug 1166714 - Increase the test timeout to make it pass on the slow b2g emulator 2015-10-03 11:40:29 -04:00
Kartikaya Gupta
a150fd1d98 Bug 1208023 - Ensure the minimum scale is a sane value greater than zero and add a separate flag to track if the default zoom is valid. r=botond 2015-10-02 23:08:18 -04:00
Boris Chiou
39cb7e8595 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
Tooru Fujisawa
36f624dda4 Bug 1207494 - Part 2: Remove use of expression closure from dom/base/test/. r=peterv 2015-09-23 18:39:13 +09:00
Olli Pettay
e476b40985 Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley 2015-10-01 20:06:51 +03:00
Wes Kocher
bfa9789a6d Backed out changeset 4f43cdaedec3 (bug 1207546) for webgl-capturestream-test.html failures 2015-10-01 10:10:47 -07:00
Andrea Marchesini
ca839dd4e2 Bug 1207546 - Integrate WebRTC with audio channels, r=roc 2015-10-01 16:22:25 +03:00
Ehsan Akhgari
63f3c84c41 Bug 1198386 - Wait for the AudioContext to enter the running state before calling suspend() on it; r=karlt 2015-09-29 21:43:05 -04:00
Brian Grinstead
c6e35a38ee Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Chris Peterson
dd2fcb9b7d Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Masatoshi Kimura
664155a2ac Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz 2015-09-23 09:32:29 +09:00
Boris Zbarsky
d74ed8ff32 Bug 1176313. Reland the changes to make Attr handling follow the spec again. This is a relanding of bug 1075702, effectively. r=smaug 2015-09-22 13:13:26 -04:00
Michael Layzell
26469c55d9 Bug 918742 - Correct handling of author-supplied charsets in XMLHttpRequest, r=bz 2015-09-22 12:26:15 -04:00
Kan-Ru Chen
9d97bfbf67 Bug 1186843 - Don't recreate message manager. r=smaug 2015-09-21 17:51:08 +08:00
Christoph Kerschbaumer
3f628c1ad1 Bug 1204703 - Add AsyncOpen2 to channels within JS tests (r=sicking) 2015-09-18 09:27:52 -07:00
Wes Kocher
0484e3d976 Backed out 3 changesets (bug 1143922) for landing with the wrong bug number
Backed out changeset 309b4d1ab81c (bug 1143922)
Backed out changeset deda472458fd (bug 1143922)
Backed out changeset 977d5b7ecba3 (bug 1143922)
2015-09-18 14:13:33 -07:00
Boris Zbarsky
9a3056ec18 Bug 1205364 part 1. Make createAttribute in an HTML document lowercase the passed-in attribute name. r=smaug 2015-09-18 13:36:24 -04:00
Christoph Kerschbaumer
672cda2d6d Bug 1143922 - Add AsyncOpen2 to channels within JS tests (r=sicking) 2015-09-18 09:27:52 -07:00
Nathan Froyd
8de0211a8e Bug 1204994 - part 3 - update use counter tests for new CONTENT_DOCUMENT histograms; r=bz 2015-09-17 00:08:21 -04:00
Nathan Froyd
96c870cc3d Bug 1204994 - part 2 - rename all USE_COUNTER_* histograms to USE_COUNTER2_* histograms; r=bz,vladan
We're changing the definition of each of the use counter histograms.
Therefore, they need new names, so as to not throw wrenches into the
server-side machinery.  This renaming is the most straightforward way to
do things and similar to how we have renamed other histograms before.
2015-09-15 20:44:37 -04:00
Nathan Froyd
135daa02af Backout c5b25c30befc:b217dfd70e22 (bug 1204994) for browser-chrome oranges; r=me 2015-09-17 05:09:13 -04:00
Nathan Froyd
980f4a7bc0 Bug 1204994 - part 3 - update use counter tests for new CONTENT_DOCUMENT histograms; r=bz 2015-09-17 00:08:21 -04:00
Nathan Froyd
a8d76ae67a Bug 1204994 - part 2 - rename all USE_COUNTER_* histograms to USE_COUNTER2_* histograms; r=bz,vladan
We're changing the definition of each of the use counter histograms.
Therefore, they need new names, so as to not throw wrenches into the
server-side machinery.  This renaming is the most straightforward way to
do things and similar to how we have renamed other histograms before.
2015-09-15 20:44:37 -04:00
Andrea Marchesini
416d6f35ed Bug 1203463 - URL constructor should support about:blank URI, r=bz 2015-09-16 11:26:29 +08:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Wes Kocher
bb202d75b3 Backed out changeset 1023659e3413 (bug 1203463) for w(7) and m(4) bustage 2015-09-15 10:58:14 -07:00
Andrea Marchesini
d7660a7dd3 Bug 1203463 - URL constructor should support about:blank URI, r=bz 2015-09-16 00:45:34 +08:00
Franziskus Kiefer
002b5f3f7a Bug 1174915 - Allow changing meta referrer policy on the fly, tests (r=sstamm) 2015-06-29 11:05:05 -07:00
Ehsan Akhgari
e036597995 Bug 703773 - Increase the timeout of the test in order to make it not time out on Android 2015-09-13 12:57:07 -04:00
Michael Layzell
3bf16f96e5 Bug 1188932 - Allow the User-Agent header to be explicitly set by requests, r=bkelly, r=jgraham 2015-09-12 12:46:09 -04:00
Masatoshi Kimura
b028e8f37e Bug 1200602 - Use the alternate content for <applet>. r=kmachulis 2015-09-10 07:32:00 +02:00
Kan-Ru Chen
aecce7c1ea Bug 1201394 - Use cached preferences value in ProcessPriorityManager. r=gsvelto 2015-09-06 01:11:49 +08:00
Hiroyuki Ikezoe
a6b20f6b51 Bug 1197003 - Part 2 - Implement processing algorithm for PerformanceObserver to notify a batch of entries. r=baku 2015-09-02 23:41:00 +02:00
Kan-Ru Chen
8a19a6b884 Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug 2015-09-03 13:21:21 +08:00
Edgar Chen
cc6067bf60 Bug 1178856 - Create an API for detecting web-extensions support on b2g. r=fabrice 2015-08-25 18:35:17 +08:00
Ryan VanderMeulen
7489e4c610 Bug 1200607 - Request a longer timeout on tests that are now timing out as the first tests in the chunk.
CLOSED TREE
2015-09-01 13:35:58 -04:00
Carsten "Tomcat" Book
07c500f771 Backed out changeset e4e12583c280 (bug 1170894) for various mochitest testfailures on a CLOSED TREE 2015-09-01 09:39:25 +02:00
Kan-Ru Chen
1abdd58bda Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug 2015-09-01 12:54:36 +08:00
Ehsan Akhgari
bdacacf087 Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku 2015-08-31 20:44:23 -04:00
Ehsan Akhgari
41fc7883c1 Backout bug 1200208 for build bustage on a CLOSED TREE 2015-08-31 16:49:27 -04:00
Ehsan Akhgari
a52efb2733 Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku 2015-08-31 16:24:51 -04:00
Ryan VanderMeulen
e6e492afd4 Backed out changeset 6b264cf230a0 (bug 1200208) for Windows bustage.
CLOSED TREE
2015-08-31 14:11:58 -04:00
Ehsan Akhgari
f60ac5193e Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku 2015-08-31 13:44:55 -04:00
Andrea Marchesini
6e34f6b5b0 Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 17:19:13 +01:00
Nigel Babu
4da66159a2 Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE 2015-08-27 15:04:25 +05:30
Andrea Marchesini
c5ea65bcb2 Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 09:06:09 +01:00
Mike Taylor
126684a8c6 Bug 976616 - Part 4: Add test for dynamic meta viewport updates. r=kats 2015-08-25 06:49:00 -04:00
Mike Taylor
3f0f98e716 Bug 976616 - Part 3: Enable meta viewport tests for Fennec. r=kats 2015-08-25 06:49:00 -04:00
Tim Chien
f82dd56e00 Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug 2015-08-05 01:58:00 -04:00
Ryan VanderMeulen
7fe71e3d8e Backed out 4 changesets (bug 1137557) for causing intermittent Gij switching_test.js failures.
Backed out changeset ce86cf91f423 (bug 1137557)
Backed out changeset 83af10efcd3c (bug 1137557)
Backed out changeset e48ed45d1c80 (bug 1137557)
Backed out changeset 81e93b60a622 (bug 1137557)

CLOSED TREE
2015-08-24 13:27:01 -04:00
Tim Chien
08cf002fb7 Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug 2015-08-05 01:58:00 -04:00
Ryan VanderMeulen
92b3e3e9e6 Merge inbound to m-c. a=merge 2015-08-23 17:18:36 -04:00
Boris Chiou
3ac32fc76e Bug 952456 - Part 3: Enable test_copyimage.html on gonk/cocoa. r=fabrice
Enable dom/base/test/test_copyimage.html on b2g emulators and macos
2015-08-13 00:06:00 -04:00
Ehsan Akhgari
26a405931e Bug 1185351 - Don't force inline style CSP checks on native anonymous content; r=ckerschb 2015-08-21 17:53:34 -04:00
Andrea Marchesini
8271863acf Bug 1196514 - remove dom.messagechannel.enabled pref, r=smaug 2015-08-20 08:34:38 +01:00
Ehsan Akhgari
559da3d613 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
Nick Robson
f3e110d556 Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm 2015-08-19 14:53:22 -07:00
William Chen
e4ba0e9283 Bug 1131470 - Part 6: ScreenOrientation tests. r=baku 2015-08-18 15:28:01 -07:00
Nathan Froyd
292c9733dc Bug 968923 - part 5c - add tests for use counters; r=bz 2015-03-13 15:36:55 -04:00
Hiroyuki Ikezoe
fac618ff80 Bug 1195700 - Disconnect performance observer before being destroyed to avoid crash. r=baku 2015-08-20 14:33:54 -07:00
Hiroyuki Ikezoe
ca9c369a19 Bug 1165796 - Part 3: Fix PerformanceObserverEntryList::GetEntries filtering for initiatorType. r=baku 2015-08-17 15:13:26 -07:00
Hiroyuki Ikezoe
6281743182 Bug 1165796 - Part 2: Implement PerformanceObserver.r=baku 2015-08-17 15:13:20 -07:00
Ehsan Akhgari
9fd933aa73 Bug 1195051 - Part 3: Test changes; r=padenot 2015-08-17 08:55:01 -04:00
Andrea Marchesini
281105c789 Bug 1188612 - Transferable errors should become NS_DOM_DATA_CLONE_ERR, r=sfink 2015-08-10 16:13:24 +01:00
Brian Grinstead
ac2d0fb838 Bug 1186925 - Convert tests using bad-content notification to use gIdentityHandler;r=tanvi 2015-08-07 15:22:52 -07:00
Ehsan Akhgari
82215ebaac Bug 1190040 - Part 1: Do not dispatch media-playback notifications for media elements that do not have an audio track; r=cpearce 2015-08-06 10:25:38 -04:00
Ehsan Akhgari
c218cee3fa Backout bug 1190040 for test failures 2015-08-05 01:12:05 -04:00
Ehsan Akhgari
fc6b13788a 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
4ce8abfef7 Bug 1190023 - Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio; r=cpearce 2015-08-04 20:07:41 -04:00
Ehsan Akhgari
abf3aff6f4 Bug 1190040 - Do not dispatch media-playback notifications for media elements that do not have an audio track; r=baku 2015-08-04 19:38:51 -04:00
Michal Novotny
2c0d94f638 Bug 1137008 - Implement missing parameters of WebSocket permessage compression extension - test, r=jduell 2015-07-31 07:16:30 +02:00
Andrea Marchesini
9941514a28 Bug 1188265 - No manual JS_ClearPendingException when StructuredCloneHelper is used, r=smaug 2015-07-31 01:38:00 +01:00
Olli Pettay
725d5f7848 Bug 1188640 - Add ChromeOnly MutationObserver.mergeAttributeRecords to speed up devtools, r=bz,bgrins 2015-07-30 00:23:47 +03:00
Ehsan Akhgari
656e7e1c47 Bug 1167690 - Part 5: Add tests for plugin audio channel integration; r=baku 2015-07-29 08:26:48 -04:00
Boris Zbarsky
826c9eb48e Bug 1176568. Fix the proto cycle checking to work correctly for inner/outer globals. r=waldo 2015-07-28 12:38:26 -04:00
Andrea Marchesini
9de312a15c Bug 1185569 - Use StructuredCloneHelper in MessagePort, r=smaug 2015-07-28 11:47:36 +01:00
Andrea Marchesini
d5fb31ae84 Bug 1184995 - StructuredCloneHelper for BroadcastChannel and DataStore, r=smaug 2015-07-28 08:38:16 +01:00
Andrea Marchesini
74ad9a8c6b Bug 1186544 - A better test suite for StructuredCloneAlgorithm, r=smaug 2015-07-28 08:37:37 +01:00
Tom Tromey
5b6fe925f0 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-24 07:01:00 -04:00
Franziskus Kiefer
5ee41802be Bug 1184781 - additional referrer tests - redirect. r=christophkerschbaumer 2015-07-22 10:07:00 -07:00
Boris Zbarsky
3b33d5b413 Bug 1107443. Make WindowProxy throw if you attempt to explicitly define a non-configurable property. r=peterv 2015-07-23 11:51:09 -04:00
Franziskus Kiefer
32ef1d3d0b Bug 1175736 - Add iframe referrer attribute tests. r=ckerschb, r=baku 2015-07-20 08:40:04 -07:00
Andrea Marchesini
3ae9a492a0 Bug 1185381 - Make FileList clonable - patch 4 - tests, r=smaug 2015-07-22 17:04:54 +01:00
Franziskus Kiefer
f137dc3ea7 Bug 1185997 - Split referrer tests to avoid intermittent timeouts. r=RyanVM 2015-07-21 16:47:30 -07:00
Franziskus Kiefer
a5d8edce0b Bug 1174913 - anchor and area mochitests. r=bz 2015-06-18 09:01:27 -07:00
Sam E. Giles
d1bb276329 Bug 1177914 - throw a NotSupportedError when running document.importNode on a ShadowRoot or Document. r=wchen 2015-07-17 11:11:14 -07:00
Ryan VanderMeulen
bf45776a3c Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
f2bf2f76dd Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Bill McCloskey
7ca545cb59 Bug 1177013 - test_cpows.xul test for CPOW cancelation (r=dvander) 2015-07-15 14:37:12 -07:00
Boris Zbarsky
5e2335828e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Ehsan Akhgari
0ce5593917 Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Carsten "Tomcat" Book
b6419e2c04 Backed out changeset e11a8496bf63 (bug 1180535) 2015-07-11 14:13:32 +02:00
Ehsan Akhgari
8ec8b088ab Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
Wes Kocher
2cb909875a Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE 2015-07-10 15:36:39 -07:00
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ehsan Akhgari
608fdc76f3 Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Bill McCloskey
f5c237bd98 Bug 1173947 - Make getRandomValues message be urgent (r=mrbkap) 2015-07-07 17:24:42 -07:00
Boris Zbarsky
9d484432d5 Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley
The distinction only matters when document.open() makes a different
window current without changing the active document.
2015-07-07 17:38:07 -04:00
Ehsan Akhgari
1e10bad094 Bug 1180523 - Part 1: Store the audio mute/volume information on the outer window; r=baku
This is needed so that we can preserve this information across navigations.
2015-07-07 01:36:09 -04:00
Bill McCloskey
8fb249be8c Bug 1177013 - Modernize test_cpows.xul (r=dvander) 2015-07-06 19:58:44 -07:00
Ehsan Akhgari
b802f622f8 Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 21:21:19 -04:00
Ehsan Akhgari
56fd6df57d Backout bug 1180539 for test failures 2015-07-06 10:50:35 -04:00
Ehsan Akhgari
cad4a2cc68 Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 09:10:06 -04:00
Phil Ringnalda
cae35eaf19 Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
CLOSED TREE

Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
c814934749 Bug 1177013 - Modernize test_cpows.xul (r=dvander) 2015-07-02 17:18:10 -07:00
Franziskus Kiefer
1ab4ff9a8a Bug 1166910 - Add tests for referrer attribute for img tag. r=ckerschb, r=hsivonen 2015-06-05 15:25:24 -07:00
Masayuki Nakano
a65780bd5b Bug 1179086 ContentEventHandler should use /n on Mac rather than /r r=smaug+smichaud+josh 2015-07-02 10:00:44 +09:00
Boris Zbarsky
5aea6ec315 Bug 959992. Go back to not treating properties that the named properties object exposes as enumerable. r=peterv 2015-07-01 14:15:22 -04:00
Olli Pettay
4794222292 Bug 1174951, try to fix the intermittent failure in test_XHRDocURI.html, r=bz 2015-07-01 15:39:56 +03:00
Carsten "Tomcat" Book
e8200d1de4 Backed out changeset 981a1dbe042b (bug 1166910) 2015-07-01 08:18:58 +02:00
Franziskus Kiefer
3e6e557dff Bug 1166910 - referrer attribute for img tag, tests. r=hsivonen 2015-06-05 15:25:24 -07:00
Blake Kaplan
efe53571bc Bug 1151848 - Bump the priority of this message so that cpowWindow.screen works without crashing. r=billm 2015-06-23 17:34:00 -04:00
Franziskus Kiefer
6d1d070f27 Bug 1101288 - disabling single test to avoid intermittent. r=Kwierso 2015-06-29 08:24:01 -07:00
Andrea Marchesini
9b4c082329 Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug 2015-06-24 12:15:59 -07:00
Olli Pettay
50c7bad95d Bug 1174951, test history API only after load event, r=bz 2015-06-24 12:13:15 -07:00
Valentin Gosu
94c872bed1 Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug 2015-06-10 03:31:36 +03:00
Birunthan Mohanathas
ea5e153ab3 Bug 1103651 - Merge content/test/unit/ into dom/base/test/unit/. r=mrbkap 2015-06-17 06:38:22 -07:00
Andrea Marchesini
f96fc95fdd Bug 1170246 - Improving nsGlobalWindow::ConvertDialogOptions and adding some gTests, r=ehsan 2015-06-17 12:17:33 +01:00
Andrea Marchesini
949d2bb91b Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00
Ryan VanderMeulen
937d35105a Backed out changesets a08167680328 and b008f158e91f (bug 1093611) for talos svgr timeouts. 2015-06-16 15:37:37 -04:00
Valentin Gosu
64c8ea4639 Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug 2015-06-16 19:46:18 +03:00
Boris Zbarsky
2c03d918ef Bug 1165851 part 2. Add a test for the desired createAttribute/getAttribute behavior. r=smaug 2015-06-16 12:18:00 -04:00
Boris Zbarsky
a05ed5f7a8 Bug 1165851 part 1. Back out bug 1060938 and bug 1075702 pending spec changes because they are implementing a spec that's not web compatible. r=smaug 2015-06-16 12:17:57 -04:00
Ryan VanderMeulen
425b4d9128 Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
CLOSED TREE
2015-06-15 13:06:23 -04:00
Andrea Marchesini
068d9fc360 Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-15 14:08:25 +01:00
Olli Pettay
e00c7cbfc0 Bug 1173215, don't set mChromeXHRDocURI when dealing with non-XHR documents, r=bz 2015-06-13 02:34:52 +03:00
Christoph Kerschbaumer
863867d4ec Bug 1117650 - Part 3: Move all CSP tests into dom/security/test. r=sstamm 2015-06-08 16:21:50 -07:00
Christoph Kerschbaumer
f150525b99 Bug 1117650 - Part 2: Move all MixedContent tests into dom/security/test. r=tanvi 2015-06-08 16:21:43 -07:00