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

970 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 8c2602c9e5 Bug 1520831. Fix handling of Symbol-named properties on objects with named setters. r=qdot
Per spec these should just go directly to the expando object; we were ignoring them instead.

Differential Revision: https://phabricator.services.mozilla.com/D16930

--HG--
extra : moz-landing-system : lando
2019-02-19 19:08:32 +00:00
Boris Zbarsky 9c5da5f234 Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D17327

--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Boris Zbarsky 2e5c884144 Bug 1489308 part 5. Align the work we do on document.open with the spec. r=mccr8,smaug
The main behavior changes are:

1) We no longer create a new Window when doing document.open().  We use the
same Window but remove all the event listeners on it and on the existing DOM
tree before removing the document's existing kids.

2) We no longer create a new session history entry.  The existing one always
gets replaced instead.

3) We now support document.open on documents that are not in a Window.

The reasons for the various test changes are as follows:

The change to browser_modifiedclick_inherit_principal.js is because we no
longer set the docshell to a wyciwyg URL when document.open() happens and the
test was depending on that to terminate.

browser_wyciwyg_urlbarCopying.js is being removed because it's trying to test
wyciwyg URIs, which no longer exist.

The changes in docshell/test/navigation are because document.open() no longer
affects session history.  One of the tests was testing the interactions there
and is being removed; another is being repurposed to just test that
document.open() does not affect history.length.

The change to test_x-frame-options.html is because document.open() now removes
event listeners on the window, which it didn't use to do (and in the specific
case in this test reused the existing inner too, so the listener was still
around in practice).  The new behavior matches other browsers.

The removal of test_bug172261.html is because document.open() no longer affects
session history, so you can't go back across it or forward to the "opened"
state, so the situation that test is trying to test no longer exists.

The changes to test_bug255820.html are because reloading a document after
document.open() will now just load the URL of the document that was the entry
document for the open() call, not reload the written content.  So there's not
much point testing reload behavior, and in this test it was just reloading the
toplevel test file inside the frames.

The change to test_bug346659.html is because now we no longer create a new
Window on document.open().

The change to test_bug1232829.html is because document.open() (implicit in this
test) no longer adds history entries, so the back() was just leaving the test
page instead of going back across the document.open().  The test is a
crashtest in practice, so might still be testing something useful about how
document.open() interacts with animations.

The change to test_bug715739.html is because the URL of the document after
document.open() is now the URL of the entry document, not a wyciwyg URL, so
reload() has different behavior than it used to.

The change to test_bug329869.html is because now when we go back we're
reloading the original document we had, not doing a wyciwyg load, and the
security info now doesn't include the untrusted script.

The changes to the wpt expectations are removing a bunch of expected failures
now that we pass those tests and disabling some tests that are fundamentally
racy and hence fail randomly.  The latter all have github issues filed for the
test problem.

The change to testing/web-platform/tests/common/object-association.js is fixing
tests that were not matching the spec (and were failing in other browsers).

The change to parser-uses-registry-of-owner-document.html is fixing tests that
were not matching the spec (and were failing in other browsers).

The change to document-write.tentative.html is because the test was buggy: it
was using the same iframe element for all its tests and racing loads from some
tests against API calls from other tests, etc.  It's a wonder it ever managed
to pass, independent of these patches (and in fact it doesn't pass according to
wpt.fyi data, even in Firefox).

The changes in html/browsers/history/the-history-interface are because
document.open() no longer adds history entries.  The test was failing in all
other browsers for the same reason.

The changes in html/browsers/history/the-location-interface are because
reloading a document.open()-created thing now loads the URL of the page that
was the entry document for the open() call.  The test was failing in all other
browsers.

The change to reload_document_open_write.html is because we now reload the url
of the document that entered the script that called open() when we reload, not
the written content.  Other browsers were failing this test too; Gecko with
the old document.open implementation was the only one that passed.

The change to http-refresh.py is to fix a test bug: it was not returning a
Content-Type header, so we were putting up helper app dialogs, etc.

The change to test_ext_contentscript.js is because we no create a new global
for document.open() calls.  Kris Maglione OKed this part.

Differential Revision: https://phabricator.services.mozilla.com/D17323

--HG--
extra : moz-landing-system : lando
2019-02-27 23:24:48 +00:00
James Graham da30b51b1c Bug 1528824 - Fix metadata for query encoding, a=testonly
This reverts commit e9347000cc0a9f2932545c2d663216d0e067df12.
2019-02-26 15:28:57 +00:00
James Graham 54b6bec769 Bug 1528824 - Remove bogus metadata for navigation timing, a=testonly 2019-02-26 15:12:59 +00:00
moz-wptsync-bot b350324259 Bug 1528824 - [wpt-sync] Update web-platform-tests to f8a1bfbe5454352d3f5b58845829968ff212519b, a=testonly
wpt-head: f8a1bfbe5454352d3f5b58845829968ff212519b
wpt-type: landing
2019-02-26 12:05:32 +00:00
moz-wptsync-bot 8bb7365bfb Bug 1527149 [wpt PR 15328] - Update wpt metadata, a=testonly
wpt-pr: 15328
wpt-type: metadata
2019-02-26 12:05:25 +00:00
moz-wptsync-bot 4c38bc624f Bug 1527042 [wpt PR 15251] - Update wpt metadata, a=testonly
wpt-pr: 15251
wpt-type: metadata
2019-02-26 12:05:19 +00:00
moz-wptsync-bot 366112c86c Bug 1526627 [wpt PR 15256] - Update wpt metadata, a=testonly
wpt-pr: 15256
wpt-type: metadata
2019-02-26 12:05:15 +00:00
Brindusan Cristian bf90d1a413 Backed out changeset ea34ac7461b0 (bug 1528824) as requested by jgraham. 2019-02-26 13:42:12 +02:00
moz-wptsync-bot d8c39f4995 Bug 1528824 - [wpt-sync] Update web-platform-tests to f8a1bfbe5454352d3f5b58845829968ff212519b, a=testonly
wpt-head: f8a1bfbe5454352d3f5b58845829968ff212519b
wpt-type: landing
2019-02-26 11:37:16 +00:00
Cosmin Sabou 12f7bded8e Bug 1526332 - Enable dom.security.featurePolicy on beta and release. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D19672

--HG--
extra : moz-landing-system : lando
2019-02-13 16:47:13 +00:00
James Graham 5a16553f7c Bug 1527307 - More metadata updates, a=testonly CLOSED TREE 2019-02-14 22:50:29 +00:00
moz-wptsync-bot 9c09d3a57f Bug 1527307 - [wpt-sync] Update web-platform-tests to fab38653d3a4a8ce01db100fa049bdc72f4b8270, a=testonly
wpt-head: fab38653d3a4a8ce01db100fa049bdc72f4b8270
wpt-type: landing
2019-02-14 11:38:59 +00:00
Kartikaya Gupta a33f679ae0 Bug 1515432 - Squash a lot of redundant WPT clauses. r=jmaher
This patch was autogenerated by the supercollapser tool.
https://github.com/staktrace/supercollapser/

Differential Revision: https://phabricator.services.mozilla.com/D18765

--HG--
extra : moz-landing-system : lando
2019-02-11 20:29:45 +00:00
Kartikaya Gupta 719dd00688 Bug 1515432 - Manually remove remaining windows version 10.0.15063 clauses. r=jmaher
This removes some redundant files entirely, and drops a slew of
conditions made redundant by the test being complete disabled. In the
remaining cases, the clauses filtering on Windows 10.0.15063 are dropped
since we aren't running on that Windows version any more.

Differential Revision: https://phabricator.services.mozilla.com/D19410

--HG--
extra : moz-landing-system : lando
2019-02-11 20:29:47 +00:00
Joel Maher bdd8e3ce31 Bug 1522900 - adjust manifests to allow tests to pass on windows10 1803 release. r=gbrown CLOSED TREE
--HG--
extra : rebase_source : 1350412a9925eea526bda708011086c4e8e19170
extra : amend_source : 548af67b37ba2207f380c509a1b213c323fcd1cb
2019-02-11 10:02:51 +01:00
moz-wptsync-bot a99f50a5a4 Bug 1523562 - [wpt-sync] Update web-platform-tests to 9c5701192b581208a028144cb0fc27e462541a49, a=testonly
wpt-head: 9c5701192b581208a028144cb0fc27e462541a49
wpt-type: landing


--HG--
rename : testing/web-platform/meta/async-local-storage/undefined-value.https.html.ini => testing/web-platform/meta/kv-storage/undefined-value.https.html.ini
2019-02-07 21:51:25 +00:00
moz-wptsync-bot 9e385228e2 Bug 1523562 - Remove bogus metadata file, a=testonly 2019-02-07 21:51:25 +00:00
moz-wptsync-bot 44391c7ea3 Bug 1468696 [wpt PR 11497] - Update wpt metadata, a=testonly
wpt-pr: 11497
wpt-type: metadata
2019-02-07 21:49:55 +00:00
moz-wptsync-bot d556556dc2 Bug 1516063 [wpt PR 14637] - Update wpt metadata, a=testonly
wpt-pr: 14637
wpt-type: metadata
2019-02-07 21:49:54 +00:00
Jon Coppeard 5e71f04dec Bug 1523899 - Dynamic import in event handlers should be relative to the document r=smaug 2019-02-06 11:07:29 +00:00
Narcis Beleuzu d77339d244 Backed out changeset 4f266277d3b8 (bug 1523899) for wpt failures on string-compilation-base-url-external-classic.html. CLOSED TREE 2019-02-06 14:37:25 +02:00
Jon Coppeard 207e74d173 Bug 1523899 - Dynamic import in event handlers should be relative to the document r=smaug 2019-02-06 11:07:29 +00:00
Wes Kocher 33f3028e59 Bug 1228678 - Remove leading/trailing whitespace in wpt pref values, also strip whitespace in prefs when used r=jgraham
The spaces are significant, so ' false' evaluates as truthy instead of false. This patch removes the whitespaces from the prefs defined in-tree, and also makes it so wpt strips whitespace from pref values before it uses them to hopefully avoid unexpected behavior.

Differential Revision: https://phabricator.services.mozilla.com/D18160

--HG--
extra : moz-landing-system : lando
2019-02-04 21:56:24 +00:00
Kartikaya Gupta d0185dde1e Bug 1524580 - Update WPT annotations for WebRender on Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D18344

--HG--
extra : moz-landing-system : lando
2019-02-01 18:05:19 +00:00
Andrew McCreight 5847903ec2 Bug 1523800 - Update LSan whitelist for html/browsers/offline/introduction-4. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D18127

--HG--
extra : moz-landing-system : lando
2019-01-31 10:25:56 +00:00
Andrea Marchesini e36c082ac7 Bug 1522494 - Enable Feature-Policy for relaxing-the-same-origin-restriction WPTs, r=farre 2019-01-28 18:05:51 +01:00
Arthur Iakab a001672c52 Bug 1490978, disabled abort-while-navigating.window.html on all the platforms r=jmaher 2019-01-24 07:31:00 +02:00
Daniel Holbert 76af7cf550 Bug 1522009: Remove WPT .ini annotation files that don't actually contain any annotations. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D17406

--HG--
extra : moz-landing-system : lando
2019-01-24 10:10:14 +00:00
James Graham 09f52aeee6 Bug 1522072 - Disable tests that are unstable in WebRender, a=testonly 2019-01-23 11:05:06 +00:00
James Graham f0c01ab433 Bug 1519417 - Disable prompt-and-unload-script-closeable.html for instability, a=testonly 2019-01-23 11:04:58 +00:00
James Graham 00b2eff0a0 Bug 1485887 - Disable flaky tests for unload event, a=testonly 2019-01-23 11:04:38 +00:00
moz-wptsync-bot 298735f7c9 Bug 1515043 - [wpt-sync] Update web-platform-tests to 8506febdb9bdce487ef7e4ff91e9b70853019b38, a=testonly
wpt-head: 8506febdb9bdce487ef7e4ff91e9b70853019b38
wpt-type: landing


--HG--
rename : testing/web-platform/meta/html/semantics/embedded-content/__dir__.ini => testing/web-platform/meta/feature-policy/reporting/__dir__.ini
rename : testing/web-platform/meta/html/semantics/embedded-content/__dir__.ini => testing/web-platform/meta/html/semantics/scripting-1/__dir__.ini
rename : testing/web-platform/meta/html/semantics/embedded-content/__dir__.ini => testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/__dir__.ini
rename : testing/web-platform/meta/html/semantics/embedded-content/__dir__.ini => testing/web-platform/meta/worklets/__dir__.ini
2019-01-23 11:04:35 +00:00
moz-wptsync-bot 5cb5ef11e5 Bug 1485887 [wpt PR 12664] - Update wpt metadata, a=testonly
wpt-pr: 12664
wpt-type: metadata
2019-01-23 10:54:49 +00:00
Boris Zbarsky eb529dfa42 Bug 1520812. Remove bogus assertion in nsExpatDriver::HandleError. r=hsivonen
Any time we stop a load of an XML document before we've gotten all the data,
we'll end up in this code with mSink null, because nsParser::Terminate ends up
calling nsExpatDriver::DidBuildModel which nulls out mSink, and not getting all
the data means the XML won't be well-formed.

Differential Revision: https://phabricator.services.mozilla.com/D16856

--HG--
extra : moz-landing-system : lando
2019-01-17 15:34:15 +00:00
Jonathan Kingston ac833b312a Bug 1405176 - Change IsFrame() in nsDocShell to be an explicitly passed attribute. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D15967

--HG--
extra : moz-landing-system : lando
2019-01-10 16:42:07 +00:00
Andrew McCreight a3f7eb4598 Bug 1517577 - DataTransferItemList::Add should use nsVariantCC. r=nika
nsVariant isn't cycle collected, so this can cause a leak.

Differential Revision: https://phabricator.services.mozilla.com/D16124

--HG--
extra : moz-landing-system : lando
2019-01-10 19:23:43 +00:00
Andrew McCreight cde463e078 Bug 1518354, part 4 - Remove many lsan-needed whitelists. r=jgraham
This patch is alarmingly large, but I did not see any leaks in any of
these directories, even with a dozen or so retriggers. We can
whitelist stuff if there are any more intermittents I failed to catch.

Depends on D16090

Differential Revision: https://phabricator.services.mozilla.com/D16091

--HG--
extra : moz-landing-system : lando
2019-01-10 10:37:28 +00:00
Andrew McCreight 8b2881e8d6 Bug 1518354, part 2 - Remove ResolveHost whitelisting. r=jgraham
This leak was fixed by bug 1467914.

Depends on D16088

Differential Revision: https://phabricator.services.mozilla.com/D16089

--HG--
extra : moz-landing-system : lando
2019-01-10 10:36:53 +00:00
Andrew McCreight 92fceba95d Bug 1518354, part 1 - Remove empty lsan-allowed lists. r=jgraham
These are not needed.

Differential Revision: https://phabricator.services.mozilla.com/D16088

--HG--
extra : moz-landing-system : lando
2019-01-10 10:36:51 +00:00
James Graham 865c90cc75 Bug 1273247 - Reenable autofocus test, r=automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D14251

--HG--
extra : moz-landing-system : lando
2019-01-09 14:50:44 +00:00
Eliza Balazs e5e5251443 Bug 1483696 - Disable opener-setter.html on linux32 debug for frequent failures. r=jmaher 2019-01-07 00:01:00 +02:00
Andreea Pavel b7ace3bbb7 Bug 1483696 - disabled test on linux32 debug r=jmaher 2019-01-03 14:44:00 +02:00
Edgar Chen 1990d76d46 Bug 1425685 - Implement HTMLSlotElement.assignedElements(); r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15653

--HG--
extra : moz-landing-system : lando
2019-01-03 19:14:12 +00:00
Jon Coppeard ca2a67e9ff Bug 1342012 - Associate event handler with active script when they are compiled r=smaug 2019-01-03 10:06:01 +00:00
Jon Coppeard 787b7fc445 Bug 1342012 - Fix WPT expectatons for dynamic import tests r=smaug 2018-12-06 16:52:18 -05:00
Jon Coppeard e8462c961e Bug 1342012 - Allow dynamic import in cases where there's no referencing script or module r=smaug 2018-12-06 16:52:18 -05:00
Jon Coppeard f008add28c Bug 1342012 - Support import from timeout handlers by associating the initiating script with the compiled JSScript r=smaug 2018-12-06 16:52:18 -05:00
Jon Coppeard 142826e981 Bug 1342012 - Support dynamic import from classic scripts by creating ClassicScript objects and associating them with the compiled JSScriptsr r=smaug 2018-12-06 16:52:17 -05:00